:root {
  --ink: #111827;
  --muted: #5f6f86;
  --blue: #123f8c;
  --teal: #078a83;
  --gold: #d69a27;
  --rose: #c4516b;
  --cream: #fff8e8;
  --line: #dde5f0;
  --panel: #ffffff;
  --shadow: 0 18px 50px rgba(20, 33, 61, 0.12);
  --deep: #071733;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.top-strip {
  background: var(--deep);
  color: #fff;
  font-size: 14px;
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: clamp(210px, 24vw, 292px);
  max-height: 78px;
  height: auto;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--gold));
  border-radius: 8px;
  font-size: 24px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.4vw, 18px);
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  color: #28364d;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0f6f87);
  box-shadow: 0 12px 30px rgba(22, 70, 160, 0.24);
}

.btn.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn.gold {
  color: #201405;
  background: var(--gold);
}

.hero {
  min-height: 660px;
  position: relative;
  display: grid;
  align-items: center;
  color: #fff;
  isolation: isolate;
  background: #0b1f3b;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(100deg, rgba(7, 21, 47, 0.94), rgba(18, 42, 88, 0.6), rgba(7, 21, 47, 0.16));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(7, 21, 47, 0.58), transparent);
}

.hero-content {
  width: min(690px, 100%);
  padding: 88px 0 110px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.hero.is-ready .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  padding: 7px 11px;
  color: #fff3c4;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  width: fit-content;
  color: var(--blue);
  background: #eef5ff;
  border-color: #cdddf8;
}

.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 34px;
}

.hero-dots button {
  width: 34px;
  height: 4px;
  min-height: 4px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.4);
}

.hero-dots button.active {
  width: 54px;
  background: var(--gold);
}

.announce {
  position: relative;
  margin-top: -42px;
  z-index: 5;
}

.announce-inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(220, 168, 61, 0.28);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.announce span {
  flex: 0 0 auto;
  padding: 8px 12px;
  color: #583900;
  background: #fff4d6;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

section {
  padding: 78px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

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

.section-head.split-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

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

.stats div,
.destination-card,
.approval,
blockquote,
.admin-panel,
.lead-row {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats div {
  padding: 24px;
  text-align: center;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.stats strong {
  display: block;
  color: var(--gold);
  font-size: 36px;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.media-stack {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 16px;
  align-items: end;
}

.media-stack img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-stack img:last-child {
  height: 300px;
}

.service-list {
  columns: 2;
  padding-left: 22px;
}

.service-list li {
  margin: 0 0 12px;
  break-inside: avoid;
}

.support-showcase {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(7, 23, 51, 0.96), rgba(18, 63, 140, 0.86)),
    url("../img/pyra_img5.jpg") center / cover;
}

.support-showcase h2 {
  margin: 14px 0 16px;
  max-width: 680px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
}

.support-showcase p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.support-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.support-panel {
  padding: 26px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.support-panel h3 {
  margin: 14px 0 18px;
  font-size: 30px;
}

.premium-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.premium-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
}

.premium-list span {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 99px;
  background: var(--gold);
}

.destinations,
.gallery-grid,
.approvals,
.testimonials,
.videos,
.process-grid {
  display: grid;
  gap: 18px;
}

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

.destination-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

.destination-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.destination-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef2f7;
}

.destination-card div {
  padding: 16px;
}

.destination-card h3 {
  font-size: 19px;
}

.destination-card h3,
.destination-card p {
  margin: 0;
}

.destination-card p {
  color: var(--muted);
  font-size: 14px;
}

.band {
  background: #fff;
}

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

.process-grid.compact {
  grid-template-columns: 1fr;
  gap: 12px;
}

.process-card {
  position: relative;
  min-height: 210px;
  padding: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
}

.process-grid.compact .process-card {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 0 14px;
  min-height: auto;
  padding: 16px;
}

.process-grid.compact .process-card strong {
  grid-row: span 2;
  margin: 0;
  font-size: 28px;
}

.process-card strong {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
}

.process-card h3 {
  margin: 0 0 8px;
}

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

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

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 36%);
  grid-template-columns: none;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 4px 2px 18px;
}

.scroll-row > * {
  scroll-snap-align: start;
}

.scroll-row::-webkit-scrollbar {
  height: 10px;
}

.scroll-row::-webkit-scrollbar-track {
  background: #e9eef6;
  border-radius: 99px;
}

.scroll-row::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 99px;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #dde4ef;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(20, 33, 61, 0.78);
  border-radius: 8px;
  font-weight: 800;
}

.approvals {
  grid-template-columns: repeat(6, 1fr);
}

.approval {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  text-align: center;
}

.approval img {
  width: 100%;
  height: 82px;
  object-fit: contain;
}

.approval p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

blockquote {
  margin: 0;
  padding: 26px;
}

blockquote p {
  margin-top: 0;
  font-size: 18px;
}

blockquote cite {
  color: var(--blue);
  font-style: normal;
  font-weight: 800;
}

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

.videos iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 110px 0 80px;
  color: #fff;
  background: #0b1f3b;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(7, 23, 51, 0.94), rgba(18, 63, 140, 0.58), rgba(7, 23, 51, 0.2));
}

.page-hero h1 {
  max-width: 760px;
  margin: 14px 0 16px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1;
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.story-grid,
.news-grid,
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.story-card,
.news-card,
.value-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.story-card img,
.news-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-card div,
.news-card div,
.value-card {
  padding: 20px;
}

.story-card h3,
.news-card h3,
.value-card h3 {
  margin: 0 0 8px;
}

.story-card p,
.news-card p,
.value-card p {
  margin: 0;
  color: var(--muted);
}

.category {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 9px;
  color: #6b4200;
  background: #fff2ce;
  border-radius: 8px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
}

.quote-band {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
}

.quote-band h2 {
  max-width: 760px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}

.contact-box,
.lead-form {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

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

.lead-form textarea,
.lead-form button,
.lead-form .full {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  color: var(--ink);
  border: 1px solid #cfd6e4;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.status {
  min-height: 24px;
  color: var(--teal);
  font-weight: 800;
}

.status.error {
  color: #b42318;
}

.site-footer {
  padding: 28px 0;
  color: #c8d2e2;
  background: var(--deep);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.admin-page {
  background: #f3f6fb;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(7, 23, 51, 0.94), rgba(18, 63, 140, 0.78)),
    url("../img/pyra_img5.jpg") center / cover;
}

.login-panel {
  width: min(430px, 100%);
  display: grid;
  gap: 14px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-panel h1,
.login-panel p {
  margin: 0;
}

.login-logo {
  width: min(320px, 100%);
  height: auto;
  margin-bottom: 4px;
}

.login-panel p,
.login-panel a {
  color: var(--muted);
}

.login-panel label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.login-panel button {
  color: #fff;
  background: var(--blue);
}

.admin-hero {
  padding: 46px 0 28px;
  background: var(--ink);
  color: #fff;
}

.admin-grid {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 30px 0 70px;
}

.admin-panel {
  padding: 20px;
}

.admin-panel h2 {
  margin: 0 0 16px;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.admin-form-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.admin-form-section h3 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
}

.admin-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-stack {
  display: grid;
  gap: 18px;
}

.admin-item,
.lead-row {
  display: grid;
  grid-template-columns: 86px 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  margin-bottom: 10px;
}

.admin-item.text-only {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.admin-item img {
  width: 86px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
  background: #eef2f7;
}

.admin-item span,
.lead-row span,
.lead-row small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

button[type="submit"] {
  color: #fff;
  background: var(--blue);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.lead-row {
  grid-template-columns: 1fr;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-actions > button {
  flex: 1 1 180px;
}

.admin-panel-heading {
  margin-bottom: 16px;
}

.admin-panel-heading h2 {
  margin-bottom: 6px;
}

.admin-panel-heading p {
  margin: 0;
  color: var(--muted);
}

.collage-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.collage-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

#collageCanvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #eef2f7 25%, #f8fafc 25%, #f8fafc 50%, #eef2f7 50%, #eef2f7 75%, #f8fafc 75%);
  background-size: 32px 32px;
}

.admin-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--teal);
  font-weight: 800;
}

.admin-status.error {
  color: #b42318;
}
@media (max-width: 900px) {
  .top-strip .container,
  .site-footer .container,
  .split,
  .contact-grid,
  .admin-grid,
  .support-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .collage-controls {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    inset: 76px 16px auto;
    display: none;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .destinations,
  .gallery-grid,
  .approvals,
  .testimonials,
  .videos,
  .process-grid,
  .story-grid,
  .news-grid,
  .about-values,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head.split-head {
    display: grid;
  }

  .scroll-row {
    grid-auto-columns: minmax(270px, 74%);
    grid-template-columns: none;
  }

  .hero {
    min-height: 560px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 22px, 1160px);
  }

  .brand-logo {
    width: min(230px, 58vw);
    max-height: 62px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-content {
    padding: 64px 0 88px;
  }

  section {
    padding: 52px 0;
  }

  .destinations,
  .gallery-grid,
  .approvals,
  .testimonials,
  .videos,
  .stats,
  .process-grid,
  .story-grid,
  .news-grid,
  .about-values,
  .lead-form,
  .media-stack {
    grid-template-columns: 1fr;
  }

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

  .scroll-row {
    grid-auto-columns: 88%;
    grid-template-columns: none;
  }

  .service-list {
    columns: 1;
  }

  .admin-item {
    grid-template-columns: 72px 1fr;
  }

  .admin-item button {
    grid-column: 1 / -1;
  }
}
