/* ==========================================================================
   Armstrong Shrink Wrap — Site Stylesheet
   ========================================================================== */

:root {
  --navy-900: #081426;
  --navy-800: #0b1f3a;
  --navy-700: #10294d;
  --navy-600: #16345f;
  --blue-600: #1565d8;
  --blue-500: #1e6fe8;
  --blue-400: #4a8ff0;
  --blue-100: #e3edfc;
  --amber-500: #f5a623;
  --amber-600: #e0930f;
  --ink: #14202e;
  --slate: #4b5a6b;
  --mist: #f5f7fb;
  --line: #e2e8f1;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(8, 20, 38, 0.07);
  --shadow-md: 0 12px 34px rgba(8, 20, 38, 0.12);
  --shadow-lg: 0 24px 60px rgba(8, 20, 38, 0.18);
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 78px;
}

/* ---------- Reset / base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

ul[role="list"],
.no-bullets {
  list-style: none;
}

::selection {
  background: var(--blue-500);
  color: #fff;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--navy-800);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: top 0.25s var(--ease-out);
}

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

/* ---------- Layout helpers ---------- */

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
}

.section--mist {
  background: var(--mist);
}

.section--navy {
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #dce6f5;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.2rem, 5vw, 3.6rem);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--amber-500);
}

.section--navy .eyebrow {
  color: var(--blue-400);
}

h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-800);
  text-wrap: balance;
}

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

h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

.lead {
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  color: var(--slate);
  margin-top: 1.1rem;
  max-width: 62ch;
}

.section--navy .lead {
  color: #aebfd8;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    background-color 0.25s, color 0.25s, border-color 0.25s;
}

.btn svg {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--amber-500);
  color: var(--navy-900);
  box-shadow: 0 10px 26px rgba(245, 166, 35, 0.35);
}

.btn--primary:hover {
  background: var(--amber-600);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(245, 166, 35, 0.45);
}

.btn--blue {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 10px 26px rgba(21, 101, 216, 0.32);
}

.btn--blue:hover {
  background: var(--blue-500);
  transform: translateY(-2px);
}

.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);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}

.btn--outline:hover {
  background: var(--navy-800);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.3s, box-shadow 0.3s, height 0.3s;
  background: rgba(8, 20, 38, 0.42);
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
  height: 66px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand__logo {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: contain; /* fits any logo shape — square, wide, transparent PNG */
  padding: 2px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(8, 20, 38, 0.25);
  transition: width 0.3s, height 0.3s;
}

.site-header.is-solid .brand__logo {
  width: 40px;
  height: 40px;
}

.brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name strong {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  transition: color 0.3s;
}

.brand__name span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-500);
}

.site-header.is-solid .brand__name strong {
  color: var(--navy-800);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.6vw, 1.4rem);
  list-style: none;
}

.main-nav a:not(.btn) {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.35rem;
  font-weight: 600;
  font-size: 0.99rem;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.25s;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  bottom: 0.15rem;
  height: 2.5px;
  border-radius: 2px;
  background: var(--amber-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.main-nav a:not(.btn):hover::after,
.main-nav a:not(.btn)[aria-current="page"]::after,
.main-nav a:not(.btn).is-active::after {
  transform: scaleX(1);
}

.site-header.is-solid .main-nav a:not(.btn) {
  color: var(--ink);
}

.main-nav .btn {
  padding: 0.62rem 1.3rem;
  font-size: 0.92rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 130;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.6px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease-out), opacity 0.2s, background-color 0.3s;
}

.site-header.is-solid .nav-toggle span {
  background: var(--navy-800);
}

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

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

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

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

  .main-nav {
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0.35s;
    z-index: 120;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.4rem;
    text-align: center;
  }

  .main-nav a:not(.btn) {
    font-size: 1.5rem;
    color: #fff !important;
  }

  .nav-toggle[aria-expanded="true"] span {
    background: #fff;
  }

  body.nav-locked {
    overflow: hidden;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  overflow: hidden;
}

.hero--inner {
  min-height: 62svh;
  padding-bottom: 4rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: heroDrift 7s var(--ease-out) forwards;
}

@media (max-width: 768px) {
  .hero__bg img {
    animation: none;
    transform: none;
  }
}

@keyframes heroDrift {
  to {
    transform: scale(1);
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      100deg,
      rgba(8, 20, 38, 0.94) 0%,
      rgba(8, 20, 38, 0.82) 42%,
      rgba(8, 20, 38, 0.45) 100%
    );
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(to top, rgba(8, 20, 38, 0.85), transparent);
}

.hero .container {
  display: grid;
  gap: 2rem;
  max-width: 1180px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: start;
  justify-self: start;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(8, 20, 38, 0.5);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.hero__kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.25);
}

.hero h1 {
  color: #fff;
  max-width: 15ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber-500);
}

.hero__sub {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: #c3d2e8;
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.6rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.4rem;
  margin-top: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: #dfe8f5;
}

.hero__points svg {
  color: var(--amber-500);
  flex-shrink: 0;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: "";
  width: 2px;
  height: 34px;
  border-radius: 2px;
  background: linear-gradient(var(--amber-500), transparent);
  animation: cueDrop 1.8s ease-in-out infinite;
}

@keyframes cueDrop {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Trust bar ---------- */

.trustbar {
  background: var(--navy-900);
  color: #93a7c4;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trustbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 2.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trustbar span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.trustbar svg {
  color: var(--amber-500);
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 1.6rem;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out),
    border-color 0.35s;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-100);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--blue-100), #f0f6ff);
  color: var(--blue-600);
  transition: transform 0.35s var(--ease-out), background 0.35s, color 0.35s;
}

.card:hover .card__icon {
  background: var(--blue-600);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}

.card p {
  color: var(--slate);
  font-size: 0.99rem;
}

.card__more {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card__more svg {
  transition: transform 0.25s var(--ease-out);
}

.card:hover .card__more svg {
  transform: translateX(4px);
}

/* ---------- Feature split ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 4.4;
  transition: transform 0.8s var(--ease-out);
}

.split__media:hover img {
  transform: scale(1.04);
}

.split__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(8, 20, 38, 0.92);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.split__badge strong {
  font-size: 1.5rem;
  color: var(--amber-500);
  line-height: 1;
}

.split__badge span {
  font-size: 0.82rem;
  color: #b9c8de;
  line-height: 1.3;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.checklist li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: var(--slate);
}

.checklist li strong {
  color: var(--navy-800);
}

.checklist svg {
  flex-shrink: 0;
  margin-top: 0.28rem;
  color: var(--blue-600);
}

.section--navy .checklist li {
  color: #b7c6dd;
}

.section--navy .checklist li strong {
  color: #fff;
}

.section--navy .checklist svg {
  color: var(--amber-500);
}

/* ---------- Process ---------- */

.process {
  counter-reset: step;
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}

.process__step {
  counter-increment: step;
  position: relative;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.7rem 1.9rem;
  transition: transform 0.35s var(--ease-out), background 0.35s, border-color 0.35s;
}

.process__step:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 166, 35, 0.45);
}

.process__step::before {
  content: "0" counter(step);
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--amber-500);
  margin-bottom: 1.1rem;
  opacity: 0.9;
}

.process__step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.18rem;
}

.process__step p {
  color: #a8b9d2;
  font-size: 0.96rem;
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 1.4rem;
  text-align: center;
}

.stat {
  padding: 1.6rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.stat strong {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--blue-600);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Gallery ---------- */

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

.masonry a {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  isolation: isolate;
}

.masonry img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.masonry a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 20, 38, 0.72), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
}

.masonry a:hover img {
  transform: scale(1.06);
}

.masonry a:hover::after {
  opacity: 1;
}

.masonry figcaption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
}

.masonry a:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(8, 20, 38, 0.92);
  display: grid;
  place-items: center;
  padding: 4vh 4vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--amber-500);
  color: var(--navy-900);
  transform: scale(1.08);
}

.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__nav--next:hover { transform: translateY(-50%) scale(1.08); }

/* ---------- Quote / testimonial ---------- */

.quote {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.quote blockquote {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--navy-800);
  letter-spacing: -0.01em;
}

.quote blockquote::before {
  content: "\201C";
  display: block;
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--amber-500);
  margin-bottom: 1.2rem;
}

.quote cite {
  display: block;
  margin-top: 1.6rem;
  font-style: normal;
  font-weight: 700;
  color: var(--blue-600);
}

.quote cite span {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--slate);
}

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

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: clamp(2.6rem, 6vw, 4.2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  color: #fff;
  max-width: 22ch;
}

.cta-band p {
  color: #c9d8ee;
  margin-top: 0.6rem;
  max-width: 48ch;
}

/* ---------- Page hero (inner pages) ---------- */

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #9fb2cc;
  margin-bottom: 1.2rem;
}

.breadcrumbs a {
  color: #cdd9ea;
}

.breadcrumbs a:hover {
  color: var(--amber-500);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: #5c7398;
}

/* ---------- Service detail rows ---------- */

.service-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.service-row + .service-row {
  border-top: 1px solid var(--line);
}

.service-row:nth-child(even) .service-row__media {
  order: 2;
}

@media (max-width: 899px) {
  .service-row:nth-child(even) .service-row__media {
    order: 0;
  }
}

.service-row__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-row__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.service-row__media:hover img {
  transform: scale(1.05);
}

.service-row h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin-bottom: 0.8rem;
}

.service-row p {
  color: var(--slate);
}

/* ---------- Values ---------- */

.value-tile {
  padding: 1.9rem 1.7rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.value-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 166, 35, 0.5);
}

.value-tile h3 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
  font-size: 1.12rem;
}

.value-tile svg {
  color: var(--amber-500);
  flex-shrink: 0;
}

.value-tile p {
  color: #a8b9d2;
  font-size: 0.96rem;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

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

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-md);
}

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

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

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

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

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--mist);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30, 111, 232, 0.12);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 0.9rem;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  display: none;
}

.form-status.is-ok {
  display: block;
  background: #e7f7ed;
  color: #14683a;
  border: 1px solid #b9e6c9;
}

.form-status.is-err {
  display: block;
  background: #fdeeee;
  color: #9c2222;
  border: 1px solid #f3c4c4;
}

.info-card {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #cfdcee;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow-lg);
}

.info-card h3 {
  color: #fff;
  margin-bottom: 1.2rem;
}

.info-card ul {
  list-style: none;
  display: grid;
  gap: 1.15rem;
}

.info-card li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.info-card li svg {
  flex-shrink: 0;
  color: var(--amber-500);
  margin-top: 0.2rem;
}

.info-card a {
  color: #fff;
  font-weight: 600;
}

.info-card a:hover {
  color: var(--amber-500);
}

.info-card small {
  display: block;
  color: #8ea3c2;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.info-card hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 1.4rem 0;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq details[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--blue-100);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3.2rem 1.15rem 1.4rem;
  font-weight: 700;
  color: var(--navy-800);
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--blue-600);
  transition: transform 0.3s var(--ease-out);
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  padding: 0 1.4rem 1.3rem;
  color: var(--slate);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: #93a7c4;
  padding: clamp(3rem, 7vw, 4.5rem) 0 0;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--amber-500));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.4rem;
  padding-bottom: 2.8rem;
}

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

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

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 34ch;
}

.footer-brand .brand__name strong {
  color: #fff;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.site-footer ul a {
  color: #93a7c4;
  font-size: 0.97rem;
  transition: color 0.25s, padding-left 0.25s;
}

.site-footer ul a:hover {
  color: var(--amber-500);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--amber-500);
  margin-top: 0.22rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.87rem;
}

.footer-bottom a {
  color: #93a7c4;
}

.footer-bottom a:hover {
  color: var(--amber-500);
}

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background: var(--blue-600);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out), visibility 0.3s,
    background-color 0.25s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--amber-500);
  color: var(--navy-900);
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.reveal--left {
  transform: translateX(-18px);
}

.reveal--right {
  transform: translateX(18px);
}

.reveal--zoom {
  transform: scale(0.92);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

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

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

/* ---------- Utility ---------- */

.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.text-center { text-align: center; }
