*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --g1: #568C4E;
  --g2: #4a7d43;
  --g3: #a0d995;
  --cream: #f0ebe3;
  --ink: #1a1a18;
  --ink60: #4a4a42;
  --gb: rgba(160, 217, 149, 0.18);
  --g1-rgb: 86, 140, 78;
  --g3-rgb: 160, 217, 149;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 18px;
  --radius-pill: 100px;
  --t-fast: 0.2s;
  --t-med: 0.25s;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  background: var(--g1);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(var(--g1-rgb), 0.4);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 16px; }
.skip-link:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; }

/* ══════════════════════════════
   NAV — mobile: hidden
══════════════════════════════ */
header nav { display: none; }

.nav-link-pill {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link-pill:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-link-pill:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--g1);
  border: 1px solid rgba(var(--g3-rgb), 0.3);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(var(--g1-rgb), 0.4);
  transition: background var(--t-fast);
}
.nav-cta:hover { background: var(--g2); }
.nav-cta:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; }
.nav-cta svg {
  width: 14px; height: 14px; stroke: #fff; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}

/* ══════════════════════════════
   HAMBURGER — mobile: visible
══════════════════════════════ */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 200;
  width: 44px;
  height: 44px;
  background: rgba(8, 18, 6, 0.70);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--g3-rgb), 0.22);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  padding: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-hamburger.nav-visible {
  opacity: 1;
  pointer-events: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
  margin: 0 auto;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-hamburger:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; }

/* ══════════════════════════════
   MOBILE DRAWER
══════════════════════════════ */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 5, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-size: 22px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  transition: color var(--t-fast), background var(--t-fast);
  letter-spacing: 0.01em;
}
.nav-drawer a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-drawer a:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; }
.nav-drawer .drawer-cta {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: var(--g1);
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 14px rgba(var(--g1-rgb), 0.4);
}
.nav-drawer .drawer-cta:hover { background: var(--g2); }

/* ══════════════════════════════
   HERO — base mobile
══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 20px 40px;
  overflow: hidden;
}
.hero-photo { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 40% center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide-1 {
  background-image: url('https://res.cloudinary.com/duaa18leu/image/upload/q_90,f_auto/v1780797390/ChatGPT_Image_6_jun_2026_21_50_23_cop_imkf1y.png');
  background-position: 55% center;
}
.hero-slide-2 {
  background-image: url('https://res.cloudinary.com/duaa18leu/image/upload/q_90,f_auto/v1780798785/prueba_hero_2_ucen0q.jpg');
  background-position: 80% center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(6, 14, 5, 0.72) 0%, rgba(8, 16, 6, 0.60) 30%,
      rgba(8, 16, 6, 0.30) 52%, rgba(6, 12, 4, 0.10) 72%,
      rgba(5, 10, 4, 0.05) 100%
    ),
    linear-gradient(180deg,
      rgba(5, 12, 4, 0.25) 0%, transparent 18%,
      transparent 78%, rgba(5, 12, 4, 0.45) 100%
    );
}
.hero-content { z-index: 1; width: 100%; max-width: 640px; margin-top: 25svh; }

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-brand-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  height: 64px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.hero-brand-sep { width: 40px; height: 1px; background: rgba(255, 255, 255, 0.2); flex-shrink: 0; }
.hero-brand h1 { margin-bottom: 0; }

h1 { font-family: var(--font-serif); color: #fff; line-height: 1.0; }
h1 .hn { display: block; font-size: clamp(26px, 7vw, 36px); font-weight: 400; font-style: normal; }
h1 .hn:nth-child(n+2) { display: inline; }

.hero-desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.78;
  margin-bottom: 38px;
  max-width: 480px;
}
.hero-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-btns .btn-primary,
.hero-btns .btn-ghost { width: 80%; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: var(--g1);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background var(--t-fast), transform 0.15s;
  box-shadow: 0 2px 16px rgba(var(--g1-rgb), 0.45);
  min-height: 44px;
}
.btn-primary:hover { background: var(--g2); transform: translateY(-1px); }
.btn-primary:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; }
.btn-primary svg {
  width: 16px; height: 16px; stroke: #fff; stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: border-color var(--t-fast), background var(--t-fast);
  min-height: 44px;
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.05); }
.btn-ghost:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; }

/* ══════════════════════════════
   SUCURSALES — base mobile
══════════════════════════════ */
.dashboard {
  background: linear-gradient(155deg, #f2ede5 0%, #edeae0 50%, var(--cream) 100%);
  padding: 48px 16px;
  position: relative;
}
.dash-headline {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
}

.suc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.suc-col-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.suc-card {
  display: flex;
  flex-direction: column;
  background: rgba(240, 235, 227, 0.65);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(var(--g1-rgb), 0.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(var(--g1-rgb), 0.07), inset 0 1px 0 rgba(var(--g3-rgb), 0.14);
  min-width: 0;
}

.suc-photos-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.suc-photos-track {
  display: flex;
  height: 220px;
  will-change: transform;
}
.suc-photo {
  width: 100%;
  min-width: 0;
  height: 220px;
  min-height: unset;
  flex-shrink: 0;
  flex-grow: 0;
  position: relative;
  background-size: cover;
  background-position: center;
}
.suc-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(240, 235, 227, 0.08) 100%);
}

.suc-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.suc-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g1);
}
.suc-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--g1); box-shadow: 0 0 5px rgba(var(--g1-rgb), 0.6);
}
.suc-name { font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.suc-address { font-size: 13px; font-weight: 300; font-style: normal; color: var(--ink60); line-height: 1.6; }
.suc-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.suc-actions-row { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }

.suc-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%;
  font-size: 12px; font-weight: 400; color: var(--ink60);
  border: 1px solid rgba(var(--g1-rgb), 0.25);
  padding: 10px 14px; border-radius: var(--radius-pill);
  text-decoration: none;
  transition: border-color var(--t-fast), color var(--t-fast);
  background: rgba(240, 235, 227, 0.5);
  min-height: 44px;
}
.suc-btn-outline svg { width: 13px; height: 13px; stroke: var(--g1); }
.suc-btn-outline:hover { border-color: var(--g1); color: var(--ink); }
.suc-btn-outline:focus-visible { outline: 2px solid var(--g1); outline-offset: 2px; }

.suc-btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  font-size: 13px; font-weight: 500; color: #fff;
  background: var(--g1); padding: 12px 18px; border-radius: var(--radius-pill);
  text-decoration: none; box-shadow: 0 2px 12px rgba(var(--g1-rgb), 0.4);
  transition: background var(--t-fast); min-height: 44px;
}
.suc-btn-primary:hover { background: var(--g2); }
.suc-btn-primary:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; }

/* Telemedicina */
.suc-tele {
  background: rgba(18, 32, 16, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(var(--g3-rgb), 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(var(--g3-rgb), 0.1);
  display: flex; flex-direction: column; position: relative;
  min-height: 460px;
  min-width: 0;
}
.suc-tele-bg {
  position: absolute; inset: 0;
  background-image: url('https://res.cloudinary.com/duaa18leu/image/upload/w_900,q_90,f_auto/v1783187780/1_oivhm9.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.suc-tele-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 8, 0.3) 0%, rgba(8, 18, 6, 0.5) 60%, rgba(6, 14, 5, 0.78) 100%);
  z-index: 1;
}
.suc-tele-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; flex: 1; height: 100%;
}
.suc-tele-content { margin-top: auto; padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; }
.suc-tele-icon {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(var(--g3-rgb), 0.25); background: rgba(var(--g1-rgb), 0.12);
  display: flex; align-items: center; justify-content: center;
}
.suc-tele-icon svg { width: 18px; height: 18px; }
.suc-tele-title { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: #fff; line-height: 1.1; }
.suc-tele-features { display: flex; flex-direction: column; gap: 8px; }
.suc-tele-feat {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px;
  border-radius: var(--radius-md); background: rgba(8, 18, 6, 0.3);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(var(--g3-rgb), 0.08);
}
.suc-tele-feat svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.feat-title { font-size: 12px; font-weight: 500; color: #fff; margin-bottom: 2px; }
.feat-desc { font-size: 11px; font-weight: 300; color: rgba(255, 255, 255, 0.5); line-height: 1.4; }
.suc-tele-cta {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  width: 90%; align-self: center;
  font-size: 13px; font-weight: 500; color: #fff;
  background: var(--g1); padding: 12px 20px; border-radius: var(--radius-pill);
  text-decoration: none; text-align: center;
  box-shadow: 0 2px 14px rgba(var(--g1-rgb), 0.45);
  transition: background var(--t-fast); min-height: 44px;
}
.suc-tele-cta:hover { background: var(--g2); }
.suc-tele-cta:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; }
.suc-tele-cta svg { width: 15px; height: 15px; }

/* ══════════════════════════════
   SERVICIOS — base mobile
══════════════════════════════ */
.servicios {
  position: relative;
  background: linear-gradient(160deg, #0d180b 0%, #111f0e 50%, #0a1509 100%);
  padding: 0; overflow: hidden;
}
.servicios-top {
  display: none;
  position: absolute; top: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(155deg, #f2ede5 0%, #edeae0 50%, var(--cream) 100%);
  z-index: 1;
}
.servicios-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(var(--g1-rgb), 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(var(--g1-rgb), 0.05) 0%, transparent 55%);
}
.servicios-inner {
  position: relative; z-index: 2;
  max-width: 1400px; margin: 0 auto;
  padding: 40px 16px 18px;
}
.serv-header {
  margin-bottom: 16px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.serv-title {
  font-family: var(--font-serif);
  font-size: 32px; font-weight: 600; line-height: 1.1; color: #fff;
}

.serv-subtitle {
  font-size: 11px; font-weight: 300; color: rgba(255, 255, 255, 0.5);
  max-width: 400px; line-height: 1.5; margin-top: 2px;
}

.serv-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.serv-card {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(var(--g3-rgb), 0.12);
  border-radius: var(--radius-lg); padding: 16px 20px; min-width: 0;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.serv-card:hover { background: rgba(var(--g1-rgb), 0.12); border-color: rgba(var(--g3-rgb), 0.26); }
.serv-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.serv-card-name { font-size: 15px; font-weight: 600; color: #fff; line-height: 1.3; }
.serv-card-desc { font-size: 12px; font-weight: 300; color: rgba(255, 255, 255, 0.52); line-height: 1.4; }
.serv-card-expand { margin-top: 6px; }
.serv-card-full { font-size: 12px; font-weight: 300; color: rgba(255, 255, 255, 0.7); line-height: 1.6; }
.serv-card-more {
  font-size: 11px; font-weight: 500; color: var(--g3);
  background: none; border: none; cursor: pointer;
  padding: 16px 8px; margin: -16px -8px -16px 0;
  vertical-align: middle; white-space: nowrap;
  transition: color var(--t-fast); font-family: var(--font-sans);
}
.serv-card-more:hover { color: #fff; }
.serv-card-more:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; }
.serv-card-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: #fff;
  background: var(--g1); border: none;
  padding: 10px 18px; border-radius: var(--radius-pill);
  text-decoration: none; white-space: nowrap;
  transition: background var(--t-fast);
  font-family: var(--font-sans); min-height: 44px;
}
.serv-card-btn:hover { background: var(--g2); }
.serv-card-btn:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; }
.serv-card-btn svg { width: 12px; height: 12px; }

/* ══════════════════════════════
   STAFF — base mobile
══════════════════════════════ */
.staff {
  background: linear-gradient(155deg, #f2ede5 0%, #ecf0e8 50%, var(--cream) 100%);
  padding: 48px 16px;
}
.staff-inner { max-width: 1400px; margin: 0 auto; }
.staff-header { margin-bottom: 36px; }
.staff-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6vw, 56px); font-weight: 600; line-height: 1.05;
  color: var(--ink); margin-bottom: 10px;
}
.staff-subtitle { font-size: 14px; font-weight: 300; color: var(--ink60); }

.staff-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 36px; }
.sf-btn {
  font-size: 11px; font-weight: 400; color: var(--ink60);
  background: rgba(240, 235, 227, 0.8); border: 1px solid rgba(var(--g1-rgb), 0.18);
  padding: 7px 12px; border-radius: var(--radius-pill);
  cursor: pointer; transition: all var(--t-fast); font-family: var(--font-sans);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); min-height: 44px;
}
.sf-btn:hover { border-color: var(--g1); color: var(--g1); background: rgba(var(--g1-rgb), 0.06); }
.sf-btn:focus-visible { outline: 2px solid var(--g1); outline-offset: 2px; }
.sf-btn.active {
  background: var(--g1); color: #fff; border-color: var(--g1);
  box-shadow: 0 2px 12px rgba(var(--g1-rgb), 0.35);
}

.staff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }

.staff-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px) saturate(1.3); -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(var(--g1-rgb), 0.15);
  box-shadow: 0 4px 24px rgba(var(--g1-rgb), 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med), opacity var(--t-fast);
  display: flex; flex-direction: column;
  -webkit-transform: translateZ(0); transform: translateZ(0);
}
.staff-card:hover {
  -webkit-transform: translateZ(0) translateY(-4px);
  transform: translateZ(0) translateY(-4px);
  box-shadow: 0 12px 36px rgba(var(--g1-rgb), 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  border-color: rgba(var(--g1-rgb), 0.35);
}


.staff-photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: linear-gradient(160deg, rgba(var(--g1-rgb), 0.12) 0%, rgba(var(--g3-rgb), 0.08) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.staff-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}
.staff-photo::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 30%;
  background: linear-gradient(to top, rgba(240, 235, 227, 0.35), transparent);
  pointer-events: none;
}

.staff-info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.staff-tag { font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--g1); }
.staff-name-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.staff-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.staff-role { font-size: 11px; font-weight: 300; color: var(--ink60); line-height: 1.4; }

.staff-detail {
  position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 1 / 1;
  background: var(--g1);
  overflow-y: auto;
  -webkit-transform: translateY(-100%); transform: translateY(-100%);
  transition: transform 0.32s ease;
  z-index: 2;
}
.staff-card.open .staff-detail {
  -webkit-transform: translateY(0); transform: translateY(0);
}
.staff-detail-inner { padding: 14px 16px; }
.staff-detail-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.staff-detail-item {
  font-size: 11px; font-weight: 300; color: rgba(255, 255, 255, 0.88); line-height: 1.45;
  padding-left: 14px; position: relative;
}
.staff-detail-item::before {
  content: '—'; position: absolute; left: 0;
  color: var(--g3); font-size: 10px; line-height: 1.45;
}

.staff-plus {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(var(--g1-rgb), 0.1); border: 1px solid rgba(var(--g1-rgb), 0.25);
  color: var(--g1); font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t-fast); font-family: var(--font-sans);
  padding: 8px; margin: -8px;
}
.staff-plus:hover { background: var(--g1); color: #fff; border-color: var(--g1); }
.staff-plus:focus-visible { outline: 2px solid var(--g1); outline-offset: 2px; }
.staff-card.open .staff-plus { background: var(--g1); color: #fff; border-color: var(--g1); -webkit-transform: rotate(45deg); transform: rotate(45deg); }

/* ══════════════════════════════
   EQUIPAMIENTO — base mobile
══════════════════════════════ */
.equip {
  background: linear-gradient(160deg, #0d180b 0%, #111f0e 50%, #0a1509 100%);
  padding: 48px 16px;
  position: relative;
}
.equip-inner { max-width: 1400px; margin: 0 auto; }
.equip-header { margin-bottom: 28px; }
.equip-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 600; line-height: 1.05; color: #fff;
  margin-bottom: 8px;
}
.equip-subtitle {
  font-size: 13px; font-weight: 300;
  color: rgba(255, 255, 255, 0.5); max-width: 480px; line-height: 1.55;
}

.equip-carousel-wrap {
  overflow: hidden;
  margin-top: 28px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.equip-carousel-track {
  display: flex;
  will-change: transform;
}

.equip-card {
  width: min(260px, calc(100vw - 80px));
  min-width: min(260px, calc(100vw - 80px));
  flex-shrink: 0;
  margin-right: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(var(--g3-rgb), 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t-med);
}
.equip-card:hover { border-color: rgba(var(--g3-rgb), 0.3); }

.equip-img-wrap {
  aspect-ratio: 640 / 539;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}
.equip-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.equip-name {
  padding: 10px 14px 12px;
  font-size: 11px; font-weight: 500;
  letter-spacing: .06em; color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(var(--g3-rgb), 0.08);
}

/* ══════════════════════════════
   CÓMO AGENDAR — base mobile
══════════════════════════════ */
.agendar {
  background: linear-gradient(155deg, #f2ede5 0%, #edeae0 50%, var(--cream) 100%);
  padding: 48px 16px;
}
.agendar-inner { max-width: 1400px; margin: 0 auto; }

.agendar-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}
.agendar-accent {
  width: 36px; height: 3px;
  background: var(--g1); border-radius: 2px;
  margin: 12px 0 28px;
}

.agendar-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}
.agendar-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.agendar-step-circle {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--g1);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(var(--g1-rgb), 0.28);
}
.agendar-step-circle svg { width: 20px; height: 20px; stroke: #fff; }
.agendar-step-text { display: flex; flex-direction: column; gap: 3px; padding-top: 4px; min-width: 0; }
.agendar-step-num {
  font-size: 10px; font-weight: 600; letter-spacing: .14em;
  color: var(--g1); text-transform: uppercase;
}
.agendar-step-name {
  font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.2;
}
.agendar-step-desc {
  font-size: 13px; font-weight: 300; color: var(--ink60); line-height: 1.55;
}

.agendar-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: #fff;
  background: var(--g1); padding: 13px 28px;
  border-radius: var(--radius-pill); text-decoration: none;
  box-shadow: 0 2px 16px rgba(var(--g1-rgb), 0.4);
  transition: background var(--t-fast); min-height: 44px;
  font-family: var(--font-sans);
}
.agendar-cta:hover { background: var(--g2); }
.agendar-cta:focus-visible { outline: 2px solid var(--g1); outline-offset: 2px; }
.agendar-cta svg { width: 15px; height: 15px; }

.agendar-photo-wrap { display: none; }
.agendar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════
   FOOTER — base mobile
══════════════════════════════ */
.site-footer {
  position: relative;
  background: linear-gradient(160deg, #0d180b 0%, #111f0e 50%, #0a1509 100%);
  overflow: hidden;
  border-top: 1px solid rgba(var(--g3-rgb), 0.1);
}
.footer-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 30%, rgba(var(--g1-rgb), 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 80%, rgba(var(--g1-rgb), 0.04) 0%, transparent 55%);
}
.footer-inner {
  position: relative; z-index: 1;
  max-width: 1400px; margin: 0 auto;
  padding: 15px 16px 8px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 16px;
  margin-bottom: 10px;
}
.footer-col:last-child {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 8px; border-top: 1px solid rgba(var(--g3-rgb), 0.1);
}
.footer-col:last-child .footer-col-title { margin-bottom: 0; }

.footer-brand {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 9px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(var(--g3-rgb), 0.1);
}
.footer-logo { height: 39px; width: auto; display: block; }

.footer-col-title {
  font-size: 10px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--g3); margin-bottom: 6px;
}
.footer-col-title--sub { margin-top: 9px; }

.footer-links { display: flex; flex-direction: column; gap: 4px; list-style: none; padding: 0; margin: 0; }
.footer-link {
  font-size: 12px; font-weight: 300;
  color: rgba(255, 255, 255, 0.6); text-decoration: none;
  transition: color var(--t-fast);
}
.footer-link:hover { color: #fff; }
.footer-link:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; border-radius: 2px; }

.footer-contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 9px; min-width: 0;
  font-size: 12px; font-weight: 300; color: rgba(255, 255, 255, 0.6); line-height: 1.4;
}
.footer-contact-icon {
  width: 13px; height: 13px; flex-shrink: 0;
  stroke: rgba(255, 255, 255, 0.3); margin-top: 2px;
}
.footer-contact-link {
  color: inherit; text-decoration: none;
  transition: color var(--t-fast);
}
.footer-contact-link:hover { color: #fff; text-decoration: underline; }
.footer-contact-link:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; border-radius: 2px; }

.footer-hours-line {
  font-size: 11px; font-weight: 300;
  color: rgba(255, 255, 255, 0.5); line-height: 1.6;
}

.footer-payment-logo {
  display: block;
  width: 140px;
  max-width: 100%;
  height: auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.footer-copy {
  font-size: 10px; font-weight: 300;
  color: rgba(255, 255, 255, 0.28); line-height: 1.5;
}
.footer-legal { display: flex; align-items: center; gap: 10px; }
.footer-legal-link {
  font-size: 10px; font-weight: 300;
  color: rgba(255, 255, 255, 0.28); text-decoration: none;
  transition: color var(--t-fast);
}
.footer-legal-link:hover { color: rgba(255, 255, 255, 0.65); }
.footer-legal-link:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; border-radius: 2px; }
.footer-legal-sep { font-size: 10px; color: rgba(255, 255, 255, 0.15); }

/* ══════════════════════════════
   NOSOTROS
══════════════════════════════ */
.nosotros {
  background: var(--cream);
  padding: 28px 16px;
}
.nosotros-inner { max-width: 1400px; margin: 0 auto; }
.nosotros-header { margin-bottom: 16px; }
.nosotros-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 600; line-height: 1.05; color: var(--ink);
  margin-bottom: 8px;
}
.nosotros-subtitle {
  font-size: 12px; font-weight: 300;
  color: var(--ink60); max-width: 480px; line-height: 1.5;
}
.nosotros-convenios { min-width: 0; margin-top: 24px; }
.conv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.conv-card {
  background: #fff;
  border: 1px solid rgba(var(--g1-rgb), 0.1);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 2 / 1;
}
.conv-card img {
  max-height: 22px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  display: block;
  transform: scale(1.26);
}
.conv-card img.conv-logo-lg { max-height: 25px; }
.conv-card img.conv-logo-md { max-height: 34px; }
.conv-card img.conv-logo-xl { max-width: 100%; max-height: none; transform: scale(1.36); }
.conv-card.conv-card-flush { padding: 0; overflow: hidden; }
.conv-card img.conv-logo-op { max-width: 100%; max-height: none; transform: scale(1.76); }
.conv-card img.conv-logo-inalab { transform: scale(1.53); }
.conv-card img.conv-logo-astro { transform: scale(2.19); }
.conv-card img.conv-logo-nimbus { transform: scale(2.99); }
.nosotros-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 0;
  min-width: 0;
}
.nosotros-card {
  background: #fff;
  border: 1px solid rgba(var(--g1-rgb), 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 0;
}
.nosotros-card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.nosotros-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.nosotros-card-img img.nos-img-zoom { transform: scale(1.4); }
.nosotros-card-img img.nos-img-zoom-equipo { transform: translateX(-3%) scale(1.15); }
.nosotros-card-img img.nos-img-presencial { object-fit: cover; object-position: center 62%; }
.nosotros-card-body { position: relative; padding: 8px 10px 10px; }
.nosotros-card-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 3px;
  line-height: 1.3;
}
.nosotros-card-text {
  font-size: 10px;
  font-weight: 300;
  color: var(--ink60);
  line-height: 1.5;
  padding-right: 58px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.nosotros-card.open .nosotros-card-text {
  padding-right: 0;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.nosotros-card-more {
  position: absolute;
  right: 2px;
  bottom: -2px;
  font-size: 10px;
  font-weight: 500;
  color: var(--g1);
  background: none;
  border: none;
  padding: 14px 10px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color var(--t-fast);
}
.nosotros-card.open .nosotros-card-more {
  position: static;
  padding: 6px 0 0;
}
.nosotros-card-more:hover { color: var(--g2); }
.nosotros-card-more:focus-visible { outline: 2px solid var(--g1); outline-offset: 2px; }
.convenios-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink60);
  opacity: 0.6;
  padding: 0 0 10px;
}
.conv-form {
  background: #fff;
  border: 1.5px solid rgba(var(--g1-rgb), 0.28);
  border-radius: var(--radius-xl);
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-top: 16px;
}
.conv-form-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(var(--g1-rgb), 0.12);
  margin-bottom: 14px;
}
.conv-form-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: var(--g1);
  border-radius: 7px;
  color: #fff;
}
.conv-form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.conv-form-field label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink60);
}
.conv-form-req { color: var(--g1); }
.conv-form-opt { font-weight: 400; font-size: 9px; color: var(--ink60); opacity: 0.7; text-transform: none; letter-spacing: 0; }
.conv-form-field input,
.conv-form-field textarea {
  border: none;
  border-bottom: 1px solid rgba(var(--g1-rgb), 0.22);
  border-radius: 0;
  padding: 5px 0;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--ink);
  background: transparent;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--t-fast);
  min-width: 0;
}
.conv-form-field input:focus-visible,
.conv-form-field textarea:focus-visible { border-bottom-color: var(--g1); }
.conv-form-field textarea { resize: none; }
.conv-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.conv-form-row .conv-form-field { margin-bottom: 10px; }
.conv-form-check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.conv-form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  accent-color: var(--g1);
  margin-top: 2px;
  cursor: pointer;
}
.conv-form-check label {
  font-size: 10px;
  font-weight: 300;
  color: var(--ink60);
  line-height: 1.5;
  cursor: pointer;
}
.conv-form-privacy-link {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  color: var(--g1);
  text-decoration: underline;
  cursor: pointer;
}
.conv-form-privacy-link:focus-visible { outline: 2px solid var(--g3); outline-offset: 1px; border-radius: 2px; }
.conv-form-btn {
  background: var(--g1);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  min-height: 44px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color var(--t-fast);
}
.conv-form-btn:hover { background: var(--g2); }
.conv-form-btn:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; }
.conv-form-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.conv-form-status {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 10px;
  min-height: 1em;
  color: var(--ink60);
}
.conv-form-status--ok { color: var(--g1); }
.conv-form-status--error { color: #b3261e; }
.conv-form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ════════════════════════════════════
   TABLET — min-width: 768px
════════════════════════════════════ */
@media (min-width: 768px) {
  /* nav */
  header nav {
    display: flex;
    position: fixed;
    top: 20px; left: 50%; transform: translateX(-50%);
    z-index: 200; align-items: center; gap: 4px;
    background: rgba(8, 18, 6, 0.60);
    backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border: 1px solid var(--gb); border-radius: var(--radius-pill);
    padding: 7px 7px 7px 10px; white-space: nowrap;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(var(--g3-rgb), 0.07);
  }
  .nav-hamburger { display: none; }

  /* hero */
  .hero { padding: 0 0 0 32px; min-height: 100vh; }
  .hero-content { position: relative; margin-top: 0; }
  .hero-brand { flex-direction: row; align-items: center; gap: 20px; }
  .hero-brand-sep { width: 1px; height: 97px; }
  .hero-brand-logo { position: static; height: 97px; }
  h1 .hn { font-size: clamp(29px, 3.65vw, 47px); white-space: nowrap; }
  h1 .hn:nth-child(n+2) { display: block; }
  .hero-desc { font-size: 15px; }
  .hero-btns { flex-direction: row; align-items: center; gap: 14px; }
  .btn-primary { width: auto; font-size: 15px; padding: 15px 32px; justify-content: flex-start; }
  .btn-ghost { width: auto; font-size: 15px; padding: 14px 32px; justify-content: flex-start; }
  .hero-btns .btn-primary,
  .hero-btns .btn-ghost { width: auto; }
  .hero-slide { background-position: 65% top; }

  /* dashboard */
  .dashboard { padding: 60px 32px; }
  .dash-headline { font-size: clamp(40px, 5vw, 68px); margin-bottom: 28px; }

  /* sucursales: botones fila en tablet */
  .suc-actions-row { flex-direction: row; align-items: center; }
  .suc-btn-outline { width: auto; font-size: 11px; padding: 7px 12px; }
  .suc-btn-primary { width: auto; }
  .suc-tele { min-height: 280px; }

  /* servicios */
  .servicios-inner { padding: 32px 32px 28px; }
  .serv-title { font-size: clamp(40px, 5vw, 68px); }
  .serv-grid { grid-template-columns: repeat(2, 1fr); }
  .serv-card:last-child { grid-column: 1 / -1; }

  /* equipamiento */
  .equip { padding: 60px 32px; }

  /* agendar */
  .agendar-steps {
    flex-direction: row;
    position: relative;
    gap: 0;
    margin-bottom: 36px;
  }
  .agendar-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 17%; right: 17%;
    height: 1px;
    background: rgba(var(--g1-rgb), 0.2);
  }
  .agendar-step {
    flex: 1; flex-direction: column;
    align-items: center; text-align: center;
    padding: 0 12px; gap: 8px;
    position: relative; z-index: 1;
  }
  .agendar-step-text { align-items: center; padding-top: 0; }

  /* staff */
  .staff { padding: 60px 32px; }
  .staff-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .sf-btn { font-size: 12px; padding: 8px 18px; }

  /* nosotros */
  .nosotros { padding: 24px 24px; }
  .nosotros-cards { gap: 8px; }
  .nosotros-convenios { margin-top: 0; }
  .conv-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .conv-card img { transform: scale(1.05); }
  .conv-card img.conv-logo-xl { transform: scale(1.13); }
  .conv-card img.conv-logo-op { transform: scale(1.46); }
  .conv-card img.conv-logo-inalab { transform: scale(1.27); }
  .conv-card img.conv-logo-astro { transform: scale(1.82); }
  .conv-card img.conv-logo-nimbus { transform: scale(2.49); }
  .nosotros-card-body { padding: 8px 10px 10px; }
  .nosotros-card-title { font-size: 11px; }
  .nosotros-card-text { font-size: 10px; }

  /* footer */
  .footer-inner { padding: 19px 32px 9px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 21px; }
  .footer-logo { height: 43px; }
  .footer-col:last-child { grid-column: auto; display: block; padding-top: 0; border-top: none; }
  .footer-col:last-child .footer-col-title { margin-bottom: 6px; }
}

/* ════════════════════════════════════
   DESKTOP — min-width: 1024px
════════════════════════════════════ */
@media (min-width: 1024px) {
  /* hero */
  .hero { padding: 0 0 0 72px; }

  /* dashboard */
  .dashboard { padding: 60px 64px; }

  /* sucursales: 2-col layout */
  .suc-layout {
    grid-template-columns: 1fr 360px;
    grid-template-rows: 1fr 1fr;
    gap: 10px 18px;
  }
  .suc-col-left { display: contents; }
  .suc-tele { grid-column: 2; grid-row: 1 / span 2; border-radius: var(--radius-lg); min-height: unset; }

  /* suc-card: fila */
  .suc-card { flex-direction: row; }

  /* fotos */
  .suc-photos-wrap { width: auto; height: auto; }
  .suc-photos-track { height: 100%; }
  .suc-photo { width: 194px; min-width: 194px; height: 100%; min-height: 160px; }

  /* suc-info */
  .suc-info { padding: 16px 22px; min-width: 280px; }
  .suc-name { font-size: 23px; }
  .suc-btn-outline { font-size: 12px; padding: 8px 14px; }
  .suc-btn-primary { font-size: 13px; padding: 10px 22px; }
  .suc-tele-content { padding: 18px 22px; gap: 10px; }
  .suc-tele-title { font-size: 25px; }
  .suc-tele-cta { padding: 14px 28px; font-size: 14px; }

  /* servicios */
  .servicios-top { display: block; }
  .servicios-inner { padding: 112px 64px 36px; }

  /* equipamiento */
  .equip { padding: 72px 64px; }
  .equip-card { width: 300px; min-width: 300px; }

  /* agendar */
  .agendar { padding: 72px 64px; }
  .agendar-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
    align-items: center;
  }
  .agendar-photo-wrap {
    order: -1;
    display: flex;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 5 / 4;
    background: linear-gradient(160deg, rgba(var(--g1-rgb), 0.1) 0%, rgba(var(--g1-rgb), 0.05) 100%);
    border: 1px solid rgba(var(--g1-rgb), 0.12);
    align-items: center; justify-content: center;
  }

  /* nosotros */
  .nosotros { padding: 40px 48px; }
  .nosotros-inner { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .nosotros-header { grid-column: 1; }
  .nosotros-cards { grid-column: 1; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .nosotros-convenios { grid-column: 2; grid-row: 2; position: relative; display: flex; flex-direction: column; }
  .conv-form { flex: 1; }
  .conv-form-btn { margin-top: auto; }
  .convenios-label { position: absolute; bottom: 100%; left: 0; padding-bottom: 12px; }
  .conv-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .conv-card { aspect-ratio: 2 / 1; }
  .nosotros-card-body { padding: 10px 12px 12px; }
  .nosotros-card-title { font-size: 13px; }
  .nosotros-card-text { font-size: 12px; }

  /* staff */
  .staff { padding: 80px 64px; }
  .staff-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }

  /* footer */
  .footer-inner { padding: 19px 64px 11px; }
}

/* ════════════════════════════════════
   WIDE DESKTOP — min-width: 1280px
════════════════════════════════════ */
@media (min-width: 1280px) {
  .staff-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ══════════════════════════════
   MODAL LEGAL
══════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
  padding: 20px 16px;
}
.modal-overlay.open { display: flex; }
.modal-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 100%; max-width: 680px;
  max-height: 86vh;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px 16px; border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}
.modal-title {
  font-family: var(--font-sans); font-size: 17px; font-weight: 600;
  color: var(--ink); line-height: 1.2;
}
.modal-close {
  width: 32px; height: 32px; min-width: 32px; border-radius: 50%;
  border: none; background: rgba(0, 0, 0, 0.07);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
}
.modal-close svg { width: 15px; height: 15px; stroke: var(--ink60); }
.modal-close:hover { background: rgba(0, 0, 0, 0.13); }
.modal-close:focus-visible { outline: 2px solid var(--g1); outline-offset: 2px; }
.modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  font-size: 14px; font-weight: 300; color: var(--ink60); line-height: 1.72;
}
.modal-body p { margin-bottom: 12px; }
.modal-body p:last-child { margin-bottom: 0; }
.modal-body a { color: var(--g1); font-weight: 400; }
.modal-body a:focus-visible { outline: 2px solid var(--g1); outline-offset: 2px; border-radius: 2px; }
.modal-body h3 {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  color: var(--ink); margin-top: 22px; margin-bottom: 6px;
}
.modal-updated {
  margin-top: 24px; font-size: 12px; color: rgba(26, 26, 24, 0.4);
}

/* ══════════════════════════════
   AVISO DE COOKIES
══════════════════════════════ */
.cookie-bar {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 300;
  max-width: 280px;
  background: rgba(8, 18, 6, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--g3-rgb), 0.22);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  padding: 14px 16px;
}
.cookie-bar-text {
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
  margin-bottom: 10px;
}
.cookie-bar-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--g3);
  text-decoration: underline;
  cursor: pointer;
}
.cookie-bar-link:hover { color: #fff; }
.cookie-bar-link:focus-visible { outline: 2px solid var(--g3); outline-offset: 1px; border-radius: 2px; }
.cookie-bar-btn {
  width: 100%;
  background: rgba(var(--g1-rgb), 0.25);
  color: var(--g3);
  border: 1px solid rgba(var(--g3-rgb), 0.3);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  min-height: 44px;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.cookie-bar-btn:hover {
  background: rgba(var(--g1-rgb), 0.45);
  border-color: rgba(var(--g3-rgb), 0.5);
  color: #fff;
}
.cookie-bar-btn:focus-visible { outline: 2px solid var(--g3); outline-offset: 2px; }
