/* ==========================================================================
   Dalcrete — Brand System v1.0 (dalcrete-brand-guidelines.pdf)
   Concrete Black + Rebar Gold, mobile-first, no external dependencies
   besides the Barlow / Barlow Condensed webfonts the guide specifies.
   ========================================================================== */

:root {
  /* Brand palette — exact hex values from the brand guide */
  --c-black: #232322;        /* Concrete Black */
  --c-black-soft: #2c2c2a;   /* derived, one step lighter */
  --c-black-card: #363634;   /* derived, two steps lighter */
  --c-yellow: #ecc009;       /* Rebar Gold */
  --c-yellow-bright: #f3d24c; /* derived tint, hover states */
  --c-yellow-dark: #b89406;   /* derived shade, text-on-light use */
  --c-white: #edeceb;        /* Form White — never pure #ffffff per brand guide */
  --c-off-white: #f4f3f0;    /* Dust */
  --c-gray-900: #232322;
  --c-gray-700: #57564f;
  --c-gray-600: #9b9b98;     /* Site Gray */
  --c-gray-400: #adada9;
  --c-gray-200: #dcdcd8;
  --c-gray-100: #eeede9;

  --font-body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Barlow Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.28);

  --container: 1180px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--c-gray-900);
  background: var(--c-off-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: 0.03em; }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
@media (max-width: 640px) { section { padding: 48px 0; } }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-block;
  color: var(--c-yellow-dark);
  background: rgba(236, 192, 9, 0.14);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
.section-head p { color: var(--c-gray-600); font-size: 1.05rem; }
.section-head.left { margin-left: 0; text-align: left; }
.text-center { text-align: center; }
.on-dark { background: var(--c-black); color: var(--c-white); }
.on-dark .section-head p { color: var(--c-gray-200); }
.bg-alt { background: var(--c-white); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; background: var(--c-yellow); color: var(--c-black);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; z-index: 1000; transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: 0.95rem; letter-spacing: 0.02em; text-transform: uppercase;
  padding: 15px 28px; border-radius: var(--radius-sm); border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--c-yellow); color: var(--c-black); }
.btn-primary:hover { background: var(--c-yellow-bright); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: var(--c-yellow); color: var(--c-yellow); transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--c-black); border-color: var(--c-black); }
.btn-outline-dark:hover { background: var(--c-black); color: var(--c-white); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.82rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(35, 35, 34, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(236, 192, 9, 0.16);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--c-white); text-transform: uppercase; letter-spacing: 0.04em; min-width: 0; flex-shrink: 1; }
.brand .mark { flex-shrink: 0; width: 38px; height: 38px; display: block; }
.brand .brand-text { min-width: 0; }
.brand .brand-name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.brand .brand-sub { display: block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.18em; color: var(--c-yellow); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--c-gray-200); font-weight: 600; font-size: 0.95rem; padding: 8px 2px; border-bottom: 2px solid transparent; transition: color 0.15s ease, border-color 0.15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--c-white); border-color: var(--c-yellow); }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { color: var(--c-white); font-weight: 800; font-size: 0.98rem; display: flex; align-items: center; gap: 8px; }
.header-phone svg { width: 18px; height: 18px; fill: var(--c-yellow); }

.nav-toggle {
  display: none; background: none; border: none; padding: 8px; color: var(--c-white); flex-shrink: 0;
}
.nav-toggle svg { width: 26px; height: 26px; fill: currentColor; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .header-phone span.phone-label { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--c-black); padding: 10px 20px 20px;
    border-bottom: 1px solid rgba(236,192,9,0.18);
  }
  .site-header.nav-open .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

@media (max-width: 480px) {
  .header-phone { display: none; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand .mark { width: 32px; height: 32px; font-size: 0.9rem; }
  .brand .brand-sub { font-size: 0.52rem; }
  .header-cta { gap: 8px; }
  .header-cta .btn-sm { padding: 9px 12px; font-size: 0.68rem; }
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 15% 20%, rgba(236,192,9,0.14), transparent 45%), var(--c-black);
  color: var(--c-white);
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -30% auto; width: 60%; padding-top: 60%;
  background: conic-gradient(from 180deg, rgba(236,192,9,0.12), transparent 60%);
  border-radius: 50%; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.hero h1 .accent { color: var(--c-yellow); }
.hero p.lead { font-size: 1.15rem; color: var(--c-gray-200); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-badges { display: flex; gap: 22px; margin-top: 40px; flex-wrap: wrap; }
.hero-badges div { min-width: 110px; }
.hero-badges strong { display: block; font-size: 1.6rem; color: var(--c-yellow); }
.hero-badges span { font-size: 0.8rem; color: var(--c-gray-400); text-transform: uppercase; letter-spacing: 0.06em; }

.hero-card {
  background: var(--c-black-card); border: 1px solid rgba(236,192,9,0.22);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: var(--c-white); font-size: 1.3rem; }
.hero-card p.small { color: var(--c-gray-400); font-size: 0.88rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Form ---------- */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.on-dark .form-field label { color: var(--c-gray-200); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--c-gray-200);
  background: var(--c-white); color: var(--c-gray-900); font-family: inherit; font-size: 0.95rem;
}
.on-dark .form-field input, .on-dark .form-field select, .on-dark .form-field textarea {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: var(--c-white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--c-yellow); box-shadow: 0 0 0 3px rgba(236,192,9,0.25);
}
.form-note { font-size: 0.78rem; color: var(--c-gray-400); margin-top: 10px; }
.form-status { margin-top: 14px; font-weight: 700; font-size: 0.92rem; padding: 12px 14px; border-radius: var(--radius-sm); display: none; }
.form-status.success { display: block; background: rgba(52, 199, 89, 0.15); color: #2fae5a; }
.form-status.error { display: block; background: rgba(255, 69, 58, 0.15); color: #d92b20; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--c-white); border-radius: var(--radius-md); padding: 30px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--c-gray-100);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--c-black);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; fill: var(--c-yellow); }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--c-gray-600); font-size: 0.95rem; margin-bottom: 12px; }
.card .card-link { color: var(--c-yellow-dark); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }

.card-dark { background: var(--c-black-card); border: 1px solid rgba(255,255,255,0.08); }
.card-dark h3, .card-dark p { color: var(--c-white); }
.card-dark p { color: var(--c-gray-400); }
.card-dark .icon { background: var(--c-yellow); }
.card-dark .icon svg { fill: var(--c-black); }

/* ---------- Stats bar ---------- */
.stats-bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding: 32px 0; border-top: 1px solid var(--c-gray-200); border-bottom: 1px solid var(--c-gray-200); }
.stats-bar div { text-align: center; flex: 1; min-width: 140px; }
.stats-bar strong { display: block; font-size: 2rem; color: var(--c-black); }
.stats-bar span { color: var(--c-gray-600); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Testimonials ---------- */
.testimonial-card { background: var(--c-white); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--c-gray-100); display: flex; flex-direction: column; gap: 14px; }
.stars { color: var(--c-yellow-dark); letter-spacing: 2px; font-size: 1rem; }
.testimonial-quote { font-size: 1.02rem; color: var(--c-gray-900); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-author .avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--c-black); color: var(--c-yellow);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--c-gray-600); }
.placeholder-flag { display: inline-block; margin-top: 4px; font-size: 0.72rem; font-weight: 700; color: var(--c-yellow-dark); background: rgba(236,192,9,0.12); padding: 2px 8px; border-radius: 999px; }

/* ---------- Project / gallery cards ---------- */
.project-card { border-radius: var(--radius-md); overflow: hidden; background: var(--c-white); box-shadow: var(--shadow-sm); border: 1px solid var(--c-gray-100); }
.project-thumb {
  aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, var(--c-black), var(--c-black) 12px, var(--c-black-soft) 12px, var(--c-black-soft) 24px);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--c-yellow); position: relative;
}
.project-thumb span { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; background: rgba(0,0,0,0.55); padding: 8px 12px; border-radius: 6px; }
.project-body { padding: 20px; }
.project-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.project-body p { font-size: 0.88rem; color: var(--c-gray-600); margin-bottom: 8px; }
.project-tag { display: inline-block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-yellow-dark); }

/* ---------- Social links ---------- */
.social-row { display: flex; gap: 14px; flex-wrap: wrap; }
.social-btn {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  background: var(--c-black-card); color: var(--c-white); font-weight: 700; font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.1); transition: background 0.15s ease, transform 0.15s ease;
}
.social-btn:hover { background: var(--c-yellow); color: var(--c-black); transform: translateY(-2px); }
.social-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--c-gray-200); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none; text-align: left; padding: 20px 4px; font-weight: 800; font-size: 1.02rem; color: inherit;
}
.faq-q .plus { color: var(--c-yellow-dark); font-size: 1.3rem; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item[open] .faq-q .plus { transform: rotate(45deg); }
.faq-a { padding: 0 4px 20px; color: var(--c-gray-600); font-size: 0.95rem; }
.faq-item summary { cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---------- Process timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }
.timeline-step { position: relative; padding-top: 46px; }
.timeline-step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-yellow); color: var(--c-black); font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.timeline-step h4 { font-size: 1rem; color: var(--c-white); }
.timeline-step p { font-size: 0.88rem; color: var(--c-gray-400); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--c-yellow); color: var(--c-black); text-align: center; padding: 56px 0; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band .btn-primary { background: var(--c-black); color: var(--c-yellow); }
.cta-band .btn-primary:hover { background: var(--c-black-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-black); color: var(--c-gray-400); padding: 60px 0 24px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--c-white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a:hover { color: var(--c-yellow); }
.footer-brand p { max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; }
.footer-bottom a:hover { color: var(--c-yellow); }

/* ---------- Breadcrumb / page header ---------- */
.page-header { background: var(--c-black); color: var(--c-white); padding: 56px 0 44px; text-align: center; }
.page-header .eyebrow { }
.page-header h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-header p { color: var(--c-gray-200); max-width: 620px; margin: 0 auto; }

/* ---------- Misc ---------- */
.divider-yellow { width: 64px; height: 4px; background: var(--c-yellow); border-radius: 4px; margin: 0 auto 20px; }
.badge-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.badge-pill { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; background: var(--c-gray-100); color: var(--c-gray-700); padding: 8px 14px; border-radius: 999px; }
.on-dark .badge-pill { background: rgba(255,255,255,0.08); color: var(--c-gray-200); }

.map-embed { width: 100%; height: 360px; border: 0; border-radius: var(--radius-md); filter: grayscale(0.15); }

.placeholder-note {
  background: rgba(236,192,9,0.12); border: 1px dashed var(--c-yellow-dark); color: var(--c-gray-700);
  padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.85rem; margin-bottom: 20px;
}
