:root {
  --ink: #252525;
  --muted: #6f7478;
  --paper: #ffffff;
  --soft: #f4f5f6;
  --line: #e1e3e5;
  --brand: #ef3340;
  --brand-dark: #c7212d;
  --cyan: #00a9ce;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 300 16px/1.7 Arial, Helvetica, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; top: -60px; left: 16px; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

.topbar { background: var(--soft); color: #777; font-size: 13px; }
.topbar .container { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 22px; }
.topbar a:hover { color: var(--brand); }
.facebook { font-weight: 700; color: #3b5998; }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.96); box-shadow: 0 3px 10px rgba(0,0,0,.14); backdrop-filter: blur(8px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; }
.logo img { width: 195px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.main-nav a { position: relative; padding-block: 31px; }
.main-nav a::after { position: absolute; right: 0; bottom: 24px; left: 0; height: 2px; content: ""; background: var(--brand); transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 0; background: none; padding: 10px; font-size: 27px; cursor: pointer; }

.hero { position: relative; min-height: 560px; overflow: hidden; background: #111; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.slide.active { opacity: 1; }
.slide::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(0,0,0,.68), rgba(0,0,0,.12)); }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-content { position: absolute; z-index: 2; top: 50%; left: max(20px, calc((100vw - var(--max))/2)); width: min(680px, calc(100% - 40px)); transform: translateY(-50%); }
.slide h1, .slide h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.08; text-shadow: 3px 3px 8px #000; }
.eyebrow { margin: 0 0 13px; color: #fff; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.hero-controls { position: absolute; z-index: 4; right: max(20px, calc((100vw - var(--max))/2)); bottom: 32px; display: flex; gap: 8px; }
.hero-controls button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.6); background: rgba(0,0,0,.3); color: #fff; cursor: pointer; }
.hero-controls button:hover { background: var(--brand); }

.section { padding: 82px 0; }
.section.soft { background: var(--soft); }
.section-title { margin: 0 0 12px; font-size: clamp(30px, 4vw, 42px); line-height: 1.2; text-align: center; }
.section-intro { max-width: 720px; margin: 0 auto 42px; color: var(--muted); text-align: center; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { padding: 26px; border-top: 3px solid var(--brand); background: #fff; box-shadow: 0 8px 28px rgba(0,0,0,.07); }
.service-card strong { display: block; margin-bottom: 8px; font-size: 18px; }
.service-card p { margin: 0; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border: 0; background: var(--brand); color: #fff; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s; }
.button:hover { background: var(--brand-dark); transform: translateY(-1px); }
.button.secondary { background: var(--ink); }

.cta { padding: 95px 0; color: #fff; text-align: center; background: linear-gradient(rgba(0,0,0,.62),rgba(0,0,0,.62)), url('../images/webs/cta-bg.jpg') center/cover fixed; }
.cta h2 { margin: 0 0 12px; font-size: clamp(32px, 4vw, 48px); }
.cta p { max-width: 700px; margin: 0 auto 28px; font-size: 18px; }

.page-hero { padding: 68px 0; color: #fff; background: linear-gradient(120deg, #222, #555); }
.page-hero h1 { margin: 0; font-size: clamp(38px, 5vw, 56px); }
.breadcrumbs { margin-top: 8px; color: #ddd; font-size: 14px; }
.breadcrumbs a:hover { color: #fff; }
.about-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); align-items: start; gap: 54px; }
.about-grid h2 { margin-top: 0; font-size: 36px; }
.about-grid p { color: #50555a; }
.about-image { position: sticky; top: 120px; box-shadow: 16px 16px 0 var(--brand); }
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 38px; counter-reset: steps; }
.process article { position: relative; padding: 28px 24px; background: var(--soft); counter-increment: steps; }
.process article::before { display: block; margin-bottom: 10px; color: var(--brand); content: "0" counter(steps); font-size: 30px; font-weight: 800; }
.process h3 { margin: 0 0 8px; }
.process p { margin: 0; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.filter { padding: 9px 15px; border: 1px solid var(--line); background: #fff; color: #555; cursor: pointer; }
.filter.active, .filter:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { position: relative; overflow: hidden; width: 100%; padding: 0; border: 0; aspect-ratio: 1; background: var(--soft); text-align: left; cursor: zoom-in; }
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item span { position: absolute; right: 0; bottom: 0; left: 0; padding: 13px; color: #fff; font-size: 14px; font-weight: 700; background: linear-gradient(transparent, rgba(0,0,0,.8)); transform: translateY(100%); transition: transform .25s; }
.gallery-item:hover span { transform: none; }
.lightbox { position: fixed; z-index: 100; inset: 0; display: none; place-items: center; padding: 30px; background: rgba(0,0,0,.88); }
.lightbox.open { display: grid; }
.lightbox img { max-width: min(900px, 94vw); max-height: 84vh; }
.lightbox button { position: absolute; top: 20px; right: 20px; border: 0; background: none; color: #fff; font-size: 42px; cursor: pointer; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; }
.contact-panel { padding: 32px; background: var(--soft); }
.contact-panel h2, .contact-form h2 { margin-top: 0; }
.contact-list { display: grid; gap: 17px; margin: 28px 0; }
.contact-list strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 10px 12px; border: 1px solid #d8dadd; }
.hours tr:nth-child(even) { background: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd2d5; border-radius: 0; background: #fff; }
.field input:focus, .field textarea:focus { outline: 2px solid rgba(239,51,64,.18); border-color: var(--brand); }
.field textarea { min-height: 160px; resize: vertical; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-note { color: var(--muted); font-size: 13px; }
.form-status { display: none; margin-bottom: 20px; padding: 13px 16px; border-left: 4px solid; }
.form-status.show { display: block; }
.form-status.success { border-color: #238636; background: #eaf7ed; }
.form-status.error { border-color: var(--brand); background: #fff0f1; }
.map { width: 100%; height: 390px; border: 0; }

.site-bottom { padding: 68px 0; background: var(--soft); }
.bottom-grid { display: grid; grid-template-columns: 1fr 2.5fr; gap: 70px; }
.site-bottom h3 { margin-top: 0; font-size: 20px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a:hover { color: var(--brand); }
.site-bottom p { margin: 0; color: #666; }
.site-footer { padding: 20px 0; background: #222; color: #bbb; font-size: 14px; text-align: center; }

@media (max-width: 900px) {
  .services, .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-image { position: static; max-width: 560px; }
  .process { grid-template-columns: 1fr; }
  .bottom-grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 720px) {
  .topbar .container { padding-block: 8px; }
  .topbar-links { gap: 5px 16px; }
  .topbar-hours { display: none; }
  .header-inner { min-height: 74px; }
  .logo img { width: 160px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 12px 20px 22px; background: #fff; box-shadow: 0 8px 15px rgba(0,0,0,.12); }
  .main-nav.open { display: grid; gap: 0; }
  .main-nav a { padding: 12px 0; }
  .main-nav a::after { bottom: 7px; }
  .hero { min-height: 430px; }
  .services { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}

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