:root {
  --ink: #151713;
  --muted-ink: #5b6259;
  --paper: #f8f7f2;
  --paper-strong: #ffffff;
  --stone: #e8e2d7;
  --line: #d7d0c4;
  --terracotta: #a35e3a;
  --terracotta-dark: #8d4b2e;
  --forest: #245344;
  --forest-dark: #142a24;
  --sage: #dfe8de;
  --shadow: 0 18px 55px rgba(21, 23, 19, 0.12);
  --radius: 8px;
  --header-height: 76px;
  --section-padding-y: 80px;
  --gutter: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  color: #fff;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(248, 247, 242, 0.94);
  border-bottom: 1px solid rgba(21, 23, 19, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  line-height: 1;
}

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

.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  opacity: 0.78;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 15px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled .header-phone,
.site-header.is-open .header-phone {
  color: #fff;
  border-color: transparent;
  background: var(--terracotta);
}

.header-phone:hover,
.header-phone:focus-visible {
  transform: translateY(-2px);
  background: var(--terracotta);
  border-color: transparent;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  height: 650px;
  max-height: 650px;
  color: #fff;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero-media {
  z-index: -3;
  inset: -8%;
  background-image: url("../images/Prodaja%20stanova%20-%20Kninska%2012%20-%20Obrenovac%20-%201.webp");
  background-position: center;
  background-size: cover;
  transform: scale(1);
}

@keyframes hero-zoom {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1.1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media {
    animation: hero-zoom 24s ease-out both;
  }
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(13, 17, 14, 0.78), rgba(13, 17, 14, 0.4) 48%, rgba(13, 17, 14, 0.12)),
    linear-gradient(180deg, rgba(13, 17, 14, 0.38), rgba(13, 17, 14, 0.82));
}

.hero-content {
  width: min(1200px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: 150px 0 150px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--terracotta-dark);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1b690;
  font-size: 1.5rem;
}

.hero h1,
.section h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: 5rem;
  font-weight: 800;
}

.hero-lede {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--terracotta);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--terracotta-dark);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.button-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
}

.section,
.contact-section {
  padding: var(--section-padding-y) 0;
}

.section-inner {
  width: min(1200px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.section-muted {
  background: var(--stone);
}

.section h2,
.contact-section h2 {
  max-width: 760px;
  font-size: 3.05rem;
  font-weight: 800;
}

.section-copy p:not(.section-kicker),
.section-heading p:not(.section-kicker),
.contact-section p:not(.section-kicker) {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--muted-ink);
  font-size: 1.04rem;
}

.section-copy,
.section-heading,
.layout-panel,
.contact-grid > div:first-child {
  display: grid;
  justify-items: start;
  text-align: left;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 46px;
  align-items: center;
}

.section-highlights {
  position: relative;
  z-index: 5;
  margin-top: -65px;
  padding: 0;
  background: transparent;
}

.intro-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.intro-visual > img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
}

.intro-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1.28;
  background: #fff;
}

.intro-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 420ms ease, transform 900ms ease;
}

.intro-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.intro-slider-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 24px rgba(21, 23, 19, 0.12);
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
}

.intro-slider-nav::before {
  width: 10px;
  height: 10px;
  content: "";
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.intro-slider-nav:hover,
.intro-slider-nav:focus-visible {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}

.intro-slider-prev {
  left: 14px;
}

.intro-slider-prev::before {
  margin-left: 4px;
  transform: rotate(-45deg);
}

.intro-slider-next {
  right: 14px;
}

.intro-slider-next::before {
  margin-right: 4px;
  transform: rotate(135deg);
}

.intro-slider-dots {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.intro-slider-dots button {
  position: relative;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.intro-slider-dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 3px rgba(21, 23, 19, 0.35);
  transition: width 180ms ease, background 180ms ease;
}

.intro-slider-dots button.is-active::before {
  width: 22px;
  background: #fff;
}

.concept-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.concept-list article {
  padding: 20px;
  border-right: 1px solid var(--line);
  background: var(--paper-strong);
}

.concept-list article:last-child {
  border-right: 0;
}

.project-highlights {
  grid-template-columns: repeat(4, 1fr);
  border-color: rgba(215, 208, 196, 0.86);
  background: rgba(215, 208, 196, 0.78);
  box-shadow: 0 24px 70px rgba(21, 23, 19, 0.14);
}

.project-highlights article {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 248, 243, 0.98));
  transition: background 180ms ease;
}

.project-highlights article::before {
  display: none;
}

.project-highlights article:hover,
.project-highlights article:focus-within {
  background:
    linear-gradient(180deg, #fff, rgba(246, 242, 234, 0.98));
}

.concept-list span,
.floor-card span {
  display: inline-block;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.concept-list h3,
.floor-card h3,
.unit-card h3 {
  margin: 16px 0 0;
  line-height: 1.14;
  font-size: 1.45rem;
}

.concept-list p,
.floor-card p {
  margin: 14px 0 0;
  color: var(--muted-ink);
}

.concept-list.project-highlights h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.2rem;
}

.concept-list.project-highlights p {
  color: #60665d;
  line-height: 1.58;
}

.section-heading {
  display: grid;
  justify-items: start;
  margin-bottom: 30px;
  text-align: left;
}

.section-heading p:not(.section-kicker) {
  max-width: 650px;
}

.units-heading {
  justify-items: center;
  text-align: center;
}

.intro-heading .section-kicker,
.equipment-heading .section-kicker,
.units-heading .section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 24px;
  border: 1px solid rgba(173, 103, 68, 0.28);
  border-radius: 999px;
  background: rgba(173, 103, 68, 0.1);
  color: var(--terracotta-dark);
}

.units-heading h2,
.units-heading p:not(.section-kicker) {
  margin-right: auto;
  margin-left: auto;
}

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

.unit-card {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid rgba(21, 23, 19, 0.12);
  border-radius: var(--radius);
  background: var(--paper-strong);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.unit-card:hover,
.unit-card:focus-within {
  border-color: rgba(21, 23, 19, 0.18);
  box-shadow: 0 10px 24px rgba(21, 23, 19, 0.08);
}

.unit-label {
  margin: 0;
  color: var(--forest);
  font-weight: 800;
}

.unit-card h3 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.unit-estimate {
  margin: 0;
  color: var(--muted-ink);
  font-size: 1.08rem;
  line-height: 1.35;
}

.unit-contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  min-height: 42px;
  padding: 10px 14px;
  color: #fff;
  border: 1px solid var(--forest);
  border-radius: 7px;
  background: var(--forest);
  font-weight: 800;
  line-height: 1.1;
  transition: background 180ms ease, border-color 180ms ease;
}

.unit-contact::before {
  position: absolute;
  top: -18px;
  right: -26px;
  left: -26px;
  height: 1px;
  content: "";
  background: var(--line);
}

.unit-contact:hover,
.unit-contact:focus-visible {
  color: #fff;
  border-color: var(--terracotta-dark);
  background: var(--terracotta-dark);
}

.price-note {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted-ink);
  font-size: 0.9rem;
  line-height: 1.55;
}

.section-layout {
  background: var(--forest-dark);
  color: #fff;
}

.layout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 20px;
}

.layout-panel {
  grid-column: 1 / -1;
  max-width: 760px;
  margin-bottom: 0;
}

.layout-heading {
  justify-items: center;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.layout-heading p:not(.section-kicker) {
  max-width: 620px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.04rem;
}

.layout-heading .section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 24px;
  border: 1px solid rgba(241, 182, 144, 0.34);
  border-radius: 999px;
  background: rgba(241, 182, 144, 0.12);
}

.section-layout .section-kicker {
  color: #f1b690;
}

.layout-panel h2 {
  font-size: 3.05rem;
}

.floor-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.floor-card picture {
  display: block;
}

.floor-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.3;
  object-fit: contain;
  background: #fff;
}

.floor-card div {
  padding: 22px;
}

.floor-card span {
  color: #f1b690;
}

.floor-card p {
  color: rgba(255, 255, 255, 0.72);
}

.fp-controls {
  grid-column: 1 / -1;
}
.fp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 6px 0;
}
.fp-tab {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 11px 24px;
  font: 600 0.95rem/1 inherit;
  transition: all 0.15s ease;
}
.fp-tab:hover {
  border-color: rgba(255, 255, 255, 0.7);
}
.fp-tab.is-active {
  background: var(--terracotta);
  border-color: var(--terracotta);
}
.fp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin: 40px 0 0 0;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.fp-bar-left {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.fp-bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.fp-price {
  color: #f1b690;
  font-weight: 600;
  font-size: 1.1rem;
  white-space: nowrap;
}
.fp-price small {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.85;
}
.fp-bar .button {
  min-height: 44px;
  padding: 10px 22px;
}
.floor-card img.fp-zoom {
  cursor: zoom-in;
}

.fp-lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 12, 10, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.fp-lb.is-open {
  display: flex;
}
.fp-lb img {
  display: block;
  width: auto;
  height: auto;
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 8px;
}
.fp-lb-close {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 36px;
  line-height: 1;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
}

@media (max-width: 720px) {
  .fp-tabs {
    gap: 8px;
  }
  .fp-tab {
    padding: 9px 16px;
    font-size: 0.9rem;
  }
  .fp-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }
  .fp-bar-right {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
  }
  .fp-bar .button {
    width: 100%;
  }
}

.equipment-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 30px;
  align-items: start;
}

.section-equipment .section-copy,
.materials-grid {
  grid-column: 1 / -1;
}

.section-equipment .section-copy {
  max-width: 760px;
}

.equipment-heading h2 {
  max-width: 600px;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-top: 0;
}

.material-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 85px;
  gap: 20px;
  padding: 20px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  text-align: left;
  color: var(--ink);
  transition:
    background-color 300ms ease,
    box-shadow 300ms ease;
}

.material-card:hover,
.material-card:focus-within {
  z-index: 1;
  background: #fff;
  box-shadow: 0 6px 16px rgba(21, 23, 19, 0.08);
}

.material-card img {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  object-fit: contain;
}

.material-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.22;
  letter-spacing: 0;
}

.section-location {
  background: #fff;
}

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

.location-copy h2 {
  max-width: 540px;
}

.location-copy .section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 24px;
  border: 1px solid rgba(173, 103, 68, 0.28);
  border-radius: 999px;
  background: rgba(173, 103, 68, 0.1);
  color: var(--terracotta-dark);
}

.location-nearby {
  margin-top: 25px;
  width: 100%;
}

.location-nearby-title {
  margin: 0 0 20px !important;
  color: var(--ink);
  font-weight: 700;
}

.nearby-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nearby-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-ink);
}

.nearby-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.nearby-dist {
  flex: none;
  color: var(--terracotta);
  font-weight: 700;
}

.location-map {
  order: -1;
  overflow: hidden;
  border: 1px solid rgba(21, 23, 19, 0.1);
  border-radius: var(--radius);
  background: var(--stone);
  box-shadow: var(--shadow);
}

.location-map iframe {
  display: block;
  width: 100%;
  min-height: 470px;
  aspect-ratio: 1.42;
  border: 0;
}

.contact-section {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(20, 42, 36, 0.92), rgba(20, 42, 36, 0.78)),
    url("../images/Prodaja%20stanova%20-%20Kninska%2012%20-%20Obrenovac%20-%207.webp") center / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.contact-section .section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  width: max-content;
  padding: 8px 24px;
  border: 1px solid rgba(241, 182, 144, 0.34);
  border-radius: 999px;
  background: rgba(241, 182, 144, 0.12);
  color: #f1b690;
}

.contact-section p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
}

.contact-info {
  display: grid;
  gap: 34px;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  margin: 0;
}

.contact-details div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-details div:first-child {
  padding-top: 0;
}

.contact-details div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-details dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 7px 0 0;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 25px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(4, 7, 6, 0.22);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted-ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 15px;
  color: var(--ink);
  border: 1px solid rgba(21, 23, 19, 0.14);
  border-radius: 7px;
  background: #fff;
  font-family: inherit;
  font-weight: 300;
  font-size: 16px;
  resize: vertical;
}

.contact-form textarea {
  min-height: 116px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(173, 103, 68, 0.22);
  border-color: var(--terracotta);
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
}

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

.contact-form p.form-status {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: none;
  max-width: none;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
}

.contact-form p.form-status.is-ok {
  color: var(--forest);
}

.contact-form p.form-status.is-error {
  color: #a23226;
}

.contact-form .contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
  color: var(--muted-ink);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.45;
}

.contact-form input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  min-height: 0;
  flex: 0 0 18px;
  margin-top: 1px;
  padding: 0;
  border: 1px solid rgba(21, 23, 19, 0.14);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.contact-form input[type="checkbox"]:checked {
  border-color: var(--terracotta);
  background-color: var(--terracotta);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.3 5 8.8l4.5-5.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}

.contact-form input[type="checkbox"]:focus,
.contact-form input[type="checkbox"]:focus-visible {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(173, 103, 68, 0.28);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: var(--muted-ink);
  background: var(--paper);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

.mobile-call-link {
  display: none;
}

@media (max-width: 980px) {
  :root {
    --section-padding-y: 60px;
  }

  .site-header {
    justify-content: flex-start;
    gap: 0;
    padding: 0 var(--gutter);
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .header-phone {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: var(--gutter);
    left: var(--gutter);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    border: 1px solid rgba(21, 23, 19, 0.08);
    border-radius: var(--radius);
    background: rgba(248, 247, 242, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero h1 {
    font-size: 4.2rem;
  }

  .project-highlights,
  .units-grid,
  .layout-grid,
  .equipment-grid,
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .layout-panel {
    grid-column: 1 / -1;
  }

  .intro-grid,
  .section-heading,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .location-map {
    order: 0;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .project-highlights article:nth-child(2n) {
    border-right: 0;
  }

  .project-highlights article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 66px;
    --section-padding-y: 50px;
    --gutter: 16px;
  }

  .hero-media {
    background-position: 55% center;
  }

  .hero-content {
    padding: 0 0 50px;
  }

  .hero .eyebrow {
    font-size: 1.2rem;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .hero-lede {
    margin: 15px 0 0;
    font-size: 1.02rem;
  }

  .intro-slider-nav {
    width: 38px;
    height: 38px;
  }

  .intro-slider-prev {
    left: 10px;
  }

  .intro-slider-next {
    right: 10px;
  }

  .intro-slider-dots {
    bottom: 12px;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .section-highlights {
    margin-top: 0;
  }

  .concept-list,
  .project-highlights,
  .units-grid,
  .layout-grid,
  .equipment-grid,
  .materials-grid,
  .location-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .concept-list article,
  .project-highlights article,
  .project-highlights article:nth-child(2n) {
    border-right: 0;
  }

  .concept-list article,
  .project-highlights article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .concept-list article:last-child,
  .project-highlights article:last-child {
    border-bottom: 0;
  }

  .project-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 0;
    border-radius: 0;
    background: var(--line);
    box-shadow: none;
  }

  .project-highlights article,
  .project-highlights article:nth-child(n) {
    min-height: 0;
    padding: 16px;
    border: 0;
  }

  .concept-list.project-highlights h3 {
    font-size: 1rem;
  }

  .concept-list.project-highlights p {
    margin-top: 8px;
    font-size: 0.88rem;
    line-height: 1.42;
  }

  .equipment-grid {
    gap: 30px;
  }

  .materials-grid {
    gap: 0;
    padding-top: 0;
  }

  .material-card {
    min-height: 85px;
    gap: 20px;
    padding: 24px 0;
  }

  .material-card:last-child {
    border-bottom: 0;
  }

  .material-card:hover,
  .material-card:focus-within {
    background: transparent;
    box-shadow: none;
  }

  .material-card img {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .material-card h3 {
    font-size: 1.12rem;
    line-height: 1.18;
  }

  .section h2,
  .contact-section h2 {
    font-size: 2rem;
  }

  .concept-list article,
  .unit-card {
    min-height: auto;
  }

  .location-map iframe {
    min-height: 360px;
  }

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

  .contact-form {
    padding: 15px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .mobile-call-link {
    position: fixed;
    right: var(--gutter);
    bottom: calc(16px + env(safe-area-inset-bottom));
    left: auto;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: max-content;
    max-width: calc(100% - var(--gutter) * 2);
    min-height: 54px;
    padding: 13px 17px;
    color: #fff;
    border-radius: var(--radius);
    background: var(--terracotta);
    box-shadow: 0 18px 36px rgba(21, 23, 19, 0.28);
    font-weight: 800;
    white-space: nowrap;
  }

  .mobile-call-link svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    fill: currentColor;
  }

  .menu-open .mobile-call-link {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] > * {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
      transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .js [data-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;
    scroll-behavior: auto !important;
  }
}
