@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700;800&family=Yellowtail&display=swap');

:root {
  --black: #111111;
  --gold: #d4a017;
  --charcoal: #4d4d4d;
  --silver: #bfbfbf;
  --white: #ffffff;
  --paper: #f6f4ef;
  --ink-soft: #686868;
  --shadow: 0 20px 55px rgba(17, 17, 17, 0.13);
  --radius: 18px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .025;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 92px 0; scroll-margin-top: 88px; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--black); color: var(--white); }
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-weight: 400;
  letter-spacing: .025em;
  line-height: .98;
}
h1 { font-size: clamp(3.45rem, 7vw, 6.9rem); margin-bottom: 22px; }
h2 { font-size: clamp(2.65rem, 4.7vw, 4.5rem); margin-bottom: 18px; }
h3 { font-size: 1.7rem; margin-bottom: 12px; }
h4 { font-size: 1.3rem; margin-bottom: 8px; }
.section-heading { max-width: 790px; margin: 0 auto 48px; text-align: center; }
.section-heading p:last-child { margin: 0; color: var(--ink-soft); font-size: 1.03rem; }
.section--dark .section-heading p:last-child { color: var(--silver); }
.accent-script { color: var(--gold); font-family: 'Yellowtail', cursive; font-size: 1.3em; font-weight: 400; }
.gold { color: var(--gold); }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid var(--gold);
  border-radius: 7px;
  background: var(--gold);
  color: var(--black);
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .055em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(212,160,23,.28); }
.button--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.button--outline:hover { background: var(--white); color: var(--black); }
.button--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.button--dark:hover { background: var(--charcoal); }

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 88px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(17,17,17,.08);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 28px rgba(17,17,17,.1); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--black); text-decoration: none; flex: 0 0 auto; }
.brand-emblem {
  position: relative;
  width: 55px;
  height: 62px;
  flex: 0 0 auto;
  background: var(--black);
  clip-path: polygon(50% 0, 96% 24%, 91% 78%, 50% 100%, 9% 78%, 4% 24%);
}
.brand-emblem::before {
  content: '';
  position: absolute;
  inset: 5px;
  background: var(--white);
  clip-path: inherit;
}
.brand-emblem::after {
  content: '';
  position: absolute;
  z-index: 2;
  left: 11px;
  right: 11px;
  bottom: 12px;
  height: 24px;
  background:
    linear-gradient(var(--gold),var(--gold)) 0 2px/100% 3px no-repeat,
    repeating-linear-gradient(90deg,var(--black) 0 5px,transparent 5px 10px);
  clip-path: polygon(0 18%,12% 0,24% 20%,38% 4%,50% 28%,64% 5%,77% 22%,90% 2%,100% 18%,100% 100%,0 100%);
}
.brand-name { display: flex; flex-direction: column; line-height: .8; }
.brand-name strong { font: 400 2.05rem/.82 'Bebas Neue', Impact, sans-serif; letter-spacing: .045em; }
.brand-name span { margin-top: 8px; color: var(--gold); font: 400 1.05rem/.8 'Bebas Neue', Impact, sans-serif; letter-spacing: .28em; }
.brand-tagline { margin-top: 8px; font-size: .48rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; }
.brand--footer { color: var(--white); }
.brand--footer .brand-emblem::before { background: var(--black); }
.brand--footer .brand-emblem { background: var(--gold); }
.site-nav { display: flex; align-items: center; }
.site-nav > ul { display: flex; align-items: center; gap: 30px; padding: 0; margin: 0; list-style: none; }
.site-nav a { font-size: .83rem; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .045em; }
.site-nav a:not(.button):hover { color: var(--gold); }
.dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 7px; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 22px);
  left: -18px;
  width: 260px;
  padding: 12px;
  margin: 0;
  list-style: none;
  background: var(--white);
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
}
.dropdown-menu::before { content: ''; position: absolute; inset: -24px 0 auto; height: 24px; }
.dropdown:hover .dropdown-menu, .dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: block; padding: 9px 10px; border-radius: 6px; }
.dropdown-menu a:hover { background: var(--paper); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 6px; background: var(--black); color: var(--white); cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 146px 0 78px;
  color: var(--white);
  background:
    linear-gradient(90deg,rgba(17,17,17,.95) 0%,rgba(17,17,17,.77) 48%,rgba(17,17,17,.44) 100%),
    url('assets/hero-fence.jpg') center/cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 13px;
  background: repeating-linear-gradient(90deg,var(--gold) 0 90px,var(--black) 90px 100px);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(350px,.72fr); align-items: center; gap: 64px; }
.hero-copy { max-width: 710px; }
.hero h1 .gold { display: block; }
.hero-description { max-width: 680px; margin-bottom: 28px; color: #eee; font-size: 1.06rem; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.trust-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid rgba(212,160,23,.65); border-radius: 999px; background: rgba(17,17,17,.48); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.trust-badge i { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.service-pills { display: flex; flex-wrap: wrap; gap: 9px; }
.service-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 5px; background: rgba(255,255,255,.1); color: #f5f5f5; font-size: .78rem; font-weight: 700; }
.service-pill i { color: var(--gold); }
.estimate-card { padding: 32px; background: rgba(255,255,255,.97); color: var(--black); border-top: 7px solid var(--gold); border-radius: var(--radius); box-shadow: 0 28px 75px rgba(0,0,0,.34); }
.estimate-card h2 { font-size: 2.5rem; margin-bottom: 4px; }
.estimate-card > p { color: var(--ink-soft); font-size: .88rem; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.field--full { grid-column: 1/-1; }
.field label { display: block; margin-bottom: 5px; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
  outline: 0;
}
.field textarea { min-height: 94px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,160,23,.15); }
.estimate-form .button { width: 100%; margin-top: 2px; }
.form-note { margin: 11px 0 0; text-align: center; color: var(--ink-soft); font-size: .7rem; }
.form-status { margin: 12px 0 0; padding: 10px; border-radius: 6px; background: #f2ebd5; color: #3c3218; font-size: .78rem; font-weight: 700; }

.proof-strip { background: var(--white); border-bottom: 1px solid #e5e5e5; }
.proof-strip .container { display: grid; grid-template-columns: repeat(3,1fr); }
.proof-item { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 122px; padding: 22px; border-right: 1px solid #e5e5e5; }
.proof-item:last-child { border-right: 0; }
.proof-icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; background: var(--black); color: var(--gold); font-size: 1.2rem; }
.proof-item h3 { margin: 0 0 3px; font-size: 1.5rem; }
.proof-item p { margin: 0; color: var(--ink-soft); font-size: .76rem; }

.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card { overflow: hidden; background: var(--white); border: 1px solid #e1e1e1; border-radius: var(--radius); box-shadow: 0 12px 35px rgba(17,17,17,.08); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.service-image { position: relative; min-height: 190px; background: linear-gradient(rgba(17,17,17,.2),rgba(17,17,17,.78)),url('assets/hero-fence.jpg') center/cover; }
.service-card:nth-child(2) .service-image { background-position: 70% center; }
.service-card:nth-child(3) .service-image { background-position: 35% center; }
.service-label { position: absolute; left: 18px; bottom: 16px; padding: 6px 10px; border-radius: 4px; background: var(--gold); font-size: .66rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.service-content { padding: 25px; }
.service-content > p { color: var(--ink-soft); font-size: .88rem; }
.check-list { padding: 0; margin: 18px 0 22px; list-style: none; }
.check-list li { position: relative; margin: 8px 0; padding-left: 23px; font-size: .82rem; }
.check-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--gold); font-weight: 900; }
.text-link { color: var(--black); font-size: .76rem; font-weight: 900; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.text-link::after { content: ' \2192'; color: var(--gold); }
.material-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; margin-top: 26px; }
.material-card { padding: 22px; border: 1px solid #ddd; border-radius: 12px; background: var(--white); }
.material-card i { margin-bottom: 16px; color: var(--gold); font-size: 1.5rem; }
.material-card h4 { margin-bottom: 5px; }
.material-card p { margin: 0; color: var(--ink-soft); font-size: .76rem; }

.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); overflow: hidden; margin-bottom: 38px; }
.stat { padding: 27px 16px; text-align: center; border-right: 1px solid rgba(255,255,255,.13); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--gold); font: 400 2.8rem/1 'Bebas Neue', sans-serif; }
.stat span { color: var(--silver); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.system-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.system-card { position: relative; padding: 28px 24px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.02)); }
.system-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; border-radius: var(--radius) 0 0 var(--radius); background: var(--gold); }
.system-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 20px; border-radius: 50%; background: var(--gold); color: var(--black); }
.system-card p { margin: 0; color: #ccc; font-size: .83rem; }
.story-panel { display: grid; grid-template-columns: .72fr 1.28fr; gap: 44px; align-items: center; margin-top: 54px; padding: 40px; border-radius: var(--radius); background: var(--gold); color: var(--black); }
.story-panel h3 { margin: 0; font-size: clamp(2.5rem,4vw,4rem); }
.story-panel p:last-child { margin-bottom: 0; }

.review-summary { display: flex; align-items: center; justify-content: center; gap: 15px; margin: -21px 0 36px; }
.review-score { font: 400 2.5rem/1 'Bebas Neue',sans-serif; }
.review-stars { color: var(--gold); letter-spacing: .18em; }
.review-count { color: var(--ink-soft); font-size: .76rem; }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.review-card { display: flex; flex-direction: column; min-height: 285px; padding: 26px; border: 1px solid #dedede; border-radius: var(--radius); background: var(--white); }
.review-card blockquote { flex: 1; margin: 14px 0 22px; font-size: .88rem; }
.review-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px solid #e5e5e5; }
.review-meta strong { display: block; }
.review-meta span, .review-meta time { color: var(--ink-soft); font-size: .7rem; }

.contact-panel { display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-copy { padding: 50px; background: var(--gold); }
.contact-copy p { max-width: 590px; }
.contact-details { display: grid; gap: 18px; margin-top: 30px; }
.contact-detail { display: flex; gap: 13px; align-items: flex-start; }
.contact-detail i { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--black); color: var(--gold); }
.contact-detail h3 { margin: 0 0 3px; font-size: 1.3rem; }
.contact-detail p { margin: 0; font-size: .8rem; }
.promise-card { padding: 50px; background: var(--black); color: var(--white); }
.promise-card .check-list li { font-size: .93rem; }

.page-hero { min-height: 590px; }
.page-hero .container { grid-template-columns: minmax(0,1.2fr) minmax(300px,.66fr); }
.page-hero h1 { font-size: clamp(3.5rem,6.3vw,6.3rem); }
.hero-mini-card { padding: 30px; border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius); background: rgba(17,17,17,.74); backdrop-filter: blur(10px); }
.hero-mini-card h2 { font-size: 2.3rem; }
.hero-mini-card p { color: #ddd; }
.hero-mini-card .button { width: 100%; margin-top: 8px; }
.option-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.option-card { padding: 28px; border: 1px solid #dedede; border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 30px rgba(17,17,17,.06); }
.option-card .option-number { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 18px; border-radius: 50%; background: var(--gold); font: 400 1.35rem/1 'Bebas Neue',sans-serif; }
.option-card > p { color: var(--ink-soft); font-size: .85rem; }
.detail-band { display: grid; grid-template-columns: .78fr 1.22fr; gap: 48px; align-items: center; }
.detail-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 22px; padding: 0; margin: 0; list-style: none; }
.detail-list li { padding: 13px 15px 13px 38px; position: relative; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; color: #ddd; font-size: .82rem; }
.detail-list li::before { content: '\2713'; position: absolute; left: 15px; color: var(--gold); font-weight: 900; }
.process-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 15px; }
.process-grid--four { grid-template-columns: repeat(4,1fr); }
.process-step { position: relative; padding: 24px 20px; border-top: 4px solid var(--gold); border-radius: 0 0 12px 12px; background: var(--white); box-shadow: 0 9px 28px rgba(17,17,17,.07); }
.process-step span { display: inline-grid; width: 34px; height: 34px; place-items: center; margin-bottom: 15px; border-radius: 50%; background: var(--black); color: var(--gold); font: 400 1.15rem/1 'Bebas Neue',sans-serif; }
.process-step p { margin: 0; color: var(--ink-soft); font-size: .76rem; }
.cta-band { text-align: center; background: var(--gold); }
.cta-band p { max-width: 680px; margin: 0 auto 24px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.color-swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.swatch { padding: 8px 13px; border: 1px solid #ddd; border-radius: 999px; background: var(--white); font-size: .76rem; font-weight: 700; }

.site-footer { padding: 58px 0 22px; background: #0b0b0b; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr .95fr .85fr; gap: 42px; }
.footer-about > p { max-width: 360px; margin: 24px 0 0; color: #aaa; font-size: .8rem; }
.site-footer h3 { color: var(--gold); font-size: 1.35rem; }
.footer-links { padding: 0; margin: 0; list-style: none; }
.footer-links li { margin: 8px 0; }
.footer-links a { color: #bbb; font-size: .76rem; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-contact p, .footer-contact a { margin: 7px 0; color: #bbb; font-size: .76rem; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 42px; padding-top: 20px; border-top: 1px solid #252525; color: #888; font-size: .68rem; }

@media (max-width: 1040px) {
  .brand-tagline { display: none; }
  .site-nav > ul { gap: 18px; }
  .hero .container, .page-hero .container { grid-template-columns: 1fr .8fr; gap: 36px; }
  .system-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
  :root { --container: min(100% - 30px, 720px); }
  .section { padding: 70px 0; }
  .site-header { height: 76px; }
  .brand-emblem { width: 46px; height: 52px; }
  .brand-name strong { font-size: 1.65rem; }
  .brand-name span { font-size: .85rem; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; inset: 76px 0 auto; display: none; padding: 14px 20px 22px; background: var(--white); box-shadow: 0 20px 32px rgba(17,17,17,.14); }
  .site-nav.is-open { display: block; }
  .site-nav > ul { align-items: stretch; flex-direction: column; gap: 4px; }
  .site-nav > ul > li > a { display: flex; padding: 12px 5px; }
  .site-nav .button { width: 100%; }
  .dropdown-menu { position: static; width: 100%; max-height: 0; padding: 0 8px; border: 0; box-shadow: none; opacity: 1; visibility: visible; overflow: hidden; transform: none; }
  .dropdown.is-open .dropdown-menu { max-height: 520px; padding-block: 6px; }
  .hero, .page-hero { min-height: auto; padding: 118px 0 58px; }
  .hero .container, .page-hero .container { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .service-grid, .reviews-grid, .option-grid { grid-template-columns: repeat(2,1fr); }
  .material-grid { grid-template-columns: repeat(2,1fr); }
  .proof-item { padding: 18px 11px; }
  .proof-item p { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .story-panel, .contact-panel, .detail-band { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 560px) {
  :root { --container: calc(100% - 24px); }
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.65rem; }
  .brand-name strong { font-size: 1.45rem; }
  .brand-name span { font-size: .75rem; letter-spacing: .22em; }
  .hero-actions .button { width: 100%; }
  .estimate-card { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .proof-strip .container { grid-template-columns: 1fr; }
  .proof-item { justify-content: flex-start; min-height: 86px; border-right: 0; border-bottom: 1px solid #e5e5e5; }
  .proof-item:last-child { border-bottom: 0; }
  .proof-item p { display: block; }
  .service-grid, .reviews-grid, .option-grid, .system-grid, .process-grid, .process-grid--four { grid-template-columns: 1fr; }
  .material-grid { grid-template-columns: 1fr 1fr; }
  .story-panel, .contact-copy, .promise-card { padding: 30px 22px; }
  .detail-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

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