/*
Theme Name: Timber Clean
Theme URI: https://timberinterijeri.hr/
Author: Timber Interijeri
Description: Lightweight custom theme with semantic HTML and handcrafted CSS. No page builder.
Version: 1.2.1
Text Domain: timber-clean
*/

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-800-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --bg: #090b0a;
  --surface: #101311;
  --surface-raised: #171b18;
  --surface-hover: #1c211e;
  --border: #2b312d;
  --border-strong: #3a433d;
  --text: #f4f7f5;
  --muted: #aeb7b1;
  --muted-soft: #87918b;
  --accent: #22bd65;
  --accent-strong: #16a957;
  --accent-soft: rgba(34, 189, 101, 0.12);
  --danger: #ef6a6a;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1240px;
  --header-height: 82px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  margin-bottom: 1.15em;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: -100px;
  left: 24px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #051108;
  font-weight: 700;
}

.skip-link:focus {
  top: 18px;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(9, 11, 10, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a,
.mobile-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.mobile-nav a:hover,
.mobile-nav a:focus-visible,
.desktop-nav .current {
  color: var(--text);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

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

.hamburger-icon {
  width: 22px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu[open] .hamburger-icon span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu[open] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-menu[open] .hamburger-icon span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 54px;
  right: 0;
  width: min(280px, calc(100vw - 32px));
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.mobile-nav a:hover {
  background: var(--surface-hover);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero.compact {
  min-height: 470px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
}

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

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 50% 42%, rgba(20, 35, 27, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(4, 6, 5, 0.42), rgba(4, 6, 5, 0.82));
}

.hero-content {
  max-width: 850px;
  padding-block: 110px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: #b9f5d1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 24px;
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero.compact h1 {
  font-size: clamp(42px, 6vw, 68px);
}

.hero p {
  max-width: 720px;
  margin: 0 auto 34px;
  color: rgba(244, 247, 245, 0.84);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}

.accent-text {
  color: #71e8a3;
}

.split-copy strong,
.legal-content strong {
  color: var(--text);
}

.section {
  padding: 112px 0;
}

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

.section-header {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-header h2,
.split-copy h2,
.legal-content h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-header p,
.split-copy > p,
.legal-content p,
.legal-content li {
  color: var(--muted);
}

.section-header p {
  margin: 0;
  font-size: 18px;
}

.services-grid,
.card-grid,
.gallery-grid {
  display: grid;
  gap: 26px;
}

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

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

.service-card {
  min-width: 0;
  min-height: 490px;
  display: grid;
  grid-template-rows: 245px 1fr;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 220ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(34, 189, 101, 0.72);
  background: var(--surface-hover);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.34), 0 0 36px rgba(34, 189, 101, 0.08);
  outline: none;
}

.service-card:hover::after,
.service-card:focus-visible::after {
  box-shadow: inset 0 -3px 0 var(--accent);
}

.service-image {
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.service-card:hover .service-image img,
.service-card:focus-visible .service-image img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.02);
}

.service-body {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 30px 36px;
  text-align: center;
}

.service-body h3 {
  margin: 0 0 16px;
  font-size: 23px;
  line-height: 1.24;
  letter-spacing: -0.025em;
}

.service-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.info-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 38px 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-raised);
  text-align: center;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

a.info-card:hover,
a.info-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(34, 189, 101, 0.65);
  background: var(--surface-hover);
  outline: none;
}

.step-number {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.info-card h3 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.3;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 76px;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

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

.split-copy h2 {
  margin-top: 0;
}

.split-copy > p {
  margin-bottom: 18px;
}

.split-copy > p:last-of-type {
  margin-bottom: 0;
}

.clean-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 10px;
  height: 2px;
  background: var(--accent);
}

.clean-list strong {
  color: var(--text);
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.feature-chips li {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.gallery-shell {
  position: relative;
}

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

.gallery-item {
  grid-column: span 4;
  overflow: hidden;
  position: relative;
  min-height: 310px;
  width: 100%;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-raised);
  color: inherit;
  cursor: zoom-in;
}

.gallery-item.wide {
  grid-column: span 8;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 350ms ease, filter 350ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
  filter: brightness(1.07);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.gallery-more {
  margin: 36px 0 0;
  text-align: center;
}

.gallery-empty {
  margin: 0;
  padding: 48px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-raised);
  color: var(--muted);
  text-align: center;
}

.gallery-lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(3, 5, 4, 0.96);
  color: var(--text);
}

.gallery-lightbox::backdrop {
  background: rgba(3, 5, 4, 0.9);
}

.gallery-lightbox-inner {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
  padding: 72px 100px 50px;
}

.gallery-stage {
  width: min(1280px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  gap: 18px;
  touch-action: pan-y;
  user-select: none;
}

.gallery-stage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.gallery-meta {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.gallery-meta p {
  margin: 0;
}

.gallery-meta span {
  color: var(--muted-soft);
  white-space: nowrap;
}

.gallery-close,
.gallery-arrow {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(16, 19, 17, 0.88);
  color: var(--text);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gallery-close:hover,
.gallery-close:focus-visible,
.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  border-color: var(--accent);
  background: var(--surface-hover);
  outline: none;
  transform: scale(1.05);
}

.gallery-close {
  top: 22px;
  right: 24px;
  width: 48px;
  height: 48px;
  font-size: 30px;
  line-height: 1;
}

.gallery-arrow {
  top: 50%;
  width: 54px;
  height: 54px;
  font-size: 25px;
  transform: translateY(-50%);
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  transform: translateY(-50%) scale(1.05);
}

.gallery-arrow.previous {
  left: 24px;
}

.gallery-arrow.next {
  right: 24px;
}

.gallery-arrow:disabled {
  display: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}

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

.contact-card {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-raised);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

a.contact-card:hover,
a.contact-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(34, 189, 101, 0.68);
  background: var(--surface-hover);
  outline: none;
}

.contact-card small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 18px;
  line-height: 1.45;
}

.contact-form {
  display: grid;
  gap: 20px;
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
}

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

.field {
  display: grid;
  gap: 8px;
}

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

.field label {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

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

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

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  padding: 14px 15px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

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

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.consent input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  display: grid;
  place-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.consent input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 6px;
  border-bottom: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform 140ms ease;
}

.consent input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent);
}

.consent input[type="checkbox"]:checked::before {
  transform: rotate(-45deg) scale(1);
}

.consent input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.consent a {
  color: #8beab0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--accent);
  color: #041108;
  font-weight: 750;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  background: #2ad273;
  box-shadow: 0 12px 30px rgba(34, 189, 101, 0.2);
  outline: none;
}

.btn.secondary {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--text);
}

.btn.secondary:hover,
.btn.secondary:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.notice {
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid rgba(34, 189, 101, 0.45);
  border-radius: 10px;
  background: var(--accent-soft);
  color: #bff5d4;
}

.notice.error {
  border-color: rgba(239, 106, 106, 0.48);
  background: rgba(239, 106, 106, 0.09);
  color: #ffc4c4;
}

.cta-band {
  padding: 86px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 189, 101, 0.18), transparent 42%),
    linear-gradient(135deg, #122319, #0e1712);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.04em;
}

.cta-band p {
  max-width: 650px;
  margin: 0 auto 28px;
  color: #bfcbc3;
}

.legal-content {
  max-width: 860px;
  margin-inline: auto;
}

.legal-page {
  padding-top: 92px;
}

.legal-content h1 {
  margin: 30px 0 10px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.legal-content h3 {
  margin: 34px 0 12px;
  font-size: 22px;
}

.legal-content a {
  color: #8beab0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content .back-link {
  display: inline-flex;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.legal-content .back-link:hover {
  color: var(--text);
}

.legal-content .updated {
  margin-bottom: 42px;
  color: var(--muted-soft);
  font-size: 14px;
}

.legal-content h2 {
  margin-top: 54px;
  font-size: clamp(26px, 3vw, 36px);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content li {
  margin-bottom: 10px;
}

.site-footer {
  padding: 64px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #070908;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 56px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 16px;
  font-size: 16px;
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
  color: var(--muted);
  font-size: 14px;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer-grid a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted-soft);
  font-size: 13px;
}

.empty-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

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

  .service-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 13px);
    justify-self: center;
  }

  .split,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split.reverse .split-media {
    order: 0;
  }

  .split-media img {
    height: 460px;
  }

  .gallery-item,
  .gallery-item.wide {
    grid-column: span 6;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 70px;
  }

  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

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

  .brand span {
    font-size: 15px;
  }

  .hero,
  .hero.compact {
    min-height: 520px;
  }

  .hero-content {
    padding-block: 78px;
  }

  .hero h1,
  .hero.compact h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .hero p {
    font-size: 17px;
  }

  .section {
    padding: 76px 0;
  }

  .section-header {
    margin-bottom: 38px;
  }

  .section-header h2,
  .split-copy h2 {
    margin-bottom: 16px;
  }

  .services-grid,
  .card-grid.three,
  .card-grid.two,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .card-grid {
    gap: 20px;
  }

  .service-card,
  .service-card:last-child {
    width: 100%;
    min-height: 0;
    grid-column: auto;
    grid-template-rows: 220px auto;
  }

  .service-body {
    min-height: 220px;
    padding: 28px 24px 32px;
  }

  .info-card {
    min-height: 210px;
    padding: 32px 26px;
  }

  .split {
    gap: 34px;
  }

  .split-media img {
    height: 330px;
  }

  .gallery-grid {
    gap: 16px;
  }

  .gallery-item,
  .gallery-item.wide {
    grid-column: 1 / -1;
    min-height: 260px;
  }

  .gallery-lightbox-inner {
    padding: 66px 14px 92px;
  }

  .gallery-close {
    top: 12px;
    right: 14px;
    width: 44px;
    height: 44px;
  }

  .gallery-arrow {
    top: auto;
    bottom: 20px;
    width: 48px;
    height: 48px;
    transform: none;
  }

  .gallery-arrow:hover,
  .gallery-arrow:focus-visible {
    transform: scale(1.05);
  }

  .gallery-arrow.previous {
    left: calc(50% - 62px);
  }

  .gallery-arrow.next {
    right: calc(50% - 62px);
  }

  .gallery-meta {
    flex-direction: column;
    gap: 3px;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .field.full {
    grid-column: auto;
  }

  .cta-band {
    padding: 68px 0;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

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