:root {
  --navy: #003b5c;
  --navy-deep: #002d46;
  --sage: #7bc6a4;
  --sage-dark: #397b61;
  --sage-pale: #edf6f0;
  --cream: #faf8f4;
  --ink: #102f3f;
  --muted: #536a71;
  --line: #dce7e2;
  --white: #fff;
  --shadow: 0 14px 36px rgba(0, 45, 70, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px;
  color: var(--white); background: var(--navy-deep); border-radius: 6px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #c68024; outline-offset: 3px; }
h1, h2, blockquote { font-family: "Playfair Display", Georgia, serif; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.5rem, 4.5vw, 4.3rem); line-height: 1.08; letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.15; }
h3 { line-height: 1.2; }
.eyebrow {
  margin: 0 0 13px; color: var(--sage-dark); font-size: .78rem;
  font-weight: 700; letter-spacing: .13em;
}

.site-header {
  position: sticky; z-index: 20; top: 0; background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(0, 59, 92, .08); backdrop-filter: blur(12px);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 184px; height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: .88rem; font-weight: 600; }
.nav-links a { padding-block: 12px; transition: color .2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--sage-dark); }
.btn {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 21px; border: 1px solid transparent; border-radius: 8px;
  font-size: .91rem; font-weight: 700; text-align: center; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 45, 70, .12); }
.btn-primary { color: var(--white); background: var(--navy-deep); }
.btn-primary:hover { background: #064c68; }
.btn-sage { color: var(--white); background: var(--sage-dark); }
.btn-sage:hover { background: #2f6a53; }
.btn-outline { color: var(--navy-deep); background: rgba(255,255,255,.82); border-color: var(--sage-dark); }
.btn-outline:hover { color: var(--white); background: var(--sage-dark); }

.hero { background: linear-gradient(105deg, #fff 0%, var(--cream) 100%); }
.hero-grid { min-height: 510px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: stretch; }
.hero-copy { align-self: center; padding: 60px 56px 52px 0; }
.hero h1 { max-width: 640px; margin-bottom: 22px; color: var(--navy-deep); }
.hero h1 span { color: var(--sage-dark); }
.hero-lead { max-width: 550px; margin-bottom: 27px; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-photo {
  min-height: 500px; background: url("assets/consultorio.jpg") center / cover no-repeat;
  border-radius: 0 0 0 110px;
}
.trust-row { display: flex; gap: 20px; margin-top: 35px; }
.trust-row > div { flex: 1; color: var(--muted); font-size: .79rem; line-height: 1.45; text-align: center; }
.trust-icon { display: block; margin-bottom: 7px; color: var(--sage-dark); font-size: 1.9rem; line-height: 1.1; }

.section { padding-block: 84px; }
.plans { position: relative; overflow: hidden; background: #fff; }
.section-heading { max-width: 800px; margin: 0 auto 38px; text-align: center; }
.section-heading h2 { margin-bottom: 10px; color: var(--navy-deep); }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.plans-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr); gap: 28px; align-items: stretch; }
.personal-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan-card, .company-card {
  position: relative; display: flex; flex-direction: column; padding: 25px 23px;
  border: 1px solid #dce5e1; border-radius: 16px; background: #fff;
  box-shadow: 0 8px 24px rgba(0,45,70,.045);
}
.plan-icon, .company-icon {
  width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 14px;
  color: var(--navy-deep); background: #e9f4e7; border-radius: 50%; font-size: 1.8rem;
}
.plan-card h3, .company-card h3 { margin-bottom: 8px; color: var(--navy-deep); font-size: 1.34rem; }
.price { margin: 2px 0 0; color: #102f3f; font-size: clamp(1.8rem, 2.6vw, 2.45rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.15; white-space: nowrap; }
.price.upcoming { color: var(--sage-dark); font-size: 1.45rem; letter-spacing: 0; }
.price span { font-size: 1.05rem; font-weight: 500; letter-spacing: 0; }
.price-detail { min-height: 32px; margin: 5px 0 17px; color: #263c43; font-size: .92rem; }
.plan-description { flex: 1; margin: 0 0 18px; padding-top: 15px; color: var(--muted); border-top: 1px solid var(--line); }
.plan-cta { width: 100%; }
.plan-featured { border-color: #c3dfca; background: linear-gradient(165deg, #f0f8e9, #f8fbf5); }
.company-card { padding: 26px 23px; background: linear-gradient(145deg, #f1f5f0, #faf8f4); }
.company-card h3 { font-size: 1.4rem; }
.company-lead { color: #263c43; }
.company-card ul { display: grid; gap: 11px; margin: 5px 0 24px; padding: 0; list-style: none; }
.company-card li { position: relative; padding-left: 27px; color: var(--muted); font-size: .88rem; }
.company-card li::before { content: "✓"; position: absolute; left: 0; color: var(--sage-dark); font-size: 1.1rem; font-weight: 700; }
.company-cta { width: 100%; margin-top: auto; }
.value-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 36px;
  padding: 22px 0 0; border-top: 1px solid var(--line);
}
.value-strip > div { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 14px; }
.value-strip > div + div { border-left: 1px solid var(--line); }
.value-strip span { color: var(--sage-dark); font-size: 1.9rem; }
.value-strip p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.45; }

.team-section { padding-top: 0; }
.team-banner { color: var(--white); background: linear-gradient(112deg, #003b5c 0%, #135b5c 100%); }
.team-banner-inner { min-height: 280px; display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-block: 42px; }
.team-banner .eyebrow { color: #b9e0c9; }
.team-banner h2 { max-width: 570px; margin-bottom: 12px; }
.team-banner-inner > div:first-child > p:last-child { max-width: 560px; margin-bottom: 0; color: #e8f2ef; font-size: 1.05rem; }
.team-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 24px; min-width: 340px; }
.team-highlights p { margin: 0; color: #f2f7f5; font-size: .9rem; }
.team-highlights span { margin-right: 8px; color: #c5e9d1; font-size: 1.2rem; }
.team-content { padding-top: 29px; }
.team-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.search-box {
  width: min(500px, 100%); min-height: 54px; display: flex; align-items: center; gap: 12px;
  padding: 0 17px; border: 1px solid #cbd9d4; border-radius: 11px; background: #fff;
}
.search-icon { color: var(--sage-dark); font-size: 1.6rem; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .94rem; }
.search-box input::placeholder { color: #64777c; opacity: 1; }
.results-count { margin: 0; color: var(--muted); font-size: .88rem; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.team-card { overflow: hidden; border: 1px solid #e2e9e6; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(0,45,70,.07); }
.team-card > img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; object-position: center 30%; background: var(--sage-pale); }
.team-card-body { display: flex; flex-direction: column; align-items: flex-start; min-height: 260px; padding: 20px; }
.team-card h3 { margin-bottom: 2px; color: var(--navy-deep); font-family: Montserrat, Arial, sans-serif; font-size: 1.28rem; }
.role { margin-bottom: 11px; color: var(--sage-dark); font-size: .87rem; font-weight: 700; }
.bio { flex: 1; margin-bottom: 12px; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.modality { margin-bottom: 15px; color: #536a71; font-size: .8rem; }
.card-cta { width: 100%; margin-top: auto; }
.no-results { padding: 24px; color: var(--muted); text-align: center; }

.orientation {
  display: flex; align-items: center; gap: 24px; margin-top: 0; margin-bottom: 54px;
  padding: 25px 30px; background: var(--sage-pale); border-radius: 15px;
}
.orientation-symbol { color: var(--navy-deep); font-size: 2.4rem; }
.orientation-copy { flex: 1; }
.orientation h2 { margin-bottom: 4px; color: var(--navy-deep); font-size: 1.55rem; }
.orientation p { margin-bottom: 0; color: var(--muted); font-size: .92rem; }

footer { color: var(--white); background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-block: 42px; }
.footer-logo { width: 175px; padding: 4px; border-radius: 4px; background: #fff; }
.footer-grid p, .footer-grid a { color: #e1ece9; font-size: .88rem; }
.footer-brand p { max-width: 280px; margin-top: 14px; }
.footer-grid h2 { margin-bottom: 12px; color: #c6e5d1; font-family: Montserrat, Arial, sans-serif; font-size: 1rem; }
.footer-grid > div:not(:first-child) > a:not(.btn) { display: block; margin: 6px 0; }
.footer-grid a:hover { color: #c6e5d1; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact { font-weight: 700; }
.btn-footer { width: fit-content; min-height: 42px; margin-top: 10px; padding: 8px 15px; color: #fff !important; border: 1px solid #a6d4b6; }
.copyright { padding: 13px 24px; color: #c1d2d5; border-top: 1px solid rgba(255,255,255,.16); font-size: .78rem; text-align: center; }

@media (max-width: 1000px) {
  .nav-wrap { gap: 15px; }
  .brand img { width: 150px; }
  .nav-links { gap: 14px; font-size: .81rem; }
  .plans-layout { grid-template-columns: 1fr; }
  .company-card { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; }
  .company-icon { grid-row: span 2; }
  .company-card ul, .company-cta { grid-column: 2; }
  .company-card ul { margin-bottom: 18px; }
  .company-cta { justify-self: start; width: auto; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 130px; }
  .container { width: min(100% - 36px, 560px); }
  .nav-wrap { min-height: 0; flex-wrap: wrap; padding-block: 12px; }
  .brand img { width: 145px; }
  .header-cta { min-height: 42px; padding: 8px 12px; font-size: .8rem; }
  .nav-links { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; gap: 22px; padding: 4px 0 7px; white-space: nowrap; scrollbar-width: thin; }
  .hero-grid { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 44px 0 28px; }
  h1 { font-size: clamp(2.45rem, 10vw, 3.3rem); }
  .hero-lead { font-size: 1rem; }
  .hero-photo { min-height: 270px; border-radius: 0 0 0 62px; }
  .trust-row { gap: 9px; margin-top: 25px; }
  .trust-row > div { font-size: .7rem; }
  .section { padding-block: 62px; }
  .personal-plans { grid-template-columns: 1fr; }
  .plan-card { min-height: 0; padding: 23px; }
  .price { font-size: 2.2rem; }
  .company-card { display: flex; }
  .company-card ul, .company-cta { grid-column: auto; }
  .company-cta { width: 100%; }
  .value-strip { grid-template-columns: repeat(2, 1fr); row-gap: 5px; }
  .value-strip > div { justify-content: flex-start; padding: 12px 5px; }
  .value-strip > div:nth-child(3) { border-left: 0; }
  .team-banner-inner { min-height: 0; flex-direction: column; align-items: flex-start; gap: 24px; padding-block: 36px; }
  .team-highlights { min-width: 0; width: 100%; gap: 10px 14px; }
  .team-highlights p { font-size: .82rem; }
  .team-grid { grid-template-columns: 1fr; gap: 17px; }
  .team-card { display: grid; grid-template-columns: 34% 66%; }
  .team-card > img { height: 100%; min-height: 100%; aspect-ratio: auto; }
  .team-card-body { min-height: 0; padding: 17px; }
  .team-card h3 { font-size: 1.13rem; }
  .bio { font-size: .83rem; }
  .card-cta { padding-inline: 10px; font-size: .8rem; }
  .team-toolbar { align-items: flex-start; flex-direction: column; gap: 9px; }
  .orientation { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 40px; padding: 22px; }
  .orientation-cta { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-block: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 390px) {
  .container { width: calc(100% - 28px); }
  .brand img { width: 128px; }
  .header-cta { font-size: .72rem; }
  .hero-actions .btn { width: 100%; }
  .team-card { grid-template-columns: 31% 69%; }
  .team-card-body { padding: 13px; }
  .team-card .role, .team-card .bio { font-size: .78rem; }
  .team-card .modality { font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* NEXO SEO V2 - páginas internas, sin alterar los estilos base */
.inner-hero{background:linear-gradient(120deg,#eaf3ef,#f8fbfa);padding:62px 0 50px}.inner-hero h1{max-width:850px;font-size:clamp(2.1rem,5vw,3.65rem);line-height:1.12;color:#003b5c}.inner-hero p{max-width:760px}.breadcrumbs{font-size:.86rem;margin-bottom:24px;color:#42616a}.breadcrumbs a{color:#075d53}.inner-lead{font-size:1.1rem;line-height:1.75}.inner-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,.8fr);gap:40px;padding-top:50px;padding-bottom:72px}.content-panel{background:white;border:1px solid #e0eae5;border-radius:22px;padding:28px;margin-bottom:22px}.content-panel h2{font-size:1.5rem;color:#003b5c;margin-bottom:12px}.content-panel p,.content-panel li{line-height:1.8}.aside-panel{position:sticky;top:130px;background:#f2f7f4;border:1px solid #d9e7de;border-radius:22px;padding:25px;align-self:start}.aside-panel h2{font-size:1.35rem;color:#003b5c}.aside-panel .btn{display:flex;text-align:center;justify-content:center;margin-top:14px}.notice{background:#fff9e9;border-left:4px solid #cba753;padding:14px 18px;border-radius:8px;color:#5b5136;margin-top:18px;font-size:.9rem}.prototype-tag{display:inline-block;background:#e8f1eb;color:#205b4c;font-weight:700;border-radius:99px;padding:6px 12px;font-size:.78rem;margin-bottom:14px}.profile-hero{display:grid;grid-template-columns:260px 1fr;gap:38px;align-items:center}.profile-hero img{width:100%;aspect-ratio:4/4.5;object-fit:cover;border-radius:24px}.service-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.service-link{display:block;border:1px solid #d8e5df;background:#fff;border-radius:16px;padding:22px;text-decoration:none;color:#003b5c}.service-link strong{display:block;margin-bottom:8px}.service-link span{font-size:.88rem;color:#52666b}.prototype-ribbon{background:#003b5c;color:#fff;padding:9px 0;text-align:center;font-size:.84rem}.prototype-ribbon strong{color:#c6e6d2}.faq details{border-bottom:1px solid #dde6e1;padding:16px 0}.faq summary{cursor:pointer;font-weight:700;color:#003b5c}.faq p{padding-top:10px}.inline-links a{color:#006b58;text-decoration:underline}.footer-extra{margin-top:18px;font-size:.85rem}.footer-extra a{display:block;margin:8px 0;color:inherit}@media(max-width:760px){.inner-hero{padding:34px 0}.inner-layout{grid-template-columns:1fr;gap:15px;padding-top:28px}.aside-panel{position:static;order:-1}.profile-hero{grid-template-columns:1fr;gap:18px}.profile-hero img{max-width:270px;aspect-ratio:1}.service-links{grid-template-columns:1fr}.content-panel{padding:20px}}

/* V2.1: carrusel accesible, tarjetas homogéneas y enlaces centrados */
.hero-carousel{position:relative;min-height:500px;overflow:hidden;border-radius:0 0 0 110px;background:#e4eee8;isolation:isolate}
.hero-slides,.hero-slide{position:absolute;inset:0;margin:0}
.hero-slide{opacity:0;visibility:hidden;transition:opacity .5s ease,visibility .5s ease}
.hero-slide.is-active{opacity:1;visibility:visible;z-index:1}
.hero-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.hero-slide figcaption{position:absolute;bottom:0;left:0;right:0;padding:42px 20px 48px;color:#fff;font-weight:700;text-align:center;background:linear-gradient(transparent,rgba(0,35,44,.72));text-shadow:0 1px 5px #1239}
.carousel-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid #ffffffb5;border-radius:50%;background:#003b5ccc;color:#fff;font-size:32px;line-height:1;cursor:pointer}
.carousel-prev{left:12px}.carousel-next{right:12px}
.carousel-arrow:hover,.carousel-arrow:focus-visible{background:#005e61}
.carousel-dots{position:absolute;z-index:3;bottom:14px;left:0;right:0;display:flex;justify-content:center;gap:9px}
.carousel-dot{width:12px;height:12px;padding:0;border:2px solid white;border-radius:50%;background:#ffffff77;cursor:pointer}
.carousel-dot.is-active{background:#fff}
.carousel-dot:focus-visible{outline:3px solid #003b5c;outline-offset:3px}
.service-link{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:156px}
.service-link strong,.service-link span{width:100%}
.team-card{display:flex;flex-direction:column;min-width:0}
.team-card > img{display:block;width:100%;height:auto;aspect-ratio:1.5 / 1;object-fit:cover;object-position:center 30%;flex-shrink:0}
.team-card-body{flex:1;width:100%;min-height:260px}
.team-card .profile-preview-link{display:block;margin-top:7px}
@media(max-width:760px){.hero-carousel{min-height:290px;border-radius:0 0 0 62px}.team-card{display:grid;grid-template-columns:34% 66%}.team-card > img{height:100%;aspect-ratio:auto;object-fit:cover}.team-card-body{min-height:0}.service-link{min-height:125px}}
@media(max-width:480px){.team-card{grid-template-columns:31% 69%}.hero-carousel{min-height:250px}}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}}
