/*
Theme Name: Zayas Developments GC
Theme URI: https://zayasgroup.co
Author: Zayas Developments LLC
Description: Single-page general contractor theme for Zayas Developments LLC — full-service GC positioning with self-performed structural shell. Charcoal + burnt orange brand system.
Version: 1.0.0
License: Proprietary
Text Domain: zayas-developments-gc
*/

/* ── Tokens ─────────────────────────────────────────── */
:root {
  --ink: #1A1A18;          /* charcoal */
  --ink-2: #24241f;
  --paper: #F5F3EE;        /* warm off-white */
  --paper-2: #ECE9E1;
  --accent: #D4541A;       /* burnt orange */
  --accent-dark: #B34412;
  --line: rgba(26, 26, 24, 0.14);
  --line-light: rgba(245, 243, 238, 0.16);
  --muted: #6d6a61;
  --muted-light: rgba(245, 243, 238, 0.68);
  --display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --max: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Type ───────────────────────────────────────────── */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}
h1 { font-size: clamp(3.4rem, 9vw, 7.2rem); }
h2 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); letter-spacing: 0.04em; }
h1 em, h2 em { font-style: normal; color: var(--accent); }

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--accent); }

.lead { font-size: 1.08rem; color: var(--muted); max-width: 640px; }
.on-dark .lead { color: var(--muted-light); }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 34px 12px;
  border: 2px solid var(--accent);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  line-height: 1;
}
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--paper); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--ink); }
.btn-ghost-dark:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ── Nav (always dark) ──────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid var(--line-light);
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.brand {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--paper);
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand span { color: var(--accent); }
.brand small {
  display: block;
  font-family: var(--body);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: var(--muted-light);
  margin-top: 1px;
}
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--accent); }
.nav-links .nav-cta {
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 8px 18px 7px;
}
.nav-links .nav-cta:hover { background: var(--accent); color: #fff; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--paper);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(115deg, rgba(26,26,24,0.97) 45%, rgba(26,26,24,0.82)),
    url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1600&q=80&auto=format') center/cover no-repeat;
  color: var(--paper);
  padding: 170px 0 0;
}
.hero-inner { max-width: 900px; }
.hero .lead { margin: 26px 0 34px; font-size: 1.12rem; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 70px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
}
.stat { padding: 26px 26px 30px; border-right: 1px solid var(--line-light); }
.stat:last-child { border-right: 0; }
.stat b {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
  display: block;
  line-height: 1;
}
.stat span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ── Ticker ─────────────────────────────────────────── */
.ticker {
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  padding: 12px 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  animation: ticker 42s linear infinite;
}
.ticker-track span {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 18px;
}
.ticker-track span::after { content: "◆"; font-size: 0.55rem; vertical-align: middle; margin-left: 18px; opacity: 0.7; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Sections ───────────────────────────────────────── */
.section { padding: 96px 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-head { margin-bottom: 54px; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--paper);
  padding: 38px 30px 34px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}
.service:hover { background: #fff; }
.service .num {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}
.service h3 { margin-bottom: 12px; }
.service p { font-size: 0.94rem; color: var(--muted); flex: 1; }
.service a {
  margin-top: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.service a:hover { color: var(--accent-dark); }
.service-flag {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  position: relative;
}
.service-flag::after {
  content: "Self-Performed";
  position: absolute;
  top: 0; right: 0;
  background: var(--accent);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
}

/* Credentials bar */
.creds {
  background: var(--ink-2);
  color: var(--paper);
  padding: 34px 0;
}
.creds .wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.cred small {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.cred b { font-size: 0.88rem; font-weight: 600; }

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}
.why-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line-light);
}
.why-item:first-of-type { border-top: 0; padding-top: 8px; }
.why-item .num {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--accent);
}
.why-item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.why-item p { font-size: 0.92rem; color: var(--muted-light); }
.why-media { position: relative; }
.why-media img { width: 100%; height: 520px; object-fit: cover; }
.why-badge {
  position: absolute;
  left: -28px; bottom: 34px;
  background: var(--accent);
  color: #fff;
  padding: 22px 28px 18px;
}
.why-badge b { font-family: var(--display); font-size: 2.4rem; display: block; line-height: 1; }
.why-badge span { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; }

/* Markets */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.market {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.market img { width: 100%; height: 340px; object-fit: cover; opacity: 0.72; transition: transform 0.4s, opacity 0.3s; }
.market:hover img { transform: scale(1.04); opacity: 0.55; }
.market-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 28px;
  background: linear-gradient(transparent, rgba(26,26,24,0.92) 55%);
  color: var(--paper);
}
.market-body small {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.market-body h3 { margin: 6px 0 8px; }
.market-body p { font-size: 0.88rem; color: var(--muted-light); max-width: 480px; }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  counter-reset: step;
}
.step { background: var(--paper); padding: 30px 22px 34px; }
.step .num { font-family: var(--display); font-size: 2rem; color: var(--accent); display: block; margin-bottom: 12px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: 0.86rem; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--accent); color: #fff; text-align: center; padding: 84px 0; }
.cta-band h2 { max-width: 760px; margin: 0 auto 18px; }
.cta-band p { max-width: 560px; margin: 0 auto 32px; color: rgba(255,255,255,0.88); }
.cta-band .btn { border-color: #fff; color: #fff; }
.cta-band .btn:hover { background: #fff; color: var(--accent); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}
.contact-info dl { margin-top: 34px; }
.contact-info dt {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 22px;
}
.contact-info dd { font-size: 1rem; margin-top: 4px; }
.contact-info a { color: var(--paper); text-decoration: none; }
.contact-info a:hover { color: var(--accent); }

.contact-form { background: var(--paper); color: var(--ink); padding: 40px 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 16px; font-size: 0.9rem; font-weight: 600; display: none; }
.form-status.ok { display: block; color: #1e7d3c; }
.form-status.err { display: block; color: #b3261e; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 72px 0 0; border-top: 4px solid var(--accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 54px;
}
.footer-grid h4 {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--accent);
}
.footer-grid p { font-size: 0.88rem; color: var(--muted-light); max-width: 320px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--muted-light); text-decoration: none; font-size: 0.88rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-license { margin-top: 18px; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--paper); }
.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted-light);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .creds .wrap { grid-template-columns: repeat(3, 1fr); }
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .why-media img { height: 380px; }
  .why-badge { left: 20px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 66px; left: 0; right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 26px;
    gap: 18px;
    border-bottom: 1px solid var(--line-light);
  }
  .nav-links.open { display: flex; }
  .hero { padding-top: 130px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .services-grid, .markets-grid, .form-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .creds .wrap { grid-template-columns: 1fr 1fr; }
  .section { padding: 68px 0; }
  .market img { height: 280px; }
}
