/* Concept 2 — measured glass refinements. Kept separate for easy design maintenance. */

/* Floating navigation */
@media (min-width: 821px) {
  .site-header .header-inner {
    height: 68px;
    margin-top: 14px;
    padding: 0 13px 0 20px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 20px;
    background: rgba(11,42,35,.24);
    box-shadow: 0 12px 42px rgba(4,25,20,.12), inset 0 1px 0 rgba(255,255,255,.1);
    backdrop-filter: blur(22px) saturate(1.15);
  }
  .site-header.is-solid .header-inner { margin-top: 12px; background: rgba(255,255,255,.065); }
  .site-header.is-scrolled .header-inner { margin-top: 8px; background: rgba(12,43,37,.72); }
  .desktop-nav {
    gap: 5px;
    margin-right: 8px;
    padding: 4px 6px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 999px;
    background: rgba(255,255,255,.055);
  }
  .desktop-nav a { padding: 7px 12px; border-radius: 999px; transition: color .2s, background .2s; }
  .desktop-nav a::after { display: none; }
  .desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,.1); }
  .header-contact { background: rgba(255,255,255,.09); backdrop-filter: blur(10px); }
  .header-contact:hover { background: rgba(255,255,255,.17); }
}

/* Fine glass highlights, never at the expense of contrast */
.search-panel, .booking-panel, .result-card, .checkout-summary, .checkout-card {
  position: relative;
  border-color: rgba(255,255,255,.62);
  box-shadow: 0 20px 65px rgba(14,38,30,.1), inset 0 1px 0 rgba(255,255,255,.55);
}
.search-panel::before, .booking-panel::before, .checkout-summary::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 1px;
  right: 18px;
  left: 18px;
  height: 1px;
  background: rgba(255,255,255,.8);
  pointer-events: none;
}
.search-panel > *, .booking-panel > *, .checkout-summary > * { position: relative; z-index: 1; }
.search-field { border-radius: 14px; transition: background .2s, box-shadow .2s; }
.search-field:focus-within { background: rgba(255,255,255,.54); box-shadow: inset 0 0 0 1px rgba(21,60,51,.07); }
.hero-kicker {
  width: max-content;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
}
.hero-side-note { padding: 10px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(8,35,28,.14); backdrop-filter: blur(12px); }
.button { position: relative; overflow: hidden; }
.button::after { content: ""; position: absolute; top: 0; right: 12px; left: 12px; height: 1px; background: rgba(255,255,255,.28); pointer-events: none; }
.button-outline::after { background: rgba(21,60,51,.1); }
.status-pill { border: 1px solid rgba(21,60,51,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }

/* Collection cards */
.villa-card {
  padding: 9px 9px 15px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 25px;
  background: rgba(255,255,255,.4);
  box-shadow: 0 14px 44px rgba(25,41,34,.055), inset 0 1px 0 rgba(255,255,255,.5);
  backdrop-filter: blur(14px) saturate(1.08);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.villa-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.95); box-shadow: 0 24px 55px rgba(25,41,34,.11), inset 0 1px 0 rgba(255,255,255,.6); }
.villa-card-media { border-radius: 17px; box-shadow: inset 0 0 0 1px rgba(21,60,51,.06); }
.villa-card-media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.25); border-radius: inherit; pointer-events: none; }
.villa-card-body { padding: 18px 10px 2px; }
.villa-card-badge, .result-card .status-pill { border: 1px solid rgba(255,255,255,.55); box-shadow: 0 5px 18px rgba(20,40,32,.06), inset 0 1px 0 rgba(255,255,255,.45); backdrop-filter: blur(16px) saturate(1.15); }
.result-card { background: rgba(253,252,249,.72); backdrop-filter: blur(18px) saturate(1.08); }
.result-card-image::after { content: ""; position: absolute; inset: 0; border-bottom: 1px solid rgba(255,255,255,.25); pointer-events: none; }
.booking-panel { background: rgba(253,252,249,.79); backdrop-filter: blur(26px) saturate(1.12); }
.quick-fact { padding: 12px 15px; border: 1px solid rgba(21,60,51,.08); border-radius: 14px; background: rgba(255,255,255,.34); }
.quick-facts { gap: 13px; }
.notice { border-color: rgba(255,255,255,.55); box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }

/* Mobile reservation dock */
.mobile-booking-bar { display: none; }

@media (max-width: 1100px) and (min-width: 821px) {
  .site-header .header-inner { padding-left: 15px; }
  .desktop-nav a { padding-inline: 8px; }
  .search-form.has-destination { grid-template-columns: minmax(120px,.7fr) minmax(135px,1fr) minmax(135px,1fr) minmax(140px,.8fr) auto; }
}

@media (max-width: 820px) {
  .mobile-booking-bar {
    position: fixed;
    z-index: 75;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    display: flex;
    max-width: 570px;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-inline: auto;
    padding: 10px 10px 10px 18px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 21px;
    background: rgba(250,249,245,.88);
    box-shadow: 0 18px 60px rgba(7,30,23,.25), inset 0 1px 0 rgba(255,255,255,.65);
    backdrop-filter: blur(24px) saturate(1.15);
  }
  .mobile-booking-price { min-width: 0; }
  .mobile-booking-price small { display: block; color: var(--muted); font-size: 9px; line-height: 1.4; }
  .mobile-booking-price strong { display: block; margin-top: 2px; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1; white-space: nowrap; }
  .mobile-booking-bar .button { min-height: 48px; flex: 0 0 auto; padding: 12px 18px; font-size: 11px; }
  body:has(.mobile-booking-bar) .site-footer { padding-bottom: 120px; }
  .quick-fact { padding: 10px; }
}

@media (max-width: 600px) {
  .villa-card { padding: 7px 7px 13px; border-radius: 22px; }
  .villa-card-body { padding: 16px 9px 2px; }
  .search-panel, .booking-panel { background: rgba(253,252,249,.9); }
  .search-field:focus-within { background: rgba(255,255,255,.72); }
  .hero-title, .hero-subtitle { text-shadow: 0 2px 24px rgba(3,24,18,.22); }
  .hero-kicker { padding: 7px 10px; }
  .mobile-booking-bar { right: 9px; left: 9px; padding-left: 14px; }
  .mobile-booking-bar .button { padding-inline: 14px; }
}

@media (max-width: 370px) {
  .mobile-booking-bar { gap: 8px; }
  .mobile-booking-price strong { font-size: 21px; }
  .mobile-booking-bar .button { padding-inline: 11px; font-size: 10px; }
}

/* Navigation balance on internal pages */
@media (min-width: 821px) {
  .site-header.is-solid { padding: 12px 0; border-bottom: 0; }
  .site-header.is-solid .header-inner {
    margin-top: 0;
    background: rgba(255,255,255,.1);
    box-shadow: 0 14px 42px rgba(4,25,20,.16), inset 0 1px 0 rgba(255,255,255,.13);
  }
  .site-header.is-solid .desktop-nav a[aria-current="page"] {
    background: rgba(215,195,164,.18);
    box-shadow: inset 0 0 0 1px rgba(215,195,164,.14);
  }
  .desktop-nav a { transition: color .18s, background .18s, box-shadow .18s; }
}
.demo-bar { border-bottom: 1px solid rgba(255,255,255,.07); }

/* National vision and owner-confirmed distinctions */
.recognition-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.recognition-points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; color: var(--green); font-size: 11px; font-weight: 600; }
.recognition-points span { display: inline-flex; align-items: center; gap: 6px; }
.recognition-points svg { width: 16px; height: 16px; }
.award-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.award-card { position: relative; display: flex; min-width: 0; min-height: 275px; align-items: center; justify-content: center; flex-direction: column; padding: 28px 20px 52px; overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-radius: 25px; box-shadow: 0 18px 55px rgba(14,38,30,.08), inset 0 1px 0 rgba(255,255,255,.72); text-align: center; }
.award-card p { position: absolute; right: 12px; bottom: 18px; left: 12px; margin: 0; font-size: 9px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.airbnb-award { background: rgba(255,255,255,.66); backdrop-filter: blur(18px); }
.airbnb-wordmark { color: #ff5a5f; font-family: var(--sans); font-size: clamp(34px,3.4vw,48px); font-weight: 800; letter-spacing: -.075em; line-height: 1; }
.superhost-wordmark { color: #353535; font-family: var(--sans); font-size: clamp(30px,3vw,43px); font-weight: 650; letter-spacing: -.065em; line-height: 1.15; }
.superhost-wordmark span { color: #e7a91e; }
.airbnb-award p { color: var(--muted); }
.booking-award { color: var(--white); background: #17365d; }
.booking-wordmark { font-size: 27px; font-weight: 700; letter-spacing: -.04em; }
.booking-award > span { margin-top: 2px; color: #d9b56d; font-size: 13px; }
.booking-award > strong { display: grid; width: 108px; height: 108px; margin-top: 14px; place-items: center; color: var(--white); border-radius: 50%; background: #d8ae59; font-size: 25px; font-weight: 500; letter-spacing: -.04em; }
.booking-award p { color: rgba(255,255,255,.68); }

/* Measured glass across content sections */
.promise-item { padding: 18px; border: 1px solid rgba(255,255,255,.62); border-radius: 18px; background: rgba(255,255,255,.32); backdrop-filter: blur(14px); }
.destination-card { border-color: rgba(255,255,255,.68); background: rgba(253,252,249,.58); box-shadow: 0 14px 42px rgba(14,38,30,.055), inset 0 1px 0 rgba(255,255,255,.68); backdrop-filter: blur(18px); }
.destination-card.current { background: rgba(219,229,221,.72); }
.service-item { padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.045); backdrop-filter: blur(16px); }
.experience-copy { border: 1px solid rgba(255,255,255,.58); border-radius: 24px; background: rgba(255,255,255,.28); backdrop-filter: blur(16px); }
.experience-image { border: 1px solid rgba(255,255,255,.55); box-shadow: 0 16px 45px rgba(14,38,30,.07); }

/* Payment and security trust */
.payment-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.payment-badge { display: inline-flex; min-height: 32px; align-items: center; justify-content: center; gap: 5px; padding: 6px 10px; color: #26332f; border: 1px solid rgba(255,255,255,.72); border-radius: 9px; background: rgba(255,255,255,.88); box-shadow: 0 4px 14px rgba(10,32,25,.05); font-size: 10px; font-weight: 650; line-height: 1; white-space: nowrap; }
.payment-badge.visa { color: #1a1f71; font-size: 12px; font-style: italic; font-weight: 800; letter-spacing: .04em; }
.payment-badge.paypal { color: #003087; font-size: 12px; font-style: italic; font-weight: 800; }
.payment-badge.mastercard i { position: relative; display: inline-block; width: 23px; height: 14px; }
.payment-badge.mastercard i::before, .payment-badge.mastercard i::after { content: ""; position: absolute; top: 0; width: 14px; height: 14px; border-radius: 50%; }
.payment-badge.mastercard i::before { left: 0; background: rgba(235,0,27,.88); }
.payment-badge.mastercard i::after { right: 0; background: rgba(247,158,27,.88); }
.footer-payments { display: grid; grid-template-columns: 1fr auto; gap: 20px 35px; align-items: center; padding: 25px 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; background: rgba(255,255,255,.045); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(18px); }
.footer-payments-copy .eyebrow { color: var(--sand); }
.footer-payments-copy p { margin: 8px 0 0; color: rgba(255,255,255,.62); font-size: 11px; }
.footer-payments .payment-badges { justify-content: flex-end; }
.footer-security { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.74); font-size: 10px; }
.footer-security span { display: inline-flex; align-items: center; gap: 7px; }
.footer-security svg { width: 16px; height: 16px; color: var(--sand); }
.footer-grid { margin-top: 22px; padding: 38px; border: 1px solid rgba(255,255,255,.1); border-radius: 26px; background: rgba(255,255,255,.035); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); backdrop-filter: blur(18px); }
.footer-bottom { border-top-color: rgba(255,255,255,.09); }
.redirect-trust { display: flex; gap: 15px; margin: 20px 0; padding: 20px; border: 1px solid rgba(21,60,51,.1); border-radius: 18px; background: rgba(219,229,221,.52); }
.redirect-trust > svg { flex: 0 0 auto; color: var(--green); }
.redirect-trust strong { font-size: 14px; }
.redirect-trust p { margin: 6px 0; color: var(--muted); font-size: 12px; }
.redirect-trust span { color: var(--green); font-size: 11px; font-weight: 650; }
.checkout-payment-methods { margin: 22px 0; }
.checkout-payment-methods > small { display: block; margin-bottom: 10px; color: var(--muted); font-size: 10px; }
.trust-seal { display: flex; gap: 12px; margin-top: 20px; padding: 15px; border: 1px solid rgba(255,255,255,.6); border-radius: 15px; background: rgba(255,255,255,.32); }
.trust-seal > svg { flex: 0 0 auto; width: 19px; color: var(--green); }
.trust-seal strong, .trust-seal span { display: block; }
.trust-seal strong { font-size: 12px; }
.trust-seal span { margin-top: 4px; color: var(--muted); font-size: 10px; }

/* Fast compositor-friendly motion, disabled below for reduced motion */
@keyframes flextay-view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.destination-card, .award-card, .promise-item, .service-item { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.destination-card:hover, .award-card:hover, .promise-item:hover { transform: translateY(-3px); box-shadow: 0 20px 48px rgba(14,38,30,.09); }
@media (prefers-reduced-motion: no-preference) {
  #app > :first-child { animation: flextay-view-in .28s var(--ease) both; }
  .search-date-dialog[open] { animation: flextay-view-in .22s var(--ease) both; }
}
@media (max-width: 980px) {
  .recognition-layout { grid-template-columns: 1fr; gap: 35px; }
  .award-grid { max-width: 720px; }
  .footer-payments { grid-template-columns: 1fr; }
  .footer-payments .payment-badges { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .award-grid { grid-template-columns: 1fr; }
  .award-card { min-height: 245px; }
  .footer-payments, .footer-grid { padding: 22px 18px; }
  .footer-grid { gap: 30px 18px; }
  .footer-payments .payment-badge { padding-inline: 8px; }
  .search-date-dialog { padding: 25px 14px 18px; border-radius: 24px; }
  .search-date-dialog h2 { font-size: 30px; }
  .calendar-component { padding: 12px; }
  .calendar-month { padding-inline: 7px; }
  .promise-item { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@supports not (backdrop-filter: blur(1px)) {
  .site-header .header-inner, .villa-card, .result-card, .mobile-booking-bar { background: var(--paper); }
  .site-header .header-inner, .site-header.is-solid .header-inner { background: var(--green); }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header .header-inner, .search-panel, .booking-panel, .result-card, .villa-card, .mobile-booking-bar { backdrop-filter: none; background: var(--paper); }
}
