/* =============================================
   TU DESPIDO INJUSTIFICADO — Corporativo Legal
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --navy:       #0b1d35;
  --navy-dark:  #060f1c;
  --navy-mid:   #162d50;
  --gold:       #b8963e;
  --gold-light: #d4ae5a;
  --gold-pale:  #f5edd9;
  --white:      #ffffff;
  --off-white:  #f7f5f0;
  --cream:      #ede9df;
  --gray-light: #dedad2;
  --gray:       #8a8478;
  --text-dark:  #111827;
  --text-mid:   #3d3830;
  --red:        #9b2020;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;

  --radius:    0px;
  --transition: 0.3s ease;
  --shadow:    0 2px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

*, *::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-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  background: var(--white);
  border-bottom: 1px solid rgba(184,150,62,0.25);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(6,15,28,0.98);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
}
.navbar.light {
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}
.navbar.light .nav-link { color: var(--navy); }
.navbar.light .dropdown-toggle { color: var(--navy); }
.navbar.light .nav-phone { color: var(--navy); }
.navbar.light .hamburger span { background: var(--navy); }

.nav-logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-link {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

.nav-phone {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-cta {
  background: var(--gold);
  color: var(--navy-dark) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7rem 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-toggle {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition);
}
.dropdown-toggle:hover { color: var(--gold); }
.dropdown-toggle svg { width: 12px; transition: transform var(--transition); }
.nav-dropdown:hover .dropdown-toggle svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-top: 2px solid var(--gold);
  min-width: 255px;
  padding: 0.5rem 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.72rem 1.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  border-left: 2px solid transparent;
  transition: all var(--transition);
}
.dropdown-menu a:hover {
  background: var(--off-white);
  color: var(--navy);
  border-left-color: var(--gold);
  padding-left: 1.85rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--navy);
  transition: var(--transition);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 1.5rem; right: 2.5rem;
  font-size: 1.8rem;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: color var(--transition);
}
.mobile-close:hover { color: var(--gold); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-video-wrapper {
  position: absolute;
  inset: 0;
}
.hero-video-wrapper video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  top: 0; left: 0;
  transition: opacity 1.2s ease;
}
.hero-video-wrapper video.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6,15,28,0.96) 0%, rgba(6,15,28,0.6) 40%, rgba(6,15,28,0.18) 100%),
    linear-gradient(to right, rgba(6,15,28,0.55) 0%, transparent 65%);
}
/* Decorative vertical accent */
.hero::before {
  content: '';
  position: absolute;
  left: 5.5%;
  top: 18%; bottom: 18%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(184,150,62,0.5), transparent);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 6% 6rem;
  max-width: 780px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s 0.4s ease forwards;
}
.hero-eyebrow span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.55s ease forwards;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.68);
  letter-spacing: 0.02em;
  line-height: 1.85;
  max-width: 460px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.7s ease forwards;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.85s ease forwards;
}
.hero-stats {
  position: absolute;
  right: 5%;
  bottom: 6rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s 1.1s ease forwards;
}
.hero-stat {
  text-align: right;
  padding-right: 1.25rem;
  border-right: 1px solid rgba(184,150,62,0.4);
}
.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 0.25rem;
}
.hero-video-controls {
  position: absolute;
  bottom: 2.25rem;
  left: 6%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s ease forwards;
}
.hero-dot {
  height: 2px;
  width: 24px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  padding: 0;
}
.hero-dot.active { background: var(--gold); width: 40px; }

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,150,62,0.28);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 2.25rem;
  border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }

/* =============================================
   FEATURES BAR
   ============================================= */
.features-bar {
  background: var(--navy);
  border-top: 1px solid rgba(184,150,62,0.2);
  border-bottom: 1px solid rgba(184,150,62,0.08);
}
.features-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.feature-item {
  padding: 2.75rem 3rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: background var(--transition);
}
.feature-item:hover { background: rgba(184,150,62,0.04); }
.feature-item:last-child { border-right: none; }
.feature-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: rgba(184,150,62,0.55);
  line-height: 1;
  flex-shrink: 0;
}
.feature-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.45rem;
}
.feature-desc { font-size: 0.76rem; color: rgba(255,255,255,0.45); line-height: 1.65; }

/* =============================================
   SECTION COMMONS
   ============================================= */
.section { padding: 7rem 0; }
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
}
.section-eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.section-title em  { font-style: italic; color: var(--gold); }
.section-title span { color: var(--gold); }
.section-title.light { color: var(--white); }
.section-subtitle {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.85;
  max-width: 520px;
  letter-spacing: 0.01em;
}
.section-subtitle.light { color: rgba(255,255,255,0.55); }

/* =============================================
   SERVICES
   ============================================= */
.services-section { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-light);
  border: 1px solid var(--gray-light);
  margin-top: 4rem;
}
.service-card {
  background: var(--white);
  padding: 2.75rem 2.25rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background var(--transition);
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { background: var(--off-white); }
.service-card:hover::after { transform: scaleX(1); }
.service-card-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.service-card p { font-size: 0.78rem; color: var(--gray); line-height: 1.75; margin-bottom: 1.5rem; }
.service-card-link {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition);
}
.service-card:hover .service-card-link { gap: 0.9rem; }

/* =============================================
   STATS / DARK
   ============================================= */
.stats-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  right: -10%; top: -20%;
  width: 60%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(184,150,62,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 7rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.06);
}
.stat-card {
  padding: 3rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  transition: background var(--transition);
}
.stat-card:nth-child(2n) { border-right: none; }
.stat-card:nth-child(n+3) { border-bottom: none; }
.stat-card:hover { background: rgba(184,150,62,0.04); }
.stat-number {
  font-family: var(--font-display);
  font-size: 3.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--gold);
  padding: 5.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '§';
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 20rem;
  color: rgba(11,29,53,0.06);
  line-height: 1;
  pointer-events: none;
}
.cta-banner-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-tag {
  display: inline-block;
  background: rgba(11,29,53,0.1);
  color: var(--navy-dark);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  margin-bottom: 1.5rem;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1.12;
  margin-bottom: 1.1rem;
}
.cta-banner p {
  font-size: 0.82rem;
  color: rgba(11,29,53,0.68);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.85;
}

/* =============================================
   ABOUT
   ============================================= */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-block {
  aspect-ratio: 3/4;
  background: linear-gradient(155deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-img-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(184,150,62,0.12) 0%, transparent 60%);
}
.about-img-block svg { color: rgba(184,150,62,0.1); width: 120px; height: 120px; position: relative; z-index: 1; }
.about-badge {
  position: absolute;
  bottom: -2rem; right: -2.5rem;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 1.75rem 1.5rem;
  text-align: center;
  min-width: 140px;
}
.about-badge-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.about-badge-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.about-decorative {
  position: absolute;
  top: 2rem; left: -1.5rem;
  width: 1px; height: 55%;
  background: linear-gradient(to bottom, var(--gold), transparent);
  opacity: 0.35;
}
.check-list { display: flex; flex-direction: column; gap: 1rem; margin: 2rem 0 2.5rem; }
.check-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.check-icon {
  width: 18px; height: 18px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-icon svg { color: var(--gold); width: 10px; height: 10px; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section { background: var(--off-white); }
.testimonials-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}
.testimonials-slide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-top: 2px solid var(--gold);
  padding: 2.25rem;
}
.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--cream);
  line-height: 0.65;
  margin-bottom: 1rem;
  font-style: italic;
  font-weight: 600;
}
.testimonial-stars { display: flex; gap: 0.2rem; margin-bottom: 1rem; }
.testimonial-stars svg { color: var(--gold); width: 13px; height: 13px; }
.testimonial-text {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1.75rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 40px; height: 40px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
}
.testimonial-name { font-size: 0.78rem; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.testimonial-location { font-size: 0.68rem; color: var(--gray); }
.testimonials-nav { display: flex; gap: 0.4rem; margin-top: 2.5rem; justify-content: center; }

/* =============================================
   CONTACT LINKS
   ============================================= */
.contact-links-section { background: var(--navy); }
.contact-links-header { max-width: 560px; margin-bottom: 3rem; }
.contact-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.05);
}
.contact-option {
  background: var(--navy);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  border-left: 2px solid transparent;
  transition: all var(--transition);
}
.contact-option:hover {
  background: rgba(184,150,62,0.07);
  color: var(--gold);
  border-left-color: var(--gold);
  padding-left: 2.5rem;
}
.contact-option svg { color: var(--gold); flex-shrink: 0; }

.footer {
  background: var(--navy);
  border-top: 1px solid rgba(184,150,62,0.15);
  color: var(--white);
  padding: 5rem 0 2.5rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}
.footer-logo img { height: 40px; margin-bottom: 1.5rem; }
.footer-brand p {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  max-width: 260px;
  margin-bottom: 1.75rem;
}
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-title {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* =============================================
   PAGE HEADER (interior)
   ============================================= */
.page-header {
  background: var(--navy);
  padding: 10rem 3rem 5rem;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gold) 0%, rgba(184,150,62,0.1) 50%, transparent 100%);
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 40%, rgba(184,150,62,0.07) 0%, transparent 55%);
}
.page-header-inner { position: relative; z-index: 1; }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 600;
  color: var(--white);
  margin: 1rem 0;
  line-height: 1.08;
}
.page-header p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  line-height: 1.85;
}

/* =============================================
   NOSOTROS PAGE
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.team-card {
  border: 1px solid var(--gray-light);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-card-img {
  aspect-ratio: 3/4;
  background: linear-gradient(155deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.team-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(184,150,62,0.1) 0%, transparent 60%);
}
.team-initial {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  color: rgba(184,150,62,0.25);
  position: relative;
  z-index: 1;
}
.team-card-info { padding: 1.5rem; background: var(--white); border-top: 1px solid var(--gray-light); }
.team-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.team-card-info .role {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.team-card-info p { font-size: 0.76rem; color: var(--gray); line-height: 1.65; margin-top: 0.5rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.value-card {
  padding: 2.75rem;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-top: 2px solid var(--gold);
  transition: box-shadow var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-lg); }
.value-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 1rem;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.value-card p { font-size: 0.78rem; color: var(--gray); line-height: 1.75; }

/* =============================================
   SERVICIOS PAGE
   ============================================= */
.service-detail { padding: 6rem 0; border-bottom: 1px solid var(--gray-light); }
.service-detail:last-of-type { border-bottom: none; }
.service-detail-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.service-detail-inner.reversed { direction: rtl; }
.service-detail-inner.reversed > * { direction: ltr; }
.service-visual {
  background: linear-gradient(155deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(184,150,62,0.12) 0%, transparent 60%);
}
.service-visual-icon {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 600;
  color: rgba(184,150,62,0.1);
  position: relative;
  z-index: 1;
  font-style: italic;
}
.service-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(184,150,62,0.3);
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.25rem;
}
.service-detail-content h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.service-detail-content p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: flex-start;
}
.contact-info-col { position: sticky; top: 96px; }
.contact-info-card {
  background: var(--navy);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  border-top: 2px solid var(--gold);
}
.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.contact-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(255,255,255,0.04);
  border-left: 2px solid rgba(184,150,62,0.3);
}
.contact-step:last-child { margin-bottom: 0; }
.contact-step-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  min-width: 1.5rem;
}
.contact-step-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.contact-step-value { font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.65; }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail-icon {
  width: 36px; height: 36px;
  border: 1px solid rgba(184,150,62,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { color: var(--gold); width: 15px; height: 15px; }
.contact-detail-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.15rem;
}
.contact-detail-value { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.contact-detail-value a { color: var(--gold); transition: color var(--transition); }

/* Form card */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-top: 2px solid var(--gold);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}
.form-card h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-card > p { font-size: 0.78rem; color: var(--gray); margin-bottom: 2rem; }
.form-progress { display: flex; gap: 4px; margin-bottom: 2rem; }
.progress-step { flex: 1; height: 2px; background: var(--cream); transition: background var(--transition); }
.progress-step.active { background: var(--gold-light); }
.progress-step.done  { background: var(--gold); }
.form-step { display: none; }
.form-step.active { display: block; }
.form-step-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-light);
}
.form-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.form-type-btn {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  border-top: 2px solid transparent;
  padding: 1.1rem 1rem;
  text-align: center;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition);
}
.form-type-btn svg { color: var(--gray-light); transition: color var(--transition); width: 22px; height: 22px; }
.form-type-btn:hover, .form-type-btn.selected {
  border-top-color: var(--gold);
  background: var(--white);
  color: var(--navy);
}
.form-type-btn:hover svg, .form-type-btn.selected svg { color: var(--gold); }
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-label span { color: var(--red); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-light);
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  border-radius: 0;
  appearance: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,62,0.08);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a8478' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-actions { display: flex; gap: 0.75rem; margin-top: 1.75rem; }
.btn-back {
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--gray-light);
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-back:hover { border-color: var(--navy); color: var(--navy); }
.form-success { text-align: center; padding: 2.5rem 0; display: none; }
.form-success.visible { display: block; }
.success-icon {
  width: 60px; height: 60px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.success-icon svg { color: var(--gold); width: 26px; height: 26px; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.form-success p { font-size: 0.82rem; color: var(--gray); line-height: 1.85; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.32s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner    { grid-template-columns: 1fr; gap: 3rem; }
  .about-grid     { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-info-col  { position: static; }
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .contact-options-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail-inner.reversed { direction: ltr; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 5rem 0; }
  .section-inner, .footer-inner, .page-header { padding-left: 1.5rem; padding-right: 1.5rem; }
  .stats-inner { padding: 4rem 1.5rem; }
  .hero::before { display: none; }
  .hero-stats { display: none; }
  .hero-content { padding: 0 1.5rem 5rem; }
  .features-bar-inner { grid-template-columns: 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 2rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-slide { grid-template-columns: 1fr; }
  .testimonials-header-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-type-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-options-grid { grid-template-columns: 1fr; }
  .about-badge { right: 0; bottom: -1.5rem; }
  .cta-banner { padding: 4rem 1.5rem; }
  .cta-banner::before { font-size: 10rem; }
  .service-detail-inner { padding: 0 1.5rem; }
}

/* =============================================
   RESPONSIVE COMPLETE FIXES
   ============================================= */

/* ── Tablet mid (max 900px) ── */
@media (max-width: 900px) {
  .hero h1 { font-size: 2.8rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; }
  .features-bar-inner { grid-template-columns: 1fr 1fr; }
  .feature-item:nth-child(2) { border-right: none; }
  .feature-item:nth-child(3) { grid-column: 1/-1; border-bottom: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .testimonials-slide { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card:nth-child(3) { display: none; }
  .calc-wrap { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-column: 1/-1; grid-template-columns: 1fr; }
  .blog-featured .blog-card-img { min-height: 220px; border-right: none; border-bottom: 2px solid var(--gold); }
}

/* ── Mobile (max 768px) ── */
@media (max-width: 768px) {
  /* Hero */
  .hero { min-height: 100svh; align-items: center; }
  .hero h1 { font-size: 2.2rem; line-height: 1.12; }
  .hero-desc { font-size: 0.82rem; }
  .hero-content { padding: 5rem 1.5rem 7rem; margin-top: 76px; }
  .hero-video-controls { left: 1.5rem; }

  /* Navbar */
  .navbar { padding: 0 1.25rem; height: 64px; }
  .nav-logo img { height: 36px; }
  .hamburger span { background: var(--navy); }
  .navbar.light .hamburger span { background: var(--navy); }

  /* Features bar */
  .features-bar-inner { grid-template-columns: 1fr; }
  .feature-item { padding: 1.5rem; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .feature-item:last-child { border-bottom: none; }

  /* Sections */
  .section { padding: 4rem 0; }
  .section-inner { padding: 0 1.25rem; }
  .section-title { font-size: 2rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 0; }
  .service-card { border-right: none; border-bottom: 1px solid var(--gray-light); }

  /* Stats */
  .stats-inner { padding: 4rem 1.25rem; gap: 2.5rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2.8rem; }

  /* CTA */
  .cta-banner { padding: 3.5rem 1.25rem; }
  .cta-banner h2 { font-size: 1.8rem; }
  .cta-banner::before { display: none; }

  /* About */
  .about-grid { gap: 3rem; }
  .about-badge { right: 0; bottom: -1.25rem; min-width: 110px; padding: 1.25rem 1rem; }
  .about-badge-num { font-size: 2.2rem; }
  .about-decorative { display: none; }

  /* Testimonials */
  .testimonials-slide { grid-template-columns: 1fr; }
  .testimonials-header-row { flex-direction: column; gap: 1rem; align-items: flex-start; }

  /* Contact links */
  .contact-options-grid { grid-template-columns: 1fr; }
  .contact-option { padding: 1.25rem 1.5rem; }

  /* Footer */
  .footer { padding: 3.5rem 0 2rem; }
  .footer-inner { padding: 0 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }

  /* Page header */
  .page-header { padding: 7rem 1.25rem 3rem; }
  .page-header h1 { font-size: 2rem; }

  /* Nosotros values */
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }

  /* Servicios */
  .service-detail { padding: 4rem 0; }
  .service-detail-inner { padding: 0 1.25rem; gap: 2rem; }
  .service-detail-inner.reversed { direction: ltr; }
  .service-visual { aspect-ratio: 3/2; }
  .service-detail-content h2 { font-size: 1.8rem; }

  /* Contact page */
  .contact-page-grid { gap: 2rem; }
  .contact-info-col { position: static; }
  .form-card { padding: 1.75rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .form-type-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .steps-header { gap: 0; }
  .step-div { width: 1rem; margin: 0 0.2rem; }
  .step-ttl { display: none; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .blog-card-img { min-height: 200px; border-right: none; border-bottom: 2px solid var(--gold); }
  .blog-filters { gap: 0.4rem; }
  .blog-header-row { flex-direction: column; align-items: flex-start; gap: 1.25rem; }

  /* Calculadora */
  .calc-wrap { grid-template-columns: 1fr; gap: 1.5rem; padding: 0 1.25rem; }
  .calc-result-card { position: static; }
  .result-total-value { font-size: 2.2rem; }
}

/* ── Small mobile (max 400px) ── */
@media (max-width: 400px) {
  .hero h1 { font-size: 1.9rem; }
  .form-type-grid { grid-template-columns: 1fr; }
  .btn-primary, .btn-outline, .btn-navy { padding: 0.9rem 1.5rem; font-size: 0.65rem; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* =============================================
   EXTRA RESPONSIVE FIXES
   ============================================= */

/* ── Hero full responsive ── */
@media (max-width: 480px) {
  .hero { min-height: 100svh; }
  .hero h1 { font-size: 2.4rem; }
  .hero-desc { font-size: 0.82rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; justify-content: center; }
  .hero-video-controls { bottom: 1.5rem; left: 4%; }
}

/* ── Features bar ── */
@media (max-width: 480px) {
  .feature-item { padding: 1.5rem 1rem; gap: 1rem; }
  .feature-num { font-size: 2rem; }
  .feature-title { font-size: 0.68rem; }
}

/* ── Services grid ── */
@media (max-width: 480px) {
  .service-card { padding: 1.75rem 1.5rem; }
  .service-card-num { font-size: 2.2rem; }
}

/* ── Stats ── */
@media (max-width: 480px) {
  .stats-inner { padding: 3.5rem 1rem; gap: 2rem; }
  .stats-grid { gap: 0; }
  .stat-card { padding: 1.75rem 1rem; }
  .stat-number { font-size: 2.8rem; }
}

/* ── CTA banner ── */
@media (max-width: 480px) {
  .cta-banner { padding: 3rem 1.25rem; }
  .cta-banner h2 { font-size: 1.7rem; }
  .cta-banner p { font-size: 0.8rem; }
}

/* ── About ── */
@media (max-width: 480px) {
  .about-badge { right: 0; bottom: -1rem; min-width: 110px; }
  .about-badge-num { font-size: 2.4rem; }
  .check-item { font-size: 0.78rem; }
}

/* ── Testimonials ── */
@media (max-width: 480px) {
  .testimonials-header-row { gap: 0.75rem; }
  .testimonial-card { padding: 1.5rem; }
}

/* ── Contact links ── */
@media (max-width: 480px) {
  .contact-option { padding: 1.1rem 1.25rem; font-size: 0.65rem; }
}

/* ── Page header ── */
@media (max-width: 480px) {
  .page-header { padding: 7rem 1.25rem 3rem; }
  .page-header h1 { font-size: 2rem; }
}

/* ── Footer full responsive ── */
@media (max-width: 480px) {
  .footer-inner { padding: 0 1.25rem; }
  .footer { padding: 3.5rem 0 2rem; }
  .footer-grid { gap: 1.75rem; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── Navbar ── */
@media (max-width: 380px) {
  .navbar { padding: 0 1.1rem; }
  .nav-logo img { height: 36px; }
}

/* ── Sections general ── */
@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .section-inner { padding: 0 1.25rem; }
  .section-title { font-size: 1.9rem; }
}

/* ── Contact page ── */
@media (max-width: 480px) {
  .form-card { padding: 1.75rem 1.25rem; }
  .contact-info-card { padding: 1.5rem 1.25rem; }
  .form-actions { flex-direction: column; }
  .form-actions .btn-primary,
  .form-actions .btn-back { width: 100%; justify-content: center; text-align: center; }
  .steps-header { gap: 0; }
  .step-div { width: 1rem; margin: 0 0.2rem; }
}

/* ── Calculadora ── */
@media (max-width: 480px) {
  .calc-wrap { padding: 0 1.25rem; }
  .calc-card { padding: 1.75rem 1.25rem; }
  .calc-result-card { padding: 1.75rem 1.25rem; }
}

/* ── Service detail pages ── */
@media (max-width: 480px) {
  .service-detail { padding: 3.5rem 0; }
  .service-detail-inner { padding: 0 1.25rem; gap: 1.75rem; }
  .service-detail-content h2 { font-size: 1.85rem; }
}

/* ── Nosotros / Team ── */
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 1rem; }
  .value-card { padding: 1.75rem; }
}

/* ── Ensure all images are responsive ── */
img { max-width: 100%; height: auto; }
video { max-width: 100%; }

/* ── Prevent overflow on all screens ── */
* { max-width: 100%; }
html, body { overflow-x: hidden; }

/* ── Touch targets ── */
@media (max-width: 768px) {
  .nav-cta, .btn-primary, .btn-outline, .btn-navy, .btn-back {
    min-height: 44px;
  }
  .hamburger { padding: 8px; min-width: 44px; min-height: 44px; justify-content: center; align-items: center; display: flex; }
}

/* Calculator home grid responsive */
.calc-home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
@media (max-width: 900px) {
  .calc-home-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .calc-home-grid { grid-template-columns: 1fr; gap: 2rem; }
  #calculadora .section-inner { padding: 0 1.25rem; }
  #calculadora [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}


.footer {
  background: #060f1c; /* azul oscuro */
  color: #ffffff;
  padding: 4rem 2rem 2rem;
}

.footer p,
.footer a,
.footer li {
  color: rgba(255,255,255,0.8);
}

.footer a:hover {
  color: #b8963e; /* dorado */
}

.footer-col-title {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer-logo img {
  max-width: 180px;
}


.footer-contact-item svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-contact-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}
/* =============================================
   WHATSAPP FLOTANTE
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.wa-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.wa-btn svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
.wa-tooltip {
  background: var(--navy-dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.wa-float:hover .wa-tooltip { opacity: 1; }

@media (max-width: 768px) {
  .wa-btn { width: 52px; height: 52px; }
  .wa-btn svg { width: 26px; height: 26px; }
  .wa-float { bottom: 1.25rem; right: 1.25rem; }
}

/* RUT field */
.rut-field { position: relative; }
.rut-status { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); font-size: 0.72rem; font-weight: 700; display: none; }
.rut-status.valid  { color: #2e7d32; display: block; }
.rut-status.invalid { color: var(--red); display: block; }
.form-input.rut-ok  { border-color: #2e7d32; }
.form-input.rut-err { border-color: var(--red); }
.rut-hint { font-size: 0.63rem; color: var(--gray); margin-top: 0.3rem; }
