/* =====================================================================
   AMADORA TOUR · Estilos generales
   Colores tomados del logo
   ===================================================================== */

@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: italic; font-display: swap; src: url("../fonts/montserrat-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }

:root {
  /* Marca */
  --sky: #9edcf1;
  --yellow: #faca2a;
  --orange: #e16522;
  --green: #4b8e44;
  --brown: #6a5630;

  /* Derivados */
  --orange-soft: #f08a3c;
  --orange-deep: #b94c14;
  --sky-pale: #eaf7fc;
  --ink: #163240;
  --ink-2: #2b4652;
  --muted: #55707b;
  --line: #d7e7ee;
  --white: #ffffff;
  --sand: #fbf7ef;

  --font-display: "Montserrat", "Arial Black", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -18px rgba(22, 50, 64, .45);
  --shadow-sm: 0 6px 18px -8px rgba(22, 50, 64, .35);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --topbar-h: 34px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* ----------------------------- Botones ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  padding: .85em 1.5em; border-radius: 999px; border: 0; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { font-size: 1.2em; }
.btn--orange { background: var(--orange); color: var(--white); box-shadow: 0 10px 22px -10px rgba(225, 101, 34, .8); }
.btn--orange:hover { background: #cf5716; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #ffd54a; }
.btn--green { background: var(--green); color: var(--white); }
.btn--ghost { background: rgba(255,255,255,.14); color: var(--white); border: 1.5px solid rgba(255,255,255,.55); }

/* ----------------------------- Topbar ----------------------------- */
.topbar { background: var(--ink); color: #e6f3f8; font-size: 13px; font-weight: 600; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: var(--topbar-h); gap: 16px; }
.topbar__links { display: flex; gap: 22px; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--yellow); }
.topbar .icon { font-size: 15px; }

/* ----------------------------- Header ----------------------------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(22,50,64,.06); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 56px; height: 56px; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.32rem; letter-spacing: .02em; line-height: 1; color: var(--ink); }
.brand__sub { display: block; font-size: .82rem; font-weight: 700; color: var(--brown); margin-top: 3px; letter-spacing: 0; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; color: var(--ink); background: none; border: 0;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--orange); }
.nav__link.is-active { color: var(--orange); }
.nav__link .icon { font-size: 15px; transition: transform .2s; }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px);
  min-width: 330px; background: var(--white); border-radius: 18px; padding: 8px;
  box-shadow: 0 24px 50px -20px rgba(22,50,64,.45); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transition: .18s ease;
}
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.dropdown a small { color: var(--muted); font-weight: 600; font-size: .78rem; white-space: nowrap; }
.dropdown a:hover { background: var(--sky-pale); color: var(--orange); }
.nav .btn { margin-left: 8px; padding: .7em 1.3em; }
.menu-btn { display: none; background: none; border: 0; color: var(--ink); padding: 8px; font-size: 28px; }

@media (max-width: 860px) {
  .topbar__tag { display: none; }
  .topbar .wrap { justify-content: center; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h)) 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--white); padding: 12px var(--gutter) 22px; gap: 2px;
    box-shadow: 0 30px 40px -20px rgba(22,50,64,.4); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .header.is-menu .nav { transform: none; opacity: 1; visibility: visible; }
  .nav__link { width: 100%; justify-content: space-between; font-size: 1.05rem; padding: 12px 6px; border-radius: 0; }
  .dropdown { position: static; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 8px; display: none; opacity: 1; visibility: visible; min-width: 0; }
  .nav__item.is-open .dropdown { display: block; transform: none; }
  .nav .btn { margin: 10px 0 0; }
  .brand img { width: 46px; height: 46px; }
  .brand__name { font-size: 1.12rem; }
}

/* ----------------------------- Tarjetas de paquete ----------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 22px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: minmax(0, 1fr); } }

.card { display: flex; flex-direction: column; gap: 12px; }
.card__media {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 3 / 4.15; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--white); box-shadow: var(--shadow);
  /* fondo de respaldo si la foto no carga */
  background: radial-gradient(120% 80% at 80% 10%, #2f7fa0 0%, transparent 60%), linear-gradient(160deg, #2b6f8a, #163240 70%);
}
.card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media > img { transform: scale(1.06); }
.card__media::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,36,48,.78) 0%, rgba(14,36,48,.25) 30%, rgba(14,36,48,0) 45%, rgba(14,36,48,.55) 62%, rgba(14,36,48,.94) 82%, #10293a 100%);
}
.card__badge {
  position: absolute; top: 0; right: 0; width: 84px; height: 84px; padding: 10px 10px 0 0;
  background: var(--sky); border-bottom-left-radius: 100%; display: grid; place-items: start end;
}
.card__badge img { width: 58px; height: 58px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.15)); }
.card__top { padding: 24px 92px 0 22px; }
.card__title { font-weight: 900; font-size: clamp(1.25rem, 1.9vw, 1.6rem); text-transform: uppercase; line-height: 1; letter-spacing: 0; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.card__sub { font-size: .95rem; font-weight: 600; margin-top: 6px; opacity: .95; }
.tag { display: inline-block; margin-top: 10px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .74rem; padding: 3px 9px; border-radius: 6px; line-height: 1.4; }
.card__bottom { padding: 0 16px 20px; text-align: center; }
.card__pre { font-family: var(--font-display); font-weight: 800; font-size: .98rem; }
.card__price { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 3.1vw, 2.45rem); line-height: 1.05; letter-spacing: -.01em; text-shadow: 0 3px 16px rgba(0,0,0,.35); }
.card__price--ask { font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1; }
.card__salida { font-weight: 600; font-size: .98rem; margin-top: 2px; }
.incl { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 6px; }
.incl li { flex: 0 0 calc(33.333% - 6px); display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: .72rem; font-weight: 800; line-height: 1.2; }
.incl .icon { font-size: 25px; stroke-width: 1.6; }
.card__nota { margin-top: 12px; font-size: .84rem; font-weight: 800; line-height: 1.3; }
.card__btn {
  width: 100%; border: 0; border-radius: 999px; padding: 14px 18px; background: var(--orange); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 1.05rem;
  box-shadow: 0 10px 22px -12px rgba(225, 101, 34, .9); transition: background .2s, transform .2s;
}
.card__btn:hover { background: #cf5716; transform: translateY(-2px); }
.card__dest { position: absolute; left: 22px; bottom: auto; }

/* Tarjeta "próximas salidas" */
.soon {
  border: 2px dashed var(--sky); background: var(--sky-pale); border-radius: var(--radius);
  aspect-ratio: 3 / 4.15; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 30px; gap: 14px;
}
.soon__icon { width: 96px; height: 96px; border-radius: 50%; border: 4px solid var(--yellow); display: grid; place-items: center; color: var(--green); background: var(--white); }
.soon__icon .icon { font-size: 44px; }
.soon h3 { font-size: 1.7rem; font-weight: 800; }
.soon p { color: var(--ink-2); max-width: 30ch; }

/* ----------------------------- Hero de destino ----------------------------- */
.dest-hero { position: relative; background: var(--orange); color: var(--white); overflow: hidden; padding: 40px 0 190px; text-align: center; }
.dest-hero__sun { position: absolute; right: 4%; top: 22px; width: clamp(110px, 12vw, 150px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #ffbf3a, #eea12a 70%); opacity: .95; }
.dest-hero__path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.crumb { position: relative; display: inline-flex; gap: 6px; background: rgba(110, 40, 8, .55); padding: 5px 14px; border-radius: 999px; font-size: .86rem; font-weight: 700; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--yellow); }
.dest-hero h1 { position: relative; font-weight: 900; font-size: clamp(2.6rem, 9.5vw, 7rem); text-transform: uppercase; margin-top: 18px; letter-spacing: -.01em; line-height: .95; }
.dest-hero p { position: relative; margin: 14px auto 0; max-width: 46ch; font-weight: 600; font-size: 1.05rem; opacity: .95; }
.dest-body { margin-top: -150px; position: relative; padding-bottom: 70px; }
.dest-count { display: flex; justify-content: space-between; align-items: center; margin: 0 0 18px; color: var(--white); font-weight: 700; }

/* ----------------------------- CTA y footer ----------------------------- */
.cta { background: var(--sky); padding: 46px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.cta p { margin-top: 6px; color: var(--ink-2); max-width: 52ch; }

.footer { background: var(--ink); color: #d9eaf1; position: relative; }
.footer__stripe { display: grid; grid-template-columns: 1fr 1fr 1fr .45fr .3fr; height: 6px; }
.footer__stripe span:nth-child(1) { background: transparent; }
.footer__stripe span:nth-child(2) { background: var(--yellow); }
.footer__stripe span:nth-child(3) { background: var(--orange); }
.footer__stripe span:nth-child(4) { background: var(--green); }
.footer__stripe span:nth-child(5) { background: var(--brown); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; padding: 46px 0 40px; }
.footer__brand img { width: 92px; height: 92px; }
.footer__brand strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--white); margin: 14px 0 10px; letter-spacing: .02em; }
.footer h4 { font-size: .95rem; font-weight: 800; color: var(--yellow); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.footer a:hover { color: var(--yellow); }
.footer .icon { font-size: 18px; color: var(--sky); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer__bottom .wrap { display: flex; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; font-size: .82rem; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 12px 26px -8px rgba(30, 70, 30, .7); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { font-size: 28px; }

/* ----------------------------- Modal paquete ----------------------------- */
.modal { border: 0; padding: 0; border-radius: 26px; width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow: auto; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(10,30,40,.7); }
.modal::backdrop { background: rgba(14, 36, 48, .6); backdrop-filter: blur(4px); }
.modal__media { position: relative; aspect-ratio: 16 / 8; background: linear-gradient(160deg, #2b6f8a, #163240); color: var(--white); display: flex; align-items: flex-end; overflow: hidden; }
.modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,36,48,0) 35%, rgba(14,36,48,.85)); }
.modal__head { position: relative; z-index: 1; padding: 22px 26px; }
.modal__head h2 { font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 4vw, 2.2rem); }
.modal__head p { font-weight: 600; margin-top: 4px; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; font-size: 22px; }
.modal__body { padding: 24px 26px 28px; display: grid; gap: 20px; }
.modal__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.modal__price strong { font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; color: var(--orange); line-height: 1; }
.modal__price span { font-weight: 700; color: var(--ink-2); }
.modal h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--green); margin-bottom: 10px; }
.modal__incl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.modal__incl li { display: flex; align-items: center; gap: 10px; background: var(--sky-pale); border-radius: 12px; padding: 10px 12px; font-weight: 700; font-size: .95rem; }
.modal__incl .icon { font-size: 22px; color: var(--orange); }
.modal__nota { background: #fff6d6; border-left: 4px solid var(--yellow); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.modal__legal { font-size: .82rem; color: var(--muted); }
.modal__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) { .modal__incl { grid-template-columns: 1fr; } .modal__actions .btn { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 620px) { .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; } .wa-float .icon { font-size: 24px; } }

/* ----------------------------- Páginas internas ----------------------------- */
.page:not([hidden]) { animation: page-in .45s cubic-bezier(.2,.7,.2,1); }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.dropdown a.is-on { background: var(--sky-pale); color: var(--orange); }
.footer a.is-on { color: var(--yellow); }

/* ----------------------------- Precios y detalle ----------------------------- */
.card[hidden] { display: none; }
.card__old { font-weight: 800; font-size: .95rem; text-decoration: line-through; opacity: .75; }
.card__pnota { font-size: .78rem; font-weight: 700; opacity: .9; margin-top: 2px; }
.modal__price del { color: var(--muted); font-weight: 700; }
.modal__price em { font-style: normal; font-weight: 700; color: var(--muted); font-size: .92rem; }
.modal__salida { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); margin-top: -8px; }
.modal__salida .icon { color: var(--orange); font-size: 20px; }
.modal__opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.modal__opts li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); }
.modal__opts li > div:first-child { display: grid; }
.modal__opts span { font-size: .88rem; color: var(--muted); font-weight: 600; }
.modal__opt-price { text-align: right; display: grid; flex: none; }
.modal__opt-price strong { font-family: var(--font-display); font-weight: 900; color: var(--orange); font-size: 1.2rem; }
.modal__visitas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
.modal__visitas li { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; font-size: .95rem; }
.modal__visitas .icon { color: var(--green); font-size: 18px; margin-top: 2px; stroke-width: 2.6; }
.modal__det { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-weight: 600; color: var(--ink-2); }
.modal__det li::marker { color: var(--orange); }
@media (max-width: 560px) { .modal__visitas { grid-template-columns: 1fr; } }

/* ----------------------------- Filtros por zona ----------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 12px; background: var(--white); border-radius: 18px; box-shadow: var(--shadow-sm); position: relative; }
.chip { border: 2px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-weight: 800; font-size: .92rem; transition: .2s; }
.chip small { font-size: .75rem; color: var(--muted); margin-left: 2px; }
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.is-on { background: var(--orange); border-color: var(--orange); color: var(--white); }
.chip.is-on small { color: rgba(255,255,255,.85); }

/* ----------------------------- Aviso general ----------------------------- */
.notice { background: var(--yellow); color: var(--ink); }
.notice .wrap { display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; text-align: center; font-size: .95rem; }
.notice strong { font-weight: 800; }
.notice a { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; background: var(--ink); color: var(--white); padding: 5px 12px; border-radius: 999px; font-size: .85rem; }
.notice a:hover { background: var(--orange); }

/* ----------------------------- Filtros (2 grupos) ----------------------------- */
.filters { flex-direction: column; gap: 10px; }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters__label { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--green); min-width: 86px; }
.filters-empty { background: var(--white); border-radius: 18px; padding: 26px; text-align: center; font-weight: 700; color: var(--muted); box-shadow: var(--shadow-sm); margin-top: 12px; }
@media (max-width: 620px) { .filters__label { width: 100%; } }
