:root {
  color-scheme: light;
  --ink: #061a3a;
  --muted: #5c6680;
  --line: #dfe5ee;
  --paper: #fffaf2;
  --white: #ffffff;
  --blue: #073d73;
  --blue-dark: #082c57;
  --orange: #e95720;
  --green: #4b7118;
  --green-dark: #0f4d2d;
  --gold: #f6a13a;
  --aqua: #088ba0;
  --danger: #b54747;
  --shadow: 0 18px 60px rgba(8, 44, 87, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  align-items: center;
  background: rgba(255, 250, 242, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 229, 238, 0.82);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 12px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
.trust-row,
.form-head,
.summary > div,
.tour-option,
.close-button,
.nav-actions,
.benefit-strip article {
  align-items: center;
  display: flex;
}

.brand {
  gap: 12px;
  min-width: 250px;
}

.brand-logo {
  background: #fff7e9;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(23, 32, 28, 0.12);
  height: 54px;
  object-fit: cover;
  width: 54px;
}

.brand strong {
  color: var(--blue);
  font-size: 19px;
}

.brand small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 2px;
}

nav {
  display: flex;
  gap: 6px;
}

nav a {
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
}

nav a:hover {
  background: rgba(7, 61, 115, 0.08);
}

.nav-actions {
  gap: 16px;
  font-size: 14px;
}

.nav-actions a {
  color: var(--ink);
}

.nav-cta {
  background: var(--blue);
  border-radius: 8px;
  color: var(--white) !important;
  font-weight: 800;
  padding: 12px 20px;
}

.hero {
  min-height: 640px;
  overflow: hidden;
  position: relative;
}

.hero > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.78), rgba(255, 250, 242, 0.28) 46%, rgba(255, 250, 242, 0.02)),
    linear-gradient(180deg, rgba(255, 250, 242, 0.12), rgba(255, 250, 242, 0.5));
  inset: 0;
  position: absolute;
}

.hero-content {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  margin: 0 auto;
  max-width: 1420px;
  min-height: 640px;
  padding: 132px clamp(22px, 4vw, 66px) 40px;
  position: relative;
}

.hero-copy {
  color: var(--ink);
  max-width: min(940px, 64vw);
}

.eyebrow {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--blue);
  font-size: clamp(48px, 5.8vw, 88px);
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 20px;
  max-width: 940px;
}

h1 span,
h1 strong {
  display: block;
  white-space: nowrap;
}

h1 strong {
  color: var(--orange);
}

.hero-copy > p:not(.eyebrow) {
  color: var(--ink);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
  max-width: 620px;
}

.hero-copy p strong {
  color: var(--orange);
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-row span {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  padding: 10px 12px;
}

.booking-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  margin: 8px auto 0;
  max-width: 1040px;
  padding: 16px 18px;
  width: 100%;
}

.form-head {
  border-bottom: 1px solid var(--line);
  gap: 12px;
  justify-content: start;
  margin: 0;
  padding-bottom: 10px;
}

.form-head span,
label,
legend,
.summary span,
.fine-print {
  color: var(--muted);
  font-size: 13px;
}

.form-head strong {
  color: var(--blue);
  font-size: 14px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 11px;
}

.field-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.booking-fields {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(190px, 1.25fr) repeat(4, minmax(130px, 1fr)) minmax(150px, 0.9fr);
}

.booking-fields label {
  border-right: 1px solid var(--line);
  margin: 0;
  padding-right: 14px;
}

.booking-fields label:nth-of-type(5) {
  border-right: 0;
}

input,
select,
textarea {
  appearance: none;
  background: #fbfcff;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 42px;
  padding: 0;
  width: 100%;
}

textarea {
  border-color: var(--line);
  min-height: 92px;
  padding: 12px;
  resize: vertical;
}

input[type="checkbox"] {
  appearance: auto;
  accent-color: var(--green);
  min-height: auto;
  width: 18px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(45, 143, 163, 0.14);
  outline: none;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  padding: 10px;
}

legend {
  padding: 0 6px;
}

.tour-options {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tour-option {
  background: #f9fbf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  gap: 10px;
  justify-content: space-between;
  padding: 8px 10px;
}

.tour-option input {
  min-height: auto;
  width: auto;
}

.tour-option span {
  color: var(--ink);
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.tour-option small {
  color: var(--muted);
  font-size: 11px;
}

.summary {
  background: #f3f7fb;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 12px;
}

.summary > div {
  align-items: start;
  display: grid;
  gap: 4px;
  justify-content: space-between;
}

.grand-total {
  border-left: 1px solid #d6e0ed;
  border-top: 0;
  padding-left: 12px;
  padding-top: 0;
}

.grand-total strong,
.installment strong {
  color: var(--blue);
  font-size: 18px;
}

.primary-button {
  background: var(--blue);
  border: 0;
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  margin: 0;
  min-height: 46px;
  width: 100%;
}

.primary-button:hover {
  background: var(--blue-dark);
}

.fine-print {
  line-height: 1.4;
  margin: 12px 0 0;
}

.booking-extra {
  display: grid;
  gap: 12px;
}

.quick-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.quick-actions span {
  color: var(--muted);
  font-size: 13px;
}

.quick-actions a {
  background: #f2f6fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 14px;
}

.benefit-strip {
  background: transparent;
  display: grid;
  gap: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: -34px auto 0;
  max-width: 1380px;
  padding: 0 clamp(18px, 4vw, 56px);
  position: relative;
  z-index: 3;
}

.benefit-strip article {
  background: rgba(255, 255, 255, 0.96);
  border-right: 1px solid var(--line);
  box-shadow: 0 16px 50px rgba(8, 44, 87, 0.1);
  gap: 14px;
  min-height: 98px;
  padding: 20px;
}

.benefit-strip article:first-child {
  border-radius: 8px 0 0 8px;
}

.benefit-strip article:last-child {
  border-radius: 0 8px 8px 0;
  border-right: 0;
}

.benefit-strip article > span {
  align-items: center;
  background: var(--blue);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  flex: 0 0 48px;
  font-size: 12px;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.benefit-strip article:nth-child(2) > span {
  background: var(--aqua);
}

.benefit-strip article:nth-child(3) > span {
  background: var(--orange);
}

.benefit-strip article:nth-child(4) > span {
  background: var(--green);
}

.benefit-strip article h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.benefit-strip article p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
}

.section,
.band-content,
.cta,
.offer-row {
  margin: 0 auto;
  max-width: 1180px;
  padding: 82px clamp(18px, 4vw, 56px);
}

.scope-strip {
  background: var(--green-dark);
  color: var(--white);
}

.scope-strip > div {
  margin: 0 auto;
  max-width: 1180px;
  padding: 48px clamp(18px, 4vw, 56px);
}

.scope-strip h2 {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
  margin: 0;
  max-width: 980px;
}

.section-head {
  max-width: 760px;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0;
  line-height: 1.03;
  margin-bottom: 16px;
}

.section-head p:not(.eyebrow),
.band p,
.cta p,
.tech p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.inn-grid,
.tech-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
}

.inn-card,
.tech-grid article,
.tour-list article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.inn-card {
  min-height: 0;
  padding: 0;
}

.inn-card .tag {
  background: rgba(45, 143, 163, 0.1);
  border-radius: 8px;
  color: var(--aqua);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
  padding: 7px 9px;
}

.card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.card-media button {
  background: rgba(8, 44, 87, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  min-height: 34px;
  min-width: 34px;
  position: absolute;
  right: 10px;
  top: 10px;
}

.favorite-button {
  font-size: 15px !important;
}

.favorite-button.is-favorite {
  background: var(--orange);
}

.media-tag {
  background: var(--orange);
  border-radius: 0 0 8px 0;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  left: 0;
  padding: 8px 10px;
  position: absolute;
  top: 0;
}

.card-body {
  padding: 12px;
}

.inn-card h3,
.tech-grid h3,
.tour-list h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.inn-card p,
.tour-list p {
  color: var(--muted);
  line-height: 1.55;
}

.rating {
  color: var(--orange);
  display: block;
  font-weight: 800;
  margin-top: 10px;
}

.price {
  color: var(--blue);
  display: block;
  font-size: 17px;
  font-weight: 900;
  margin-top: 8px;
}

.price small {
  color: var(--muted);
  font-weight: 500;
}

.band {
  background: transparent;
}

.band-content {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.tour-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tour-list article {
  display: grid;
  gap: 0;
  padding: 0;
}

.tour-list strong {
  color: var(--blue);
  display: block;
  font-size: 15px;
  padding: 0 12px 14px;
}

.tour-list article > div:not(.card-media) {
  padding: 12px 12px 4px;
}

.ranking-review-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  margin-top: 24px;
}

.ranking-panel,
.review-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 50px rgba(8, 44, 87, 0.08);
  padding: 20px;
}

.ranking-panel h3,
.review-panel h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.ranking-panel ol {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ranking-panel li {
  align-items: center;
  background: #f4f7fb;
  border-radius: 8px;
  display: grid;
  gap: 4px 10px;
  grid-template-columns: auto 1fr;
  padding: 12px;
}

.ranking-panel li > span {
  align-items: center;
  background: var(--blue);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  grid-row: span 2;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.ranking-panel small {
  color: var(--muted);
}

.review-form {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-comment {
  grid-column: 1 / -1;
}

.secondary-button {
  background: var(--orange);
  border: 0;
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  min-height: 46px;
}

.review-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.review-list article {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.review-list span {
  color: var(--orange);
  display: block;
  font-weight: 900;
  margin: 4px 0 8px;
}

.review-list p {
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 8px;
}

.review-list small {
  color: var(--muted);
}

.tech-grid article span {
  color: var(--gold);
  display: block;
  font-weight: 900;
  margin-bottom: 20px;
}

.offer-row {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr 1fr 1fr 1.55fr;
  padding-top: 0;
}

.offer-row article {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-right: 0;
  display: flex;
  gap: 14px;
  min-height: 98px;
  padding: 20px;
}

.offer-row article:first-child {
  border-radius: 8px 0 0 8px;
}

.offer-row article:last-child {
  border-radius: 0 8px 8px 0;
  border-right: 1px solid var(--line);
}

.offer-row span {
  align-items: center;
  color: var(--blue);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  min-width: 48px;
}

.offer-row h3 {
  font-size: 15px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.offer-row p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.installment-banner {
  background: var(--blue) !important;
  color: var(--white);
}

.installment-banner span,
.installment-banner h3,
.installment-banner p,
.installment-banner strong {
  color: var(--white);
}

.installment-banner strong {
  color: var(--gold);
  font-size: 54px;
  line-height: 1;
  margin-left: auto;
}

.cta {
  padding-top: 38px;
}

.cta h2 {
  max-width: 760px;
}

.modal {
  align-items: center;
  background: rgba(12, 24, 21, 0.62);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 20;
}

.modal[hidden] {
  display: none;
}

.modal-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 560px;
  padding: 26px;
  position: relative;
  width: 100%;
}

.close-button {
  background: #eef5f1;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  height: 36px;
  justify-content: center;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 36px;
}

.modal-card dl {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin: 18px 0 0;
}

.modal-card dt {
  color: var(--muted);
  font-size: 12px;
}

.modal-card dd {
  font-weight: 800;
  margin: 3px 0 0;
}

.error {
  color: var(--danger);
  font-weight: 800;
  margin: 10px 0 0;
}

@media (max-width: 980px) {
  .topbar {
    position: sticky;
  }

  .topbar,
  nav,
  .nav-actions {
    gap: 10px;
  }

  .topbar {
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    overflow-x: auto;
    width: 100%;
  }

  .hero,
  .hero-content {
    min-height: auto;
  }

  .hero-content,
  .band-content,
  .offer-row,
  .ranking-review-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 58px;
  }

  .booking-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-fields label {
    border-right: 0;
    padding-right: 0;
  }

  .summary,
  .tour-options,
  .tour-list,
  .review-list {
    grid-template-columns: 1fr;
  }

  .benefit-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .benefit-strip article,
  .benefit-strip article:first-child,
  .benefit-strip article:last-child,
  .offer-row article,
  .offer-row article:first-child,
  .offer-row article:last-child {
    border-radius: 8px;
    border: 1px solid var(--line);
  }

  .inn-grid,
  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar,
  nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
  }

  .nav-actions a {
    text-align: center;
  }

  nav {
    width: 100%;
  }

  nav a {
    padding-left: 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    height: 44px;
    width: 44px;
  }

  h1 {
    font-size: 46px;
  }

  h1 span,
  h1 strong {
    white-space: normal;
  }

  .booking-fields,
  .field-grid,
  .inn-grid,
  .tech-grid,
  .modal-card dl,
  .benefit-strip,
  .review-form {
    grid-template-columns: 1fr;
  }

  .booking-card {
    padding: 16px;
  }

  .tour-list article {
    grid-template-columns: 1fr;
  }
}
