:root {
  --navy: #12324b;
  --deep: #09253a;
  --teal: #0d8f9a;
  --cyan: #2bb7c6;
  --sand: #f3eadb;
  --gold: #d8a43d;
  --coral: #c96b4a;
  --ink: #172331;
  --muted: #607080;
  --line: #dde7ea;
  --paper: #ffffff;
  --soft: #f6f8f7;
  --shadow: 0 20px 55px rgba(18, 50, 75, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(18, 50, 75, 0.1);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease, padding 0.2s ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  box-shadow: 0 12px 35px rgba(9, 37, 58, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 215px;
  text-decoration: none;
  font-weight: 800;
  color: var(--navy);
}

.brand img {
  width: 116px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  max-width: 150px;
  font-size: 0.86rem;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--navy);
}

.main-nav a,
.footer-links a,
.text-link {
  text-decoration: none;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta,
.btn-primary {
  color: white;
  background: var(--coral);
  box-shadow: 0 14px 30px rgba(201, 107, 74, 0.26);
}

.btn-secondary {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 146px 0 46px;
  color: white;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(9, 37, 58, 0.88), rgba(9, 37, 58, 0.5) 48%, rgba(9, 37, 58, 0.18)),
    url("../img/hero-protaras.jpg") center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(9, 37, 58, 0.12), rgba(9, 37, 58, 0.78));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 54px;
  align-items: center;
}

.hero-content {
  max-width: 780px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-subtitle {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1.18;
}

.hero-text {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.availability,
.price-card,
.value-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.availability span,
.price-card span,
.value-card span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.availability strong,
.price-card strong,
.value-card strong {
  display: block;
  margin: 5px 0;
  font-size: 3rem;
  line-height: 1;
}

.availability small,
.price-card small,
.value-card small {
  color: rgba(255, 255, 255, 0.74);
}

.badge-wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 46px;
}

.badge-wrap span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.9rem;
  font-weight: 750;
}

.section {
  padding: 92px 0;
}

.muted {
  background: var(--soft);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 650px;
}

.section-heading p:not(.eyebrow),
.split-layout p,
.conditions p,
.form-intro p,
.contact-grid p {
  color: var(--muted);
  font-size: 1.03rem;
}

.feature-grid,
.mini-grid,
.hotel-grid {
  display: grid;
  gap: 22px;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card,
.mini-grid article,
.hotel-card,
.award-box,
.contact-card,
.application-form,
.tariff-card {
  border: 1px solid rgba(18, 50, 75, 0.08);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 270px;
  padding: 26px;
}

.card-number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--teal);
  font-weight: 900;
}

.feature-card p,
.mini-grid p,
.hotel-card p {
  color: var(--muted);
}

.creative-section {
  background: linear-gradient(180deg, white, #f8fbfb);
}

.split-layout,
.tariff-grid,
.form-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 900;
}

.award-box {
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(13, 143, 154, 0.08), rgba(216, 164, 61, 0.12)),
    white;
}

.award-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.award-list span {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--navy);
  background: white;
  font-size: 0.85rem;
  font-weight: 800;
}

.image-band {
  padding: 0 0 92px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.image-grid figure {
  position: relative;
  height: 310px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}

.image-grid figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 10px 12px;
  border-radius: 6px;
  color: white;
  background: rgba(9, 37, 58, 0.72);
  font-weight: 850;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.timeline-card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(18, 50, 75, 0.08);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 40px rgba(18, 50, 75, 0.08);
}

.timeline-card time {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--coral);
  font-weight: 900;
}

.timeline-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.brochure-box {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
  margin-top: 32px;
  padding: 30px;
  border-radius: 8px;
  color: white;
  background: var(--navy);
}

.brochure-box h3 {
  color: white;
}

.brochure-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
}

.brochure-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.brochure-links a {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 850;
  text-decoration: none;
}

.mini-grid {
  grid-template-columns: repeat(3, 1fr);
}

.mini-grid article {
  padding: 26px;
}

.hotel-grid {
  grid-template-columns: repeat(2, 1fr);
}

.hotel-card {
  overflow: hidden;
}

.hotel-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.hotel-card div {
  padding: 26px;
}

.hotel-card span {
  color: var(--teal);
  font-weight: 900;
}

.note,
.important-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.tariff-section {
  background:
    linear-gradient(120deg, rgba(9, 37, 58, 0.94), rgba(13, 143, 154, 0.86)),
    var(--navy);
}

.tariff-grid {
  grid-template-columns: 360px minmax(0, 1fr);
}

.tariff-card {
  position: sticky;
  top: 94px;
  padding: 32px;
  color: white;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.tariff-card strong {
  display: block;
  font-size: 5rem;
  line-height: 0.95;
}

.tariff-card span {
  display: block;
  margin: 6px 0 18px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 850;
}

.tariff-card p {
  color: rgba(255, 255, 255, 0.82);
}

.real-value,
.limited {
  margin-top: 14px;
  padding: 14px;
  border-radius: 6px;
}

.real-value {
  color: var(--navy);
  background: white;
}

.limited {
  color: white;
  background: var(--coral);
  font-weight: 900;
}

.conditions {
  color: white;
}

.conditions h2,
.conditions h3 {
  color: white;
}

.conditions p {
  color: rgba(255, 255, 255, 0.76);
}

.condition-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.condition-columns div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.condition-columns ul,
.criteria-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.condition-columns li,
.criteria-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.condition-columns li::before,
.criteria-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
}

.selection-section {
  background: #fffaf1;
}

.firm-text {
  padding-left: 18px;
  border-left: 4px solid var(--coral);
  color: var(--navy) !important;
  font-weight: 850;
}

.criteria-list {
  padding: 28px;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.form-layout {
  grid-template-columns: 340px minmax(0, 1fr);
}

.form-highlight {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding: 22px;
  border-radius: 8px;
  color: white;
  background: var(--navy);
}

.form-highlight strong {
  font-size: 2.8rem;
  line-height: 1;
}

.application-form {
  padding: 30px;
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

fieldset {
  padding: 18px;
  border: 1px solid #ccd9dc;
  border-radius: 6px;
  background: #fbfdfd;
}

legend {
  padding: 0 8px;
  color: var(--navy);
  font-weight: 850;
}

.check-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.check-group label {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(18, 50, 75, 0.09);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-weight: 650;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #ccd9dc;
  border-radius: 6px;
  color: var(--ink);
  background: white;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(43, 183, 198, 0.22);
  border-color: var(--teal);
}

.wide,
.checkbox {
  margin-top: 18px;
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--ink);
  font-weight: 650;
}

.checkbox input {
  width: 20px;
  min-height: 20px;
  margin-top: 3px;
}

.check-group input {
  width: 18px;
  min-height: 18px;
  flex: 0 0 18px;
}

.application-form .btn {
  width: 100%;
  margin-top: 22px;
}

.success-message {
  margin: 18px 0 0;
  padding: 16px;
  border-radius: 6px;
  color: #175331;
  background: #e7f7ec;
  font-weight: 800;
}

.field-error {
  margin: 10px 0 0;
  color: #a33d28;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-section {
  background: white;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 28px;
  font-style: normal;
}

.contact-card span {
  color: var(--teal);
  font-weight: 900;
}

.contact-card a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--deep);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
}

.site-footer img {
  width: 130px;
  margin-bottom: 10px;
  background: white;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: white;
  font-weight: 850;
}

.credits {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.8rem;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .main-nav {
    position: fixed;
    top: 74px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .header-cta {
    justify-self: end;
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-grid,
  .split-layout,
  .tariff-grid,
  .form-layout,
  .contact-grid,
  .brochure-box {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .availability strong,
  .price-card strong,
  .value-card strong {
    font-size: 2.15rem;
  }

  .feature-grid,
  .image-grid,
  .timeline,
  .hotel-grid,
  .condition-columns,
  .mini-grid {
    grid-template-columns: 1fr 1fr;
  }

  .image-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .check-group {
    grid-template-columns: repeat(2, 1fr);
  }

  .tariff-card {
    position: static;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 126px;
  }

  .container {
    width: min(100% - 28px, 1140px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 96px;
  }

  .brand span {
    font-size: 0.78rem;
  }

  .header-cta {
    grid-column: 1 / -1;
    min-height: 40px;
  }

  .main-nav {
    top: 104px;
  }

  .section {
    padding: 64px 0;
  }

  .image-band {
    padding-bottom: 64px;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-panel,
  .feature-grid,
  .image-grid,
  .timeline,
  .hotel-grid,
  .condition-columns,
  .mini-grid,
  .brochure-links,
  .check-group,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .image-grid figure {
    height: 240px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .application-form {
    padding: 22px;
  }

  .footer-grid {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
