/* Public editorial experience. The base retains shared navigation and fallbacks. */
.hmv-home.hmv-experience { --paper: #f9f6ef; --soft: #f1eee8; --ink: #2c1736; --hero-bg: #32163d; --hero-accent: #e9c793; }
.hmv-experience[data-day-phase="morning"] { --hero-bg: #442149; --hero-accent: #f4d7a8; }
.hmv-experience[data-day-phase="evening"] { --hero-bg: #25132e; --hero-accent: #dfbc91; }
.hmv-experience[data-calendar="anniversary-day"] { --hero-accent: #ffe1a2; }
.hmv-experience .utility-bar { background: #f9f6ef; }
.hmv-experience .nav { background: #fffdfa; }
.hmv-experience .hero { background: var(--hero-bg); color: #fff9f0; padding: 64px 0 0; position: relative; overflow: hidden; }
.hmv-experience .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 50px 50px; position: relative; z-index: 1; }
.hmv-experience .hero-copy { padding-bottom: 8px; }
.hmv-experience .hero-orbit { position: absolute; width: 760px; height: 760px; border: 1px solid #ffffff12; border-radius: 50%; top: -190px; right: -220px; pointer-events: none; }
.hmv-experience .hero-orbit::after { content: ''; position: absolute; inset: 70px; border: 1px solid #ffffff12; border-radius: inherit; }
.hmv-experience .hero .eyebrow { color: var(--hero-accent); font-size: 10px; letter-spacing: .16em; margin-bottom: 20px; }
.hmv-experience h1 { font-size: clamp(58px,6.7vw,90px); line-height: .98; letter-spacing: -.065em; font-weight: 500; }
.hmv-experience h1 span { display: block; color: #fff9f0; }
.hmv-experience h1 em { display: block; color: var(--hero-accent); font: italic 1.17em/.95 Georgia,serif; letter-spacing: -.065em; }
.hmv-experience .hero-description { color: #dfd3e2; font-size: 14px; margin-top: 28px; }
.hmv-experience .hero-cta { margin-top: 26px; }
.hmv-experience .button { border-radius: 28px; padding-inline: 24px; }
.hmv-experience .hero .button-primary { background: var(--hero-accent); color: #32163d; }
.hmv-experience .hero .button-primary:hover { background: #ffe5be; }
.hmv-experience .hero .button-outline { color: #fff9f0; border-color: #ffffff45; }
.hmv-experience .hero .button-outline:hover { background: #ffffff12; }
.hmv-experience .hero-location { color: #d4c4dc; font-size: 10px; gap: 8px; flex-wrap: wrap; }
.hmv-experience .status-dot { background: #96c4a6; }
.hmv-experience .today-note { color: #e4d6e8; margin-bottom: 20px; }
.hmv-experience .today-note time { color: #c5b3cf; }
.hmv-experience .today-note strong { font-size: 10px; font-weight: 500; }
.hmv-experience .today-symbol { background: #ffffff0d; color: var(--hero-accent); width: 28px; height: 28px; }
.hmv-experience .today-campaign { background: transparent; border: 0; color: var(--hero-accent); border-radius: 0; padding: 5px 0; border-bottom: 1px solid #dcb77e50; margin-top: 12px; }
.hmv-experience .hero-photo { width: min(100%,430px); height: 550px; justify-self: center; border-radius: 220px 220px 20px 20px; overflow: visible; background: transparent; margin-top: 25px; transform: translateY(var(--photo-shift,0px)); }
.hmv-experience .photo-window { height: 100%; border-radius: inherit; overflow: hidden; position: relative; background: #4e3a52; }
.hmv-experience .photo-window::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent,#1f15264d); pointer-events: none; }
.hmv-experience .hero-photo img { object-position: center; }
.hmv-experience .hero-photo::before { content: ''; position: absolute; inset: -15px 18px 15px -18px; border: 1px solid #dcb77e65; border-radius: inherit; pointer-events: none; }
.hmv-experience .hero-photo::after { display: none; }
.hmv-experience .photo-coordinate { position: absolute; top: 90px; right: -28px; writing-mode: vertical-rl; font-size: 9px; line-height: 1.5; letter-spacing: .22em; color: #cbb9d2; }
.hmv-experience .hero-photo figcaption { left: -32px; bottom: 38px; background: #fffcf4; color: #32163d; padding: 18px 24px; border-radius: 14px; box-shadow: 0 16px 45px #15091d38; display: flex; align-items: center; gap: 14px; font-size: 16px; }
.hmv-experience .hero-photo figcaption > .icon { width: 32px; height: 32px; }
.hmv-experience .hero-photo figcaption span { font-size: 16px; letter-spacing: 0; margin: 0; }
.hmv-experience .hero-photo figcaption small { display: block; font-size: 7px; letter-spacing: .13em; margin-bottom: 4px; }
.hmv-experience .hero-anniversary { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; top: 5px; right: -25px; width: 128px; height: 128px; border-radius: 50%; background: var(--hero-accent); color: #32163d; border: 7px solid var(--hero-bg); transform: rotate(9deg); box-shadow: 0 12px 30px #160d2040; }
.hmv-experience .hero-anniversary strong { font: 50px/.9 Georgia,serif; letter-spacing: -.05em; }
.hmv-experience .hero-anniversary span { font-size: 7px; font-weight: 700; text-align: center; letter-spacing: .12em; margin-top: 6px; }
.hmv-experience .hero-anniversary .icon { width: 14px; height: 14px; margin-top: 3px; }
.hmv-experience .quick-actions { border-radius: 18px 18px 0 0; background: #fffaf1; border: 0; grid-row: 2; gap: 0; }
.hmv-experience .quick-action { min-height: 94px; padding: 24px; font-size: 12px; }
.hmv-experience .quick-action + .quick-action { border-color: #e8dfd0; }
.hmv-experience .quick-action > .icon:first-child { width: 32px; height: 32px; }
.hmv-experience .section { padding: 94px 0; }
.hmv-experience h2 { font-size: clamp(36px,4.6vw,58px); font-weight: 500; letter-spacing: -.055em; line-height: 1.04; }
.hmv-experience h2 em { font-family: Georgia,serif; color: #80518a; font-weight: 400; }
.hmv-experience .section-heading { margin-bottom: 38px; }
.hmv-experience .section-heading > p { font-size: 14px; }
.hmv-experience .service-tabs { display: grid; grid-template-columns: repeat(3,1fr); padding: 7px; gap: 7px; background: #eee9e3; border-radius: 40px; margin-bottom: 24px; width: min(100%,660px); }
.hmv-experience .service-tabs button { min-height: 48px; border: 0; border-radius: 30px; color: #756577; background: transparent; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 12px; font-weight: 600; transition: background 220ms,color 220ms,box-shadow 220ms; }
.hmv-experience .service-tabs button[aria-selected="true"] { background: #32163d; color: #fff9f0; box-shadow: 0 5px 12px #32163d20; }
.hmv-experience .service-tabs .icon { width: 19px; height: 19px; }
.hmv-experience .service-grid { grid-template-columns: 1fr; }
.hmv-experience .service-card { padding: 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; background: #faf7f1; overflow: hidden; border-radius: 24px; border-color: #e8dfd0; }
.hmv-experience .service-card:hover { transform: none; box-shadow: none; }
.hmv-experience .service-content { padding: 42px 48px; align-self: center; }
.hmv-experience .service-top { margin-bottom: 20px; }
.hmv-experience .service-content h3 { font-size: clamp(26px,3.2vw,40px); font-weight: 500; letter-spacing: -.055em; }
.hmv-experience .service-card p { font-size: 14px; margin: 18px 0 24px; max-width: 390px; }
.hmv-experience .service-content .text-link { padding: 12px 22px; background: #32163d; border-radius: 30px; color: #fff9f0; }
.hmv-experience .service-visual { background: #e8ddc6; min-height: 370px; padding: 38px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #4f354a; position: relative; overflow: hidden; align-self: stretch; }
.hmv-experience .service-visual::before { content: ''; position: absolute; width: 290px; height: 290px; border: 1px solid #4f354a20; border-radius: 50%; }
.hmv-experience .service-visual::after { content: ''; position: absolute; width: 350px; height: 350px; border: 1px solid #4f354a15; border-radius: 50%; }
.hmv-experience .service-visual > .icon { width: 44px; height: 44px; margin-bottom: 18px; z-index: 1; }
.hmv-experience .service-visual > span { font-size: clamp(44px,5.5vw,72px); line-height: 1.05; font-weight: 500; letter-spacing: -.06em; z-index: 1; }
.hmv-experience .service-visual em { font-family: Georgia,serif; font-weight: 400; }
.hmv-experience .service-visual small { margin-top: 22px; font-size: 8px; letter-spacing: .15em; z-index: 1; }
.hmv-experience .service-maternity .service-visual { background: #ead9e4; color: #683552; }
.hmv-experience #cirugia .service-visual { background: #dbe8df; color: #315044; }
.hmv-experience .specialties { gap: 0; border-top: 1px solid #d6ced9; }
.hmv-experience .specialties a { border-radius: 0; border: 0; border-bottom: 1px solid #d6ced9; background: transparent; padding: 28px 22px; font-size: 15px; min-height: 85px; }
.hmv-experience .specialties .icon { border-radius: 50%; width: 32px; height: 32px; padding: 8px; background: #e8dfeb; }
.hmv-experience .campaign-section { background: #eadeca; position: relative; overflow: hidden; }
.hmv-experience .campaign-watermark { position: absolute; right: -20px; top: -100px; font: 520px/.9 Georgia,serif; letter-spacing: -.12em; color: #b99b6540; pointer-events: none; }
.hmv-experience .campaign-inner { position: relative; gap: 75px; }
.hmv-experience .campaign-art { border: 1px solid #cdbb9755; background: #f8f4e9; min-height: 340px; border-radius: 24px; box-shadow: 0 22px 50px #745d2110; transform: rotate(-4deg); padding: 35px; }
.hmv-experience .campaign-copy h2 { font-size: clamp(38px,4.5vw,58px); }
.hmv-experience .campaign-copy p:not(.eyebrow) { color: #685846; font-size: 14px; }
.hmv-experience #contacto { background: #291633; color: #fff9f0; }
.hmv-experience #contacto h2 em { color: var(--hero-accent); }
.hmv-experience #contacto .eyebrow { color: var(--hero-accent); }
.hmv-experience #contacto :is(.contact-address,.smallprint) { color: #cfbfd6; }
.hmv-experience #contacto .button-primary { background: var(--hero-accent); color: #291633; }
.hmv-experience .contact-panel { background: #fffaf1; color: #291633; border: 0; border-radius: 24px; padding: 32px; }
.hmv-experience .community { padding-block: 64px; }
@media (max-width:1100px) {
  .hmv-experience .hero-grid { gap: 40px; }
  .hmv-experience .hero-photo { width: min(100%,370px); height: 510px; }
  .hmv-experience .hero-anniversary { width: 110px; height: 110px; right: -12px; }
}
@media (max-width:899px) {
  .hmv-experience .hero { padding-top: 36px; }
  .hmv-experience .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hmv-experience .hero-copy { grid-row: 1; }
  .hmv-experience h1 { font-size: clamp(49px,11vw,80px); }
  .hmv-experience .hero-description { margin-top: 22px; font-size: 13px; }
  .hmv-experience .hero-photo { grid-row: 3; height: 420px; width: min(calc(100% - 30px),340px); margin-top: 4px; margin-bottom: 45px; border-radius: 180px 180px 20px 20px; }
  .hmv-experience .photo-coordinate { right: -23px; }
  .hmv-experience .hero-photo figcaption { left: -12px; bottom: 30px; padding: 15px 18px; }
  .hmv-experience .hero-photo figcaption span { font-size: 14px; }
  .hmv-experience .hero-anniversary { right: -18px; top: 8px; width: 100px; height: 100px; border-width: 5px; }
  .hmv-experience .hero-anniversary strong { font-size: 37px; }
  .hmv-experience .hero-anniversary span { font-size: 6px; }
  .hmv-experience .quick-actions { grid-row: 2; grid-template-columns: repeat(2,1fr); border-radius: 16px; }
  .hmv-experience .quick-action { min-height: 78px; padding: 19px 14px; font-size: 11px; }
  .hmv-experience .quick-action > .icon:first-child { width: 24px; height: 24px; }
  .hmv-experience .hero-orbit { width: 700px; height: 700px; top: 420px; right: -340px; }
  .hmv-experience .section { padding: 60px 0; }
  .hmv-experience h2 { font-size: clamp(34px,7.5vw,48px); }
  .hmv-experience .section-heading { margin-bottom: 28px; }
  .hmv-experience .service-tabs { padding: 5px; gap: 3px; }
  .hmv-experience .service-tabs button { font-size: 10px; gap: 6px; }
  .hmv-experience .service-tabs .icon { width: 16px; height: 16px; }
  .hmv-experience .service-card { grid-template-columns: 1fr; }
  .hmv-experience .service-visual { min-height: 240px; padding: 26px; }
  .hmv-experience .service-visual > span { font-size: 46px; }
  .hmv-experience .service-visual > .icon { width: 30px; height: 30px; margin-bottom: 12px; }
  .hmv-experience .service-visual small { margin-top: 14px; }
  .hmv-experience .service-content { padding: 30px; }
  .hmv-experience .service-content h3 { font-size: 31px; }
  .hmv-experience .specialties a { min-height: 74px; font-size: 12px; padding: 20px 12px; }
  .hmv-experience .campaign-art { min-height: 230px; padding: 28px; margin: 10px; }
  .hmv-experience .campaign-watermark { font-size: 340px; top: 180px; right: -10px; }
  .hmv-experience .campaign-inner { gap: 40px; }
  .hmv-experience .campaign-copy h2 { font-size: 41px; }
  .hmv-experience .contact-panel { padding: 20px; }
  .hmv-experience .community { padding-block: 45px; }
}
@media (prefers-reduced-motion:reduce) {
  .hmv-experience .hero-photo { transform: none !important; }
  .hmv-experience .service-tabs button { transition: none; }
}

/* Readable institutional palette on each surface, including nested light cards. */
.hmv-experience .hero-description { color: #f2eaf4; }
.hmv-experience .hero-location, .hmv-experience .today-note time { color: #e5d8eb; font-size: 12px; }
.hmv-experience .today-note strong { font-size: 12px; }
.hmv-experience .service-tabs button { color: #59465e; }
.hmv-experience #contacto .contact-panel { color: #291633; }
.hmv-experience #contacto .contact-line small,
.hmv-experience #contacto .contact-email { color: #625068; }
.hmv-experience :is(a,button,summary):focus-visible { outline: 3px solid #9255a0; outline-offset: 4px; }
.hmv-experience .hero :is(a,button):focus-visible,
.hmv-experience #contacto > .container > div:first-child a:focus-visible { outline-color: #f4d7a8; }
.hmv-pwa-install[hidden] { display: none !important; }

/* Mobile first composition: the real hospital anchors the opening screen. */
@media (max-width:899px) {
  .hmv-experience .hero { padding-top: 0; }
  .hmv-experience .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hmv-experience .hero-photo {
    order: 0; width: 100%; height: clamp(210px, 35svh, 340px);
    margin: 0; border-radius: 0; transform: none;
  }
  .hmv-experience .photo-window { border-radius: 0; }
  .hmv-experience .hero-photo img { object-position: center 48%; }
  .hmv-experience .hero-photo::before, .hmv-experience .photo-coordinate,
  .hmv-experience .hero-photo figcaption { display: none; }
  .hmv-experience .hero-anniversary {
    top: auto; bottom: 16px; right: 16px; width: 76px; height: 76px;
    border-width: 3px; transform: none; box-shadow: none;
  }
  .hmv-experience .hero-anniversary strong { font-size: 30px; }
  .hmv-experience .hero-anniversary span { font-size: 7px; }
  .hmv-experience .hero-anniversary .icon { display: none; }
  .hmv-experience .hero-copy { order: 1; padding: 24px 0 28px; }
  .hmv-experience .today-note { margin-bottom: 14px; }
  .hmv-experience .today-note strong, .hmv-experience .today-note time { font-size: 12px; }
  .hmv-experience .hero .eyebrow { font-size: 12px; margin-bottom: 14px; }
  .hmv-experience h1 { font-size: clamp(43px, 11vw, 72px); }
  .hmv-experience h1 span { display: inline; }
  .hmv-experience h1 span:first-child::after { content: ' '; }
  .hmv-experience h1 em { font-size: 1.1em; }
  .hmv-experience .hero-description { font-size: 15px; margin-top: 18px; }
  .hmv-experience .hero-cta { margin-top: 20px; }
  .hmv-experience .hero-location { font-size: 12px; }
  .hmv-experience .today-campaign { font-size: 12px; }
  .hmv-experience .quick-actions { order: 2; width: 100%; margin: 0 0 24px; }
  .hmv-experience .quick-action { font-size: 14px; padding: 15px 12px; min-height: 68px; }
  .hmv-experience .service-tabs button { font-size: 12px; }
  .hmv-experience .hero-orbit { display: none; }
}
.hmv-experience .hero-photo .photo-window { transition: border-radius 350ms ease; }

/* Header and hero share a continuous institutional surface. */
.hmv-home.hmv-experience .nav { background:var(--hero-bg); color:#fff9f0; border-bottom:0; }
.hmv-experience .nav-inner { min-height:80px; gap:24px; }
.hmv-experience .nav .brand-logo { width:112px; height:63px; border-radius:8px; background:#fff; }
.hmv-experience .nav-links a:hover, .hmv-experience .nav-mobile a:hover { color:var(--hero-accent); }
.hmv-experience .nav-book, .hmv-experience .burger { border-color:#ffffff45; background:transparent; color:#fff9f0; }
.hmv-experience .burger span { background:currentColor; }
.hmv-experience .nav-mobile { background:var(--hero-bg); }
.hmv-experience .menu-secondary { border-color:#ffffff30; color:#e0d2e6; }
.hmv-experience .hero { padding-top:40px; }
.hmv-home.hmv-experience .footer { background:#302239; color:#f4edf6; padding-top:38px; }
.hmv-experience .footer-inner { grid-template-columns:1fr 1fr; gap:24px 36px; text-align:center; }
.hmv-experience .footer-brand { grid-column:1 / -1; display:grid; justify-items:center; gap:10px; }
.hmv-experience .footer-brand img { width:132px; height:74px; object-fit:contain; border-radius:9px; background:#fff; }
.hmv-experience .footer-brand strong { font-size:14px; font-weight:600; }
.hmv-experience .footer-brand p { margin:0; font-size:12px; }
.hmv-experience .footer nav, .hmv-experience .footer-social { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:12px 20px; }
.hmv-experience .footer nav a, .hmv-experience .footer-social a { min-height:44px; display:inline-flex; align-items:center; }
.hmv-experience .footer-colophon { grid-column:1 / -1; border-top:1px solid #ffffff22; padding-top:16px; }
.hmv-experience .footer-colophon p { margin:0; font-size:11px; }
.hmv-experience .footer-signature { margin-top:8px; font-size:12px; color:#dac9e3; }
.hmv-experience .hmv-signature strong { font:inherit; font-weight:600; color:#f0d2a3; }
@media (max-width:899px) {
  .hmv-experience .nav-inner { min-height:72px; }
  .hmv-experience .nav .brand-logo { width:96px; height:54px; }
  .hmv-experience .hero { padding-top:8px; }
  .hmv-experience .footer-inner { grid-template-columns:1fr; gap:20px; }
}

.hmv-home.hmv-experience .footer .text-link { color:#f0d2a3; }

.hmv-home.hmv-experience .nav .text-link { color:var(--hero-accent); }
