:root {
  --ink-950: #1a2f4a;
  --ink-800: #234060;
  --ink-600: #2e5280;
  --ink-500: #3d6a9e;
  --ink-100: #d4e3f0;
  --ink-50: #eef4fa;
  --accent: #c45c26;
  --accent-light: #e07840;
  --sand: #f5f0ea;
  --white: #ffffff;
  --text: #1e2d3d;
  --text-light: #4a5f75;
  --border: #c8d8e8;
  --shadow: 0 4px 24px rgba(26, 47, 74, 0.08);
  --shadow-lg: 0 16px 48px rgba(26, 47, 74, 0.12);
  --radius: 14px;
  --radius-lg: 20px;
  --font: "DM Sans", system-ui, sans-serif;
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ink-600);
  text-decoration: none;
  transition: color 0.2s;
}

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

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--ink-950);
  line-height: 1.2;
  margin: 0 0 0.85rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.35rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

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

.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}

.header__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 0; gap: 1rem;
}

.header__logo img {
  height: 88px; width: auto;
  background: transparent;
}

.header__phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--ink-600);
  color: var(--white);
  font-weight: 600; font-size: 0.95rem;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
}

.header__phone:hover { background: var(--ink-800); color: var(--white); transform: translateY(-1px); }
.header__phone svg { width: 1rem; height: 1rem; flex-shrink: 0; }

.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--ink-50);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("images/hero-fence-bg.jpg") center / cover no-repeat;
  opacity: 0.72;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(238, 244, 250, 0.95) 0%,
    rgba(238, 244, 250, 0.86) 42%,
    rgba(238, 244, 250, 0.45) 100%
  );
  pointer-events: none;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  background: var(--ink-100);
  color: var(--ink-800);
  font-size: 0.8rem; font-weight: 600;
  border-radius: 999px;
  animation: fadeUp 0.7s ease both;
}

.hero h1 { animation: fadeUp 0.75s ease 0.08s both; }

.hero__sub {
  font-size: 1.12rem;
  color: var(--text-light);
  max-width: 32rem;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.75s ease 0.14s both;
}

.hero__call {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  background: var(--ink-950);
  color: var(--white);
  font-weight: 600; font-size: 1rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  transition: background 0.2s, transform 0.2s;
  animation: fadeUp 0.75s ease 0.2s both;
}

.hero__call:hover { background: var(--accent); color: var(--white); transform: translateY(-1px); }
.hero__call svg { width: 1.05rem; height: 1.05rem; }

.hero__checks {
  display: grid; gap: 0.6rem;
  animation: fadeUp 0.75s ease 0.26s both;
}

.hero__checks li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.95rem; color: var(--text);
}

.hero__checks li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: fadeUp 0.8s ease 0.18s both;
}

.hero__form-top {
  padding: 1.25rem 1.5rem 0.75rem;
  background: linear-gradient(135deg, var(--ink-950), var(--ink-800));
  color: var(--white);
}

.hero__form-top small {
  display: block;
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  opacity: 0.75; margin-bottom: 0.25rem;
}

.hero__form-top p {
  margin: 0;
  font-size: 1.25rem; font-weight: 700;
}

.hero__form-box iframe {
  display: block; width: 100%; border: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.trust-bar {
  padding: 1rem 0;
  background: var(--ink-950);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem; font-weight: 500;
  text-align: center;
  line-height: 1.6;
}

.trust-bar span { color: var(--white); font-weight: 600; }

.block { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.block--sand { background: var(--sand); }
.block--light { background: var(--ink-50); }

.block__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent);
}

.block__intro {
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.block__intro p { color: var(--text-light); }

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.story--flip .story__img { order: 2; }
.story--flip .story__text { order: 1; }

.story__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.45s ease;
}

.story__img:hover img { transform: scale(1.02); }

.story__text p { color: var(--text-light); }

.inline-call {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.5rem;
  font-weight: 600; color: var(--ink-600);
}

.inline-call:hover { color: var(--accent); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.svc {
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}

.block--light .svc { background: var(--white); }

.svc:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.svc__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 1rem;
  background: var(--ink-100);
  color: var(--ink-600);
  font-weight: 800; font-size: 0.85rem;
  border-radius: 10px;
}

.svc p { margin: 0; font-size: 0.95rem; color: var(--text-light); }
.svc p strong { display: block; margin-bottom: 0.35rem; color: var(--ink-950); font-size: 0.95rem; }

.copy-box {
  padding: 2rem 2.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.copy-box p { color: var(--text-light); font-size: 1rem; }
.copy-box p + p { margin-top: 1rem; }

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

.gcard {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

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

.gcard figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(transparent, rgba(26, 47, 74, 0.92));
  font-size: 0.95rem; font-weight: 700;
  color: var(--white);
  text-align: center;
  letter-spacing: 0.02em;
}

.seo-callout {
  padding: 2.25rem 2.5rem;
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.seo-callout a { font-weight: 700; }

.map-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.map-section__info {
  padding: 2.5rem;
  background: var(--ink-950);
  color: rgba(255,255,255,0.75);
  display: flex; flex-direction: column; justify-content: center;
}

.map-section__info h2 { color: var(--white); }
.map-section__phone {
  display: block; margin-top: 1.25rem;
  font-size: 1.5rem; font-weight: 700;
  color: var(--accent-light);
}
.map-section__info .block__label { color: var(--accent-light); }

.map-section__embed iframe {
  width: 100%; height: 100%; min-height: 380px;
  border: 0; display: block;
}

.offer-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.offer-item {
  display: flex; gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.offer-item__num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--ink-100);
  color: var(--ink-600);
  font-weight: 800; font-size: 0.9rem;
  border-radius: 8px;
}

.offer-item strong {
  display: block; margin-bottom: 0.2rem;
  color: var(--ink-950); font-size: 0.95rem;
}

.offer-item p { margin: 0; font-size: 0.9rem; color: var(--text-light); }

.promise {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--ink-50);
  border-radius: var(--radius);
  font-size: 0.95rem; color: var(--text-light);
}

.promise strong { color: var(--ink-950); }

.faq-list { display: grid; gap: 0.75rem; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem 1.35rem;
  font-weight: 600; color: var(--ink-950);
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem; font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item__body {
  padding: 0 1.35rem 1.15rem;
  font-size: 0.95rem; color: var(--text-light);
}

.faq-item__body a { font-weight: 600; }

.footer {
  padding: 3.5rem 0 5rem;
  background: linear-gradient(180deg, var(--ink-950), #0f1e30);
  color: rgba(255,255,255,0.65);
  text-align: center;
}

.footer h2 { color: var(--white); margin-bottom: 0.75rem; }
.footer > .container > p { max-width: 460px; margin-inline: auto; margin-bottom: 1.75rem; }

.footer__btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--white);
  font-weight: 700; font-size: 1.05rem;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
}

.footer__btn:hover { background: var(--ink-500); color: var(--white); transform: translateY(-1px); }
.footer__btn svg { width: 1.05rem; height: 1.05rem; }

.footer__areas {
  margin-top: 1.5rem !important;
  margin-bottom: 0 !important;
  font-size: 0.82rem; opacity: 0.5;
}

.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  padding: 0.85rem;
  background: var(--ink-600);
  color: var(--white);
  font-weight: 700; font-size: 0.95rem;
  text-align: center; text-decoration: none;
}

.mobile-bar:hover { color: var(--white); background: var(--ink-800); }

@media (max-width: 900px) {
  .hero__layout,
  .story,
  .map-section,
  .services-grid,
  .offer-list {
    grid-template-columns: 1fr;
  }

  .story--flip .story__img,
  .story--flip .story__text { order: unset; }

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

@media (max-width: 560px) {
  .header__logo img { height: 64px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .mobile-bar { display: block; }
  .footer { padding-bottom: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .svc:hover, .hero__call:hover, .gcard:hover img, .story__img:hover img, .footer__btn:hover, .header__phone:hover { transform: none; }
  .hero::before, .hero__badge, .hero h1, .hero__sub, .hero__call, .hero__checks, .hero__form-box { animation: none; }
  .gcard figcaption { position: static; background: var(--ink-950); padding: 0.75rem 1rem; }
}
