:root {
  --ink: #101828;
  --ink-2: #263247;
  --muted: #637083;
  --paper: #fbfdff;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --wash: #eef4f8;
  --wash-2: #e4f5f4;
  --line: #d8e1ec;
  --brand: #0b8f9c;
  --brand-dark: #073b57;
  --accent: #d46b45;
  --gold: #d8a62f;
  --green: #238a6f;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(24, 32, 51, 0.11);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(11, 143, 156, 0.08), rgba(7, 59, 87, 0.03) 42%, rgba(216, 166, 47, 0.07)),
    repeating-linear-gradient(90deg, rgba(7, 59, 87, 0.045) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(7, 59, 87, 0.035) 0 1px, transparent 1px 72px),
    #f3f7fb;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

button {
  font: inherit;
}

input,
select,
textarea {
  font: inherit;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", "Manrope", Arial, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.78rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.15;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--paper);
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(15, 139, 141, 0.24);
}

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

.button.ghost {
  color: var(--brand-dark);
  border-color: var(--line);
  background: var(--paper);
}

.button.ghost:hover {
  border-color: var(--brand);
  background: var(--wash-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
}

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

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a,
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0.42rem 0.12rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
}

.nav-links a:hover,
.dropdown-toggle:hover,
.nav-dropdown:focus-within .dropdown-toggle {
  color: var(--brand-dark);
  border-color: var(--brand);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(260px, 80vw);
  display: grid;
  gap: 0.2rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
  visibility: hidden;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.dropdown-menu a {
  min-height: 40px;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: var(--radius);
}

.dropdown-menu a:hover {
  background: var(--wash-2);
}

.page-hero {
  padding: clamp(72px, 9vw, 118px) 0;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(6, 22, 40, 0.94), rgba(7, 59, 87, 0.76)),
    url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.page-hero h1,
.page-hero .lead,
.page-hero .eyebrow {
  color: var(--paper);
}

.page-hero .eyebrow {
  color: #a7e7de;
}

.page-hero .lead {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.ai-portal-shell {
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.ai-portal-frame {
  display: block;
  width: 100%;
  min-height: 800px;
  border: 0;
  border-radius: var(--radius);
  background: #f4f7f8;
}

.ai-portal-fallback {
  margin-top: 1rem;
  text-align: center;
}

@media (max-width: 720px) {
  .ai-portal-shell {
    padding: 10px;
  }

  .ai-portal-frame {
    min-height: 720px;
    border-radius: 12px;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

section {
  padding: clamp(44px, 6vw, 76px) 0;
}

.section-alt {
  background: linear-gradient(135deg, rgba(238, 244, 248, 0.9), rgba(228, 245, 244, 0.72));
  border-block: 1px solid rgba(216, 225, 236, 0.74);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 0.75rem;
}

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

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

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

.card {
  display: grid;
  gap: 0.65rem;
  padding: 0.95rem;
  border: 1px solid rgba(216, 225, 236, 0.82);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
  backdrop-filter: blur(10px);
}

.card img {
  width: calc(100% + 1.9rem);
  height: 126px;
  margin: -0.95rem -0.95rem 0;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.card p {
  color: var(--muted);
}

.tag {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.48rem;
  border-radius: 999px;
  color: var(--brand-dark);
  background: var(--wash-2);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--brand-dark);
  background: var(--wash-2);
}

.icon.coral {
  color: #ad432c;
  background: #fff0ec;
}

.icon.gold {
  color: #935b0c;
  background: #fff3df;
}

.icon.green {
  color: #176e65;
  background: #e8f6f4;
}

.check-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--ink-2);
  font-size: 0.94rem;
}

.check-list svg {
  flex: 0 0 auto;
  margin-top: 0.16rem;
  color: var(--green);
}

.notice {
  border-color: #f5cc86;
  background: #fff8eb;
}

.payment-box {
  color: var(--paper);
  background: linear-gradient(135deg, var(--ink), var(--brand-dark));
  box-shadow: var(--shadow);
}

.payment-box h2,
.payment-box h3,
.payment-box p {
  color: var(--paper);
}

.payment-number {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: max-content;
  max-width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius);
  color: var(--brand-dark);
  background: var(--paper);
  font-weight: 900;
}

.choice-list {
  display: grid;
  gap: 0.75rem;
}

.choice-list .button {
  justify-content: flex-start;
}

.request-form {
  display: grid;
  gap: 1rem;
}

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

.field,
.field.full {
  display: grid;
  gap: 0.38rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.76rem 0.82rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(15, 139, 141, 0.16);
  border-color: var(--brand);
}

.form-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-card a {
  color: var(--brand-dark);
  font-weight: 900;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(24, 32, 51, 0.06);
}

.photo-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--wash);
}

.photo-card.tall img {
  height: 360px;
}

.photo-card.wide {
  grid-column: span 2;
}

.photo-card .card-body {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.photo-card p {
  color: var(--muted);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
}

.site-footer h3,
.site-footer h4 {
  color: var(--paper);
}

.footer-list {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-list a:hover {
  color: var(--paper);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .nav-links {
    gap: 0.65rem;
  }

  .grid-3,
  .grid-4,
  .photo-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand small {
    display: none;
  }

  .nav {
    min-height: 66px;
    align-items: flex-start;
    flex-direction: column;
    padding: 0.85rem 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
  }

  .nav-dropdown {
    position: static;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    max-width: none;
    display: none;
    margin-top: 0.2rem;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    display: grid;
  }

  .hero-actions,
  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .photo-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
