/* ============================================================
   CLIC LEGAL Y CONTABLE — Master Stylesheet
   Design: Corporate Minimalism + Gold Accents
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  --navy:        #0d1b2e;
  --navy-mid:    #1e3a5f;
  --navy-light:  #2a4f80;
  --gold:        #c9a461;
  --gold-dark:   #a8883f;
  --gold-light:  #e8c987;
  --white:       #ffffff;
  --off-white:   #f8fafd;
  --light:       #f0f4f9;
  --gray:        #64748b;
  --gray-light:  #e2e8f0;
  --text:        #0d1b2e;
  --text-soft:   #4a5568;
  --success:     #25d366;

  --font-serif:  'Cinzel', serif;
  --font-sans:   'Inter', sans-serif;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.14);
  --shadow-gold: 0 4px 24px rgba(201,164,97,.3);

  --transition:  200ms cubic-bezier(.4,0,.2,1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
em { font-style: italic; }

/* ---- LAYOUT ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.text-center { text-align: center; }
.mt-1 { margin-top: 32px; }
.mt-s { margin-top: 12px; }

/* ---- TYPOGRAPHY ---- */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label.text-center { display: block; text-align: center; }
.section-label-light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 24px;
}
.section-title em { color: var(--navy-mid); font-style: italic; }
.section-sub { color: var(--gray); max-width: 600px; font-size: 17px; line-height: 1.7; }
.section-sub.text-center { margin: 0 auto 48px; }
.title-light { color: var(--white); }
.title-light em { color: var(--gold-light); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  justify-content: center;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,164,97,.4); }
.btn-gold:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }

.btn-navy {
  background: var(--navy-mid);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy); transform: translateY(-2px); }

.btn-outline-dark {
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--gray-light);
}
.btn-outline-dark:hover { border-color: var(--navy-mid); color: var(--navy-mid); }

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  gap: 10px;
}
.btn-whatsapp:hover { background: #128c7e; transform: translateY(-2px); }
.btn-whatsapp svg { width: 22px; height: 22px; }

.btn-full { width: 100%; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 20px 0;
  transition: all 300ms ease;
}
.navbar.scrolled {
  background: rgba(13,27,46,.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; transition: opacity var(--transition); }
.nav-logo .logo-dark { display: none; }
.navbar.scrolled .logo-light { display: none; }
.navbar.scrolled .logo-dark { display: block; }

/* Keep logo visible on non-hero sections by adding white-scrolled state */
.navbar.light-mode .logo-light { display: none; }
.navbar.light-mode .logo-dark { display: block; }
.navbar.light-mode { background: rgba(255,255,255,.97); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(0,0,0,.1); }
.navbar.light-mode .nav-link { color: var(--navy-mid); }
.navbar.light-mode .nav-cta { background: var(--gold) !important; color: var(--navy) !important; }

.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 600;
  padding: 10px 20px;
}
.nav-cta:hover { background: var(--gold-dark); color: var(--navy) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 250ms ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- SATISFACTION TOAST ---- */
.satisfaction-toast {
  position: fixed;
  top: 24px; left: 50%;
  transform: translateX(-50%) translateY(-120px);
  z-index: 1000;
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 50px;
  padding: 12px 20px 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  transition: transform 500ms cubic-bezier(.34,1.56,.64,1);
  white-space: nowrap;
  max-width: 90vw;
}
.satisfaction-toast.visible { transform: translateX(-50%) translateY(0); }
.toast-star { font-size: 18px; color: var(--gold); flex-shrink: 0; }
.toast-body { display: flex; flex-direction: column; line-height: 1.3; }
.toast-body strong { color: var(--gold); font-size: 13px; font-family: var(--font-serif); }
.toast-body span { color: rgba(255,255,255,.7); font-size: 11px; }
.toast-close { color: rgba(255,255,255,.5); font-size: 20px; line-height: 1; padding: 2px 4px; flex-shrink: 0; transition: color var(--transition); }
.toast-close:hover { color: var(--white); }

/* ---- WHATSAPP FAB ---- */
.whatsapp-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 800;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--transition);
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.5); }
.fab-icon { width: 30px; height: 30px; color: var(--white); }
.fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: pulse-ring 2.5s infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
/* Clean centered overlay — no asymmetric gradients */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(13,27,46,.55) 0%,
    rgba(13,27,46,.70) 50%,
    rgba(13,27,46,.80) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,164,97,.15);
  border: 1px solid rgba(201,164,97,.3);
  color: var(--gold-light);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-title .title-gold { color: var(--gold); }
.hero-sub {
  color: rgba(255,255,255,.7);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-sub em { color: var(--gold-light); font-style: normal; font-weight: 600; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(var(--gold), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}
@keyframes scroll-drop { 0% { opacity: 0; transform: scaleY(0); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } 100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; } }

/* ---- HERO ANIMATIONS ---- */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 700ms forwards cubic-bezier(.22,1,.36,1);
  animation-delay: var(--d, 0s);
}
@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---- SCROLL ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in[style*="--i:1"] { transition-delay: 100ms; }
.fade-in[style*="--i:2"] { transition-delay: 200ms; }
.fade-in[style*="--i:3"] { transition-delay: 300ms; }

/* ---- ABOUT SECTION ---- */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual { position: relative; }
.visual-card {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: visible;
}
.about-svg { width: 100%; max-width: 320px; margin: 0 auto; }
.visual-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.badge-num { font-family: var(--font-serif); font-size: 28px; font-weight: 700; line-height: 1; }
.badge-lbl { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: .8; margin-top: 4px; }
.about-content p { color: var(--text-soft); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.about-content p strong { color: var(--navy-mid); }

/* ---- STATS ---- */
.stats-section { background: var(--navy); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item { }
.stat-wrap { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.stat-num { font-family: var(--font-serif); font-size: clamp(36px, 5vw, 56px); font-weight: 700; color: var(--gold); line-height: 1; }
.stat-sym { font-family: var(--font-serif); font-size: 32px; color: var(--gold); font-weight: 700; }
.stat-lbl { color: rgba(255,255,255,.6); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-top: 8px; }

/* ---- PILLARS ---- */
.pillars { background: var(--off-white); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: all 300ms ease;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 300ms ease;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-top { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; }
.pillar-icon-wrap { width: 48px; height: 48px; background: var(--light); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--navy-mid); }
.pillar-icon-wrap svg { width: 24px; height: 24px; }
.pillar-letter { font-family: var(--font-serif); font-size: 36px; font-weight: 700; color: var(--gold); line-height: 1; }
.pillar-card h3 { font-family: var(--font-serif); font-size: 18px; color: var(--navy); margin-bottom: 12px; }
.pillar-card p { color: var(--gray); font-size: 14px; line-height: 1.7; }

/* ---- SERVICES ---- */
.services { background: var(--white); }
.services-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 40px 0 0;
  flex-wrap: wrap;
}
.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  border: 1.5px solid var(--gray-light);
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
}
.tab-btn svg { width: 18px; height: 18px; }
.tab-psi-icon { font-size: 16px; font-weight: 700; line-height: 1; color: inherit; }
.tab-btn.active .tab-psi-icon { color: var(--gold); }
.tab-btn:hover { border-color: var(--navy-mid); color: var(--navy-mid); }
.tab-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tab-btn.active svg { color: var(--gold); }

.services-panels { margin-top: 32px; min-height: 380px; }
.service-panel { display: none; }
.service-panel.active { display: block; animation: fadeTab 400ms ease; }
@keyframes fadeTab { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.service-panel-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
  background: var(--off-white);
  border-radius: var(--radius-xl);
  padding: 48px;
}
.service-visual svg { width: 100%; max-width: 200px; margin: 0 auto; }
.service-content h3 { font-family: var(--font-serif); font-size: 24px; color: var(--navy); margin-bottom: 28px; }
.service-areas { display: flex; flex-direction: column; gap: 20px; }
.service-area { display: flex; gap: 16px; align-items: flex-start; }
.area-icon { width: 40px; height: 40px; background: rgba(201,164,97,.15); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold-dark); }
.area-icon svg { width: 20px; height: 20px; }
.service-area h4 { font-size: 15px; font-weight: 700; color: var(--navy-mid); margin-bottom: 4px; }
.service-area p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ---- PROCESS ---- */
.process { background: var(--off-white); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
.process-step { text-align: center; padding: 40px 24px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); position: relative; transition: transform 300ms ease, box-shadow 300ms ease; }
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num-big { font-family: var(--font-serif); font-size: 48px; font-weight: 700; color: var(--gray-light); line-height: 1; margin-bottom: 12px; }
.step-connector-line {
  display: none;
}
.step-icon-wrap { width: 64px; height: 64px; background: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--gold); }
.step-icon-wrap svg { width: 28px; height: 28px; }
.process-step h3 { font-family: var(--font-serif); font-size: 18px; color: var(--navy); margin-bottom: 12px; }
.process-step p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ---- CONTACT SECTION ---- */
.contact-section { background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info .section-title { font-size: clamp(26px, 4vw, 38px); }
.contact-info p { color: rgba(255,255,255,.65); line-height: 1.8; margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition);
}
.contact-item:hover { color: var(--gold); }
.contact-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.contact-social { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact-social span { color: rgba(255,255,255,.5); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.social-row { display: flex; gap: 8px; }
.soc-btn { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); transition: all var(--transition); }
.soc-btn:hover { background: var(--gold); color: var(--navy); }
.soc-btn svg { width: 16px; height: 16px; }

/* Contact trust strip */
.contact-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.ct-stat { display: flex; flex-direction: column; gap: 4px; }
.ct-num { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--gold); line-height: 1; }
.ct-lbl { font-size: 12px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; }
.ct-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

/* ---- SMART FORM ---- */
.smart-form-card { background: var(--white); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-lg); }
.form-progress-header { margin-bottom: 32px; }
.progress-track { height: 4px; background: var(--gray-light); border-radius: 4px; overflow: hidden; margin-bottom: 16px; }
.progress-fill { height: 100%; background: var(--gold); border-radius: 4px; transition: width 400ms cubic-bezier(.4,0,.2,1); width: 25%; }
.step-dots { display: flex; gap: 8px; margin-bottom: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-light); transition: background var(--transition); }
.dot.active { background: var(--gold); transform: scale(1.2); }
.step-label { font-size: 12px; color: var(--gray); font-weight: 500; letter-spacing: .5px; }

.form-step { display: none; animation: stepIn 350ms ease; }
.form-step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.step-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-light); }
.step-num-badge { background: var(--gold); color: var(--navy); border-radius: var(--radius-sm); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 14px; font-weight: 700; flex-shrink: 0; }
.step-header h3 { font-family: var(--font-serif); font-size: 20px; color: var(--navy); }

.field-group { margin-bottom: 20px; }
.field-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.req { color: var(--gold-dark); }
.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,164,97,.15);
}
.field-group select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' stroke='%2364748b' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }
.field-group textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.field-error { display: block; font-size: 12px; color: #e53e3e; margin-top: 4px; min-height: 16px; }

.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.check-item { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; padding: 8px 12px; border: 1.5px solid var(--gray-light); border-radius: var(--radius-sm); transition: all var(--transition); }
.check-item:hover { border-color: var(--gold); background: rgba(201,164,97,.05); }
.check-item input { accent-color: var(--gold); width: 16px; height: 16px; }
.check-group-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 8px; }

.form-actions { display: flex; gap: 12px; margin-top: 24px; }
.form-actions .btn { flex: 1; }
.form-disclaimer { font-size: 12px; color: var(--gray); line-height: 1.5; text-align: center; margin: 16px 0; }

/* Summary Card */
.summary-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  font-size: 14px;
}
.summary-row { display: flex; gap: 8px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--gray-light); }
.summary-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.summary-key { color: var(--gray); min-width: 140px; font-weight: 500; }
.summary-val { color: var(--navy); font-weight: 600; }

/* Success state */
.form-success { text-align: center; padding: 20px 0; }
.success-anim { margin-bottom: 24px; }
.success-svg { width: 72px; height: 72px; margin: 0 auto; }
.s-circle { stroke-dasharray: 166; stroke-dashoffset: 166; animation: stroke 0.6s cubic-bezier(.65,0,.45,1) forwards; }
.s-check { stroke-dasharray: 48; stroke-dashoffset: 48; animation: stroke 0.4s cubic-bezier(.65,0,.45,1) 0.5s forwards; }
@keyframes stroke { to { stroke-dashoffset: 0; } }
.form-success h3 { font-family: var(--font-serif); font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.form-success p { color: var(--gray); margin-bottom: 24px; line-height: 1.7; }

/* ---- FOOTER ---- */
.footer { background: #060e1a; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { }
.footer-logo { height: 48px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.45); font-size: 14px; line-height: 1.7; }
.footer-col h4 { font-family: var(--font-serif); font-size: 14px; color: var(--gold); letter-spacing: 1px; margin-bottom: 16px; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.5); font-size: 14px; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,.08); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); transition: all var(--transition); }
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-social svg { width: 15px; height: 15px; }
.footer-bottom { padding: 24px 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,.3); font-size: 13px; }
.footer-legal { margin-top: 6px; font-size: 12px !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .service-panel-inner { grid-template-columns: 180px 1fr; gap: 32px; padding: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-menu {
    display: none; flex-direction: column; gap: 4px;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 280px; background: var(--navy); padding: 80px 24px 24px;
    z-index: 890; transform: translateX(100%);
    transition: transform 300ms ease; box-shadow: -4px 0 30px rgba(0,0,0,.3);
  }
  .nav-menu.open { display: flex; transform: translateX(0); }
  .nav-link { padding: 12px 16px; font-size: 16px; color: rgba(255,255,255,.85); border-radius: var(--radius-md); }
  .nav-cta { margin-top: 8px; text-align: center; }
  .nav-toggle { display: flex; }
  .navbar.light-mode .nav-toggle span { background: var(--navy); }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .visual-badge { bottom: 8px; right: 8px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .service-panel-inner { grid-template-columns: 1fr; padding: 24px; }
  .service-visual { display: none; }
  .process-steps { grid-template-columns: 1fr; max-width: 480px; margin: 40px auto 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { text-align: center; }
  .contact-items { align-items: center; }
  .contact-social { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { order: -1; }
  .footer-logo { margin: 0 auto 16px; }
  .footer-social { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .hero-decoration { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .smart-form-card { padding: 24px 16px; }
  .checkbox-group { grid-template-columns: 1fr; }
  .services-tabs { flex-direction: column; align-items: stretch; }
  .tab-btn { justify-content: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .scroll-line, .fab-pulse { animation: none; }
}

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
.chat-fab {
  position: fixed;
  bottom: 28px;
  right: 100px; /* To the left of WhatsApp */
  z-index: 800;
  width: 58px;
  height: 58px;
  background: var(--navy-mid);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(30,58,95,.4);
  transition: all var(--transition);
}
.chat-fab:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(30,58,95,.5); }
.chat-fab svg { width: 30px; height: 30px; }

.chat-widget {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 350px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 950;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transform-origin: bottom right;
  animation: chatPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chat-widget.active { display: flex; }

@keyframes chatPop {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

.chat-header {
  background: var(--navy);
  color: var(--white);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-family: var(--font-serif);
  font-size: 15px;
}
.chat-avatar {
  font-size: 20px;
}
#closeChatBtn {
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}
#closeChatBtn:hover { opacity: 1; }

.chat-body {
  height: 380px;
  padding: 16px;
  overflow-y: auto;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
  animation: msgIn 0.3s ease;
}
@keyframes msgIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.bot-msg {
  background: var(--white);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow-sm);
}

.user-msg {
  background: var(--gold);
  color: var(--navy);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.chat-opt-btn {
  background: var(--white);
  border: 1px solid var(--gold);
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: all var(--transition);
}
.chat-opt-btn:hover {
  background: var(--gold);
  color: var(--white);
}

.chat-footer {
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid var(--gray-light);
  display: flex;
  gap: 8px;
}
#chatInput {
  flex: 1;
  border: none;
  background: var(--off-white);
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 14px;
  outline: none;
  transition: box-shadow var(--transition);
}
#chatInput:focus {
  box-shadow: 0 0 0 2px rgba(201,164,97,.3);
}
#sendChatBtn {
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition);
}
#sendChatBtn:hover {
  transform: scale(1.05);
  background: var(--gold-dark);
}
#sendChatBtn svg {
  width: 18px;
  height: 18px;
  margin-left: -2px;
}
.chat-typing {
  align-self: flex-start;
  color: var(--gray);
  font-size: 12px;
  font-style: italic;
  display: none;
  padding-left: 8px;
}

@media (max-width: 480px) {
  .chat-widget {
    width: calc(100% - 32px);
    right: 16px;
    bottom: 90px;
  }
  .chat-fab {
    right: 16px;
    bottom: 90px;
  }
}

/* ============================================================
   REDESIGN v2 — Hero Slideshow + About Card + Service Grid
   ============================================================ */

/* ---- HERO SLIDESHOW ---- */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.hs-active { opacity: 1; }

/* Dark overlay on each slide for text readability */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,27,46,.78) 0%,
    rgba(13,27,46,.65) 50%,
    rgba(13,27,46,.80) 100%
  );
}

/* Slide indicator dots */
.hero-slide-dots {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hsd {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  transition: background .3s ease, transform .3s ease;
  cursor: pointer;
}
.hsd.active {
  background: var(--gold);
  transform: scale(1.25);
}

.hero-content { z-index: 3; }
.hero-scroll  { z-index: 3; }

/* ---- NAVBAR WHATSAPP LINK ---- */
.nav-wa {
  display: flex !important;
  align-items: center;
  gap: 4px;
  color: #25d366 !important;
  font-weight: 600;
}
.navbar.scrolled .nav-wa,
.navbar.light-mode .nav-wa { color: #1a9e4c !important; }
.nav-wa:hover { opacity: .8; }

/* ---- ABOUT PREMIUM CARD ---- */
.about-card-premium {
  background: var(--navy);
  border-radius: 24px;
  padding: 32px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.acp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.acp-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.acp-badge {
  background: var(--gold);
  color: var(--navy);
  border-radius: 50px;
  padding: 6px 16px;
  text-align: center;
  line-height: 1.2;
}
.acp-badge .badge-num {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700;
  display: block;
}
.acp-badge .badge-lbl {
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
}
.acp-services {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.acp-svc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  transition: background .2s ease, border-color .2s ease;
}
.acp-svc:hover {
  background: rgba(201,164,97,.12);
  border-color: rgba(201,164,97,.3);
}
.acp-icon {
  width: 44px; height: 44px;
  background: rgba(201,164,97,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.acp-icon svg { width: 22px; height: 22px; }
.acp-icon-psi {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.acp-svc h4 {
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 600;
  color: var(--white); margin-bottom: 2px;
}
.acp-svc p { font-size: 12px; color: rgba(255,255,255,.55); margin: 0; }
.acp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 20px;
}
.acp-stat { text-align: center; }
.acp-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.acp-lbl {
  display: block;
  font-size: 11px; color: rgba(255,255,255,.5);
  margin-top: 4px; text-transform: uppercase; letter-spacing: .06em;
}

/* ---- SERVICE PANEL: remove two-col, go full width ---- */
#servicios .service-panel-inner {
  display: block;
  padding: 40px 44px;
  background: linear-gradient(135deg, var(--off-white) 0%, #edf1f8 100%);
  border: 1px solid rgba(30,58,95,.07);
  position: relative;
  overflow: hidden;
}
#servicios .service-panel-inner::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,164,97,.10) 0%, transparent 70%);
  pointer-events: none;
}
#servicios .service-content-full { width: 100%; }
#servicios .service-content-full > h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---- SERVICE AREAS: 3-col grid ---- */
#servicios .service-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  #servicios .service-areas { grid-template-columns: repeat(2, 1fr); }
  #servicios .service-panel-inner { padding: 28px 24px; }
}
@media (max-width: 560px) {
  #servicios .service-areas { grid-template-columns: 1fr; }
}

/* ---- SERVICE AREA CARD ---- */
#servicios .service-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid rgba(30,58,95,.07);
  border-radius: 14px;
  padding: 20px 18px;
  cursor: default;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .3s ease, transform .3s cubic-bezier(.4,0,.2,1),
              border-color .25s ease, box-shadow .25s ease;
}
#servicios .service-area.sa-visible {
  opacity: 1;
  transform: translateY(0);
}
#servicios .service-area:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(201,164,97,.16);
}
#servicios .area-icon {
  width: 44px; height: 44px;
  background: rgba(201,164,97,.10);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-dark);
  transition: background .2s ease, transform .2s ease;
  flex-shrink: 0;
}
#servicios .service-area:hover .area-icon {
  background: rgba(201,164,97,.22);
  transform: scale(1.07);
}
#servicios .area-icon svg { width: 20px; height: 20px; }
#servicios .service-area h4 {
  font-size: 14px; font-weight: 700;
  color: var(--navy); margin-bottom: 3px;
}
#servicios .service-area p {
  font-size: 13px; color: var(--gray);
  line-height: 1.65; margin: 0;
}

/* Stagger delays */
#servicios .service-area:nth-child(1) { transition-delay: .04s; }
#servicios .service-area:nth-child(2) { transition-delay: .08s; }
#servicios .service-area:nth-child(3) { transition-delay: .12s; }
#servicios .service-area:nth-child(4) { transition-delay: .16s; }
#servicios .service-area:nth-child(5) { transition-delay: .20s; }
#servicios .service-area:nth-child(6) { transition-delay: .24s; }
#servicios .service-area:nth-child(7) { transition-delay: .28s; }

/* ---- PILLARS ---- */
#pilares .pillar-card  { text-align: center; }
#pilares .pillar-top   { justify-content: center; margin-bottom: 18px; }
#pilares .pillar-icon-wrap {
  width: 56px; height: 56px;
  background: var(--light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-mid);
  transition: background .25s ease, transform .25s ease;
  box-shadow: 0 2px 8px rgba(30,58,95,.08);
}
#pilares .pillar-icon-wrap svg { width: 26px; height: 26px; }
#pilares .pillar-card:hover .pillar-icon-wrap {
  background: var(--navy);
  color: var(--gold);
  transform: scale(1.1) rotate(-5deg);
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  #servicios .service-area { opacity: 1; transform: none; transition: none; }
  #particleCanvas { display: none; }
}

