/* =========================================================
   Skyline Aluminium — site stylesheet
   Brand: teal #02a89e, navy #102a49, CTA green #198754,
   WhatsApp green #25d366. Headings: Ubuntu. Body: Roboto.
   ========================================================= */

:root {
  --teal: #02a89e;
  --teal-700: #01857b;
  --teal-800: #016a62;
  --teal-50: #e8f7f6;
  --navy: #102a49;
  --navy-900: #0a1c32;
  --ink: #1f2933;
  --muted: #56616e;
  --line: #e2e8ee;
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --green: #198754;
  --green-700: #146c43;
  --wa: #25d366;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 42, 73, 0.06), 0 8px 24px rgba(16, 42, 73, 0.07);
  --shadow-lg: 0 18px 48px rgba(16, 42, 73, 0.14);
  --font-head: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --header-h: 72px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: var(--teal-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-800);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.22;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.005em;
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.i {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.2em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.7em 1.35em;
  border-radius: 10px;
  border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}

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

.btn-cta {
  background: var(--green);
  color: #fff;
}

.btn-cta:hover {
  background: var(--green-700);
  color: #fff;
}

.btn-primary {
  background: var(--teal-700);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-800);
  color: #fff;
}

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

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

.btn-light {
  background: #fff;
  color: var(--navy);
}

.btn-light:hover {
  background: var(--teal-50);
  color: var(--navy);
}

.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-ghost-light:hover {
  background: #fff;
  color: var(--navy);
}

.btn-sm {
  min-height: 40px;
  padding: 0.5em 1em;
  font-size: 0.93rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Top bar & header ---------- */
.topbar {
  background: var(--teal-700);
  color: #fff;
  font-size: 0.9rem;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}

.topbar a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.topbar a:hover {
  text-decoration: underline;
  color: #fff;
}

.topbar-links {
  display: flex;
  gap: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(16, 42, 73, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font: 700 1.3rem/1 var(--font-head);
}

.brand:hover {
  color: var(--navy);
}

.brand img {
  width: 46px;
  height: 46px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle .i {
  width: 24px;
  height: 24px;
}

.nav-toggle .i-close {
  display: none;
}

.nav-open .nav-toggle .i-menu {
  display: none;
}

.nav-open .nav-toggle .i-close {
  display: block;
}

.main-nav {
  position: fixed;
  inset: calc(var(--header-h) + 40px) 0 0 0;
  background: #fff;
  padding: 12px 20px 120px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  visibility: hidden;
}

.nav-open .main-nav {
  transform: none;
  visibility: visible;
}

.main-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav > ul > li {
  border-bottom: 1px solid var(--line);
}

.main-nav a,
.sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 4px;
  color: var(--navy);
  text-decoration: none;
  font: 500 1.05rem/1.3 var(--font-body);
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}

.main-nav a[aria-current="page"],
.main-nav a:hover,
.sub-toggle:hover {
  color: var(--teal-700);
}

.sub-toggle .i {
  transition: transform 0.2s;
}

.sub-toggle[aria-expanded="true"] .i {
  transform: rotate(180deg);
}

.subnav {
  display: none;
  list-style: none;
  margin: 0 0 12px;
  padding: 0 0 0 8px;
}

.subnav.is-open {
  display: block;
}

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

.has-sub[data-current] > .sub-toggle {
  color: var(--teal-700);
}

.subnav a {
  padding: 9px 4px;
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--ink);
}

.subnav .subnav-head {
  display: block;
  padding: 10px 4px 2px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-cta {
  display: none;
}

.main-nav .nav-mobile-cta {
  display: grid;
  gap: 10px;
  padding-top: 18px;
}

.main-nav .nav-mobile-cta a {
  justify-content: center;
  color: #fff;
}

@media (min-width: 1100px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    transform: none;
    visibility: visible;
    padding: 0;
    overflow: visible;
    background: none;
  }

  .main-nav > ul {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .main-nav > ul > li {
    border: 0;
    position: relative;
  }

  .main-nav a,
  .sub-toggle {
    padding: 10px 12px;
    font-size: 0.98rem;
    border-radius: 8px;
    gap: 4px;
  }

  .main-nav .nav-mobile-cta {
    display: none;
  }

  .has-sub .subnav {
    position: absolute;
    top: 100%;
    left: -140px;
    width: 640px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 18px;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 0 18px;
  }

  .has-sub .subnav.is-open,
  .has-sub:hover .subnav,
  .has-sub:focus-within .subnav {
    display: grid;
  }

  .subnav li {
    margin: 0;
  }

  .subnav a {
    padding: 8px 10px;
  }

  .subnav a:hover {
    background: var(--teal-50);
  }

  .subnav .subnav-head {
    padding: 6px 10px 4px;
  }

  .subnav .subnav-all {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    margin-top: 8px;
    padding-top: 8px;
  }

  .nav-cta {
    display: flex;
    gap: 8px;
  }
}

@media (max-width: 1099px) {
  .topbar-links .tb-email {
    display: none;
  }
}

@media (max-width: 560px) {
  .topbar .tb-area {
    display: none;
  }

  .topbar .wrap {
    justify-content: center;
  }
}

/* ---------- Breadcrumbs ---------- */
.crumbs {
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.crumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  opacity: 0.6;
}

.crumbs a {
  color: inherit;
}

/* ---------- Hero (home) ---------- */
.hero-home {
  background: linear-gradient(180deg, var(--teal-50) 0%, #fff 100%);
  padding: 48px 0 56px;
}

.hero-home .wrap {
  display: grid;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font: 700 0.8rem/1.2 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 12px;
}

.hero-home .lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 600px;
}

.chips {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.chips li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.chips .i {
  color: var(--teal-700);
}

.hero-collage {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 5 / 4;
}

.hero-collage figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}

.hero-collage figure:first-child {
  grid-row: 1 / 3;
}

.hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 992px) {
  .hero-home {
    padding: 72px 0 80px;
  }

  .hero-home .wrap {
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
  }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 100%);
  color: #dfe7f0;
  padding: 36px 0 48px;
}

.page-hero h1 {
  color: #fff;
}

.page-hero .crumbs {
  color: #b9c7d6;
}

.page-hero .wrap {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-hero .lead {
  font-size: 1.08rem;
  max-width: 640px;
}

.page-hero .chips li {
  color: #fff;
}

.page-hero .chips .i {
  color: #5fd6cd;
}

.page-hero .hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
  background: #1b3556;
}

.page-hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero.compact {
  padding: 32px 0 40px;
}

.page-hero.compact .wrap {
  display: block;
}

@media (min-width: 992px) {
  .page-hero {
    padding: 48px 0 64px;
  }

  .page-hero .wrap {
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 56px 0;
}

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

@media (min-width: 992px) {
  .section {
    padding: 80px 0;
  }
}

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

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

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.prose {
  max-width: 800px;
}

.prose h2 {
  margin-top: 1.6em;
}

.prose h3 {
  margin-top: 1.4em;
}

.prose li {
  margin-bottom: 0.35em;
}

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

.small {
  font-size: 0.9rem;
}

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 992px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }

  .split.reverse > :first-child {
    order: 2;
  }
}

.media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption,
.caption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  height: 100%;
}

.card h3 {
  margin-bottom: 0.45em;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
  margin-bottom: 14px;
}

.card .ico .i {
  width: 22px;
  height: 22px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.svc-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: transparent;
  color: var(--ink);
}

.svc-card .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}

.svc-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-card .body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.svc-card h3 {
  font-size: 1.12rem;
}

.svc-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.svc-card .more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--teal-700);
}

.type-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
}

.type-card .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-alt);
}

.type-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.type-card .body {
  padding: 20px 22px 22px;
}

.type-card h3 {
  font-size: 1.1rem;
}

.type-card p {
  font-size: 0.97rem;
  color: var(--muted);
  margin-bottom: 0.6em;
}

.type-card .best {
  font-size: 0.9rem;
  margin: 0;
  color: var(--ink);
}

.type-card .best strong {
  color: var(--navy);
}

/* ---------- Lists ---------- */
.ticks {
  list-style: none;
  padding: 0;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301857b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.ticks.cols {
  columns: 1;
}

@media (min-width: 768px) {
  .ticks.cols {
    columns: 2;
    column-gap: 32px;
  }

  .ticks.cols li {
    break-inside: avoid;
  }
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
  min-width: 560px;
}

.spec th,
.spec td {
  text-align: left;
  vertical-align: top;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.spec thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}

.spec tbody th {
  color: var(--navy);
  font-weight: 600;
  width: 26%;
}

.spec tbody tr:last-child th,
.spec tbody tr:last-child td {
  border-bottom: 0;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .steps.four {
    grid-template-columns: repeat(4, 1fr);
  }
}

.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}

.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-700);
  color: #fff;
  font: 700 1.05rem/1 var(--font-head);
  margin-bottom: 12px;
}

.steps h3 {
  font-size: 1.08rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------- Callouts ---------- */
.note {
  border-left: 4px solid var(--teal);
  background: var(--teal-50);
  padding: 18px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

.note p:last-child {
  margin: 0;
}

.audience {
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.audience.light {
  background: #fff;
  border: 1px solid var(--line);
}

.audience.dark {
  background: var(--navy);
  color: #dfe7f0;
}

.audience.dark h3 {
  color: #fff;
}

.audience.dark .ticks li::before {
  background-color: rgba(255, 255, 255, 0.12);
}

.audience h3 {
  font-size: 1.4rem;
}

.audience .btn-row {
  margin-top: auto;
  padding-top: 12px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 860px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: 12px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  font: 600 1.03rem/1.45 var(--font-body);
  color: var(--navy);
  position: relative;
}

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

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--teal-700);
  border-bottom: 2px solid var(--teal-700);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-item .answer {
  padding: 0 20px 18px;
  color: var(--ink);
}

.faq-item .answer p:last-child {
  margin: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal-800), var(--teal-700));
  color: #e9fbf9;
  border-radius: var(--radius);
  padding: 36px 28px;
  display: grid;
  gap: 20px;
  align-items: center;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.3em;
}

.cta-band p {
  margin: 0;
}

@media (min-width: 992px) {
  .cta-band {
    grid-template-columns: 1.4fr auto;
    padding: 44px 48px;
  }
}

/* ---------- Quote form ---------- */
.quote {
  display: grid;
  gap: 32px;
}

@media (min-width: 992px) {
  .quote {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: start;
  }
}

.quote-aside .contact-lines {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.quote-aside .contact-lines li {
  margin-bottom: 12px;
}

.quote-aside .contact-lines a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}

.quote-aside .contact-lines .i {
  color: var(--teal-700);
  width: 22px;
  height: 22px;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

@media (min-width: 640px) {
  .form-card {
    padding: 32px;
  }
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

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

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.field .opt {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #c9d3dd;
  border-radius: 10px;
  font: 400 1rem/1.4 var(--font-body);
  color: var(--ink);
  background: #fff;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 3px rgba(2, 168, 158, 0.2);
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-top: 8px;
}

.form-foot .small {
  margin: 0;
}

.form-status {
  margin-top: 14px;
  font-weight: 500;
}

.form-status.err {
  color: #b42318;
}

.hp {
  position: absolute;
  left: -9999px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 28, 50, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-box {
  background: #fff;
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  padding: 36px 28px;
  text-align: center;
}

.modal-box .ok {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.modal-box .ok .i {
  width: 30px;
  height: 30px;
  stroke-width: 3;
}

.modal-box .btn-row {
  justify-content: center;
  margin-top: 18px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-grid a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  position: relative;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

.gallery-grid .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 10px 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(transparent, rgba(10, 28, 50, 0.85));
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.filter-bar button {
  min-height: 40px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font: 500 0.95rem/1 var(--font-body);
  color: var(--navy);
  cursor: pointer;
}

.filter-bar button[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #c4d0dc;
  padding: 56px 0 0;
  font-size: 0.96rem;
}

.site-footer h2 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 14px;
}

.site-footer a {
  color: #dfe7f0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 700 1.25rem/1 var(--font-head);
  margin-bottom: 14px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
}

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

.site-footer li {
  margin-bottom: 8px;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.social a:hover {
  background: var(--teal-700);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding: 18px 0 96px;
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

@media (min-width: 992px) {
  .footer-bottom {
    padding-bottom: 22px;
  }
}

/* ---------- Floating & mobile CTAs ---------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(16, 42, 73, 0.1);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-cta a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 60px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}

.mobile-cta a .i {
  width: 22px;
  height: 22px;
}

.mobile-cta .m-wa {
  background: var(--green);
  color: #fff;
}

.wa-float {
  display: none;
}

@media (min-width: 992px) {
  .mobile-cta {
    display: none;
  }

  .wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--wa);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s;
  }

  .wa-float:hover {
    transform: scale(1.06);
    color: #fff;
  }

  .wa-float .i {
    width: 30px;
    height: 30px;
  }
}

/* ---------- 404 ---------- */
.error-page {
  text-align: center;
  padding: 72px 0;
}

.error-page .code {
  font: 700 clamp(4rem, 14vw, 7rem)/1 var(--font-head);
  color: var(--teal-700);
  margin-bottom: 8px;
}

.error-page .btn-row {
  justify-content: center;
}

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

@media print {
  .topbar,
  .site-header,
  .mobile-cta,
  .wa-float,
  .site-footer,
  #quote {
    display: none !important;
  }
}
