/* ============================================================
   CNS Travels — styles.css
   Palette: deep navy / white / warm amber
   Type:    Manrope (self-hosted, variable 400–800)
   ============================================================ */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1f3a;          /* deep navy — headings, dark sections */
  --ink-deep: #071426;
  --ink-mid: #122a4c;
  --body: #3d4c63;         /* body text on light backgrounds */
  --muted: #5b6474;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --line: #e4eaf2;
  --accent: #f59e0b;       /* warm amber */
  --accent-deep: #c27803;  /* icons & decoration on light backgrounds (3:1) */
  --accent-text: #b45309;  /* amber-toned TEXT on light backgrounds (4.5:1+) */
  --accent-soft: #fef3dd;
  --on-dark-muted: #b8c4d6;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06), 0 4px 12px rgba(11, 31, 58, 0.06);
  --shadow-md: 0 2px 4px rgba(11, 31, 58, 0.06), 0 12px 32px rgba(11, 31, 58, 0.12);
  --header-h: 72px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset & base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  color: var(--ink);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 5.4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent-text);
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.section {
  padding-top: clamp(4.25rem, 9vw, 6.75rem);
  padding-bottom: clamp(4.25rem, 9vw, 6.75rem);
}

.section-soft {
  background: var(--bg-soft);
}

.section-dark {
  background:
    radial-gradient(52rem 30rem at 110% -10%, rgba(245, 158, 11, 0.14), transparent 60%),
    radial-gradient(40rem 26rem at -15% 110%, rgba(51, 80, 122, 0.5), transparent 60%),
    var(--ink);
  color: var(--on-dark-muted);
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.section-sub {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 0;
}

.section-dark .section-sub {
  color: var(--on-dark-muted);
}

.eyebrow {
  margin: 0 0 0.9em;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.eyebrow-light {
  color: var(--accent);
}

.accent-text {
  color: var(--accent);
}

.icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-lg {
  padding: 0.95rem 1.9rem;
  font-size: 1.02rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: #ffb01f;
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

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

.btn-dark {
  background: var(--ink-mid);
  color: #fff;
}

.btn-dark:hover {
  background: var(--ink);
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(11, 31, 58, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}

.brand-mark {
  display: inline-flex;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-tag {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  position: relative;
  padding: 0.35rem 0.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(60rem 36rem at 85% -20%, rgba(245, 158, 11, 0.16), transparent 58%),
    radial-gradient(48rem 30rem at -10% 115%, rgba(51, 80, 122, 0.55), transparent 62%),
    linear-gradient(160deg, var(--ink-deep), var(--ink) 55%, var(--ink-mid));
  color: var(--on-dark-muted);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(4rem, 9vw, 7rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.4em;
}

.lede {
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  max-width: 34rem;
  margin-bottom: 1.8em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--on-dark-muted);
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-facts li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-copy p {
  font-size: 1.05rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.about-points li {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.25rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-points .icon {
  color: var(--accent-deep);
  width: 28px;
  height: 28px;
}

.about-points h3 {
  font-size: 1rem;
  margin-bottom: 0.2em;
}

.about-points p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- fleet ---------- */

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 1.6rem;
}

.fleet-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fleet-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.fleet-media {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.fleet-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fleet-card:hover .fleet-media img {
  transform: scale(1.04);
}

.fleet-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.5rem 1.6rem;
}

.fleet-seats {
  align-self: flex-start;
  margin: 0 0 0.8rem;
  padding: 0.32rem 0.85rem;
  background: var(--accent-soft);
  color: var(--accent-text);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fleet-name {
  font-size: 1.35rem;
  margin-bottom: 0.35em;
}

.fleet-desc {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.2em;
}

.fleet-specs {
  margin: 0 0 1.4rem;
  border-top: 1px solid var(--line);
}

.fleet-specs div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.fleet-specs dt {
  color: var(--muted);
  font-weight: 600;
}

.fleet-specs dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.fleet-cta {
  margin-top: auto;
  width: 100%;
}

/* ---------- why choose ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.4rem;
}

.why-card {
  padding: 1.7rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.why-card h3 {
  margin-bottom: 0.4em;
}

.why-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.4rem;
}

.service-card {
  padding: 1.7rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(245, 158, 11, 0.5);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent);
}

.service-card h3 {
  margin-bottom: 0.4em;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.gallery-item {
  display: block;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 31, 58, 0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

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

/* ---------- CTA band ---------- */

.cta-band {
  background:
    radial-gradient(46rem 26rem at 100% 0%, rgba(245, 158, 11, 0.2), transparent 55%),
    var(--ink);
  color: var(--on-dark-muted);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.cta-inner h2 {
  color: #fff;
  max-width: 26ch;
  margin-bottom: 0.3em;
}

.cta-inner p {
  margin: 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 1.75rem;
  align-items: start;
}

.contact-info {
  background: var(--ink);
  color: var(--on-dark-muted);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
}

.contact-info-title {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-list li {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent);
  flex: none;
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 0.15rem;
}

.contact-value {
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

a.contact-value:hover {
  color: var(--accent);
}

.contact-note {
  margin: 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem 1.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-field {
  margin-bottom: 1.1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.label-optional {
  font-weight: 500;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: #d64545;
}

.field-error {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c03434;
}

.form-submit {
  width: 100%;
  margin-top: 0.4rem;
}

.form-status {
  margin: 1rem 0 0;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-text);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-status:empty {
  display: none;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink-deep);
  color: var(--on-dark-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 2fr);
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.6rem;
}

.footer-tag {
  margin: 0;
  font-size: 0.95rem;
  max-width: 30ch;
}

.footer-heading {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.footer-nav ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.footer-nav a,
.footer-contact a {
  color: var(--on-dark-muted);
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.3rem;
  padding-bottom: 1.3rem;
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- sticky mobile call bar ---------- */

.call-bar {
  display: none;
}

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(7, 20, 38, 0.94);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  width: min(1040px, calc(100vw - 8rem));
  text-align: center;
}

.lightbox-figure img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-figure figcaption {
  margin-top: 0.9rem;
  color: #d7deea;
  font-size: 0.95rem;
  font-weight: 600;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(245, 158, 11, 0.85);
  color: var(--ink);
}

.lightbox-close {
  top: 1.1rem;
  right: 1.1rem;
  font-size: 2rem;
}

.lightbox-prev {
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .lightbox-figure {
    width: calc(100vw - 2rem);
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 1.1rem;
    transform: none;
  }
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-visual {
    order: -1;
    max-width: 560px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 1rem 1.25rem 1.4rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(11, 31, 58, 0.12);
    display: none;
  }

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

  .no-js .site-nav {
    position: static;
    display: flex;
    box-shadow: none;
    padding-top: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 0.8rem 0.4rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin-top: 0.9rem;
  }

  .brand-tag {
    display: none;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 76px; /* room for the sticky call bar */
  }

  .call-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
    padding-bottom: calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(7, 20, 38, 0.97);
    box-shadow: 0 -6px 24px rgba(7, 20, 38, 0.3);
    transition: transform 0.3s ease;
  }

  .call-bar.is-hidden {
    transform: translateY(110%);
  }

  .call-bar-btn {
    flex: 1;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .about-points {
    grid-template-columns: 1fr;
  }

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

  .hero-actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- print ---------- */

@media print {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .call-bar,
  .lightbox,
  .nav-toggle,
  .skip-link {
    display: none !important;
  }

  body {
    padding-bottom: 0 !important;
  }
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
