:root {
  --ink: #15313b;
  --muted: #627780;
  --sea: #087f93;
  --sea-bright: #10a1b5;
  --sea-dark: #04596a;
  --sand: #f7b93c;
  --line: #d7e7e8;
  --background: #eaf4f3;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: var(--background); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(46, 181, 195, .22), transparent 29rem),
    radial-gradient(circle at 92% 82%, rgba(247, 185, 60, .11), transparent 24rem),
    linear-gradient(180deg, #eaf8f8 0, #f8fbfa 33rem, #edf5f3 100%);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.app-shell {
  position: relative;
  width: min(100%, 880px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 18px 34px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 24px;
  color: #fff;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 30px;
  background:
    url("/assets/sea-zone-coast.avif") center 45%/cover no-repeat;
  box-shadow: 0 22px 64px rgba(5, 76, 90, .25);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: inherit;
  content: "";
}

.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(92deg, rgba(2, 45, 57, .94) 0%, rgba(3, 71, 85, .82) 47%, rgba(1, 49, 61, .38) 78%, rgba(1, 35, 44, .14) 100%),
    linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.23));
}

.hero-sun {
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -180px;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: rgba(255, 211, 127, .18);
  box-shadow: 0 0 70px rgba(255, 210, 115, .13);
}

.brand-row,
.brand-lockup,
.section-heading,
.trust-row,
.benefits article,
.support-card,
.support-copy,
footer {
  display: flex;
  align-items: center;
}

.brand-row { position: relative; justify-content: space-between; gap: 18px; }
.brand-lockup { min-width: 0; }

.brand-logo {
  display: block;
  width: 205px;
  max-width: 42vw;
  height: auto;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,.85))
    drop-shadow(0 4px 12px rgba(255,255,255,.24))
    drop-shadow(0 9px 22px rgba(0,0,0,.2));
}

.direct-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px 8px 9px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  box-shadow: 0 8px 22px rgba(0,0,0,.1);
  backdrop-filter: blur(14px);
}
.direct-badge i { display: grid; width: 20px; height: 20px; place-items: center; color: var(--sea-dark); font-size: 11px; font-style: normal; border-radius: 50%; background: #fff; }

.hero-copy { position: relative; max-width: 590px; margin-top: 34px; }
.eyebrow, .step-label { margin: 0 0 9px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { color: #c9f3f7; text-shadow: 0 2px 16px rgba(0,0,0,.2); }
.hero h1 { max-width: 590px; margin: 0; font-size: clamp(34px, 6vw, 52px); line-height: .98; letter-spacing: -.042em; text-wrap: balance; text-shadow: 0 4px 24px rgba(0,0,0,.25); }
.hero-copy > p:last-child { max-width: 530px; margin: 15px 0 0; color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.5; text-shadow: 0 2px 14px rgba(0,0,0,.2); }

.trust-row { position: relative; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.trust-row span { padding: 7px 11px; color: rgba(255,255,255,.88); font-size: 11px; font-weight: 700; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; background: rgba(3,54,65,.3); backdrop-filter: blur(10px); }
.trust-row b { margin-right: 3px; color: #fff; font-size: 13px; }

.booking-card {
  position: relative;
  z-index: 2;
  margin: -28px 18px 0;
  padding: 21px;
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,253,252,.96));
  box-shadow: 0 20px 55px rgba(27, 66, 74, .15), 0 2px 8px rgba(5, 76, 90, .04);
  backdrop-filter: blur(16px);
}

.booking-card::before {
  position: absolute;
  top: 0;
  right: 26px;
  left: 26px;
  height: 4px;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(90deg, var(--sea-dark), var(--sea-bright), var(--sand));
  content: "";
}

.section-heading { justify-content: space-between; gap: 20px; margin: 0 4px 16px; }
.step-label { color: var(--sea); }
.section-heading h2 { margin: 0; font-size: clamp(23px, 4vw, 31px); letter-spacing: -.03em; }
.secure-note { display: flex; flex: none; align-items: center; gap: 8px; color: var(--ink); font-size: 11px; font-weight: 800; line-height: 1.25; }
.secure-note small { color: var(--muted); font-size: 10px; font-weight: 500; }
.secure-note span { display: inline-grid; flex: none; width: 27px; height: 27px; place-items: center; color: #fff; border-radius: 50%; background: linear-gradient(135deg, var(--sea-bright), var(--sea-dark)); box-shadow: 0 6px 16px rgba(8,127,147,.24); }

.widget-host { min-height: 135px; }
.widget-host.is-loading { visibility: hidden; height: 135px; }
.widget-loading, .widget-error, .success-message { border-radius: 17px; }
.widget-loading { display: flex; min-height: 135px; align-items: center; justify-content: center; gap: 12px; color: var(--muted); text-align: center; }
.spinner { width: 22px; height: 22px; border: 3px solid #d8e6e8; border-top-color: var(--sea); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.success-message { display: flex; flex-direction: column; gap: 3px; margin-bottom: 18px; padding: 14px 16px; color: #155e4d; background: #e9f8f1; }
.success-message span { font-size: 13px; }
.widget-error { padding: 20px; text-align: center; border: 1px solid #f7dfc9; background: #fff7ef; }
.widget-error p { margin: 8px 0 16px; color: var(--muted); font-size: 14px; }
.widget-error a { display: inline-block; padding: 11px 16px; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; border-radius: 12px; background: var(--sea); }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 16px 18px 0; }
.benefits article { position: relative; min-width: 0; gap: 13px; overflow: hidden; padding: 17px; border: 1px solid rgba(215,231,232,.95); border-radius: 20px; background: rgba(255,255,255,.9); box-shadow: 0 10px 30px rgba(36,83,91,.07); }
.benefits article::after { position: absolute; top: 0; left: 18px; width: 42px; height: 3px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--sand), #ffd274); content: ""; }
.benefit-icon { display: grid; flex: none; width: 42px; height: 42px; place-items: center; color: var(--sea-dark); font-size: 14px; font-weight: 900; border: 1px solid rgba(8,127,147,.08); border-radius: 14px; background: linear-gradient(145deg, #e5f7f8, #d9eff1); }
.benefit-icon-wide { font-size: 10px; }
.benefits strong { display: block; font-size: 14px; }
.benefits p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }

.support-card { position: relative; justify-content: space-between; gap: 20px; overflow: hidden; margin: 14px 18px 0; padding: 18px 20px; color: #fff; border: 1px solid rgba(255,255,255,.22); border-radius: 22px; background: linear-gradient(115deg, #075b6c, #0a8295 67%, #159aac); box-shadow: 0 15px 38px rgba(7,89,106,.18); }
.support-card::after { position: absolute; right: -65px; bottom: -115px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,219,148,.16); content: ""; }
.support-copy { position: relative; z-index: 1; gap: 13px; }
.support-icon { display: grid; flex: none; width: 42px; height: 42px; place-items: center; color: var(--sea-dark); font-size: 18px; font-weight: 900; border-radius: 14px; background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.support-copy strong { font-size: 15px; }
.support-copy p { margin: 4px 0 0; color: rgba(255,255,255,.8); font-size: 11px; line-height: 1.4; }
.support-card a { position: relative; z-index: 1; flex: none; padding: 11px 16px; color: var(--sea-dark); font-size: 12px; font-weight: 800; text-decoration: none; border-radius: 12px; background: #fff; box-shadow: 0 7px 20px rgba(0,0,0,.12); transition: transform .18s ease, box-shadow .18s ease; }
.support-card a:hover { transform: translateY(-1px); box-shadow: 0 9px 24px rgba(0,0,0,.17); }

footer { justify-content: center; flex-wrap: wrap; gap: 10px; padding: 19px 12px 0; color: var(--muted); font-size: 11px; }
footer a { text-underline-offset: 3px; }

@media (min-width: 641px) {
  html {
    zoom: .82;
  }

  .app-shell {
    width: min(100%, 1073px);
  }

  .hero {
    min-height: 258px;
    padding: 20px 24px;
  }

  .hero-copy {
    margin-top: 24px;
  }

  .hero h1 {
    font-size: clamp(31px, 5vw, 44px);
  }

  .hero-copy > p:last-child {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.45;
  }

  .trust-row {
    margin-top: 18px;
  }
}

@media (max-width: 640px) {
  .app-shell { padding: 0 0 22px; }
  .hero { min-height: 258px; padding: 14px 16px 40px; border-width: 0; border-radius: 0 0 27px 27px; background-position: 58% 46%; }
  .hero-shade { background: linear-gradient(95deg, rgba(2,45,57,.94) 0%, rgba(3,71,85,.78) 60%, rgba(1,35,44,.28) 100%); }
  .brand-logo { width: 118px; max-width: 38vw; }
  .direct-badge { gap: 5px; padding: 6px 9px 6px 6px; font-size: 9px; }
  .direct-badge i { width: 17px; height: 17px; }
  .hero-copy { max-width: 340px; margin-top: 20px; }
  .eyebrow { max-width: 280px; margin-bottom: 6px; font-size: 9px; line-height: 1.3; letter-spacing: .1em; }
  .hero h1 { max-width: 345px; font-size: clamp(29px, 8.2vw, 34px); line-height: 1.01; }
  .hero-copy > p:last-child { max-width: 330px; margin-top: 9px; font-size: 12px; line-height: 1.38; }
  .trust-row { display: none; }
  .booking-card { margin: -31px 10px 0; padding: 20px 15px; border: 2px solid rgba(8,127,147,.2); border-radius: 23px; box-shadow: 0 22px 58px rgba(5,76,90,.23), 0 5px 16px rgba(5,76,90,.09); }
  .booking-card::before { right: 20px; left: 20px; height: 5px; }
  .section-heading { align-items: flex-start; margin-bottom: 14px; padding: 0 2px 14px; border-bottom: 1px solid #dfeded; }
  .step-label { display: inline-flex; margin-bottom: 8px; padding: 5px 8px; color: #fff; font-size: 9px; border-radius: 999px; background: linear-gradient(120deg, var(--sea-dark), var(--sea)); letter-spacing: .1em; }
  .section-heading h2 { font-size: clamp(24px, 7vw, 29px); }
  .secure-note { max-width: 100px; text-align: right; line-height: 1.35; }
  .secure-note span { width: 24px; height: 24px; }
  .benefits { grid-template-columns: 1fr; margin-inline: 10px; }
  .benefits article { padding: 13px 15px; }
  .support-card { align-items: stretch; flex-direction: column; margin-inline: 10px; padding: 18px; }
  .support-card a { width: 100%; text-align: center; }
}

@media (max-width: 640px) and (max-height: 760px) {
  .hero { min-height: 226px; padding-bottom: 36px; }
  .hero-copy { margin-top: 15px; }
  .hero-copy > p:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; }
}
