/* Dirección mediterránea seleccionada — El Monaguillo */
:root {
  --med-navy: #062f5f;
  --med-navy-deep: #03274f;
  --med-burgundy: #a6192e;
  --med-burgundy-dark: #841326;
  --med-yellow: #f4c342;
  --med-cream: #fff7e8;
  --med-paper: #fffdf8;
  --med-ink: #0b2342;
  --med-line: #eadcc8;
}

html { scroll-padding-top: 7.5rem; }
body { color: var(--med-ink); background: var(--med-paper); }
body h1, body h2, body h3 { font-family: Figtree, ui-sans-serif, system-ui, sans-serif; font-weight: 700; }
.container { width: min(100% - 3rem, 78rem); }
.section { padding-block: clamp(4rem, 7vw, 6.5rem); }
.eyebrow::before { display: none; }
.section-heading--center { max-width: 53rem; margin-inline: auto; text-align: center; }

.topbar { background: var(--med-navy); }
.topbar__inner { min-height: 2.35rem; align-items: center; padding-block: .35rem; }
.topbar__inner p, .topbar__right a { display: flex; align-items: center; gap: .4rem; }
.topbar__right { gap: 1.35rem; }
.topbar__right a { text-decoration: none; }

.site-header { border-bottom-color: rgb(6 47 95 / 14%); background: rgb(255 255 255 / 98%); }
.site-header__inner { min-height: 5.45rem; }
.brand img { width: clamp(12.5rem, 18vw, 15.25rem); }
.site-nav { gap: .1rem; }
.site-nav a { padding: .7rem .62rem; color: #101827; border-radius: .5rem; font-size: .88rem; font-weight: 700; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--med-burgundy); background: #fff4f0; }
.site-nav a[aria-current="page"] { color: var(--med-burgundy); border-radius: 0; border-bottom: 3px solid var(--med-burgundy); background: transparent; }
.site-nav .nav-cta { margin-left: .65rem; padding-inline: 1.05rem; color: #fff; border-radius: 2rem; background: var(--med-burgundy); box-shadow: 0 8px 20px rgb(166 25 46 / 20%); }
.site-nav .nav-cta:hover, .site-nav .nav-cta:focus-visible { color: #fff; background: var(--med-navy); }

.button { min-height: 3.1rem; border-color: var(--med-burgundy); border-radius: .72rem; background: var(--med-burgundy); box-shadow: 0 9px 20px rgb(166 25 46 / 19%); }
.button:hover { border-color: var(--med-navy); background: var(--med-navy); }
.button--outline { color: var(--med-burgundy); border-color: var(--med-burgundy); background: #fff; }
.button--outline:hover { color: #fff; border-color: var(--med-navy); background: var(--med-navy); }
.button--light { color: var(--med-navy); border-color: #fff; background: #fff; box-shadow: none; }
.button--light:hover { color: #fff; border-color: var(--med-burgundy); background: var(--med-burgundy); }
.eyebrow { color: var(--med-burgundy); }

.editorial-hero { position: relative; overflow: hidden; color: #fff; background: var(--med-navy); }
.editorial-hero__flowers { position: absolute; z-index: 4; top: -8rem; left: -4rem; width: clamp(14rem, 25vw, 23rem); pointer-events: none; }
.editorial-hero__inner { position: relative; z-index: 1; display: grid; min-height: 34rem; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); }
.editorial-hero__copy { position: relative; z-index: 2; display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(3.5rem, 7vw, 5.5rem) clamp(2rem, 5vw, 4.8rem) clamp(3.5rem, 7vw, 5.5rem) 0; }
.editorial-hero__copy .eyebrow { color: #fff1c4; }
.editorial-hero__copy h1 { max-width: 12ch; margin-bottom: .45em; color: #fff; font-size: clamp(3rem, 5.35vw, 5.15rem); line-height: .98; }
.editorial-hero__copy h1 em { color: #ffe28a; font-style: italic; text-decoration: underline; text-decoration-color: var(--med-yellow); text-decoration-thickness: .11em; text-underline-offset: .16em; }
.editorial-hero__copy .lead { max-width: 26rem; color: #fff; font-size: clamp(1.08rem, 1.8vw, 1.28rem); }
.editorial-hero__media { position: relative; min-height: 34rem; overflow: visible; background: var(--med-navy); isolation: isolate; }
.editorial-hero__media::after { position: absolute; z-index: 1; inset: 0 auto 0 0; width: clamp(4.5rem, 9vw, 8rem); border-radius: 55% 0 0 55% / 50% 0 0 50%; background: linear-gradient(90deg, var(--med-navy) 0%, rgb(6 47 95 / 78%) 28%, rgb(6 47 95 / 28%) 66%, transparent 100%); content: ""; pointer-events: none; }
.editorial-hero__photo { width: 100%; height: 100%; border-radius: 20% 0 0 20% / 50% 0 0 50%; object-fit: cover; object-position: 48% center; }
.editorial-hero__mascot { position: absolute; z-index: 3; bottom: -1rem; left: -7rem; width: clamp(11rem, 18vw, 15.5rem); filter: drop-shadow(0 18px 16px rgb(0 0 0 / 24%)); }

.identity-strip { position: relative; z-index: 3; margin-top: -1.35rem; padding-block: 1.2rem 1.65rem; border-radius: 50% 50% 0 0 / 34% 34% 0 0; background: var(--med-cream); }
.identity-strip__inner { display: flex; min-height: 4rem; align-items: center; justify-content: center; color: var(--med-burgundy); font-size: clamp(1.1rem, 2.1vw, 1.45rem); font-weight: 800; text-align: center; }
.identity-strip__inner span { display: inline-flex; align-items: center; }
.identity-strip__inner span + span::before { margin-inline: 1rem; color: var(--med-yellow); content: "·"; font-size: 1.8em; line-height: 0; }

.editorial-services { padding-top: clamp(3rem, 6vw, 5rem); background: var(--med-paper) url('/assets/img/decor-mediterranean-wave.webp') center / cover no-repeat; }
.editorial-services .section-heading h2, .location h2, .home-faq h2, .process h2 { color: var(--med-navy); text-decoration: underline; text-decoration-color: var(--med-burgundy); text-decoration-thickness: .1em; text-underline-offset: .28em; }
.editorial-services .section-heading p { max-width: 44rem; margin-inline: auto; }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-list article { min-width: 0; padding: 1.4rem clamp(1.2rem, 3vw, 2.6rem); text-align: center; }
.service-list article + article { border-left: 1px solid var(--med-line); }
.service-list i { display: block; margin-bottom: 1rem; color: var(--med-burgundy); font-size: 2.65rem; line-height: 1; }
.service-list h3 { max-width: 13rem; margin-inline: auto; color: var(--med-navy); font-size: clamp(1.2rem, 2vw, 1.55rem); }
.service-list p { margin-bottom: 0; color: #344056; }

.story { overflow: hidden; background: var(--med-cream); }
.story__inner { display: grid; align-items: center; grid-template-columns: minmax(15rem, .72fr) minmax(0, 1.28fr); gap: clamp(2.5rem, 6vw, 5rem); }
.story__copy h2 { color: var(--med-burgundy); font-size: clamp(2.7rem, 4.4vw, 4.3rem); text-decoration: underline; text-decoration-color: var(--med-yellow); text-decoration-thickness: .1em; text-underline-offset: .2em; }
.story__copy p { font-size: 1.04rem; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--med-burgundy); font-weight: 800; }
.story__gallery { display: grid; min-height: 29rem; grid-template-columns: repeat(7, 1fr); grid-template-rows: repeat(2, 1fr); gap: .85rem; }
.story__photo { min-height: 0; margin: 0; overflow: hidden; border: .4rem solid #fff; border-radius: 2rem; box-shadow: 0 16px 34px rgb(6 47 95 / 14%); }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__photo--wide { grid-column: 1 / 6; grid-row: 1; }
.story__photo:not(.story__photo--wide):not(.story__photo--coast) { grid-column: 1 / 6; grid-row: 2; }
.story__photo--coast { grid-column: 5 / 8; grid-row: 1 / 3; }
.story__photo--coast img { object-position: 55% center; }

.business-feature { overflow: hidden; color: #fff; background: var(--med-navy); }
.business-feature__inner { display: grid; min-height: 28rem; align-items: center; grid-template-columns: minmax(20rem, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.business-feature__media { align-self: end; min-width: 0; }
.business-feature__media img { width: 100%; max-height: 27rem; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 20px rgb(0 0 0 / 30%)); }
.business-feature__copy { padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.business-feature h2 { max-width: 15ch; color: #fff; font-size: clamp(2.55rem, 4.6vw, 4.25rem); text-decoration: underline; text-decoration-color: var(--med-yellow); text-decoration-thickness: .09em; text-underline-offset: .2em; }
.business-feature p { max-width: 40rem; color: #e9f0f7; font-size: 1.08rem; }
.business-feature .button { border-color: #fff; background: var(--med-burgundy); }

.official-warning { padding: .65rem max(0rem, calc((100vw - 90rem) / 2)); background: #fff; }
.official-warning a { display: block; }
.official-warning img { width: 100%; max-height: 9.5rem; object-fit: contain; }

.process { border-block: 1px solid var(--med-line); background: var(--med-cream); }
.process__inner h2 { max-width: 52rem; margin: 0 auto 2.7rem; text-align: center; }
.process ol { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(3, 1fr); list-style: none; }
.process li { position: relative; display: flex; min-width: 0; align-items: flex-start; gap: .8rem; padding-inline: clamp(1rem, 3vw, 2.4rem); text-align: center; }
.process li + li { border-left: 1px solid var(--med-line); }
.process li > span { display: grid; width: 2rem; height: 2rem; flex: 0 0 2rem; place-items: center; color: #fff; border-radius: 50%; background: var(--med-burgundy); font-weight: 800; }
.process li > div { flex: 1; }
.process li i { display: block; margin: 0 auto .7rem; color: var(--med-burgundy); font-size: 2.25rem; }
.process h3 { margin: .05rem 0 .35rem; color: var(--med-navy); font-size: 1.25rem; }
.process p { margin: 0; color: #505a69; }

.location { background: #fff; }
.location .section-heading { margin-bottom: 3rem; }
.location__grid { display: grid; align-items: stretch; grid-template-columns: minmax(12rem, .55fr) minmax(18rem, .8fr) minmax(20rem, 1.15fr); gap: clamp(1.2rem, 3vw, 2.5rem); }
.location__ambience { min-height: 29rem; margin: 0; overflow: hidden; border-radius: 0 2.8rem 2.8rem 0; }
.location__ambience img { width: 100%; height: 100%; object-fit: cover; }
.location__details { display: grid; align-content: center; gap: .95rem; }
.location__details address, .location__details > div:not(.button-row) { display: grid; margin: 0; grid-template-columns: 1.75rem 1fr; gap: .6rem; font-style: normal; }
.location__details i { color: var(--med-burgundy); font-size: 1.2rem; }
.location__details a { color: var(--med-burgundy-dark); font-weight: 750; }
.location__details .button:not(.button--outline) { color: #fff; }
.location .map-shell { min-height: 26rem; border-color: #d8e1d5; border-radius: 2rem; background: var(--med-cream); box-shadow: none; }
.location .map-shell iframe { height: 29rem; }
.location .map-shell__consent .card__icon { margin-inline: auto; }

.contact-form-section { border-top: 1px solid var(--med-line); background: #f3f7f2; }
.contact-form-section .section-heading { margin-bottom: 2rem; }
.contact-form-section h2 { color: var(--med-navy); text-decoration: underline; text-decoration-color: var(--med-burgundy); text-decoration-thickness: .1em; text-underline-offset: .28em; }
.contact-form { position: relative; display: grid; max-width: 50rem; margin: 1.75rem auto 0; padding: clamp(1.4rem, 4vw, 2.5rem); gap: 1.25rem; border: 1px solid var(--med-line); border-radius: 1.4rem; background: #fff; box-shadow: 0 18px 42px rgb(6 47 95 / 10%); }
.contact-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.contact-form > label, .contact-form__grid label { display: grid; gap: .45rem; color: var(--med-navy); font-weight: 750; }
.contact-form input:not([type="checkbox"]):not([type="hidden"]), .contact-form select, .contact-form textarea { width: 100%; min-height: 3.15rem; padding: .72rem .85rem; color: var(--med-ink); border: 1px solid #cbbda9; border-radius: .65rem; background: #fffdf9; box-shadow: inset 0 1px 2px rgb(6 47 95 / 5%); }
.contact-form textarea { min-height: 9rem; resize: vertical; }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { border-color: var(--med-burgundy); outline: 3px solid rgb(166 25 46 / 18%); outline-offset: 1px; }
.contact-form__consent { display: flex !important; align-items: flex-start; gap: .7rem !important; color: #344056 !important; font-weight: 500 !important; }
.contact-form__consent input { width: 1.2rem; height: 1.2rem; flex: 0 0 1.2rem; margin-top: .12rem; accent-color: var(--med-burgundy); }
.contact-form__consent a { color: var(--med-burgundy-dark); font-weight: 750; }
.contact-form__footer { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.contact-form__footer p { display: flex; max-width: 24rem; align-items: center; gap: .55rem; margin: 0; color: #556171; font-size: .9rem; }
.contact-form__footer p i { color: var(--med-burgundy); font-size: 1.2rem; }
.contact-form__success { display: flex; max-width: 50rem; align-items: center; margin: 1.5rem auto; padding: 1rem 1.2rem; gap: .8rem; color: #123f2a; border: 1px solid #98c4aa; border-radius: .8rem; background: #eef9f1; }
.contact-form__success[hidden] { display: none; }
.contact-form__success > i { font-size: 1.6rem; }
.contact-form__success strong, .contact-form__success span { display: block; }
.contact-form__honey { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.home-faq { border-top: 1px solid var(--med-line); background: var(--med-paper); }
.home-faq__inner { display: block; }
.home-faq .section-heading { margin-bottom: 2.2rem; }
.home-faq .faq-list { max-width: 68rem; margin-inline: auto; gap: .45rem; }
.home-faq details { border-color: #ddcebb; border-radius: .55rem; box-shadow: none; }
.home-faq summary { padding-block: .9rem; color: var(--med-navy); }

.cta-band { position: relative; overflow: hidden; background: var(--med-burgundy); }
.cta-band__inner { min-height: 9rem; padding-left: clamp(9rem, 18vw, 15rem); }
.cta-band__mascot { position: absolute; bottom: -3.8rem; left: max(1rem, calc((100vw - 78rem) / 2)); width: clamp(8.5rem, 15vw, 12.5rem); filter: drop-shadow(0 10px 12px rgb(0 0 0 / 20%)); }
.cta-band__copy { flex: 1; }
.cta-band h2 { color: #fff; font-size: clamp(2.3rem, 4.5vw, 4rem); }
.cta-band p { max-width: 32rem; }
.cta-band .button-row { margin-top: 0; }
.cta-band .button--light { color: var(--med-burgundy-dark); border-color: #fff; background: #fff; }

.site-footer { background: var(--med-navy); }
.site-footer__main { grid-template-columns: 1.15fr .75fr .75fr 1fr; }
.footer-brand img { filter: brightness(0) invert(1); }
.site-footer .pill { color: var(--med-navy); background: #fff; }
.site-footer__bottom a, .site-footer__bottom .footer-cookie-button { color: #dbe6ee; }

/* Páginas estáticas de apoyo: la misma cabecera y el mismo tono mediterráneo. */
.page-hero { background: var(--med-cream); }
.page-hero::after { display: none; }
.page-hero h1 { color: var(--med-burgundy); }
.page-hero__mascot { max-height: 14rem; }
.card { border-color: var(--med-line); border-radius: .85rem; box-shadow: 0 10px 26px rgb(6 47 95 / 7%); }
.section--aqua { background: #f3f7f2; }
.section--cream { background: var(--med-cream); }
.trust-strip { background: var(--med-navy); }
.map-shell { background: var(--med-cream); }

@media (max-width: 74rem) {
  .site-nav a { padding-inline: .42rem; font-size: .8rem; }
  .site-nav .nav-cta { margin-left: .2rem; }
}

@media (max-width: 64rem) {
  .site-nav a { padding: .85rem; font-size: .95rem; }
  .site-nav .nav-cta { margin: .25rem 0 0; }
  .editorial-hero__copy { padding-right: 2rem; }
  .location__grid { grid-template-columns: minmax(12rem, .55fr) minmax(18rem, 1fr); }
  .location .map-shell { grid-column: 1 / -1; }
}

@media (max-width: 52rem) {
  .container { width: min(100% - 2rem, 78rem); }
  .editorial-hero__inner { grid-template-columns: 1fr; }
  .editorial-hero__copy { padding: 3.5rem 0 6.5rem; }
  .editorial-hero__flowers { top: -5rem; left: -3.8rem; width: 15rem; }
  .editorial-hero__copy h1 { max-width: 12ch; }
  .editorial-hero__media { min-height: 25rem; margin-inline: -1rem; }
  .editorial-hero__media::after { inset: 0 0 auto; width: 100%; height: 6.5rem; border-radius: 50% 50% 0 0 / 32% 32% 0 0; background: linear-gradient(180deg, var(--med-navy) 0%, rgb(6 47 95 / 62%) 35%, transparent 100%); }
  .editorial-hero__photo { border-radius: 50% 50% 0 0 / 14% 14% 0 0; }
  .editorial-hero__mascot { top: -6rem; bottom: auto; left: 50%; width: min(31vw, 13rem); transform: translateX(-50%); }
  .identity-strip { margin-top: -1rem; border-radius: 50% 50% 0 0 / 20% 20% 0 0; }
  .identity-strip__inner { flex-wrap: wrap; padding-block: .7rem; }
  .service-list { grid-template-columns: 1fr; }
  .service-list article + article { border-top: 1px solid var(--med-line); border-left: 0; }
  .story__inner, .business-feature__inner { grid-template-columns: 1fr; }
  .story__gallery { min-height: 24rem; }
  .business-feature__media { order: 2; }
  .business-feature__copy { padding-bottom: 0; }
  .business-feature__media img { max-height: 22rem; }
  .process ol { grid-template-columns: 1fr; gap: 1.25rem; }
  .process li { padding: 0; text-align: left; }
  .process li + li { padding-top: 1.25rem; border-top: 1px solid var(--med-line); border-left: 0; }
  .process li i { margin-left: 0; }
  .location__grid { grid-template-columns: .72fr 1.28fr; }
  .location__ambience { min-height: 25rem; }
  .location .map-shell { grid-column: 1 / -1; }
  .cta-band__inner { align-items: flex-start; flex-direction: column; padding-left: clamp(8rem, 28vw, 12rem); }
  .site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 36rem) {
  .topbar__inner { justify-content: center; }
  .topbar__inner > p { display: none; }
  .topbar__right { width: 100%; justify-content: space-between; gap: .5rem; font-size: .76rem; }
  .brand img { width: 10.75rem; }
  .editorial-hero__copy h1 { font-size: clamp(2.65rem, 13vw, 3.7rem); }
  .editorial-hero__flowers { top: -3.2rem; left: -2.8rem; width: 10.5rem; }
  .editorial-hero__copy { padding-bottom: 5.8rem; }
  .editorial-hero__media { min-height: 19rem; }
  .editorial-hero__media::after { height: 5.25rem; }
  .editorial-hero__mascot { top: -5rem; width: min(36vw, 9.8rem); }
  .identity-strip__inner { display: grid; gap: .15rem; }
  .identity-strip__inner span { justify-content: center; }
  .identity-strip__inner span + span::before { display: none; }
  .story__gallery { min-height: 29rem; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
  .story__photo--wide { grid-column: 1 / -1; grid-row: 1; }
  .story__photo:not(.story__photo--wide):not(.story__photo--coast) { grid-column: 1; grid-row: 2; }
  .story__photo--coast { grid-column: 2; grid-row: 2; }
  .location__grid { grid-template-columns: 1fr; }
  .location__ambience { min-height: 16rem; border-radius: 1.5rem; }
  .location .map-shell { grid-column: auto; }
  .cta-band__inner { padding-left: 0; }
  .cta-band__mascot { display: none; }
  .official-warning { padding-inline: .2rem; }
  .official-warning img { max-height: none; }
  .contact-form { padding: 1.2rem; border-radius: 1rem; }
  .contact-form__grid { grid-template-columns: 1fr; }
  .contact-form__footer { align-items: stretch; flex-direction: column; }
  .contact-form__footer .button { width: 100%; }
  .site-footer__main { grid-template-columns: 1fr; }
}
