/* ============================================================
   FKT KINESIOLOGÍA — Design System
   Medical-grade minimalism · Clinical authority · Human warmth
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700&display=swap');

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --navy:        #0D2137;
  --navy-mid:    #163352;
  --blue:        #1A6B9A;
  --blue-light:  #2E8BC0;
  --blue-pale:   #E3EFF6;
  --surface:     #F4F8FC;
  --white:       #FFFFFF;
  --text:        #111827;
  --text-mid:    #374151;
  --text-muted:  #6B7280;
  --border:      #D9E4EE;
  --green:       #15803D;
  --green-bg:    #DCFCE7;
  --gold:        #B45309;

  --font-head:   'Bricolage Grotesque', system-ui, sans-serif;
  --font-body:   'Bricolage Grotesque', system-ui, sans-serif;

  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-sm:   0 1px 3px rgba(13,33,55,.07), 0 1px 2px rgba(13,33,55,.05);
  --shadow:      0 4px 16px rgba(13,33,55,.10), 0 1px 4px rgba(13,33,55,.06);
  --shadow-lg:   0 12px 40px rgba(13,33,55,.14), 0 4px 12px rgba(13,33,55,.08);

  --transition:  all .22s cubic-bezier(.4,0,.2,1);
  --max-w:       1200px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); letter-spacing: -.01em; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--blue); }
p { max-width: 68ch; }

.label {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,.78); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 13px 26px;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-primary:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-blue {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
}
.btn-blue:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border: 2px solid #25D366;
}
.btn-whatsapp:hover {
  background: #1ebe5b;
  border-color: #1ebe5b;
  transform: translateY(-1px);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 9px 18px; font-size: .83rem; }
.btn svg { flex-shrink: 0; }

/* ── HEADER ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(13,33,55,.05);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  flex-shrink: 0;
}
.logo-mark {
  width: 44px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text span:last-child { font-size: .65rem; font-weight: 400; color: var(--text-muted); letter-spacing: .04em; text-transform: uppercase; }

.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--surface); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 4px; }
.nav-dropdown-toggle svg { transition: transform .2s; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown.open .nav-dropdown-toggle { color: var(--navy); background: var(--surface); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 310px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .18s cubic-bezier(.4,0,.2,1), transform .18s cubic-bezier(.4,0,.2,1);
  z-index: 100;
}
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
/* Remove any leftover inner-wrapper styles */
.dropdown-menu-inner { display: contents; }
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}
.dropdown-item:hover { background: var(--surface); color: var(--navy); }
.dropdown-icon {
  width: 32px;
  height: 32px;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-phone {
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-phone span { color: var(--text-muted); font-weight: 400; }

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--navy);
  transition: var(--transition);
}
.mobile-menu-btn:hover { background: var(--surface); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mobile-nav-link {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 12px 16px;
  border-radius: var(--radius);
  display: block;
  transition: var(--transition);
}
.mobile-nav-link:hover { background: var(--surface); color: var(--navy); }
.mobile-nav-section { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); padding: 16px 16px 4px; }
.mobile-nav-footer { border-top: 1px solid var(--border); padding-top: 24px; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ── TRUST BAR ───────────────────────────────────────────── */
.trust-bar {
  background: var(--navy);
  padding: 0;
}
.trust-bar-inner {
  display: flex;
  align-items: stretch;
  min-height: 54px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  flex: 1;
  font-family: var(--font-head);
  font-size: .83rem;
  color: rgba(255,255,255,.85);
  border-right: 1px solid rgba(255,255,255,.1);
  transition: background .2s;
}
.trust-item:last-child { border-right: none; }
.trust-item svg { color: #5AADDC; flex-shrink: 0; }
.trust-item strong { color: var(--white); font-weight: 600; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  min-height: 580px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,107,154,.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 80%, rgba(45,139,192,.15) 0%, transparent 60%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-image-side {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48%;
}
.hero-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}
.hero-image-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 40%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 80px 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,107,154,.3);
  border: 1px solid rgba(90,173,220,.3);
  color: #5AADDC;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 52ch;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-stat-value {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}
.hero-stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.58);
  font-family: var(--font-head);
}

/* ── SERVICE HERO (inner pages) ──────────────────────────── */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 56px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--border); }

.page-hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}
.page-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.page-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-pale);
  color: var(--blue);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.page-hero h1 { margin-bottom: 12px; font-size: clamp(1.6rem, 4vw, 2.5rem); }
.page-hero .subtitle { font-size: 1.05rem; color: var(--text-mid); margin-bottom: 28px; }
.page-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── ABOUT SECTION ───────────────────────────────────────── */
.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
}
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.about-badge-text { font-family: var(--font-head); }
.about-badge-text strong { display: block; color: var(--navy); font-size: 1rem; }
.about-badge-text span { font-size: .78rem; color: var(--text-muted); }

.about-content { padding-left: 16px; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-mid); margin-bottom: 16px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 32px;
}
.about-stat {
  background: var(--white);
  padding: 20px;
  text-align: center;
}
.about-stat-value {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
}
.about-stat-label { font-size: .78rem; color: var(--text-muted); font-family: var(--font-head); }

/* ── SERVICES GRID ───────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(26,107,154,.2);
}
.service-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface);
}
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-card-img img { transform: scale(1.04); }
.service-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.service-card-label { font-size: .7rem; font-family: var(--font-head); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.service-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--navy); }
.service-card p { font-size: .86rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 14px;
  transition: gap .2s;
}
.service-card:hover .service-card-link { gap: 10px; }

/* ── FEATURE BLOCK ───────────────────────────────────────── */
.feature-block { padding: 72px 0; }
.feature-block + .feature-block { padding-top: 0; }
.feature-block.reverse .grid-2 { direction: rtl; }
.feature-block.reverse .grid-2 > * { direction: ltr; }
.feature-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 5/4;
}
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-content { padding: 16px 0; }
.feature-content h2 { margin-bottom: 16px; }
.feature-content p { color: var(--text-mid); margin-bottom: 16px; }
.feature-list { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .97rem;
  color: var(--text-mid);
}
.feature-list-icon {
  width: 22px;
  height: 22px;
  background: var(--green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}

/* ── CTA BANNER ──────────────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26,107,154,.4) 0%, transparent 70%);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45,139,192,.15) 0%, transparent 70%);
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.7); margin: 0 auto 32px; font-size: 1.05rem; }
.cta-banner-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-banner-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.cta-banner-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: .83rem;
  color: rgba(255,255,255,.75);
}
.cta-banner-feature svg { color: #5AADDC; }

/* ── REVIEWS ─────────────────────────────────────────────── */
.reviews-header { text-align: center; margin-bottom: 48px; }
.reviews-rating {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.reviews-rating-score {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}
.stars { display: flex; gap: 2px; }
.star { color: #F59E0B; font-size: 1rem; }
.reviews-count { font-family: var(--font-head); font-size: .83rem; color: var(--text-muted); }
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-stars { display: flex; gap: 2px; }
.review-text { font-size: .92rem; color: var(--text-mid); line-height: 1.65; flex: 1; }
.review-author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.review-avatar {
  width: 36px;
  height: 36px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
}
.review-name { font-family: var(--font-head); font-size: .86rem; font-weight: 600; color: var(--navy); }
.review-source { font-size: .75rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }
.google-dot { width: 8px; height: 8px; background: #4285F4; border-radius: 50%; }

/* ── CONTACT SECTION ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.contact-form-wrap h3 { margin-bottom: 6px; }
.contact-form-wrap > p { color: var(--text-muted); font-size: .9rem; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .18s;
  outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--blue); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-info-wrap { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.contact-info-card h4 { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--surface);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.contact-item-text { font-family: var(--font-head); }
.contact-item-text strong { display: block; font-size: .82rem; color: var(--navy); }
.contact-item-text span { font-size: .8rem; color: var(--text-muted); }
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-embed iframe { display: block; width: 100%; height: 220px; }

/* ── INLINE CTA STRIP ────────────────────────────────────── */
.inline-cta {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 40px 0;
}
.inline-cta-text h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }
.inline-cta-text p { font-size: .9rem; color: var(--text-mid); margin: 0; }
.inline-cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ── CONTENT SECTION (service pages) ─────────────────────── */
.content-section { padding: 72px 0; }
/* Only collapse top padding when two plain content-sections are adjacent */
.content-section + .content-section:not(.section--surface) { padding-top: 0; }
.content-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.content-block h2 { margin-bottom: 16px; }
.content-block p { color: var(--text-mid); margin-bottom: 14px; font-size: 1rem; }
.content-block h3 { margin: 24px 0 12px; font-size: 1.15rem; }

.check-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .96rem;
  color: var(--text-mid);
}
.check-icon {
  width: 20px;
  height: 20px;
  background: var(--green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
  font-size: .65rem;
}

.info-box {
  background: var(--blue-pale);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.info-box h3 { margin-bottom: 14px; color: var(--navy); font-size: 1.05rem; }

.warning-box {
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 32px;
}
.warning-box h4 { color: var(--gold); font-size: .78rem; letter-spacing: .08em; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.warning-box p { font-size: .86rem; color: #78350F; margin: 0; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: 20px; margin: 20px 0; }
.step { display: flex; gap: 16px; }
.step-num {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-body h4 { font-size: .88rem; color: var(--navy); font-weight: 600; margin-bottom: 4px; text-transform: none; letter-spacing: 0; }
.step-body p { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* Quote block */
.quote-block {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
}
.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 5rem;
  color: var(--blue);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: .25;
}
.quote-block p { font-size: .98rem; font-style: italic; color: var(--text-mid); margin: 0 0 16px; }
.quote-author { font-family: var(--font-head); font-size: .82rem; font-weight: 600; color: var(--navy); }
.quote-author span { font-weight: 400; color: var(--text-muted); }

/* Tech badges */
.tech-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.tech-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 500;
  color: var(--navy);
}
.tech-badge svg { color: var(--blue); }

/* Related services */
.related-services { padding: 64px 0; background: var(--surface); }
.related-services h2 { text-align: center; margin-bottom: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.related-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.related-card-img { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; margin-bottom: 4px; border: 2px solid var(--border); }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; }
.related-card h4 { font-size: .88rem; color: var(--navy); text-transform: none; letter-spacing: 0; color: var(--text); }
.related-card span { font-size: .78rem; color: var(--blue); font-family: var(--font-head); font-weight: 600; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand .logo-mark { background: rgba(255,255,255,.15); }
.footer-brand p { font-size: .86rem; color: rgba(255,255,255,.55); line-height: 1.65; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}
.social-btn:hover { background: rgba(255,255,255,.18); color: var(--white); }
.footer-col h5 {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-link {
  font-family: var(--font-head);
  font-size: .86rem;
  color: rgba(255,255,255,.65);
  transition: color .15s;
}
.footer-link:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .83rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
}
.footer-contact-item svg { margin-top: 2px; flex-shrink: 0; color: rgba(255,255,255,.3); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-head);
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.45); transition: color .15s; }
.footer-bottom a:hover { color: var(--white); }

/* ── PHOTO PENDING ───────────────────────────────────────── */
.photo-pending {
  width: 100%;
  height: 100%;
  min-height: 260px;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .03em;
}
.photo-pending svg { opacity: .3; }

/* ── FLOATING WHATSAPP ───────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 2px 8px rgba(0,0,0,.15);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 28px rgba(37,211,102,.5), 0 4px 12px rgba(0,0,0,.18);
}
.wa-float svg { flex-shrink: 0; width: 26px; height: 26px; }
.wa-float-label { display: none; }
@media (max-width: 480px) {
  .wa-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .wa-float svg { width: 24px; height: 24px; }
}

/* ── TEAM SECTION ────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 680px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.team-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface);
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-card-body { padding: 20px 24px 24px; }
.team-card-name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.team-card-title { font-family: var(--font-head); font-size: .8rem; color: var(--text-muted); margin-bottom: 2px; }
.team-card-reg { font-family: var(--font-head); font-size: .78rem; font-weight: 600; color: var(--blue); }
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; max-width: 340px; }
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(1) { transition-delay: 0ms; }
.fade-up:nth-child(2) { transition-delay: 80ms; }
.fade-up:nth-child(3) { transition-delay: 160ms; }
.fade-up:nth-child(4) { transition-delay: 240ms; }

/* ── UTILITIES ───────────────────────────────────────────── */
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.section-header { margin-bottom: 48px; }
.section-header h4 { margin-bottom: 8px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.02rem; }
.divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TABLET  ≤ 1024px
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .related-grid  { grid-template-columns: repeat(2,1fr); }
  .grid-4        { grid-template-columns: repeat(2,1fr); }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MOBILE  ≤ 768px
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 768px) {

  /* ── Prevent horizontal overflow ──────────────────────── */
  html, body { overflow-x: hidden; }

  /* ── Sections ─────────────────────────────────────────── */
  .section    { padding: 48px 0; }
  .section--sm { padding: 32px 0; }
  .content-section { padding: 48px 0; }
  .content-section + .content-section:not(.section--surface) { padding-top: 0; }

  /* ── Grids → single column ────────────────────────────── */
  .grid-2,
  .content-grid-2col,
  .contact-grid,
  .page-hero-inner  { grid-template-columns: 1fr; }
  .services-grid    { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; }
  .related-grid     { grid-template-columns: repeat(2,1fr); }
  .grid-4           { grid-template-columns: repeat(2,1fr); }

  /* ── Header ───────────────────────────────────────────── */
  .nav-main, .header-phone, .header-actions .btn { display: none; }
  .mobile-menu-btn  { display: flex; }

  /* ── Trust bar: solo dirección y horario ─────────────── */
  .trust-bar-inner  { flex-direction: column; min-height: auto; }
  .trust-item       { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 10px 16px; font-size: .8rem; }
  .trust-item:last-child { border-bottom: none; }
  /* Ocultar teléfono (2º) y Google rating (4º) en mobile */
  .trust-item:nth-child(2),
  .trust-item:nth-child(4) { display: none; }

  /* ── Hero ─────────────────────────────────────────────── */
  .hero-image-side  { display: none; }
  .hero-content     { max-width: 100%; padding: 48px 0; }
  .hero-eyebrow     { white-space: normal; text-align: left; font-size: .72rem; }
  .hero h1          { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .hero-stats       { flex-wrap: wrap; gap: 16px; padding-top: 20px; margin-top: 24px; }
  .hero-stat-value  { font-size: 1.4rem; }

  /* Hero buttons: full-width column, teléfono → verde */
  .hero-actions              { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn         { justify-content: center; width: 100%; }
  .hero-actions .btn-white   { background: #25D366; color: #fff; border-color: #25D366; }

  /* ── Page hero (landings) ─────────────────────────────── */
  .page-hero           { padding: 32px 0 40px; }
  .page-hero-image     { order: -1; aspect-ratio: 16/9; }
  .page-hero-actions   { flex-direction: column; gap: 10px; }
  .page-hero-actions .btn          { justify-content: center; width: 100%; }
  .page-hero-actions .btn-outline  { background: #25D366 !important; color: #fff !important; border-color: #25D366 !important; }

  /* ── Quiénes somos: texto arriba → cards abajo, centradas ── */
  .nosotros-grid {
    display: flex !important;
    flex-direction: column-reverse !important;
    gap: 28px !important;
    margin-top: 32px !important;
  }
  .nosotros-team-col {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px;
  }
  .team-card-img    { aspect-ratio: 1/1; }
  .about-image-wrap { aspect-ratio: 16/9; }

  /* About stats: mantener horizontal (3 columnas compactas) */
  .about-stats      { grid-template-columns: repeat(3,1fr); }
  .about-stat       { padding: 14px 8px; }
  .about-stat-value { font-size: 1.1rem; }
  .about-stat-label { font-size: .68rem; }

  /* Reviews: scroll horizontal tipo carrusel */
  .grid-3 {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 12px;
    /* Hide scrollbar visually but keep functional */
    scrollbar-width: none;
  }
  .grid-3::-webkit-scrollbar { display: none; }
  .grid-3 > * {
    min-width: 82vw;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* ── Inline CTA: centrado ─────────────────────────────── */
  .inline-cta        { flex-direction: column; align-items: center; text-align: center; }
  .inline-cta-text   { width: 100%; }
  .inline-cta-actions { width: 100%; flex-direction: column; gap: 10px; }
  .inline-cta-actions .btn { justify-content: center; width: 100%; }

  /* ── Feature / content buttons: full-width ────────────── */
  .feature-content .btn,
  .content-block .btn { display: flex; width: 100%; justify-content: center; }

  /* ── Tech badges: 2 columnas parejas ─────────────────── */
  .tech-grid {
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   8px;
  }
  .tech-badge { justify-content: flex-start; }

  /* ── CTA Banner ───────────────────────────────────────── */
  .cta-banner-actions  { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-banner-actions .btn { justify-content: center; }
  .cta-banner-features { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* ── Contact ──────────────────────────────────────────── */
  .contact-grid       { display: block !important; }
  .contact-form-wrap  { width: 100%; box-sizing: border-box; padding: 24px 20px; margin-bottom: 24px; }
  .contact-info-wrap  { width: 100%; }
  .contact-info-card  { padding: 20px 16px; }

  /* ── Forms ────────────────────────────────────────────── */
  .form-row { grid-template-columns: 1fr; }

  /* ── Footer ───────────────────────────────────────────── */
  .site-footer        { padding-bottom: 24px; }
  .footer-grid        { grid-template-columns: 1fr !important; gap: 32px; }
  .footer-bottom      { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 0; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SMALL MOBILE  ≤ 480px
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
  .team-grid    { grid-template-columns: 1fr !important; width: 100% !important; max-width: 340px !important; }
  .about-stats  { grid-template-columns: repeat(3,1fr); }
}

/* ── FOTO PENDIENTE PLACEHOLDER ─────────────────────────────────────────── */
.foto-pendiente {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
}
.foto-pendiente svg { opacity: .4; }
.foto-pendiente span {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .5;
}
