/* ============================================================
   intensivet — Hospital Veterinario · v20260516
   ============================================================ */

/* 1. Custom properties
   ============================================================ */
:root {
  /* Brand */
  --blue:        #2347B5;
  --blue-dark:   #071526;
  --blue-navy:   #0A1E4A;
  --blue-mid:    #0D3480;
  --blue-light:  #1A6DBF;
  --teal:        #00B4CC;
  --teal-light:  #0CE4E4;
  --green:       #2DC76E;
  --green-dark:  #22A85A;
  --green-light: #3DE07E;
  --coral:       #E85454;
  --purple:      #6B46C1;

  /* Neutrals */
  --bg:          #FFFFFF;
  --bg-light:    #EFF5FB;
  --bg-card:     #FFFFFF;
  --ink:         #0A1E4A;
  --ink-soft:    #3D4E6B;
  --ink-mute:    #718096;

  /* Tokens */
  --shadow-sm:   0 2px 12px rgba(7,21,38,0.08);
  --shadow-md:   0 8px 32px rgba(7,21,38,0.12);
  --shadow-lg:   0 20px 60px rgba(7,21,38,0.18);
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-h:       80px;
  --container:   1200px;
}

/* 2. Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* 3. Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
p  { line-height: 1.7; color: var(--ink-soft); }

/* Two-tone heading accent */
.accent { color: var(--green); }
.accent-teal { color: var(--teal); }

/* 4. Utilities
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding-block: clamp(4rem, 7vw, 6rem); }
.section-light { background: var(--bg-light); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: .6rem; }
.section-header p { color: var(--ink-mute); max-width: 52ch; margin-inline: auto; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .9rem;
  border-radius: 99px;
  border: 1.5px solid rgba(45,199,110,0.3);
  background: rgba(45,199,110,0.08);
  font-family: 'Outfit', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
}
.kicker .dot {
  width: 7px; height: 7px;
  border-radius: 99px;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(45,199,110,0.3);
  animation: pulseGreen 2s ease-in-out infinite;
}
@keyframes pulseGreen {
  0%,100% { box-shadow: 0 0 0 2px rgba(45,199,110,0.3); }
  50%      { box-shadow: 0 0 0 5px rgba(45,199,110,0); }
}
.kicker-dark {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
}
.kicker-dark .dot { background: var(--green); }

/* Badge pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .65rem;
  border-radius: 99px;
  font-family: 'Outfit', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge-green  { background: var(--green); color: #fff; }
.badge-red    { background: var(--coral); color: #fff; }
.badge-teal   { background: var(--teal); color: #fff; }
.badge-white  { background: rgba(255,255,255,.9); color: var(--ink); }

/* 5. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.65rem;
  border-radius: 99px;
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  transition: transform .22s var(--ease-spring), box-shadow .22s var(--ease-out), background .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn-primary {
  background: var(--blue-navy);
  color: #fff;
  box-shadow: 0 4px 18px rgba(7,21,38,0.3);
}
.btn-primary:hover { background: var(--blue-mid); box-shadow: 0 8px 28px rgba(7,21,38,0.35); }

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 18px rgba(45,199,110,0.35);
}
.btn-green:hover { background: var(--green-dark); box-shadow: 0 8px 28px rgba(45,199,110,0.45); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--blue-navy);
  border: 2px solid rgba(10,30,74,0.2);
}
.btn-ghost:hover { background: rgba(10,30,74,0.05); border-color: var(--blue-navy); }

/* 6. Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid rgba(10,30,74,0.06);
  transition: box-shadow .3s var(--ease-out);
}
.nav.is-scrolled {
  box-shadow: 0 2px 20px rgba(7,21,38,0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.nav-logo img { height: 58px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: .45rem .9rem;
  border-radius: 99px;
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); background: var(--bg-light); }
.nav-cta { margin-left: 1rem; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 99px;
  transition: transform .25s var(--ease-out), opacity .25s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease-out);
}
.nav-mobile.is-open { opacity: 1; pointer-events: auto; }
.nav-mobile a {
  font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 700;
  color: var(--ink); padding: .65rem 2rem; border-radius: 99px;
  transition: color .2s, background .2s;
}
.nav-mobile a:not(.btn):hover,
.nav-mobile a:not(.btn).is-active { color: var(--blue-navy); background: var(--bg-light); }
.nav-mobile .btn {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 700;
  padding: .85rem 2.2rem;
  border-radius: 99px;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
/* Restaurar colores correctos del btn-primary en el menú móvil */
.nav-mobile .btn-primary {
  background: var(--blue-dark);
  color: #fff !important;
  border: none;
}
.nav-mobile .btn-primary:hover {
  background: var(--blue-navy);
  color: #fff !important;
  background-color: var(--blue-navy);
}

/* 7. Hero — Landing (dark gradient + photo bg)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-navy) 40%, var(--blue-mid) 70%, #0F6AAF 100%);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: .55;
  filter: saturate(1.1);
}
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg,
    rgba(7,21,38,0.85) 0%,
    rgba(7,21,38,0.70) 50%,
    rgba(7,21,38,0.45) 100%);
}
/* Decorative circles */
.hero-deco {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.hero-deco span {
  position: absolute;
  border-radius: 99px;
  border: 1.5px solid rgba(255,255,255,0.08);
}
.hero-deco span:nth-child(1) { width: 400px; height: 400px; top: -80px; right: 15%; }
.hero-deco span:nth-child(2) { width: 250px; height: 250px; top: 60%; right: 5%; }
.hero-deco span:nth-child(3) { width: 80px; height: 80px; top: 20%; right: 35%; }
.hero-deco span:nth-child(4) {
  width: 60px; height: 60px; bottom: 20%; left: 10%;
  border: none; background: rgba(0,180,204,0.12);
  transform: rotate(45deg);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  padding-block: clamp(3rem, 7vw, 5rem);
}
.hero-content {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.hero-title {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  text-wrap: balance;
}
.hero-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--teal));
  border-radius: 99px;
  margin-block: .25rem;
}
.hero-sub {
  font-size: clamp(.95rem, 1.5vw, 1.08rem);
  color: rgba(255,255,255,.8);
  max-width: 50ch;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: .5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: .25rem;
}
.hero-contact-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .88rem; color: rgba(255,255,255,.7);
}
.hero-contact-item svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.hero-contact-item a { color: rgba(255,255,255,.7); transition: color .2s; }
.hero-contact-item a:hover { color: #fff; }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.4); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}
.hero-scroll svg { width: 20px; height: 20px; animation: bounceDown 1.8s ease-in-out infinite; }
@keyframes bounceDown {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* 8. Stats bar
   ============================================================ */
.stats-bar {
  background: #fff;
  border-bottom: 1px solid rgba(10,30,74,0.07);
  padding-block: 2rem;
  box-shadow: var(--shadow-sm);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  background: rgba(10,30,74,0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat-item {
  background: #fff;
  padding: 1.75rem 1.5rem;
  text-align: center;
  display: flex; flex-direction: column; gap: .3rem;
  align-items: center;
}
.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-navy), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: .85rem; color: var(--ink-mute); font-weight: 500; }

/* 9. Service cards
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease-out);
  cursor: default;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Card color variants */
.service-card-green  { background: var(--green); }
.service-card-coral  { background: #E95555; }
.service-card-teal   { background: #00A8B4; }
.service-card-purple { background: #6B46C1; }
.service-card-blue   { background: var(--blue-mid); }
.service-card-navy   { background: var(--blue-navy); }

/* White card variant */
.service-card-white {
  background: #fff;
  border: 1px solid rgba(10,30,74,0.1);
  box-shadow: var(--shadow-sm);
}
.service-card-white .sc-title { color: var(--ink); }
.service-card-white .sc-desc  { color: var(--ink-soft); }
.service-card-white .sc-icon  { background: rgba(10,30,74,0.06); color: var(--blue-navy); }

.sc-img {
  width: 100%; aspect-ratio: 16/9; overflow: hidden; flex-shrink: 0;
}
.sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.service-card:hover .sc-img img { transform: scale(1.06); }

.sc-body {
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: .6rem;
  flex: 1;
}
.sc-badges { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .25rem; }
.sc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sc-icon svg { width: 22px; height: 22px; }
.sc-title { font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700; color: #fff; }
.sc-desc  { font-size: .88rem; color: rgba(255,255,255,.82); line-height: 1.6; }
.sc-link {
  margin-top: auto; padding-top: .75rem;
  font-family: 'Outfit', sans-serif; font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.9);
  display: inline-flex; align-items: center; gap: .3rem;
  transition: gap .2s;
}
.sc-link:hover { gap: .55rem; }
.service-card-white .sc-link { color: var(--blue-navy); }

/* 10. Why / feature cards
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
.why-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(10,30,74,0.08);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .9rem;
  transition: transform .3s var(--ease-spring);
}
.why-card:hover { transform: translateY(-4px); }
.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-navy), var(--green));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.05rem; color: var(--ink); }
.why-card p  { font-size: .88rem; color: var(--ink-soft); }

/* 11. Team cards
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.25rem;
}
.team-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(10,30,74,0.08);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.team-card-photo { width: 100%; aspect-ratio: 1; overflow: hidden; position: relative; }
.team-card-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform .5s var(--ease-out);
}
.team-card:hover .team-card-photo img { transform: scale(1.06); }
.team-card-body { padding: 1.1rem 1.25rem; }
.team-card-name { font-family: 'Outfit', sans-serif; font-size: .95rem; font-weight: 700; color: var(--ink); }
.team-card-role { font-size: .8rem; font-weight: 600; color: var(--blue-navy); margin-top: .15rem; }
.team-card-spec { font-size: .76rem; color: var(--ink-mute); margin-top: .1rem; }

/* 12. Testimonials
   ============================================================ */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem;
}
.testi-card {
  padding: 2rem; border-radius: var(--radius-md);
  background: #fff; border: 1px solid rgba(10,30,74,0.08);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .9rem;
  position: relative;
}
.testi-card::before {
  content: "\201C";
  position: absolute; top: .8rem; right: 1.5rem;
  font-family: 'Outfit', sans-serif; font-size: 4.5rem; line-height: 1;
  color: var(--green); opacity: .12; font-weight: 800;
}
.testi-text { font-size: .92rem; color: var(--ink-soft); line-height: 1.7; font-style: italic; }
.testi-author { border-top: 1px solid rgba(10,30,74,0.08); padding-top: .6rem; }
.testi-name { font-family: 'Outfit', sans-serif; font-size: .88rem; font-weight: 700; color: var(--ink); }
.testi-pet  { font-size: .78rem; color: var(--ink-mute); }

/* 13. CTA banner (dark gradient)
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-navy) 50%, var(--blue-mid) 100%);
  position: relative; overflow: hidden;
}
.cta-banner-glow {
  position: absolute; inset: -40%;
  background:
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(45,199,110,0.2) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(0,180,204,0.15) 0%, transparent 55%);
  filter: blur(40px); pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.75rem;
  padding-block: clamp(4rem, 7vw, 5.5rem);
}
.cta-inner h2 { color: #fff; max-width: 24ch; text-wrap: balance; }
.cta-inner p { color: rgba(255,255,255,.72); max-width: 46ch; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }

/* 14. Page hero (inner pages — dark gradient)
   ============================================================ */
.page-hero {
  padding-top: var(--nav-h);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-navy) 45%, var(--blue-mid) 75%, #0A80C0 100%);
  min-height: 320px;
  display: flex; align-items: flex-end;
}
.page-hero-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.page-hero-deco span {
  position: absolute; border-radius: 99px;
  border: 1.5px solid rgba(255,255,255,0.07);
}
.page-hero-deco span:nth-child(1) { width: 360px; height: 360px; top: -100px; right: 8%; }
.page-hero-deco span:nth-child(2) { width: 180px; height: 180px; bottom: -40px; right: 28%; }
.page-hero-deco span:nth-child(3) { width: 50px; height: 50px; top: 30%; right: 20%; border: none; background: rgba(0,180,204,0.15); transform: rotate(45deg); }

.page-hero-inner {
  position: relative; z-index: 1;
  padding: clamp(3rem,5vw,4rem) clamp(1.25rem,4vw,2.5rem);
  max-width: var(--container); margin-inline: auto; width: 100%;
  text-align: center;
}
.page-hero-inner .kicker { margin-bottom: 1rem; }
.page-hero-inner h1 { color: #fff; margin-bottom: .75rem; }
.page-hero-inner p { color: rgba(255,255,255,.75); max-width: 52ch; margin-inline: auto; font-size: 1.05rem; }

/* Curved bottom */
.page-hero::after {
  content: ""; display: block;
  position: absolute; bottom: -1px; left: 0; right: 0;
  height: 48px;
  background: var(--bg-light);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero.bg-white::after { background: #fff; }
.page-hero.bg-light::after { background: var(--bg-light); }

/* 15. Contact page
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,5vw,5rem); align-items: start;
}
.contact-info-wrap { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-card {
  background: #fff; border-radius: var(--radius-md);
  border: 1px solid rgba(10,30,74,0.08); box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem;
}
.contact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-navy), var(--blue-mid));
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-icon.green { background: linear-gradient(135deg, var(--green), var(--green-light)); }
.contact-label { font-family:'Outfit',sans-serif; font-size:.75rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase; color:var(--ink-mute); }
.contact-value { font-size:.92rem; font-weight:600; color:var(--ink); margin-top:.15rem; line-height:1.5; }
.contact-value a { color: var(--blue-navy); transition: color .2s; }
.contact-value a:hover { color: var(--green); }
.hours-table { border-collapse: collapse; width: 100%; margin-top:.3rem; }
.hours-table td { font-size:.82rem; padding: .15rem 0; }
.hours-table td:first-child { color: var(--ink-soft); padding-right: 1.5rem; }
.hours-table td:last-child { font-weight:600; color:var(--ink); }
.hours-table .open { color:var(--green-dark); }

.social-row { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: .25rem; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(10,30,74,0.07);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: background .2s, color .2s, transform .2s;
}
.social-btn:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.social-btn svg { width: 18px; height: 18px; }

.contact-form-wrap {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid rgba(10,30,74,0.08); box-shadow: var(--shadow-md); padding: 2.5rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-label { font-family:'Outfit',sans-serif; font-size:.75rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-mute); }
.form-control {
  width:100%; padding:.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(10,30,74,0.14);
  background: var(--bg-light); font-size:.92rem; color:var(--ink);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45,199,110,0.12); background: #fff; }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { cursor: pointer; }
.form-submit { width:100%; justify-content:center; padding:1rem; font-size:1rem; margin-top:.5rem; }
.form-success { display:none; flex-direction:column; align-items:center; gap:.65rem; padding:3rem 2rem; text-align:center; }
.form-success svg { width:48px; height:48px; color:var(--green); margin-bottom:.5rem; }
.form-success strong { font-family:'Outfit',sans-serif; font-size:1.1rem; color:var(--ink); }

/* Map */
.map-wrap {
  margin-top: 1.5rem; border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid rgba(10,30,74,0.1);
  height: 220px; background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
}
.map-ph { text-align:center; color:var(--ink-mute); font-size:.88rem; display:flex; flex-direction:column; align-items:center; gap:.5rem; }
.map-ph svg { width:28px; height:28px; opacity:.4; }
.map-ph a { color:var(--blue-navy); font-weight:600; font-size:.85rem; transition:color .2s; }
.map-ph a:hover { color:var(--green); }

/* 15a. Servicios page
   ============================================================ */
/* Hero */
.servicios-hero {
  min-height: 58vh;
  align-items: center;
}
.servicios-hero .page-hero-inner { padding-bottom: clamp(3rem,5vw,4.5rem); }
.servicios-hero-sq {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.servicios-hero-sq span {
  position: absolute;
  border: 1.5px solid rgba(255,255,255,.07);
  border-radius: 6px;
}

/* ── Featured cards (row 1) ─────────────────────────────────── */
.services-feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}
.sfc {
  border-radius: 16px;
  padding: 1.4rem 1.3rem 1.3rem;
  position: relative; overflow: hidden;
  cursor: pointer; min-height: 210px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.sfc:hover { transform: translateY(-7px); box-shadow: 0 22px 44px rgba(0,0,0,.22); }
.sfc-green  { background: linear-gradient(145deg,#28C76E 0%,#1A9E52 100%); }
.sfc-coral  { background: linear-gradient(145deg,#FF6060 0%,#D93E3E 100%); }
.sfc-navy   { background: linear-gradient(145deg,#0D3480 0%,#06194A 100%); }
.sfc-purple { background: linear-gradient(145deg,#7C3AED 0%,#4E18C2 100%); }

.sfc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .85rem; color: #fff;
}
.sfc-icon svg { width: 22px; height: 22px; }
.sfc-badges {
  position: absolute; top: .9rem; right: .85rem;
  display: flex; flex-direction: column; gap: .3rem; align-items: flex-end;
}
.sfc-badge {
  font-family: 'Outfit',sans-serif;
  font-size: .6rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: .18rem .52rem; border-radius: 99px;
  background: rgba(255,255,255,.2); color: #fff;
}
.sfc-badge-solid { background: #2DC76E !important; }
.sfc-title { font-family:'Outfit',sans-serif; font-size:1rem; font-weight:700; color:#fff; margin-bottom:.4rem; }
.sfc-desc  { font-size:.8rem; color:rgba(255,255,255,.82); line-height:1.55; }
.sfc-footer {
  margin-top:.8rem; display:inline-flex; align-items:center; gap:.35rem;
  font-size:.7rem; font-weight:700; letter-spacing:.05em; color:rgba(255,255,255,.7);
  border:1px solid rgba(255,255,255,.25); border-radius:99px; padding:.2rem .65rem;
}

/* ── Small service cards ────────────────────────────────────── */
.services-sm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.ssc {
  background: #fff; border-radius: 14px;
  border: 1px solid rgba(10,30,74,.07);
  box-shadow: 0 2px 10px rgba(10,30,74,.05);
  padding: 1.2rem 1.3rem 1.3rem;
  position: relative; overflow: hidden; cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}
.ssc:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(10,30,74,.1); }
.ssc::after {
  content: '';
  position: absolute; top: -28px; right: -28px;
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,196,164,.22) 0%, rgba(0,180,204,.12) 45%, transparent 70%);
  pointer-events: none;
}
.ssc-icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .85rem; color: #fff;
}
.ssc-icon svg { width: 20px; height: 20px; }
/* Icon color variants */
.si-teal   { background: linear-gradient(135deg,#00B4CC,#00D0D4); }
.si-green  { background: linear-gradient(135deg,#2DC76E,#1A9E52); }
.si-navy   { background: linear-gradient(135deg,#0A1E4A,#0D3480); }
.si-coral  { background: linear-gradient(135deg,#FF6060,#D93E3E); }
.si-purple { background: linear-gradient(135deg,#7C3AED,#4E18C2); }
.si-blue   { background: linear-gradient(135deg,#0660B0,#0A80C0); }
.si-mint   { background: linear-gradient(135deg,#00C4A4,#009E84); }

.ssc-title { font-family:'Outfit',sans-serif; font-size:.9rem; font-weight:700; color:var(--ink); margin-bottom:.35rem; }
.ssc-desc  { font-size:.79rem; color:var(--ink-soft); line-height:1.55; margin-bottom:.55rem; }
.ssc-tag   { font-size:.71rem; font-weight:600; color:var(--teal); }

/* ── Specialties section (dark bg) ─────────────────────────── */
.spec-section { background: linear-gradient(160deg,#071526 0%,#0A1E4A 60%,#0D3480 100%); }
.spec-note {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: 99px; padding: .32rem .85rem;
  font-size: .74rem; font-weight: 600; color: rgba(255,255,255,.75);
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 2.5rem;
}
/* spec cards reuse .ssc but on dark bg they pop nicely */
.spec-cta {
  margin-top: 2.5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 1.1rem 1.75rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.spec-cta-left { display: flex; align-items: center; gap: .85rem; }
.spec-cta-icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: rgba(0,180,204,.2);
  display: flex; align-items: center; justify-content: center; color: var(--teal);
}
.spec-cta-icon svg { width: 20px; height: 20px; }
.spec-cta-title { font-family:'Outfit',sans-serif; font-size:.92rem; font-weight:700; color:#fff; }
.spec-cta-sub   { font-size:.78rem; color:rgba(255,255,255,.58); }

/* Spec cards (white on dark bg) */
.spec-card {
  background: #fff; border-radius: 16px;
  padding: 1.4rem 1.5rem 1.5rem;
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid rgba(10,30,74,.06);
}
.spec-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.28); }
.spec-card::after {
  content: ''; position: absolute; top: -28px; right: -28px;
  width: 100px; height: 100px; border-radius: 50%; pointer-events: none;
}
.sc-navy::after   { background: radial-gradient(circle,rgba(10,30,74,.13) 0%,rgba(13,52,128,.06) 50%,transparent 70%); }
.sc-teal::after   { background: radial-gradient(circle,rgba(0,180,204,.2) 0%,rgba(0,196,164,.08) 50%,transparent 70%); }
.sc-green::after  { background: radial-gradient(circle,rgba(45,199,110,.2) 0%,rgba(45,199,110,.07) 50%,transparent 70%); }
.sc-coral::after  { background: radial-gradient(circle,rgba(255,96,96,.2) 0%,rgba(255,96,96,.07) 50%,transparent 70%); }
.sc-purple::after { background: radial-gradient(circle,rgba(124,58,237,.2) 0%,rgba(124,58,237,.07) 50%,transparent 70%); }

.spec-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: #fff; flex-shrink: 0;
}
.spi-navy   { background: linear-gradient(135deg,#0A1E4A,#0D3480); }
.spi-teal   { background: linear-gradient(135deg,#00B4CC,#0CE4E4); }
.spi-green  { background: linear-gradient(135deg,#2DC76E,#00C4A4); }
.spi-coral  { background: linear-gradient(135deg,#FF6060,#D93E3E); }
.spi-purple { background: linear-gradient(135deg,#7C3AED,#C026D3); }

.spec-card-title { font-family:'Outfit',sans-serif; font-size:1rem; font-weight:700; color:var(--teal); margin-bottom:.4rem; }
.spec-card-desc  { font-size:.83rem; color:var(--ink-soft); line-height:1.55; }
.spec-card-ver {
  display: none; align-items: center; gap: .35rem;
  margin-top: .85rem; font-size: .8rem; font-weight: 600;
  color: var(--teal); cursor: pointer; background: none; border: none; padding: 0;
  font-family: 'Outfit', sans-serif;
}
.spec-card:hover .spec-card-ver { display: flex; }
.spec-card-dr-icon {
  position: absolute; top: .85rem; right: .85rem;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s; color: #fff;
}
.spec-card:hover .spec-card-dr-icon { opacity: 1; }

/* Specialty modal */
.spec-modal-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(7,21,38,.72); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.spec-modal-overlay.is-open { opacity: 1; pointer-events: all; }
.spec-modal {
  background: #fff; border-radius: 20px;
  padding: 2.2rem 1.75rem 2rem;
  max-width: 360px; width: 100%;
  text-align: center; position: relative;
  transform: scale(.93) translateY(12px);
  transition: transform .3s var(--ease-out);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.spec-modal-overlay.is-open .spec-modal { transform: scale(1) translateY(0); }
.spec-modal-close {
  position: absolute; top: .9rem; right: .9rem;
  width: 30px; height: 30px; border-radius: 50%;
  background: #f2f4f7; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: .95rem; transition: background .2s;
}
.spec-modal-close:hover { background: #e2e6ec; }
.spec-modal-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: linear-gradient(135deg,#2DC76E 0%,#00B4CC 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; color: #fff;
}
.spec-modal-badge {
  display: inline-block; background: rgba(0,180,204,.1); color: var(--teal);
  font-size: .73rem; font-weight: 600;
  padding: .22rem .85rem; border-radius: 99px; margin-bottom: .8rem;
}
.spec-modal-name { font-family:'Outfit',sans-serif; font-size:1.45rem; font-weight:800; color:var(--ink); margin-bottom:.7rem; line-height:1.2; }
.spec-modal-desc { font-size:.86rem; color:var(--ink-soft); line-height:1.65; margin-bottom:1.5rem; }
.spec-modal-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green); color: #fff;
  font-family: 'Outfit',sans-serif; font-size:.95rem; font-weight:700;
  padding: .85rem 2.2rem; border-radius: 99px;
  text-decoration: none; transition: background .2s;
}
.spec-modal-btn:hover { background: var(--green-dark); }

/* 15b. Info cards (contact page new layout)
   ============================================================ */
.info-cards-wrap {
  max-width: 720px;
  margin-inline: auto;
  display: flex; flex-direction: column;
  gap: 1rem;
}
.info-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(10,30,74,0.07);
  box-shadow: 0 2px 12px rgba(10,30,74,0.06);
  padding: 1.4rem 1.75rem;
}
.info-card-header {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: .85rem;
}
.info-card-icon {
  width: 20px; height: 20px; flex-shrink: 0; color: var(--teal);
}
.info-card-icon svg { width: 20px; height: 20px; }
.info-card-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(45,199,110,.2);
}
.info-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: .95rem; font-weight: 700; color: var(--ink);
}
.info-card-big {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem; font-weight: 800;
  color: var(--teal); line-height: 1;
}
.info-card-addr {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .9rem; color: var(--ink-soft);
  line-height: 1.55; margin-bottom: 1rem;
}
.info-card-addr svg {
  width: 16px; height: 16px; flex-shrink: 0;
  color: var(--teal); margin-top: 2px;
}
.info-card-link {
  display: block; font-size: .92rem; font-weight: 600;
  color: var(--teal); margin-bottom: .2rem;
  transition: color .2s;
}
.info-card-link:hover { color: var(--green); }
.info-card-sub {
  font-size: .82rem; color: var(--ink-mute);
}

/* Paw print hero decoration */
.page-hero-paws {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.page-hero-paws svg {
  position: absolute; opacity: .06;
  fill: #fff;
}

/* 16a. Equipo hero & doctor card grid
   ============================================================ */
.equipo-hero {
  min-height: 62vh;
  align-items: center;
  background: linear-gradient(135deg,
    #071526 0%,
    #0A2060 28%,
    #0660B0 55%,
    #00A8D0 75%,
    #00CCCC 100%
  );
}
.equipo-hero .page-hero-inner {
  padding-bottom: clamp(3.5rem,6vw,5rem);
}
.equipo-hero-orbs {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.equipo-hero-orbs .orb {
  position: absolute; border-radius: 50%;
}
.equipo-hero-orbs .orb-tr {
  width: 420px; height: 420px;
  top: -120px; right: -60px;
  background: radial-gradient(circle, rgba(0,210,220,.55) 0%, rgba(0,180,200,.2) 45%, transparent 70%);
}
.equipo-hero-orbs .orb-mr {
  width: 60px; height: 90px;
  top: 30%; right: 3%;
  background: rgba(0,220,220,.65);
  border-radius: 8px;
  opacity: .8;
}
.equipo-hero-orbs .orb-tl {
  width: 90px; height: 90px;
  top: 22%; left: 2%;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: transparent;
}
.equipo-hero-orbs .orb-bl {
  width: 50px; height: 50px;
  bottom: 18%; left: 5%;
  border: 1.5px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  background: transparent;
}
.equipo-hero-orbs .orb-bc {
  width: 220px; height: 220px;
  bottom: -80px; right: 22%;
  background: radial-gradient(circle, rgba(0,140,180,.18) 0%, transparent 70%);
}

/* Doctor photo grid */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.doctor-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4.8;   /* more vertical room for overlay text */
  cursor: pointer;
  background: var(--blue-navy);
}
.doctor-card img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform .45s ease;
}
.doctor-card:hover img,
.doctor-card:focus-within img { transform: scale(1.07); }

.doctor-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(7,21,38,.97) 0%,
    rgba(7,21,38,.82) 50%,
    rgba(7,21,38,.15) 100%
  );
  opacity: 0;
  transition: opacity .3s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem 1.3rem 1.35rem;
  gap: 0;
}
.doctor-card:hover .doctor-card-overlay,
.doctor-card:focus-within .doctor-card-overlay { opacity: 1; }

.doctor-card-spec {
  font-family: 'Outfit', sans-serif;
  font-size: .66rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: .28rem;
}
.doctor-card-name {
  font-family: 'Outfit', sans-serif;
  font-size: .9rem; font-weight: 700; color: #fff;
  margin-bottom: .45rem; line-height: 1.25;
}
.doctor-card-desc {
  font-size: .75rem; color: rgba(255,255,255,.82);
  line-height: 1.55;
  /* No clamp — show full text */
}
/* Name strip — hidden by default, only photo shows */
.doctor-card-name-strip { display: none; }
.doctor-card.touch-active .doctor-card-overlay { opacity: 1; }
.doctor-card-strip-spec {
  font-size: .65rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal);
}
.doctor-card-strip-name {
  font-family: 'Outfit', sans-serif;
  font-size: .85rem; font-weight: 700; color: #fff;
  line-height: 1.2;
}

/* 16. Team full page
   ============================================================ */
.team-full-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; }
.team-full-card {
  border-radius: var(--radius-md); overflow:hidden;
  background:#fff; border:1px solid rgba(10,30,74,0.08); box-shadow:var(--shadow-sm);
  transition: transform .3s var(--ease-spring), box-shadow .3s;
}
.team-full-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.team-full-photo { width:100%; aspect-ratio:4/4.5; overflow:hidden; }
.team-full-photo img { width:100%; height:100%; object-fit:cover; object-position:top; transition:transform .5s var(--ease-out); }
.team-full-card:hover .team-full-photo img { transform:scale(1.05); }
.team-full-body { padding:1.5rem; display:flex; flex-direction:column; gap:.3rem; }
.team-full-name { font-family:'Outfit',sans-serif; font-size:1rem; font-weight:700; color:var(--ink); }
.team-full-role { font-size:.8rem; font-weight:600; color:var(--blue-navy); }
.team-full-spec {
  display:inline-block; margin-top:.3rem;
  padding:.2rem .65rem; border-radius:99px;
  background:rgba(45,199,110,0.1); font-size:.72rem; font-weight:700; color:var(--green-dark);
}
.team-full-bio { margin-top:.6rem; font-size:.84rem; color:var(--ink-soft); line-height:1.6; }

/* Values strip */
.values-strip { background:linear-gradient(135deg,var(--blue-dark) 0%,var(--blue-mid) 100%); }
.values-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:rgba(255,255,255,.12); border-radius:var(--radius-lg); overflow:hidden; }
.value-item { padding:2.5rem 2rem; background:rgba(255,255,255,0.04); display:flex; flex-direction:column; gap:.6rem; }
.value-num { font-family:'Outfit',sans-serif; font-size:2.8rem; font-weight:800; color:var(--green); opacity:.35; line-height:1; }
.value-title { font-family:'Outfit',sans-serif; font-size:1.1rem; font-weight:700; color:#fff; }
.value-desc { font-size:.87rem; color:rgba(255,255,255,.7); line-height:1.6; }

/* 17. Footer
   ============================================================ */
.footer { background: var(--blue-dark); padding-block: clamp(3rem,5vw,4.5rem) 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1fr 1fr;
  gap: clamp(1.5rem,3vw,2.5rem);
  padding-bottom: 3rem;
}
.footer-brand { display:flex; flex-direction:column; gap:1rem; }
.footer-logo { display:flex; align-items:center; gap:.5rem; }
.footer-logo img { height:38px; width:auto; }
.footer-desc { font-size:.85rem; color:rgba(255,255,255,.5); line-height:1.7; max-width:28ch; }
.footer-siguenos {
  font-family:'Outfit',sans-serif; font-size:.7rem; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.35);
  margin-top:.25rem; margin-bottom:.4rem;
}
.footer-social { display:flex; gap:.5rem; }
.footer-social a {
  width:34px; height:34px; border-radius:9px;
  background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.6); transition:background .2s,color .2s;
}
.footer-social a:hover { background:var(--green); color:#fff; }
.footer-social svg { width:16px; height:16px; }
.footer-col h4 {
  font-family:'Outfit',sans-serif; font-size:.75rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:#fff;
  margin-bottom:.9rem; display:flex; align-items:center; gap:.5rem;
}
.footer-col h4 svg { width:15px; height:15px; color:var(--green); }
.footer-col ul { display:flex; flex-direction:column; gap:.45rem; }
.footer-col a { font-size:.84rem; color:rgba(255,255,255,.5); transition:color .2s; display:flex; align-items:center; gap:.4rem; }
.footer-col a:hover { color:#fff; }
.footer-col a::before { content:"›"; color:var(--green); font-size:.9rem; }
.footer-contact-item { display:flex; align-items:center; gap:.75rem; margin-bottom:.7rem; }
.footer-contact-icon {
  width:34px; height:34px; flex-shrink:0; border-radius:9px;
  display:flex; align-items:center; justify-content:center;
}
.footer-contact-icon svg { width:16px; height:16px; }
/* Icon color variants */
.fci-green  { background:rgba(45,199,110,.2);  color:var(--green); }
.fci-teal   { background:rgba(0,180,204,.2);   color:var(--teal); }
.fci-coral  { background:rgba(232,84,84,.2);   color:var(--coral); }
.fci-blue   { background:rgba(26,109,191,.2);  color:var(--teal-light); }
.footer-contact-value { font-size:.84rem; color:rgba(255,255,255,.85); font-weight:600; line-height:1.25; }
.footer-contact-value a { color:rgba(255,255,255,.85); transition:color .2s; }
.footer-contact-value a:hover { color:#fff; }
.footer-contact-label { font-size:.72rem; color:rgba(255,255,255,.38); margin-top:.1rem; }
.footer-open-badge {
  display:inline-flex; align-items:center; gap:.4rem;
  padding:.3rem .75rem; border-radius:99px;
  background:rgba(45,199,110,.15); border:1px solid rgba(45,199,110,.3);
  font-family:'Outfit',sans-serif; font-size:.75rem; font-weight:700;
  color:var(--green); margin-bottom:.65rem;
}
.footer-open-badge .dot { width:7px; height:7px; border-radius:99px; background:var(--green); animation:pulseGreen 2s ease-in-out infinite; }
.footer-maps-btn {
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.6rem 1rem; border-radius:var(--radius-sm);
  background:rgba(255,255,255,.08); color:#fff;
  font-family:'Outfit',sans-serif; font-size:.8rem; font-weight:600;
  transition:background .2s; margin-top:.5rem;
}
.footer-maps-btn:hover { background:rgba(255,255,255,.16); color:#fff; }
.footer-maps-btn svg { width:15px; height:15px; color:var(--green); flex-shrink:0; }
/* suppress › before non-list links in footer */
.footer-contact-value a::before,
.footer-maps-btn::before { content: none; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.07);
  padding-block:1.5rem;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.75rem;
  font-size:.78rem; color:rgba(255,255,255,.35);
}
.footer-bottom a { color:rgba(255,255,255,.35); transition:color .2s; }
.footer-bottom a:hover { color:#fff; }

/* 18. Urgencias FAB
   ============================================================ */
.urgencias-fab {
  position:fixed; bottom:1.75rem; right:1.75rem; z-index:900;
  background:var(--green); color:#fff; border-radius:99px;
  padding:.7rem 1.35rem;
  box-shadow:0 8px 28px rgba(45,199,110,.4);
  font-family:'Outfit',sans-serif; font-size:.84rem; font-weight:700;
  display:flex; align-items:center; gap:.5rem;
  transition:transform .25s var(--ease-spring),box-shadow .25s;
  text-decoration:none;
}
.urgencias-fab:hover { transform:translateY(-3px) scale(1.03); box-shadow:0 12px 36px rgba(45,199,110,.5); color:#fff; }
.urgencias-fab .pulse { width:8px; height:8px; border-radius:99px; background:#fff; position:relative; flex-shrink:0; }
.urgencias-fab .pulse::after {
  content:""; position:absolute; inset:-3px; border-radius:99px;
  background:rgba(255,255,255,.5); animation:pulseRing 1.5s ease-out infinite;
}
@keyframes pulseRing {
  0%   { transform:scale(1); opacity:.8; }
  100% { transform:scale(2.5); opacity:0; }
}

/* 19. Reveal animations
   ============================================================ */
.reveal {
  opacity:0; transform:translateY(32px);
  transition:opacity .65s var(--ease-out),transform .65s var(--ease-out);
}
.reveal.is-visible { opacity:1; transform:none; }
.reveal[data-split] { opacity:1; transform:none; }
.reveal[data-delay="1"] { transition-delay:.1s; }
.reveal[data-delay="2"] { transition-delay:.2s; }
.reveal[data-delay="3"] { transition-delay:.3s; }
.reveal[data-delay="4"] { transition-delay:.4s; }
.reveal[data-delay="5"] { transition-delay:.5s; }

/* 20. Responsive
   ============================================================ */
@media (max-width: 1199px) {
  .footer-inner { grid-template-columns:1fr 1fr 1fr; }
  .team-full-grid { grid-template-columns:repeat(3,1fr); }
  .doctor-grid { grid-template-columns:repeat(4,1fr); }
  .spec-grid { grid-template-columns:repeat(3,1fr); }
}
@media (max-width: 1023px) {
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .team-grid { grid-template-columns:repeat(2,1fr); }
  .doctor-grid { grid-template-columns:repeat(3,1fr); }
  .stats-inner { grid-template-columns:repeat(2,1fr); }
  .why-grid { grid-template-columns:repeat(2,1fr); }
  .services-feat-grid { grid-template-columns:repeat(2,1fr); }
  .services-sm-grid   { grid-template-columns:repeat(2,1fr); }
  .spec-grid { grid-template-columns:repeat(3,1fr); }
}
@media (max-width: 767px) {
  .nav-links,.nav-cta { display:none; }
  .nav-hamburger { display:flex; }
  .services-grid { grid-template-columns:1fr; }
  .why-grid { grid-template-columns:1fr; }
  .team-grid,.team-full-grid { grid-template-columns:repeat(2,1fr); }
  .doctor-grid { grid-template-columns:repeat(2,1fr); }
  .testimonials-grid { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .footer-inner { grid-template-columns:1fr 1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .values-grid { grid-template-columns:1fr; }
  .doctor-card { aspect-ratio: 3 / 4.2; }
  .doctor-card-overlay { padding: 1rem 1rem 1.1rem; }
  .services-feat-grid { grid-template-columns:repeat(2,1fr); }
  .services-sm-grid   { grid-template-columns:repeat(2,1fr); }
  .spec-grid { grid-template-columns:repeat(2,1fr); }
  .spec-cta { flex-direction:column; text-align:center; }
  .spec-cta-left { flex-direction:column; align-items:center; }
}
@media (max-width: 479px) {
  .team-grid,.team-full-grid { grid-template-columns:1fr; }
  .doctor-grid { grid-template-columns:repeat(2,1fr); }
  .stats-inner { grid-template-columns:1fr 1fr; }
  .footer-inner { grid-template-columns:1fr; }
  .services-feat-grid { grid-template-columns:1fr; }
  .services-sm-grid   { grid-template-columns:1fr; }
}

/* 21. Scrollbar
   ============================================================ */
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:rgba(10,30,74,.2); border-radius:99px; }
::-webkit-scrollbar-thumb:hover { background:rgba(45,199,110,.5); }

/* ============================================================
   22. HOMEPAGE — Hero updates
   ============================================================ */

/* Increase photo visibility — dogs are in the lower half of the portrait */
.hero-bg-img img {
  opacity: .60;
  filter: saturate(1.1);
  object-position: center 55%;
}
/* Overlay: heavier on left, lighter on right */
.hero-bg-overlay {
  background: linear-gradient(105deg,
    rgba(7,21,38,0.88) 0%,
    rgba(7,21,38,0.72) 50%,
    rgba(7,21,38,0.50) 100%);
}

/* Green accent on second title line */
.hero-title-green {
  color: var(--green);
  display: block;
}

/* Teal underline below title */
.hero-title-underline {
  width: 72px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 99px;
  margin-top: -.4rem;
}

/* Emergency button sizing */
.hero-btn-emerg {
  padding: .9rem 2rem;
  font-size: 1rem;
}

/* Contact row: phone + email inline */
.hero-contact-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  padding-top: .5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hcr-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.hcr-item:hover { color: #fff; }
.hcr-sep {
  color: rgba(255,255,255,.3);
  font-size: .88rem;
}

/* ============================================================
   23. HOMEPAGE — Quiénes Somos
   ============================================================ */
.home-about { background: #fff; }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

/* Left: photo + badge */
.about-media { position: relative; }
.about-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-photo {
  width: 100%;
  height: clamp(340px, 45vw, 520px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.1rem 1.5rem;
  box-shadow: 0 12px 40px rgba(7,21,38,.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  min-width: 130px;
}
.about-badge-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.about-badge-label {
  font-family: 'Outfit', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.3;
}

/* Right: text */
.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-kicker {
  font-family: 'Outfit', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: -.3rem;
}
.about-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
}
.about-location {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  color: var(--ink-mute);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}
.about-location svg { color: var(--teal); }
.about-divider {
  width: 48px;
  height: 2.5px;
  background: var(--teal);
  border-radius: 99px;
  margin: .25rem 0;
}
.about-desc {
  font-size: .95rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0;
}
.about-desc strong { color: var(--ink); font-weight: 600; }
.about-features {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1.1rem 1.2rem;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--teal);
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.about-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0,180,204,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.about-feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
}
.about-feature-sub {
  font-size: .82rem;
  color: var(--ink-mute);
  margin-top: .1rem;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: var(--teal);
  transition: gap .2s, color .2s;
}
.about-link:hover { gap: .6rem; color: var(--green); }

/* ============================================================
   24. HOMEPAGE — Three Panels
   ============================================================ */
.home-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.panel {
  position: relative;
  min-height: clamp(360px, 45vw, 520px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  cursor: default;
}

.panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform .7s var(--ease-out);
}
.panel:hover .panel-bg { transform: scale(1.09); }

.panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7,21,38,.88) 0%,
    rgba(7,21,38,.55) 40%,
    rgba(7,21,38,.25) 100%
  );
  transition: background .4s;
}
.panel:hover .panel-overlay {
  background: linear-gradient(
    to top,
    rgba(7,21,38,.92) 0%,
    rgba(7,21,38,.62) 40%,
    rgba(7,21,38,.28) 100%
  );
}

.panel-content {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

/* Panel icon — rounded square */
.panel-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.panel-icon-green { background: var(--green); box-shadow: 0 6px 20px rgba(45,199,110,.35); }
.panel-icon-teal  { background: var(--teal);  box-shadow: 0 6px 20px rgba(0,180,204,.35); }

.panel-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0;
}
.panel-desc {
  font-size: clamp(.82rem, 1.2vw, .92rem);
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  max-width: 30ch;
  margin: 0;
}
.panel-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--teal);
  transition: gap .22s, color .2s;
  text-decoration: none;
  margin-top: .25rem;
}
.panel-link:hover { gap: .6rem; color: var(--teal-light); }
.panel-emerg-btn {
  margin-top: .25rem;
  padding: .7rem 1.4rem;
  font-size: .88rem;
}

/* Divider between panels */
.panel + .panel {
  border-left: 1px solid rgba(255,255,255,.08);
}

/* ============================================================
   25. HOMEPAGE — Testimonials Carousel
   ============================================================ */
.home-testi {
  padding-block: clamp(4rem, 7vw, 6rem);
  background: linear-gradient(135deg, #E8F8F3 0%, #EAF6FB 50%, #F0F7FF 100%);
  overflow: hidden;
}

.testi-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.testi-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.testi-underline {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 99px;
  margin: .75rem auto 0;
}

/* Carousel */
.testi-carousel-wrap {
  overflow: hidden;
  position: relative;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.testi-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding: 1rem 1.5rem 1.5rem;
  animation: testiScroll 40s linear infinite;
}
.testi-carousel-wrap:hover .testi-track { animation-play-state: paused; }

@keyframes testiScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Testimonial card */
.testi-card {
  width: 310px;
  flex-shrink: 0;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: 0 4px 24px rgba(7,21,38,.08);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(7,21,38,.14);
}

.testi-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: .06em;
  line-height: 1;
}
.testi-text {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(10,30,74,.07);
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testi-name {
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
}
.testi-source {
  font-size: .75rem;
  color: var(--ink-mute);
  margin-top: .05rem;
}

/* ============================================================
   26. HOMEPAGE — Gallery Bento
   ============================================================ */
.home-gallery { background: var(--bg-light); }

.gallery-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.gallery-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: .6rem;
}
.gallery-underline {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 99px;
  margin: .6rem auto .9rem;
}
.gallery-desc {
  font-size: .95rem;
  color: var(--ink-mute);
  max-width: 52ch;
  margin-inline: auto;
}

/* Bento grid — diseñado para fotos retrato
   Todas las celdas tienen proporción cuadrada o retrato para minimizar recorte.

   Desktop layout:
   ┌──────────────┬───────────┬───────────┐
   │              │  kitten   │  team+dog │
   │  big (tall)  ├───────────┼───────────┤
   │              │  golden   │  cone dog │
   ├──────────────┴───────────┴───────────┤
   │        vet on exam table (wide)      │
   └──────────────────────────────────────┘
*/
.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 360px 330px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.06); }

/* Grid placements — explicit start/end notation */
.gi-big  { grid-column: 1 / 2; grid-row: 1 / 3; }  /* columna izq, alto (2 filas) */
.gi-tr1  { grid-column: 2 / 3; grid-row: 1 / 2; }  /* col2, fila1 */
.gi-tr2  { grid-column: 3 / 4; grid-row: 1 / 2; }  /* col3, fila1 */
.gi-b1   { grid-column: 2 / 3; grid-row: 2 / 3; }  /* col2, fila2 */
.gi-b2   { grid-column: 3 / 4; grid-row: 2 / 3; }  /* col3, fila2 */

/* Crop por imagen — todas son retrato, ajustar foco al sujeto principal */
.gi-big  img { object-position: center 12%; }   /* vets + cachorro: caras arriba  */
.gi-tr1  img { object-position: center 28%; }   /* gatito: cara centrada          */
.gi-tr2  img { object-position: center 42%; }   /* equipo + pastor: acción media  */
.gi-b1   img { object-position: center 65%; }   /* golden retriever: baja imagen  */
.gi-b2   img { object-position: center 28%; }   /* perro con cono: sujetos arriba */

/* Badge overlay inside gallery item */
.gallery-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(7,21,38,.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .35rem .85rem;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,.15);
}

/* ============================================================
   27. Responsive — Homepage additions
   ============================================================ */
@media (max-width: 1023px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-photo {
    height: clamp(260px, 40vw, 380px);
  }
  .about-badge {
    bottom: -14px;
    right: 14px;
  }
  .home-panels {
    grid-template-columns: 1fr;
  }
  .panel {
    min-height: 300px;
  }
  .panel + .panel {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  /* Tablet: 2 columnas, gi-big arriba full-width */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 260px 240px 220px;
  }
  .gi-big  { grid-column: 1 / 3; grid-row: 1 / 2; }
  .gi-tr1  { grid-column: 1 / 2; grid-row: 2 / 3; }
  .gi-tr2  { grid-column: 2 / 3; grid-row: 2 / 3; }
  .gi-b1   { grid-column: 1 / 2; grid-row: 3 / 4; }
  .gi-b2   { grid-column: 2 / 3; grid-row: 3 / 4; }
  .gi-b3   { grid-column: 1 / 3; grid-row: 4 / 5; }
  .gi-big  img { object-position: center 20%; }
  .gi-tr1  img { object-position: center 28%; }
  .gi-tr2  img { object-position: center 42%; }
}

@media (max-width: 767px) {
  .about-photo {
    height: 260px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 220px 200px 180px;
    gap: 8px;
  }
  .testi-card { width: 260px; }
  .testi-track { padding: .75rem 1rem 1rem; }
  .hero-contact-row { gap: .5rem; }
  .hcr-sep { display: none; }
}

@media (max-width: 479px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 200px 190px 170px;
  }
  .gi-big  { grid-column: 1 / 3; grid-row: 1 / 2; }
  .gi-tr1  { grid-column: 1 / 2; grid-row: 2 / 3; }
  .gi-tr2  { grid-column: 2 / 3; grid-row: 2 / 3; }
  .gi-b1   { grid-column: 1 / 2; grid-row: 3 / 4; }
  .gi-b2   { grid-column: 2 / 3; grid-row: 3 / 4; }
  .gi-b3   { grid-column: 1 / 3; grid-row: 4 / 5; }
  .testi-card { width: 230px; }
  .panel { min-height: 260px; }
}

:focus-visible { outline:2px solid var(--green); outline-offset:3px; border-radius:4px; }

/* ─── Doctor info cards (sin foto) ──────────────────────────────────────── */
.doctor-grid--info {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.dr-info-card {
  background: var(--blue-navy);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 1.5rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  cursor: default;
}
.dr-info-card:hover {
  border-color: rgba(0,180,204,.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}
.dr-info-spec {
  font-family: 'Outfit', sans-serif;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  padding-bottom: .65rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.dr-info-name {
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.dr-info-desc {
  font-size: .78rem;
  color: rgba(255,255,255,.62);
  line-height: 1.6;
  flex: 1;
}

@media (max-width: 1024px) {
  .doctor-grid--info { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .doctor-grid--info { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .doctor-grid--info { grid-template-columns: 1fr; }
}
