/* CDIVET — estilos del sitio */
:root {
  --navy: #065285;
  --navy-700: #054573;
  --navy-900: #032c4a;
  --teal: #0dbaaa;
  --teal-600: #0a9b8e;
  --teal-50: #e7f8f6;
  --sky-50: #eef5fa;
  --bg: #ffffff;
  --bg-alt: #f5f9fc;
  --text: #0f2638;
  --muted: #546778;
  --line: #dde7ef;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(3, 44, 74, .06), 0 8px 24px rgba(3, 44, 74, .08);
  --shadow-lg: 0 24px 60px rgba(3, 44, 74, .16);
  --container: 1180px;
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--navy-900); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, box-shadow .15s, color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(13, 186, 170, .35); }
.btn-primary:hover { background: var(--teal-600); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { padding: .65em 1.15em; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(3, 44, 74, .06); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 76px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav > ul > li > a, .sub-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 999px; border: 0; background: none;
  font: inherit; font-size: .97rem; font-weight: 600; color: var(--text); text-decoration: none; cursor: pointer;
}
.nav > ul > li > a:hover, .sub-toggle:hover { background: var(--sky-50); color: var(--navy); }
.nav a[aria-current="page"], .sub-toggle[data-active] { color: var(--navy); background: var(--sky-50); }
.chev { width: 16px; height: 16px; transition: transform .2s; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 270px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.sub a .icon { color: var(--teal); width: 20px; height: 20px; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--teal-50); color: var(--navy); }
@media (hover: hover) and (min-width: 1001px) {
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .has-sub:hover .chev { transform: rotate(180deg); }
}
.has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub.open .chev { transform: rotate(180deg); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .close { display: none; }

@media (max-width: 1000px) {
  :root { --header-h: 76px; }
  /* backdrop-filter convierte al header en contenedor del menú fijo y lo recorta */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand img { height: 56px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 16px 32px; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .nav-toggle .open { display: none; }
  .nav-open .nav-toggle .close { display: block; }
  .nav > ul { flex-direction: column; gap: 2px; }
  .nav > ul > li > a, .sub-toggle { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 1.1rem; border-radius: 12px; }
  .sub { position: static; translate: none; min-width: 0; box-shadow: none; border: 0; padding: 0 0 0 8px; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub.open .sub { display: block; }
  .nav-cta { justify-content: center; padding: 1em; font-size: 1.05rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 64px 0 88px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(13, 186, 170, .14), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(6, 82, 133, .08), transparent 60%),
    linear-gradient(180deg, #f7fbfd, #fff);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; margin-bottom: 20px; border-radius: 999px;
  background: var(--teal-50); color: var(--teal-600); font-weight: 700; font-size: .88rem; letter-spacing: .01em;
}
.eyebrow .icon { width: 18px; height: 18px; }
.hero h1 .accent { color: var(--teal); }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; font-weight: 600; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--teal); width: 18px; height: 18px; }
.hero-media { position: relative; }
.hero-media .photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.3; }
.hero-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg);
}
.float-card strong { display: block; font-size: 1.35rem; line-height: 1.1; color: var(--navy-900); }
.float-card span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.float-card .badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--teal-50); color: var(--teal-600); }
.float-card.one { left: -28px; bottom: 40px; }
.float-card.two { right: -20px; top: 36px; }
.float-card.two .badge { background: var(--sky-50); color: var(--navy); }
@media (max-width: 900px) {
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media .photo { aspect-ratio: 4 / 3.4; }
  .float-card.one { left: 12px; bottom: -20px; }
  .float-card.two { right: 12px; top: 12px; }
  .float-card { padding: 10px 14px; }
  .float-card strong { font-size: 1.1rem; }
  .stats { margin-top: 0; padding-top: 8px; }
}

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.kicker { display: inline-block; margin-bottom: 12px; color: var(--teal-600); font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.section-title.center { text-align: center; margin-bottom: 40px; }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-head { margin-bottom: 40px; } }

/* Estadísticas */
.stats { position: relative; z-index: 2; margin-top: -44px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.stat { padding: 28px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-weight: 600; font-size: .95rem; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Tarjetas de servicio */
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.service-card { grid-column: span 2; }
.service-card:nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card:nth-child(4) { grid-column: auto; }
  .service-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff;
}
.service-icon .icon { width: 28px; height: 28px; }
.service-card p { color: var(--muted); flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); }
.more .icon { width: 18px; height: 18px; transition: transform .2s; }
.service-card:hover .more .icon { transform: translateX(4px); }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 28px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800;
}
.step:last-child .step-num { background: var(--teal); }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }
.steps-cta { margin-top: 40px; text-align: center; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Split (imagen + texto) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; object-fit: cover; }
.split-media .tag {
  position: absolute; left: 20px; bottom: 20px; padding: 8px 14px; border-radius: 999px;
  background: rgba(3, 44, 74, .82); color: #fff; font-size: .85rem; font-weight: 600; backdrop-filter: blur(6px);
}
.split-body p { color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.reverse .split-media { order: 0; } }

.check-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .tick { display: grid; place-items: center; flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); }
.check-list .tick .icon { width: 15px; height: 15px; stroke-width: 3; }
.check-list strong { color: var(--navy-900); }

/* Testimonios */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { display: flex; flex-direction: column; padding: 30px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); margin: 0; }
.testimonial .stars { display: flex; gap: 2px; color: #f5b301; margin-bottom: 14px; }
.testimonial .stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.testimonial blockquote { margin: 0 0 20px; flex: 1; color: var(--text); }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy-900); }
.avatar {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--sky-50); color: var(--navy); font-weight: 800; font-size: .95rem;
}
.testimonial:nth-child(1) { grid-column: span 2; }
.testimonial:nth-child(1) blockquote { font-size: 1.2rem; font-weight: 500; }
@media (max-width: 960px) { .testimonials { grid-template-columns: 1fr 1fr; } .testimonial:nth-child(1) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .testimonials { grid-template-columns: 1fr; } }

/* Banda para veterinarios */
.vets {
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center;
  padding: 40px 44px; border-radius: 24px; background: var(--teal-50); border: 1px solid #c9eee9;
}
.vets .service-icon { margin: 0; }
.vets h2 { font-size: 1.6rem; margin-bottom: 6px; }
.vets p { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .vets { grid-template-columns: 1fr; padding: 32px 24px; gap: 20px; } }

/* Banda CTA */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy) 55%, #0a7f95); color: #fff; padding: 72px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Páginas internas ---------- */
.page-hero {
  padding: 56px 0 64px;
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(13, 186, 170, .16), transparent 60%),
    linear-gradient(180deg, #f3f8fb, #fff);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .9rem; color: var(--muted); font-weight: 600; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #a9b8c4; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 14px; }
.page-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; margin: 0; }
.page-hero .service-icon { margin-bottom: 18px; }

.prose { max-width: 720px; }
.prose p, .prose li { color: var(--muted); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

.service-layout { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.service-layout .feature-img { width: 100%; border-radius: 20px; margin-bottom: 36px; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow); }
.service-layout .feature-img.full { aspect-ratio: auto; width: auto; max-width: 100%; max-height: 620px; }
.side-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.side-card h3 { margin-bottom: 8px; }
.side-card p { color: var(--muted); font-size: .97rem; }
.side-card .btn { width: 100%; margin-top: 8px; }
.side-list { list-style: none; padding: 18px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: .95rem; }
.side-list li { display: flex; gap: 10px; align-items: flex-start; }
.side-list .icon { color: var(--teal); width: 18px; height: 18px; margin-top: 3px; }
.side-list a { color: var(--text); text-decoration: none; }
.side-list a:hover { color: var(--navy); text-decoration: underline; }
@media (max-width: 960px) { .service-layout { grid-template-columns: 1fr; } .side-card { position: static; } }

.chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 20px 0 8px; }
.chips li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: .97rem; line-height: 1.45; }
.chips li small { display: block; font-weight: 500; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.chips .icon { color: var(--teal); width: 20px; height: 20px; margin-top: 1px; }
@media (max-width: 560px) { .chips { grid-template-columns: 1fr; } }

.note { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: var(--sky-50); color: var(--navy-900); font-size: .97rem; margin-top: 28px; }
.note .icon { color: var(--navy); margin-top: 3px; }
.note p { margin: 0; color: inherit; }

.mini-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-service { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--navy-900); font-weight: 700; transition: border-color .2s, box-shadow .2s; }
.mini-service .icon { color: var(--teal); }
.mini-service span { flex: 1; }
.mini-service .arrow { color: var(--muted); width: 18px; height: 18px; transition: transform .2s; }
.mini-service:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.mini-service:hover .arrow { transform: translateX(3px); color: var(--navy); }
@media (max-width: 1000px) { .mini-services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mini-services { grid-template-columns: 1fr; } }

/* Valores (nosotros) */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value .service-icon { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px; }
.value p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 20px; }
.gallery figcaption { margin-top: 10px; color: var(--muted); font-size: .92rem; font-weight: 600; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }

/* Equipo */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.member-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.member .avatar { width: 64px; height: 64px; font-size: 1.25rem; background: linear-gradient(135deg, var(--navy), var(--teal)); color: #fff; }
.member h3 { margin: 0 0 2px; font-size: 1.15rem; }
.member .role { margin: 0; color: var(--teal-600); font-weight: 700; font-size: .92rem; line-height: 1.35; }
.member ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.member li { display: flex; gap: 10px; }
.member li .icon { color: var(--teal); width: 17px; height: 17px; margin-top: 3px; }
.member > ul { margin-bottom: 20px; }
.cv { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; }
.cv summary { cursor: pointer; font-weight: 700; color: var(--navy); font-size: .95rem; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.cv summary::-webkit-details-marker { display: none; }
.cv summary::after { content: "+"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sky-50); font-size: 1rem; transition: transform .2s; }
.cv[open] summary::after { transform: rotate(45deg); }
.member .cv ul { margin-top: 14px; padding-left: 18px; list-style: disc; display: block; font-size: .9rem; }
.member .cv li { display: list-item; margin-bottom: 6px; }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .team { grid-template-columns: 1fr; } }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.contact-card .badge { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--teal-50); color: var(--teal-600); }
.contact-card small { display: block; color: var(--muted); font-weight: 600; font-size: .85rem; }
.contact-card strong { color: var(--navy-900); font-size: 1.05rem; word-break: break-word; }
.form-card { padding: 36px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-alt);
  font: inherit; font-size: 1rem; color: var(--text); transition: border-color .15s, background-color .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-hint { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 26px 20px; } }

.map { margin-top: 56px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* 404 */
.not-found { text-align: center; padding: 120px 0; }
.not-found .big { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; color: var(--teal-50); -webkit-text-stroke: 2px var(--teal); margin-bottom: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); padding: 72px 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 30em; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--teal); width: 18px; height: 18px; margin-top: 3px; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-weight: 600; }
.social:hover { border-color: #fff; }
.footer-bottom { margin-top: 56px; padding: 22px 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px; border-radius: 999px;
  background: #25d366; color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform .2s;
}
.wa-float:hover { transform: translateY(-2px) scale(1.02); }
.wa-float .icon { width: 24px; height: 24px; }
@media (max-width: 600px) { .wa-float { padding: 15px; right: 16px; bottom: 16px; } .wa-float span { display: none; } }

/* Animación de aparición */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
