/* Advanced Concrete Services main.css */
:root {
  --slate-deep: #2C3E50;
  --slate-mid: #3D556B;
  --slate-bright: #4F6A82;
  --gold: #C49A3A;
  --gold-dark: #9C7A29;
  --gold-soft: #E9D896;
  --cream: #F5F1E8;
  --cream-dark: #E8E1CD;
  --charcoal: #1A1F2E;
  --gray: #6B7280;
  --gray-light: #C4C9D2;
  --shadow-sm: 0 2px 6px rgba(44, 62, 80, 0.08);
  --shadow-md: 0 10px 30px rgba(44, 62, 80, 0.15);
  --shadow-lg: 0 25px 50px rgba(44, 62, 80, 0.25);
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --maxw: 1280px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--slate-deep); text-decoration-color: rgba(196, 154, 58, 0.4); text-underline-offset: 3px; transition: color 0.2s var(--transition); }
a:hover { color: var(--gold-dark); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--radius-sm); }

h1, h2, h3, h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  color: var(--slate-deep);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h4 { font-size: 1.15rem; }

p { line-height: 1.7; color: var(--charcoal); }

::selection { background: var(--gold); color: var(--slate-deep); }

button, input, select, textarea { font: inherit; color: inherit; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 8vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 5vw, 5rem); }

.skip-link {
  position: absolute; top: -40px; left: 0; background: var(--slate-deep); color: #fff;
  padding: 0.5rem 1rem; z-index: 100; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { top: 0; }
.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; }

.eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 1rem;
  padding: 0.25rem 0.75rem; background: var(--gold-soft); border-radius: var(--radius-pill);
}

.lede {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.55; color: var(--charcoal); font-weight: 400; max-width: 60ch;
}

.cursor {
  position: fixed; width: 22px; height: 22px;
  border: 2px solid var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 9999; transform: translate(-50%, -50%);
  transition: width 0.2s var(--transition), height 0.2s var(--transition), background 0.2s;
  mix-blend-mode: multiply;
}
.cursor.is-magnet { width: 56px; height: 56px; background: rgba(196, 154, 58, 0.18); }
@media (hover: none) { .cursor { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 1rem 2rem; font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.4px; border-radius: var(--radius-pill);
  text-decoration: none; cursor: pointer; border: 0;
  transition: all 0.3s var(--transition); white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--primary { background: var(--slate-deep); color: var(--cream); }
.btn--primary:hover { background: var(--slate-mid); }
.btn--accent { background: var(--gold); color: var(--slate-deep); }
.btn--accent:hover { background: var(--gold-dark); color: var(--cream); }
.btn--ghost { background: transparent; border: 2px solid var(--cream); color: var(--cream); }
.btn--ghost:hover { background: var(--cream); color: var(--slate-deep); }
.btn--ghost-dark { background: transparent; border: 2px solid var(--slate-deep); color: var(--slate-deep); }
.btn--ghost-dark:hover { background: var(--slate-deep); color: var(--cream); }
.btn--big { padding: 1.15rem 2.4rem; font-size: 1rem; }
.btn .icon { width: 1.1rem; height: 1.1rem; }

.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-lg { width: 2rem; height: 2rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(245, 241, 232, 0.85);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--transition);
}
.site-header.is-scrolled { border-bottom-color: var(--gray-light); background: rgba(245, 241, 232, 0.95); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; gap: 1.5rem; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { text-decoration: none; color: var(--charcoal); font-weight: 700; font-size: 0.95rem; position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform 0.3s var(--transition);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--gray-light); border-radius: var(--radius-sm); background: transparent; cursor: pointer; }
@media (max-width: 1020px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 1.25rem var(--gutter); background: var(--cream); border-bottom: 1px solid var(--gray-light); }
  .nav.is-open { display: flex; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* Hero */
.hero {
  min-height: 88vh; position: relative; display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2C3E50 0%, #3D556B 60%, #2C3E50 100%);
  color: var(--cream);
  isolation: isolate;
}
.hero canvas { position: absolute; inset: 0; z-index: 1; opacity: 0.4; pointer-events: none; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 500px at 70% 20%, rgba(196, 154, 58, 0.18), transparent 60%);
  z-index: 1; pointer-events: none;
}
.hero__content { position: relative; z-index: 2; padding-block: 4rem; }
.hero__eyebrow { font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 800; margin-bottom: 1.5rem; }
.hero__title { font-size: clamp(2.5rem, 6.5vw, 5.25rem); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1.5rem; color: var(--cream); }
.hero__title .accent { color: var(--gold); font-style: italic; font-weight: 500; }
.hero__title .reveal-line { display: block; overflow: hidden; }
.hero__title .reveal-line > span { display: inline-block; }
.hero__sub { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(245, 241, 232, 0.92); max-width: 60ch; margin-bottom: 2rem; line-height: 1.55; }
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.trust-strip {
  display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap;
  padding-top: 1.5rem; border-top: 1px solid rgba(245,241,232,0.18);
  font-size: 0.85rem; color: rgba(245, 241, 232, 0.78);
}
.trust-strip img { background: #fff; padding: 4px; border-radius: var(--radius-sm); }
.trust-strip strong { color: var(--gold); display: block; font-size: 1rem; font-weight: 800; }

/* Marquee */
.marquee { background: var(--slate-deep); color: var(--gold); overflow: hidden; padding-block: 0.75rem; border-block: 1px solid rgba(255,255,255,0.06); }
.marquee__track { display: flex; gap: 3rem; white-space: nowrap; animation: marquee 32s linear infinite; will-change: transform; }
.marquee__track span { font-style: italic; font-size: 1.05rem; font-weight: 600; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; white-space: normal; } }

/* Cards */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: #fff; border: 1px solid var(--gray-light); border-radius: var(--radius-lg); padding: 2rem; transition: all 0.3s var(--transition); position: relative; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.card__icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--slate-mid), var(--slate-deep)); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.card__icon .icon { width: 30px; height: 30px; }
.card h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
.card p { color: var(--gray); font-size: 0.95rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; }
.stat { text-align: center; padding: 1.5rem 1rem; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--gray-light); }
.stat__num { font-size: clamp(2rem, 4vw, 3rem); color: var(--slate-deep); line-height: 1; font-weight: 800; }
.stat__lbl { font-size: 0.8rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0.5rem; }

/* Steps */
.steps { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step {
  position: relative; padding: 2rem 1.5rem 1.5rem; background: #fff;
  border: 1px solid var(--gray-light); border-radius: var(--radius-lg); counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: -18px; left: 1.5rem;
  background: var(--slate-deep); color: var(--gold);
  font-size: 1rem; font-weight: 800;
  padding: 0.25rem 0.75rem; border-radius: var(--radius-pill);
}

/* Testimonials */
.t-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.t-card { background: #fff; border: 1px solid var(--gray-light); border-radius: var(--radius-lg); padding: 2rem; position: relative; }
.t-card::before { content: "\201C"; position: absolute; top: -22px; left: 1.5rem; font-family: 'Playfair Display', Georgia, serif; font-size: 5rem; color: var(--gold); line-height: 1; }
.t-card blockquote { font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-size: 1.15rem; color: var(--charcoal); margin-block: 1rem; line-height: 1.5; }
.t-card .who { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; }
.t-card .who__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--slate-deep); }
.t-card .who__name { font-weight: 700; color: var(--charcoal); }
.t-card .who__where { font-size: 0.85rem; color: var(--gray); }
.t-card .stars { color: var(--gold); display: inline-flex; gap: 2px; }
.t-card .stars .icon { width: 14px; height: 14px; }

/* Gallery */
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.gallery-item {
  position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius-lg);
  cursor: pointer; background: var(--cream-dark); border: 1px solid var(--gray-light);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--transition); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.25rem; color: #fff; font-size: 0.85rem;
  background: linear-gradient(to top, rgba(44,62,80,0.9), transparent);
}

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--gray-light); border-radius: var(--radius-md); padding: 1rem 1.5rem; margin-bottom: 0.75rem; transition: border-color 0.3s; }
.faq details[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-size: 1.1rem; font-weight: 700; color: var(--slate-deep); display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5em; line-height: 1; color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { margin-top: 0.75rem; color: var(--gray); }

/* Form */
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-weight: 700; font-size: 0.85rem; color: var(--charcoal); }
.field input, .field textarea, .field select {
  background: #fff; border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(196, 154, 58, 0.15);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 600px) { .field--row { grid-template-columns: 1fr; } }
textarea { min-height: 140px; resize: vertical; }

/* Footer */
.site-footer { background: var(--slate-deep); color: rgba(245, 241, 232, 0.85); padding-block: clamp(3rem, 6vw, 5rem) 2rem; margin-top: 4rem; }
.site-footer h4 { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
@media (max-width: 880px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li + li { margin-top: 0.5rem; }
.site-footer a { color: rgba(245, 241, 232, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.partner-link { display: flex; gap: 0.75rem; padding: 1rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); text-decoration: none; transition: all 0.3s; }
.partner-link:hover { background: rgba(196, 154, 58, 0.15); border-color: var(--gold); }
.partner-link img { width: 50px; height: 50px; flex-shrink: 0; background: #fff; padding: 4px; border-radius: var(--radius-sm); }
.partner-link strong { display: block; color: var(--gold); font-size: 1rem; }
.partner-link span { font-size: 0.8rem; color: rgba(245, 241, 232, 0.65); }
.halo-explainer { font-size: 0.8rem; color: rgba(245, 241, 232, 0.6); margin-top: 0.75rem; line-height: 1.5; }
.crafted-by { text-align: center; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; opacity: 0.78; }
.crafted-by .separator { margin-inline: 0.5rem; opacity: 0.5; }
.crafted-by a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(196, 154, 58, 0.4); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--transition), transform 0.7s var(--transition); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }

/* Scarcity bar */
.scarcity-bar {
  background: var(--gold-dark); color: #fff; text-align: center;
  padding: 0.5rem var(--gutter); font-size: 0.85rem; letter-spacing: 0.02em;
  display: flex; justify-content: center; gap: 0.75rem; align-items: center; flex-wrap: wrap;
}
.scarcity-bar a { color: #fff; text-decoration: underline; font-weight: 700; }

/* Sticky CTA */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--slate-deep); color: #fff;
  padding: 0.6rem var(--gutter); display: none;
  z-index: 50; box-shadow: 0 -8px 24px rgba(0,0,0,0.18);
  align-items: center; justify-content: space-between; gap: 0.75rem;
}
@media (max-width: 720px) { .sticky-cta { display: flex; } }
.sticky-cta strong { color: var(--gold); }
.sticky-cta .btn { padding: 0.55rem 1rem; font-size: 0.85rem; }

/* Areas grid */
.areas-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.area-tile {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--gray-light);
  border-radius: var(--radius-md); text-decoration: none; color: var(--charcoal);
  transition: all 0.3s var(--transition); font-weight: 700;
}
.area-tile:hover { background: var(--gold-soft); border-color: var(--gold); transform: translateX(4px); color: var(--slate-deep); }
.area-tile .icon { color: var(--gold); }

/* Section header */
.section-head { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 3rem; }
.section-head--left { text-align: left; margin-inline: 0; }

.divider { height: 1px; background: linear-gradient(to right, transparent, var(--gray-light), transparent); margin-block: 4rem; }

/* Project filter buttons */
.project-filter { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2rem; }
.project-filter button { padding: 0.5rem 1.25rem; border: 1px solid var(--gray-light); background: transparent; color: var(--slate-deep); font-weight: 700; border-radius: var(--radius-pill); cursor: pointer; transition: all 0.2s; }
.project-filter button:hover, .project-filter button.is-active { background: var(--slate-deep); color: var(--cream); border-color: var(--slate-deep); }

@media print {
  .site-header, .scarcity-bar, .sticky-cta, canvas { display: none !important; }
}
