/* ============================================
   JARS ACCOUNTING — Stylesheet
   jars-styles.css
   ============================================ */

/* ── VARIABLES ─────────────────────────────── */
:root {
  --teal: #028090;
  --teal-light: #E0F5F5;
  --teal-dark: #016070;
  --navy: #0A2342;
  --mint: #02C39A;
  --amber: #F0A500;
  --white: #FFFFFF;
  --off-white: #F8FAFB;
  --gray-50: #F4F7F8;
  --gray-100: #E8EFF2;
  --gray-300: #B0C4CC;
  --gray-500: #6B8A95;
  --gray-700: #3A5260;
  --text-dark: #0A2342;
  --text-body: #3A5260;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 4px 24px rgba(2,128,144,0.08);
  --shadow-btn: 0 2px 12px rgba(2,128,144,0.25);
}

/* ── RESET ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-body); background: var(--white); line-height: 1.65; overflow-x: hidden; }

/* ── LUCIDE ICONS ───────────────────────────── */
.icon { display: inline-flex; align-items: center; justify-content: center; }
.icon svg { width: 20px; height: 20px; stroke-width: 1.75; }
.icon-sm svg { width: 16px; height: 16px; }
.icon-lg svg { width: 32px; height: 32px; }
.icon-xl svg { width: 36px; height: 36px; }

/* ── LANGUAGE BAR ───────────────────────────── */
.lang-bar {
  background: var(--navy);
  padding: 0.35rem 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}
.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.7);
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
}
.lang-btn.active { background: var(--teal); border-color: var(--teal); color: white; }

/* ── NAV ────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px; /* ← CAMBIA AQUÍ la altura del header */
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img {
  height: 90px; /* ← CAMBIA AQUÍ el tamaño del logo */
  width: auto;
  object-fit: contain;
}
.nav-logo-fallback { font-family: var(--font-display); font-size: 20px; color: var(--navy); font-weight: 700; display: none; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-body); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--teal); }
.nav-cta { background: var(--teal); color: white !important; padding: 0.5rem 1.25rem; border-radius: 30px; font-size: 14px !important; font-weight: 600 !important; transition: background 0.2s !important; white-space: nowrap; }
.nav-cta:hover { background: var(--teal-dark) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }

/* ── BUTTONS ────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: white;
  padding: 0.8rem 1.8rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: var(--shadow-btn); transition: all 0.25s;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; color: var(--teal);
  padding: 0.8rem 1.8rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  text-decoration: none; border: 2px solid var(--teal); cursor: pointer;
  transition: all 0.25s;
}
.btn-outline:hover { background: var(--teal-light); }

/* ── SECTION BASE ───────────────────────────── */
section { padding: 5rem 4rem; }
.section-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--teal); margin-bottom: 0.75rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); line-height: 1.2; margin-bottom: 1rem; }
.section-sub { font-size: 1rem; color: var(--gray-700); max-width: 560px; line-height: 1.7; }
.section-header { margin-bottom: 3rem; }

/* ── HERO ───────────────────────────────────── */
.hero {
  min-height: 88vh; display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding: 4rem; gap: 4rem;
  background: linear-gradient(135deg, #F8FAFB 0%, #E8F6F7 60%, #F0FAF8 100%);
  position: relative; overflow: hidden;
}
.hero::before { content: ''; position: absolute; top: -120px; right: -120px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(2,128,144,0.08) 0%, transparent 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--teal-light); color: var(--teal-dark); padding: 0.35rem 0.9rem; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 1.5rem; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.15; color: var(--navy); margin-bottom: 1.25rem; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-sub { font-size: 1.05rem; color: var(--gray-700); margin-bottom: 2rem; max-width: 480px; line-height: 1.7; }
.hero-phones { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
.hero-phones a { color: var(--text-body); text-decoration: none; font-size: 14px; display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.hero-phones a:hover { color: var(--teal); }
.phone-label { font-size: 11px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.06em; min-width: 58px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--gray-100); }
.hero-stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.hero-stat-label { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.hero-visual { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 1rem; }
.hero-card-main { background: white; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-card); border: 1px solid var(--gray-100); }
.hero-card-label { font-size: 12px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.hero-card-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); margin-bottom: 1rem; line-height: 1.3; }
.hero-card-features { display: flex; flex-direction: column; gap: 10px; }
.hero-feat { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray-700); }
.hero-feat-icon { width: 30px; height: 30px; background: var(--teal-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--teal); }
.hero-card-sm { display: flex; gap: 1rem; }
.hero-sm-card { flex: 1; background: white; border-radius: var(--radius-md); padding: 1.2rem; box-shadow: var(--shadow-card); border: 1px solid var(--gray-100); }
.hero-sm-icon { width: 36px; height: 36px; background: var(--teal-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; color: var(--teal); }
.hero-sm-title { font-size: 13px; font-weight: 600; color: var(--navy); }
.hero-sm-sub { font-size: 11px; color: var(--gray-500); margin-top: 2px; }

/* ── SERVICES ───────────────────────────────── */
.services { background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.service-card { background: white; border-radius: var(--radius-lg); padding: 1.25rem; border: 1px solid var(--gray-100); box-shadow: var(--shadow-card); transition: transform 0.25s, box-shadow 0.25s; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--teal); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(2,128,144,0.14); }
.service-icon { width: 52px; height: 52px; background: var(--teal-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--teal); }
.service-title { font-family: var(--font-display); font-size: 1rem; color: var(--navy); margin-bottom: 0.5rem; }
.service-desc { font-size: 12.5px; color: var(--gray-500); line-height: 1.55; margin-bottom: 1rem; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.service-list li { font-size: 12px; color: var(--gray-700); display: flex; align-items: flex-start; gap: 6px; }
.service-list li .check-icon { color: var(--mint); flex-shrink: 0; margin-top: 1px; }

/* ── OUR FIRM ───────────────────────────────── */
.our-firm { background: white; }
.our-firm-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.our-firm-text {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.8;
}
.our-firm-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.our-firm-map {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* ── CLIENTS CAROUSEL ───────────────────────── */
.clients { background: white; padding: 3.5rem 4rem; overflow: hidden; }
.clients-label { text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-300); margin-bottom: 2rem; }
.clients-track-wrap { position: relative; overflow: hidden; }
.clients-track-wrap::before,
.clients-track-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.clients-track-wrap::before { left: 0; background: linear-gradient(to right, white, transparent); }
.clients-track-wrap::after { right: 0; background: linear-gradient(to left, white, transparent); }
.clients-track { display: flex; gap: 3rem; align-items: center; animation: scroll-logos 170s linear infinite; width: max-content; }
.clients-track:hover { animation-play-state: paused; }
.client-logo { height: 36px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.45; transition: all 0.3s; flex-shrink: 0; }
.client-logo:hover { filter: grayscale(0%); opacity: 1; }
.client-logo-placeholder { display: flex; align-items: center; justify-content: center; height: 36px; padding: 0 1rem; background: var(--gray-50); border-radius: var(--radius-sm); border: 1px dashed var(--gray-300); font-size: 12px; color: var(--gray-300); font-weight: 600; white-space: nowrap; flex-shrink: 0; }
@keyframes scroll-logos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── HOW IT WORKS ───────────────────────────── */
.how-it-works { background: var(--off-white); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.step-card { text-align: center; padding: 1.5rem; }
.step-num { width: 56px; height: 56px; background: var(--navy); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin: 0 auto 1.25rem; }
.step-title { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); margin-bottom: 0.5rem; }
.step-desc { font-size: 13.5px; color: var(--gray-500); line-height: 1.6; }
.growth-banner {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.growth-banner-icon {
  width: 52px; height: 52px;
  background: rgba(2,195,154,0.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--mint);
  flex-shrink: 0;
}
.growth-banner-content { flex: 1; min-width: 200px; }
.growth-banner-title { font-family: var(--font-display); font-size: 1.2rem; color: white; margin-bottom: 0.35rem; }
.growth-banner-sub { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.55; }

/* ── STRATEGIC PILLARS ──────────────────────── */
.pillars { background: var(--off-white); }
.pillars-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}
.pillar-block {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.pillar-block-icon {
  width: 52px; height: 52px;
  background: var(--teal-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.pillar-block-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.pillar-block-text {
  font-size: 14.5px;
  color: var(--gray-700);
  line-height: 1.7;
}
.pillars-mascot {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mascot-img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* ── PILLARS DETAIL PAGE ────────────────────── */
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); text-decoration: none;
  font-size: 14px; font-weight: 600;
  margin-bottom: 1.5rem;
  transition: gap 0.2s;
}
.back-link:hover { gap: 12px; }
.pillars-hero {
  padding: 4rem 4rem 3rem;
  background: linear-gradient(135deg, #F8FAFB 0%, #E8F6F7 60%, #F0FAF8 100%);
}
.pillars-hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}
.pillars-hero-mascot { display: flex; align-items: center; justify-content: center; }
.mascot-img-lg { width: 100%; max-width: 420px; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

.pillar-detail { padding: 3rem 4rem; }
.pillar-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.pillar-detail-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
}
.pillar-purpose {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  color: white;
}
.pillar-purpose .pillar-detail-icon { background: rgba(2,195,154,0.15); color: var(--mint); }
.pillar-purpose .pillar-detail-label { color: var(--mint); }
.pillar-purpose .pillar-detail-text { color: rgba(255,255,255,0.85); }
.pillar-detail-icon {
  width: 60px; height: 60px;
  background: var(--teal-light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.pillar-detail-label {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.pillar-detail-text {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.75;
}
.values-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ── WHO WE ARE ─────────────────────────────── */
.who-we-are { background: var(--off-white); }
.team-intro { max-width: 640px; margin-bottom: 3rem; }

/* Carousel */
.team-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.team-carousel-viewport {
  overflow: hidden;
  width: 100%;
}
.team-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.team-carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-100);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: var(--shadow-card);
  transition: all 0.2s;
  z-index: 2;
}
.team-carousel-btn:hover { background: var(--teal); color: white; border-color: var(--teal); }
.team-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.75rem;
}
.team-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.team-dot.active {
  background: var(--teal);
  width: 24px;
  border-radius: 4px;
}

/* Cards */
.team-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-100);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.team-card:hover { transform: translateY(-4px); }
.team-photo-wrap { width: 100%; height: 260px; overflow: hidden; background: var(--teal-light); }
.team-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.team-info { padding: 1.25rem; }
.team-name { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); margin-bottom: 3px; }
.team-role { font-size: 12px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.team-bio { font-size: 13px; color: var(--gray-500); line-height: 1.55; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.team-bio.expanded { -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; display: block; }
.team-readmore {
  background: none; border: none; cursor: pointer; padding: 6px 0 0;
  font-size: 12px; font-weight: 700; color: var(--teal);
  font-family: var(--font-body); display: none;
}
.team-readmore:hover { color: var(--teal-dark); text-decoration: underline; }
.team-card.has-overflow .team-readmore { display: inline-block; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-top: 3.5rem; }
.value-card { background: white; border-radius: var(--radius-md); padding: 1.5rem; border: 1px solid var(--gray-100); display: flex; flex-direction: column; gap: 10px; }
.value-icon { width: 44px; height: 44px; background: var(--teal-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--teal); }
.value-title { font-weight: 600; font-size: 14px; color: var(--navy); }
.value-desc { font-size: 13px; color: var(--gray-500); line-height: 1.55; }

/* ── BOOKING ────────────────────────────────── */
.booking { background: white; }
.booking-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.booking-features { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 2rem; }
.booking-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--gray-700); }
.feat-icon { width: 36px; height: 36px; background: var(--teal-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--teal); }
.booking-form { background: var(--off-white); border-radius: var(--radius-lg); padding: 2.5rem; border: 1px solid var(--gray-100); }
.form-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--gray-100); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 14px; color: var(--text-dark); background: white; transition: border-color 0.2s; outline: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(2,128,144,0.08); }
.form-group textarea { resize: vertical; min-height: 90px; }

/* ── ONBOARDING ─────────────────────────────── */
.onboarding { background: var(--navy); color: white; }
.onboarding .section-label { color: var(--mint); }
.onboarding .section-title { color: white; }
.onboarding .section-sub { color: rgba(255,255,255,0.7); }
.onboarding-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.onboarding-form { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 2.5rem; }
.onboarding-form .form-group input,
.onboarding-form .form-group select,
.onboarding-form .form-group textarea { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: white; }
.onboarding-form .form-group input::placeholder { color: rgba(255,255,255,0.4); }
.onboarding-form .form-group input:focus,
.onboarding-form .form-group select:focus,
.onboarding-form .form-group textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(2,195,154,0.15); background: rgba(255,255,255,0.1); }
.onboarding-form .form-group label { color: rgba(255,255,255,0.85); }
.onboarding-form .form-group select option { background: var(--navy); color: white; }
.onboarding-steps { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1rem; }
.ob-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.ob-step-num { width: 40px; height: 40px; background: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; color: white; }
.ob-step-title { font-weight: 600; font-size: 15px; margin-bottom: 4px; color: white; }
.ob-step-desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.55; }

/* ── PORTAL CTA ─────────────────────────────── */
.portal-cta { position: relative; color: white; text-align: center; padding: 6rem 4rem; overflow: hidden; }
.portal-bg { position: absolute; inset: 0; background-image: url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1600&q=80&auto=format&fit=crop'); background-size: cover; background-position: center; filter: blur(3px) brightness(0.32); transform: scale(1.05); }
.portal-overlay { position: absolute; inset: 0; background: rgba(2,128,144,0.55); }
.portal-content { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.portal-cta h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1.25rem; color: white; line-height: 1.2; }
.portal-cta p { color: rgba(255,255,255,0.9); font-size: 1.05rem; margin-bottom: 2.25rem; line-height: 1.7; }
.portal-btn { display: inline-flex; align-items: center; gap: 10px; background: white; color: var(--teal); padding: 0.9rem 2.2rem; border-radius: 50px; font-family: var(--font-body); font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.25s; }
.portal-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.portal-note { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 1.25rem; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ── TESTIMONIALS ───────────────────────────── */
.testimonials { background: var(--off-white); }
.testimonials-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1140px;
  margin: 0 auto;
}
.testimonials-viewport { overflow: hidden; width: 100%; }
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.testi-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-100);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: var(--shadow-card);
  transition: all 0.2s;
  z-index: 2;
}
.testi-arrow:hover { background: var(--teal); color: white; border-color: var(--teal); }
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.75rem;
}
.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.testi-dot.active { background: var(--teal); width: 22px; border-radius: 4px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card { background: white; border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--gray-100); box-shadow: var(--shadow-card); flex-shrink: 0; box-sizing: border-box; display: flex; flex-direction: column; }
.testimonial-stars { color: var(--amber); font-size: 15px; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: var(--gray-700); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: white; flex-shrink: 0; }
.avatar-teal { background: var(--teal); }
.avatar-navy { background: var(--navy); }
.avatar-amber { background: var(--amber); }
.testimonial-name { font-weight: 600; font-size: 14px; color: var(--navy); }
.testimonial-role { font-size: 12px; color: var(--gray-500); }

/* ── CONTACT ────────────────────────────────── */
.contact { background: white; }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.contact-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.contact-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.contact-card-wide {
  grid-column: span 4;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.contact-card-wide .map-link { margin-left: auto; }
.contact-icon { width: 44px; height: 44px; background: var(--teal-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--teal); margin-bottom: 4px; }
.contact-card-wide .contact-icon { margin-bottom: 0; }
.contact-label { font-size: 11px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.07em; }
.contact-value { font-size: 15px; color: var(--text-dark); font-weight: 500; }
.contact-value a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
.contact-value a:hover { color: var(--teal); }
.map-link { display: inline-flex; align-items: center; gap: 8px; background: var(--teal-light); border-radius: var(--radius-md); height: 40px; padding: 0 1rem; border: 1px solid rgba(2,128,144,0.15); font-size: 13px; color: var(--teal); text-decoration: none; transition: all 0.2s; font-weight: 600; white-space: nowrap; }
.map-link:hover { background: var(--teal); color: white; }

/* ── FOOTER ─────────────────────────────────── */
footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 3rem 4rem 2rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-logo-text { font-family: var(--font-display); font-size: 1.5rem; color: white; margin-bottom: 0.75rem; }
.footer-tagline { font-size: 13px; line-height: 1.6; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); text-decoration: none; transition: background 0.2s; }
.social-btn:hover { background: var(--teal); color: white; }
.footer-col-title { font-size: 13px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--mint); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: 12px; flex-wrap: wrap; gap: 0.5rem; }

/* ── FLOATING MASCOT ────────────────────────── */
.mascot-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 998;
  width: 90px;
  height: 90px;
  pointer-events: none;
  animation: mascot-float-anim 3.5s ease-in-out infinite;
}
.mascot-float-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(2,128,144,0.25));
}
@keyframes mascot-float-anim {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-3deg); }
}

/* ── WHATSAPP FLOAT ─────────────────────────── */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.whatsapp-bubble { background: #25D366; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); cursor: pointer; transition: transform 0.2s; text-decoration: none; color: white; animation: pulse-wa 2.5s infinite; }
.whatsapp-bubble:hover { transform: scale(1.08); }
.whatsapp-tooltip { background: white; color: var(--text-dark); padding: 0.5rem 1rem; border-radius: 20px; font-size: 13px; font-weight: 600; box-shadow: 0 4px 20px rgba(0,0,0,0.12); white-space: nowrap; display: none; }
.whatsapp-float:hover .whatsapp-tooltip { display: block; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.65), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ── MODAL ──────────────────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(10,35,66,0.6); z-index: 1000; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal { background: white; border-radius: var(--radius-lg); padding: 2.5rem; max-width: 540px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 1rem; right: 1.25rem; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--gray-500); line-height: 1; }
.success-msg { display: none; text-align: center; padding: 2rem; }
.success-icon-wrap { font-size: 52px; margin-bottom: 1rem; }
.success-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); margin-bottom: 0.5rem; }
.success-text { font-size: 14px; color: var(--gray-500); }

/* ── ANIMATIONS ─────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE / MOBILE ────────────────────── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { padding: 1.25rem; }
  .our-firm-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pillars-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pillars-mascot { order: -1; }
  .mascot-img { max-width: 200px; margin: 0 auto; }
  .pillars-hero { padding: 2.5rem 1.5rem; }
  .pillars-hero-inner { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .pillars-hero-mascot { order: -1; }
  .mascot-img-lg { max-width: 280px; margin: 0 auto; }
  .pillar-detail { padding: 2rem 1.5rem; }
  .pillar-detail-grid { grid-template-columns: 1fr; }
  .pillar-detail-card { flex-direction: column; gap: 1rem; padding: 1.5rem; }
  .values-detail-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 3.5rem 1.5rem; }
  .hero { grid-template-columns: 1fr; padding: 3rem 1.5rem; min-height: auto; gap: 2.5rem; }
  .hero::before { display: none; }
  .hero-visual { order: -1; }
  .hero-card-sm { flex-direction: column; }
  .booking-inner,
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .contact-card-wide { grid-column: span 2; flex-direction: column; align-items: flex-start; }
  .contact-card-wide .map-link { margin-left: 0; }
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 90px; left: 0; right: 0; background: white; padding: 1.5rem; border-bottom: 1px solid var(--gray-100); gap: 1rem; box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .lang-bar { padding: 0.35rem 1.25rem; }
  footer { padding: 2.5rem 1.5rem 1.5rem; }
  .clients { padding: 3rem 0; }
  .portal-cta { padding: 4rem 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 500px) {
  .services-grid { grid-template-columns: 1fr; }

  /* Floating mascot smaller on mobile, moved up to avoid overlap with content */
  .mascot-float { width: 60px; height: 60px; bottom: 16px; left: 16px; }

  /* ── Reduce overall "wall of text" feeling ── */
  section { padding: 2.5rem 1.25rem; }
  .section-header { margin-bottom: 1.75rem; }
  .section-title { font-size: 1.5rem; line-height: 1.25; }
  .section-sub { font-size: 13.5px; }
  .section-label { font-size: 11px; }

  /* Hero: shorten visual weight */
  .hero { padding: 2rem 1.25rem; gap: 1.75rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero-sub { font-size: 14px; margin-bottom: 1.25rem; }
  .hero-stats { gap: 1.25rem; margin-top: 1.5rem; padding-top: 1.25rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-card-main { padding: 1.25rem; }
  .hero-card-sm { gap: 0.75rem; }
  .hero-sm-card { padding: 0.9rem; }

  /* Service cards: trim long descriptions visually */
  .service-card { padding: 1.1rem; }
  .service-desc { font-size: 12px; -webkit-line-clamp: 2; line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 0.75rem; }
  .service-list li { font-size: 11.5px; }
  .service-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 0.75rem; }

  /* Our Firm: shorten paragraph spacing */
  .our-firm-text { font-size: 14px; line-height: 1.65; }
  .our-firm-map { max-width: 240px; }

  /* Pillars home teaser: condensed */
  .pillar-block { margin-top: 1.25rem; gap: 0.9rem; }
  .pillar-block-text { font-size: 13px; -webkit-line-clamp: 3; line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .pillar-block-title { font-size: 1rem; }

  /* Team carousel: single card, smaller bio */
  .team-photo-wrap { height: 200px; }
  .team-bio { font-size: 12px; -webkit-line-clamp: 4; line-clamp: 4; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .team-bio.expanded { -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; display: block; }
  .team-info { padding: 1rem; }

  /* Values grid: 2 columns, condensed text */
  .values-grid, .values-detail-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .value-card { padding: 1rem; }
  .value-desc { font-size: 11.5px; -webkit-line-clamp: 2; line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .value-title { font-size: 13px; }

  /* Booking form: tighter */
  .booking-form { padding: 1.5rem; }
  .booking-features li { font-size: 13px; }

  /* Growth banner: stack and shrink */
  .growth-banner { padding: 1.25rem; gap: 1rem; }
  .growth-banner-title { font-size: 1rem; }
  .growth-banner-sub { font-size: 12.5px; }

  /* Testimonials: clamp long quotes */
  .testimonial-text { font-size: 13px; -webkit-line-clamp: 4; line-clamp: 4; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1rem; }
  .testimonial-card { padding: 1.25rem; }
  .testi-arrow { width: 36px; height: 36px; }
  .testimonials-carousel { gap: 0.5rem; }

  /* Footer: condensed tagline */
  .footer-tagline { font-size: 12px; -webkit-line-clamp: 3; line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
}
