/* Approved Figma: b6cBFfWbyvFvP8HOYHmMkW, desktop, mobile and flexible calendar. */
:root { --bg:#f8f7f3; --surface:#fff; --surface-2:#eeeae1; --text:#142c3a; --text-2:#60717a; --text-3:#60717a; --brand:#2a78d6; --border:#dce3e5; --good-bg:#e9f6ee; --good-ink:#176e50; --bad-bg:#eeeae1; --bad-ink:#60717a; --radius:16px; --heading-font:'Roboto',system-ui,sans-serif; }
body { font-family:'Roboto',system-ui,sans-serif; background:var(--bg); }
h1,h2,h3,.logo { font-family:inherit; }
.topbar { min-height:88px; max-width:none; padding:20px max(24px,calc((100% - 1320px)/2)); gap:28px; background:var(--surface); border-bottom:0; }
.logo { font-size:28px; font-weight:700; letter-spacing:-1px; color:var(--text); }
.logo span { color:inherit; }
.tagline { display:none; }
.tabs { background:none; border:0; padding:0; gap:12px; box-shadow:none; }
.tabs button { border-radius:10px; color:var(--text); }
.tabs button[aria-selected=true] { box-shadow:none; background:#eaf3fe; color:var(--brand); }
.hero { max-width:1440px; padding:0 60px 40px; overflow:visible; }
.hero::before { display:none; }
.hero-intro { display:grid; grid-template-columns:minmax(0,638fr) minmax(0,574fr); align-items:start; gap:48px; padding:60px 0; }
.hero-copy { min-width:0; }
.eyebrow { margin:0 0 20px; color:var(--brand); font-size:12px; font-weight:700; letter-spacing:.04em; }
.hero h1 { margin:0 0 20px; max-width:none; font-size:60px; line-height:1.25; letter-spacing:-1.8px; color:var(--text); }
.hero .sub { max-width:570px; margin:0 0 20px; color:var(--text-2); font-size:18px; line-height:1.4; }
.hero .ai-box { display:flex; flex-direction:column; gap:14px; max-width:none; margin:0; padding:18px; border:1px solid var(--border); background:var(--surface); border-radius:16px; backdrop-filter:none; box-shadow:none; }
.ai-box input { flex:auto; width:100%; min-width:0; height:24px; padding:0; border:0; background:transparent; font-size:16px; outline-offset:5px; }
.ai-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; }
.ai-actions .ai-badge { color:var(--brand); white-space:nowrap; font-size:13px; font-weight:700; }
.ai-actions .btn.primary { padding:12px 22px; border-radius:12px; font-size:14px; min-height:44px; }
.manual-links { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:20px; font-size:14px; color:var(--text-2); }
.manual-links button { padding:0; border:0; background:none; color:var(--brand); font:inherit; font-weight:700; cursor:pointer; }
.hero-visual { overflow:hidden; margin:0; border-radius:22px; background:#123d53; }
.hero-visual > img { display:block; width:100%; height:350px; object-fit:cover; }
.hero-visual figcaption { display:flex; align-items:center; gap:18px; padding:22px; min-height:95px; color:#fff; }
.hero-visual figcaption > span { font-size:36px; }
.hero-visual strong { font-size:20px; line-height:1.25; }
.hero-visual p { margin:5px 0 0; color:#fff; font-size:14px; }
.travel-benefits { display:flex; justify-content:center; flex-wrap:wrap; gap:30px 90px; margin:0 -60px; padding:24px; min-height:72px; background:#eaf3fe; color:#123d53; font-size:15px; font-weight:700; }
.ideas-heading { margin:56px 0 20px; }
.ideas-heading h2 { margin:0 0 14px; font-size:32px; line-height:1.25; }
.ideas-heading p { margin:0; color:var(--text-2); font-size:16px; }
#examples { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; margin:0; overflow:visible; padding:0; }
#examples .ex-card { display:flex; flex-direction:column; width:auto; min-width:0; aspect-ratio:auto; border:1px solid var(--border); border-radius:16px; background:var(--surface); text-align:left; color:var(--text); padding:0; overflow:hidden; box-shadow:none; }
#examples .ex-card::before,#examples .ex-card::after { display:none; }
#examples .ex-card img { position:static; width:100%; height:168px; display:block; object-fit:cover; filter:none; }
#examples .ex-card > span { position:static; display:block; padding:18px; background:none; color:var(--text); text-shadow:none; }
#examples .ex-card b { font-size:19px; line-height:1.25; }
#examples .ex-card small { margin-top:5px; color:var(--text-2); font-size:13px; opacity:1; }
#examples .kids { grid-column:1/-1; display:block; justify-self:start; border:0; background:none; }
#examples .kids img { display:none; }
#examples .kids > span { padding:4px 0; color:var(--brand); }
#examples .kids b { font-size:14px; }
#examples .kids small { display:none; }
.travel-steps { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:36px; padding:44px 0 48px; }
.travel-steps h2 { font-size:30px; line-height:1.25; margin:0 0 14px; }
.travel-steps h3 { font-size:20px; margin:12px 0 10px; }
.travel-steps p { font-size:15px; margin:0; color:var(--text-2); }
.step-number { font-size:14px; font-weight:700; color:var(--brand); }
.how { display:none; }
.footer { max-width:none; margin:30px 0 0; padding:32px max(24px,calc((100% - 1320px)/2)); background:#123d53; color:#fff; text-align:left; font-size:12px; line-height:1.7; }
.footer a { color:#fff; }
.footer-brand { display:block; font-size:26px; }
.footer-tagline { margin:6px 0 12px; font-size:18px; }
.card.hotel-card { border:1px solid var(--border); border-radius:24px; background:var(--bg); box-shadow:none; }
.hotel-cal { padding:20px; background:var(--surface); border:1px solid var(--border); border-radius:16px; }
.hotel-panel { padding:24px; border-radius:16px; background:#123d53; color:#fff; }
.hotel-panel .best-box,.hotel-panel .best-box.on { color:#fff; background:none; border:0; padding:0; }
.hotel-panel .best-title,.hotel-panel .best-night,.hotel-panel .best-dates { color:#fff; }
.hotel-panel .history-btn,.hotel-panel .details-link { color:#fff; }
.hotel-panel .book-btn { background:#fff; color:#123d53; border-color:#fff; }
.cal-grid { gap:8px; }
.day { border-radius:8px; min-height:50px; }
.day.free { background:var(--good-bg); color:var(--good-ink); }
.day.sel,.day.selected { background:var(--brand); color:#fff; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
@media(max-width:1100px) { .topbar { gap:14px; }.hero { padding-left:32px; padding-right:32px; }.hero-intro { gap:28px; }.hero h1 { font-size:46px; }.travel-benefits { margin:0 -32px; gap:25px; }.hero-visual strong { font-size:17px; }.hero-visual>img { height:320px; }.travel-steps { gap:22px; }.travel-steps h2 { font-size:26px; } }
@media(max-width:760px) {
 .topbar { min-height:70px; padding:18px 24px; gap:10px; flex-wrap:wrap; }.logo { font-size:23px; margin-right:auto; }.tabs { order:4; position:fixed; bottom:0; left:0; right:0; z-index:40; display:flex; background:var(--surface); padding:9px 12px calc(9px + env(safe-area-inset-bottom)); margin:0; gap:4px; border-top:1px solid var(--border); border-radius:0; width:100%; }.tabs button { flex:1; padding:6px 2px; font-size:12px; }.tabs svg { display:none; }body { padding-bottom:72px; }
 .theme-toggle { width:30px; height:30px; }.lang-menu summary { padding:0 7px; border:0; }.lang-menu summary svg { display:none; }
 .hero { padding:0 24px 24px; }.hero-intro { position:relative; display:flex; flex-direction:column; padding:24px 0; gap:0; }.hero-copy { display:contents; }.eyebrow { order:0; font-size:10px; margin-bottom:16px; }.hero h1 { order:1; font-size:38px; letter-spacing:-1px; margin-bottom:16px; }.hero .sub { order:2; font-size:15px; margin-bottom:16px; }.hero-visual { order:3; width:100%; margin-bottom:16px; border-radius:18px; }.hero-visual>img { height:174px; }.hero-visual figcaption { display:none; }.hero .ai-box { order:4; width:100%; padding:18px; gap:14px; }.ai-actions { flex-direction:column; align-items:stretch; }.ai-actions .ai-badge { font-size:12px; }.ai-actions .btn.primary { width:100%; }.ai-box input { font-size:13px; }.manual-links { order:5; margin-top:16px; font-size:14px; }.manual-links > span { display:none; }
 .travel-benefits { display:none; }.ideas-heading { margin:12px 0 16px; }.ideas-heading h2 { font-size:23px; }.ideas-heading p { display:none; }#examples { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }#examples .ex-card img { height:126px; }#examples .ex-card>span { padding:14px; }#examples .ex-card b { font-size:15px; }#examples .ex-card small { display:none; }.travel-steps { grid-template-columns:1fr; gap:18px; padding:28px 20px; margin-top:20px; background:#eaf3fe; border-radius:16px; }.travel-steps h2 { font-size:22px; }.travel-steps h3 { font-size:18px; margin:4px 0; }.travel-steps p { font-size:13px; }.travel-steps>div:not(:first-child) { display:none; }.footer { margin-bottom:0; }.hotel-panel { padding:20px; }.hotel-cal { padding:12px; }.cal-grid { gap:4px; }.day { min-height:44px; }
}
:root[data-theme=dark] { --bg:#121e26; --surface:#1c2d37; --surface-2:#263b46; --text:#f2f7fa; --text-2:#b5c5ce; --text-3:#b5c5ce; --border:#3b5260; --good-bg:#153e30; --good-ink:#a2e1bd; --bad-bg:#293b45; --bad-ink:#bbcad1; }
@media(prefers-color-scheme:dark) { :root:not([data-theme=light]) { --bg:#121e26; --surface:#1c2d37; --surface-2:#263b46; --text:#f2f7fa; --text-2:#b5c5ce; --text-3:#b5c5ce; --border:#3b5260; --good-bg:#153e30; --good-ink:#a2e1bd; } }

.ai-box input::placeholder { color:var(--text-2); opacity:1; }
:root { --display:'Roboto',system-ui,sans-serif; --sel:#2a78d6; }
@media(max-width:760px) { .topbar { backdrop-filter:none; -webkit-backdrop-filter:none; filter:none; transform:none; position:relative; }.tabs { top:auto; }.hero .ai-box { min-width:0; } }

/* Reverse search: days and budget take priority over a destination. */
.hero h1 { font-size:clamp(32px,3.6vw,52px); line-height:1.12; }
.escape-form { display:grid; grid-template-columns:2fr 1fr; gap:14px; padding:20px; border:1px solid var(--border); border-radius:16px; background:var(--surface); }
.escape-form label { display:flex; flex-direction:column; gap:6px; min-width:0; font-size:14px; font-weight:600; }
.escape-form input,.escape-form select { width:100%; box-sizing:border-box; min-height:46px; padding:10px; border:1px solid var(--border); border-radius:9px; color:var(--text); background:var(--surface); font:inherit; }
.escape-form .escape-theme,.escape-form .escape-range,.escape-form .escape-scope,.escape-form > button { grid-column:1/-1; }
.escape-range summary { cursor:pointer; color:var(--brand); font-size:14px; padding:8px 0; }
.escape-range > div { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:8px; }
.escape-scope { margin:0; font-size:12px; line-height:1.5; color:var(--text-2); }
.escape-ai { margin-top:16px; width:100%; box-sizing:border-box; }
.escape-ai .ai-title { margin:0 0 8px; font-size:16px; font-weight:700; color:var(--text); }
.escape-featured { padding-top:36px; scroll-margin-top:20px; }
.seasonal-actions { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; }
.seasonal-actions a { text-decoration:none; }
.home-promo-cards { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:10px; width:100%; margin:0 0 18px; order:2; }
.home-promo-card { display:grid; grid-template-rows:clamp(58px,9vw,112px) 1fr; overflow:hidden; min-width:0; border-radius:12px; background:#123d53; color:#fff; text-decoration:none; }
.home-promo-card img { width:100%; height:100%; object-fit:cover; display:block; }
.home-promo-card span { display:flex; align-items:center; padding:8px 10px; font-size:clamp(12px,1.25vw,15px); line-height:1.2; font-weight:700; }
.home-promo-card--black-friday { background:#16131b; }
.home-promo-card--black-friday strong { display:grid; align-content:center; justify-items:center; padding:4px; background:#21152b; color:#ffe169; font-size:clamp(14px,3vw,36px); font-weight:900; line-height:.92; text-align:center; text-transform:uppercase; }
.home-promo-card--black-friday span { color:#fff; }
.home-promo-card:hover span { text-decoration:underline; }
.home-promo-card:focus-visible { outline:3px solid var(--brand); outline-offset:3px; }
[data-seasonal="navidad"] .hero-copy .eyebrow { color:var(--brand); }
.ski-illustration { display:block; width:min(100%, 560px); height:auto; border-radius:16px; margin-block:16px; }
.christmas-guide { scroll-margin-top:24px; margin-bottom:32px; }
.christmas-guide > h2 { margin-top:28px; }
.christmas-city p { line-height:1.4; }
.christmas-city [data-city-prices]:not(:empty) { margin-top:12px; }
.escape-featured h2 { font-size:28px; line-height:1.25; }
.escape-featured > p { color:var(--text-2); line-height:1.5; }
.escape-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.escape-card { min-width:0; padding:18px; border:1px solid var(--border); border-radius:16px; background:var(--surface); }
.escape-card img { width:100%; height:160px; object-fit:cover; border-radius:10px; }
.escape-card h3 { margin:14px 0 6px; font-size:21px; }
.escape-card p { line-height:1.5; margin:8px 0; }
.escape-card .escape-total { font-size:24px; font-weight:700; color:var(--brand); }
.escape-card small { display:block; color:var(--text-2); line-height:1.5; margin:8px 0; }
.escape-card a { display:inline-block; text-decoration:none; margin-top:10px; }
.market-note { padding-left:12px; border-left:3px solid var(--brand); }
.market-flight-card { display:flex; flex-direction:column; }
.market-flight-card h3 { margin-top:0; overflow-wrap:anywhere; }
.market-flight-card a { align-self:flex-start; margin-top:auto; }
.market-flight-card small:last-of-type { padding-bottom:18px; }
.escape-card .market-discount { color:var(--brand); font-weight:600; }
@media(max-width:700px) { .escape-list { grid-template-columns:1fr; } .escape-form { padding:14px; } .escape-form label { font-size:13px; } .escape-featured h2 { font-size:24px; } }
/* Buscador: por días libres, hotel con fechas o vuelo con fechas */
.quick-search { display:flex; flex-direction:column; gap:12px; }
.search-modes { display:flex; flex-wrap:wrap; gap:6px; }
.search-modes button { min-height:40px; padding:8px 14px; border:1px solid var(--border); border-radius:999px; background:var(--surface); color:var(--text); font:inherit; font-size:14px; font-weight:600; cursor:pointer; }
.search-modes button[aria-selected="true"] { border-color:var(--brand); background:var(--brand); color:#fff; }
.search-modes button:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.quick-form { grid-template-columns:1fr 1fr; }
.quick-form .q-wide { grid-column:1/-1; }
.escape-form[hidden] { display:none; }
@media(max-width:700px) { .search-modes { display:grid; grid-template-columns:repeat(3,1fr); } .search-modes button { padding:6px 6px; font-size:12.5px; line-height:1.2; border-radius:12px; } }

/* Home: date ranges and prices share the first view with the search. */
.home-page .hero-intro { padding-block:clamp(20px,3vw,40px); }
.home-page .hero .eyebrow { display:none; }
.home-page .hero h1 { margin-bottom:10px; }
.home-page .hero .sub { margin-bottom:14px; }
.home-first-look { min-width:0; width:100%; }
.home-first-look .escape-featured { padding:0; }
.home-first-look .escape-featured h2 { margin:0 0 10px; font-size:clamp(19px,2vw,26px); }
.home-first-look #escapeIntro, .home-first-look #escapeMarket { display:none; }
.home-first-look #escapeStatus { font-size:13px; margin:0 0 10px; }
.home-first-look .escape-list { grid-template-columns:minmax(0,1fr); gap:8px; }
.home-first-look .escape-card { padding:12px; border-radius:12px; }
.home-first-look .escape-summary { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:2px 12px; }
.home-first-look .escape-summary h3 { margin:0; font-size:17px; overflow-wrap:anywhere; }
.home-first-look .escape-dates { grid-column:1; margin:0; font-size:14px; color:var(--text-2); }
.home-first-look .escape-total { grid-column:2; grid-row:1 / span 2; margin:0; white-space:nowrap; font-size:clamp(19px,2.2vw,26px); }
.home-first-look .escape-card-details { margin-top:5px; }
.home-first-look .escape-card-details summary { min-height:24px; color:var(--text-2); font-size:13px; cursor:pointer; }
.home-first-look .escape-card-details > p, .home-first-look .escape-card > p { margin:6px 0 0; font-size:14px; }
.home-first-look .escape-card small { margin:3px 0; font-size:12px; }
.home-first-look .escape-card a { margin-top:8px; }
.home-first-look .hero-visual { margin-top:16px; }
.home-first-look .hero-visual > img { height:150px; }
.home-first-look .hero-visual figcaption, .home-page .travel-benefits { display:none; }
.home-page .home-promo-card { grid-template-rows:clamp(42px,5vw,72px) 1fr; }
.home-page .home-promo-cards { margin-bottom:12px; }
@media(max-width:760px) {
  .home-first-look { display:contents; }
  .home-first-look .escape-featured { order:2; width:100%; margin:0 0 16px; }
  .home-page .quick-search { order:3; width:100%; }
  .home-page .home-promo-cards { order:4; margin-top:16px; }
  .home-first-look .hero-visual { order:5; }
  .home-page .escape-ai { order:6; width:100%; }
  .home-page .manual-links { order:7; }
}

/* Holiday accents keep the offer cards and search fields on solid surfaces. */
:is(.christmas-theme, [data-seasonal="navidad"]) {
  --christmas-green:#176447;
  --christmas-red:#92263b;
  --christmas-gold:#deb75e;
  --christmas-warm:rgba(222,183,94,.16);
  --christmas-cool:rgba(39,128,93,.10);
  background-image:radial-gradient(ellipse at 80% 0, var(--christmas-warm), transparent 68%),
    radial-gradient(ellipse at 0 0, var(--christmas-cool), transparent 65%);
  background-size:100% 620px;
  background-repeat:no-repeat;
}
:is(.christmas-theme, [data-seasonal="navidad"]) .topbar {
  box-shadow:inset 0 -3px var(--christmas-green), inset 0 -5px var(--christmas-gold);
}
:is(.christmas-theme, [data-seasonal="navidad"]) .hero-intro { position:relative; }
:is(.christmas-theme, [data-seasonal="navidad"]) .hero-intro::before {
  content:"";
  position:absolute;
  inset:5px 0 auto;
  height:10px;
  pointer-events:none;
  background:radial-gradient(circle at 8px 4px, var(--christmas-gold) 0 2px, transparent 3px) repeat-x 0 0 / 64px 10px,
    radial-gradient(circle at 8px 6px, var(--christmas-red) 0 2px, transparent 3px) repeat-x 32px 0 / 64px 10px;
}
:is(.christmas-theme, [data-seasonal="navidad"]) .hero-visual {
  border:1px solid var(--christmas-gold);
}
.christmas-theme .home-promo-card:first-child {
  background:var(--christmas-red);
  box-shadow:inset 0 -2px var(--christmas-gold);
}
.christmas-theme .home-promo-card:nth-child(2) { background:var(--christmas-green); }
.christmas-theme .home-first-look .escape-card {
  border-inline-start:3px solid var(--christmas-green);
}
[data-seasonal="navidad"] .christmas-guide > h2 {
  border-inline-start:4px solid var(--christmas-gold);
  padding-inline-start:12px;
}
[data-seasonal="navidad"] .christmas-city { border-block-start:3px solid var(--christmas-green); }

/* Snow stays within the holiday images, above the promotional label. */
:is(.christmas-theme, [data-seasonal="navidad"]) .hero-visual,
.christmas-theme .home-promo-card { position:relative; }
:is(.christmas-theme, [data-seasonal="navidad"]) .hero-visual::after,
.christmas-theme .home-promo-card::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 16px 22px, #fff 0 2.4px, #142c3a70 3px, transparent 4.2px) 0 0 / 81px 81px,
    radial-gradient(circle at 44px 36px, #fff 0 3.2px, #142c3a70 4px, transparent 5.2px) 0 0 / 137px 137px,
    radial-gradient(circle at 25px 61px, #fff 0 1.6px, #142c3a70 2.3px, transparent 3.2px) 0 0 / 107px 107px;
  opacity:.93;
}
.christmas-theme .home-promo-card::after {
  bottom:auto;
  height:clamp(42px,5vw,72px);
}
@media(prefers-reduced-motion:no-preference) {
  :is(.christmas-theme, [data-seasonal="navidad"]) .hero-visual::after,
  .christmas-theme .home-promo-card::after {
    animation:holiday-snow 18s linear 1;
  }
}
@keyframes holiday-snow {
  from { background-position:0 -81px, 0 -137px, 0 -107px; }
  to { background-position:0 0, 0 0, 0 0; }
}

/* A scalloped snowbank marks the edge of each poster image. */
.christmas-theme .home-promo-card::before {
  content:"";
  position:absolute;
  z-index:1;
  inset:calc(clamp(42px,5vw,72px) - 7px) 0 auto;
  height:8px;
  pointer-events:none;
  background:
    radial-gradient(ellipse at 8px 8px, #fff 0 7px, transparent 8px) repeat-x 0 0 / 23px 8px,
    radial-gradient(ellipse at 10px 9px, #e4f4ff 0 7px, transparent 8px) repeat-x 7px 0 / 31px 8px;
}
.christmas-theme .home-promo-card--black-friday strong {
  position:relative;
  z-index:1;
  background:transparent;
}
