/* ===== Breaking Ground Ltd — styles ===== */

:root {
  --bg: #14120f;
  --bg-2: #191713;
  --surface: #201d18;
  --surface-2: #292520;
  --line: #35302a;
  --text: #f4f0ea;
  --muted: #a49b8d;
  --accent: #ff9e2c;
  --accent-2: #f97316;
  --accent-soft: rgba(255, 158, 44, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Archivo", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Bricolage Grotesque", var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

.accent { color: var(--accent); }

.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a1710;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
  box-shadow: 0 8px 24px -8px rgba(255, 158, 44, 0.5);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(255, 158, 44, 0.6); filter: brightness(1.05); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover { border-color: var(--accent); box-shadow: none; background: var(--accent-soft); }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--full { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(20, 18, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.brand__mark { color: var(--accent); display: flex; }
.brand__ltd { color: var(--muted); font-weight: 500; margin-left: 6px; font-size: 0.8rem; }

.nav__links { display: flex; gap: 34px; }
.nav__links a { color: var(--muted); font-weight: 500; font-size: 0.95rem; position: relative; transition: color 0.2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent); transition: width 0.25s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column; gap: 4px; padding: 12px 24px 24px;
  background: rgba(20, 18, 15, 0.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.nav__mobile a { padding: 12px 0; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__mobile a:last-child { border: none; margin-top: 10px; }
.nav__mobile.open { display: flex; }

/* ===== Hero ===== */
.hero { position: relative; padding: 170px 0 90px; overflow: hidden; }
.hero__glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 60%);
  filter: blur(20px); pointer-events: none;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: 0.35; pointer-events: none;
}
.hero__inner { position: relative; text-align: center; }
.hero__title {
  font-family: var(--display); font-weight: 700; line-height: 1.05;
  font-size: clamp(2.6rem, 6.5vw, 5rem); letter-spacing: -0.02em; margin-bottom: 22px;
}
.hero__sub { max-width: 620px; margin: 0 auto 34px; color: var(--muted); font-size: 1.12rem; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero__stats { display: flex; gap: 48px; justify-content: center; margin-top: 68px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--display); font-size: 2.5rem; font-weight: 700; color: var(--text); }
.stat__label { color: var(--muted); font-size: 0.9rem; }

/* ===== Trust strip ===== */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust__inner {
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  padding: 20px 24px; color: var(--muted); font-size: 0.9rem; font-weight: 500;
}
.trust .dot { color: var(--accent); font-size: 0.5rem; }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-2); }
.section__head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section__title {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12;
  font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 16px;
}
.section__lead { color: var(--muted); font-size: 1.08rem; }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--display); font-size: 1.22rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { grid-column: span 2; border-radius: var(--radius); overflow: hidden; position: relative; }
.tile--lg { grid-column: span 3; }
.tile__ph {
  aspect-ratio: 4 / 3; width: 100%;
  background:
    linear-gradient(135deg, rgba(255,158,44,0.08), transparent),
    repeating-linear-gradient(45deg, var(--surface) 0 14px, var(--surface-2) 14px 28px);
  display: grid; place-items: center; position: relative;
}
.tile--lg .tile__ph { aspect-ratio: 8 / 5; }
.tile__ph::after {
  content: attr(data-label); position: absolute; color: var(--muted);
  font-family: var(--display); font-size: 0.85rem; font-weight: 500;
  padding: 6px 12px; border: 1px dashed var(--line); border-radius: 8px; background: rgba(0,0,0,0.25);
}
.tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: 14px 18px;
  font-family: var(--display); font-weight: 600; font-size: 0.98rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  transform: translateY(6px); opacity: 0; transition: 0.3s var(--ease);
}
.tile:hover figcaption { transform: translateY(0); opacity: 1; }
.tile { border: 1px solid var(--line); transition: border-color 0.3s; }
.tile:hover { border-color: var(--accent); }

/* ===== Why us ===== */
.why { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.why .section__head { text-align: left; margin: 0; }
.why .eyebrow { text-align: left; }
.checklist { list-style: none; margin: 26px 0 32px; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; color: var(--text); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 0.75rem; font-weight: 700;
}
.why__panel {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 40px;
  position: relative;
}
.quote p { font-family: var(--display); font-size: 1.35rem; line-height: 1.5; letter-spacing: -0.01em; margin-bottom: 22px; }
.quote footer { display: flex; flex-direction: column; }
.quote__name { font-weight: 700; }
.quote__role { color: var(--muted); font-size: 0.9rem; }

/* ===== Areas covered ===== */
.areas {
  list-style: none; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.areas li {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 18px; font-family: var(--display); font-weight: 600; font-size: 0.98rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.areas li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.areas li:hover { border-color: var(--accent); transform: translateY(-3px); }

/* ===== CTA / Contact ===== */
.cta { background: var(--bg-2); }
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta .section__head, .cta .eyebrow { text-align: left; }
.contact-list { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: var(--text); }
.contact-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.contact-list a:hover { color: var(--accent); }

.form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  font-family: var(--font); font-size: 0.98rem; transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form__note { margin-top: 14px; font-size: 0.9rem; color: var(--accent); min-height: 1.2em; }

/* ===== Footer ===== */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 56px 0 30px; }
.footer__inner { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__brand .brand__mark { color: var(--accent); }
.footer__brand strong { font-family: var(--display); font-size: 1.05rem; }
.footer__brand p { color: var(--muted); font-size: 0.92rem; max-width: 340px; }
.footer__contact { margin-top: 6px; }
.footer__contact a { color: var(--text); font-weight: 500; }
.footer__contact a:hover { color: var(--accent); }
.footer__links { display: flex; gap: 26px; align-items: center; }
.footer__links a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--accent); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; color: var(--muted); font-size: 0.85rem; }

/* ===== Floating WhatsApp button ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 0;
  background: #25d366; color: #fff;
  border-radius: 999px; padding: 15px; overflow: hidden;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-float svg { flex-shrink: 0; }
.wa-float__label {
  font-family: var(--display); font-weight: 600; font-size: 0.98rem; white-space: nowrap;
  max-width: 0; opacity: 0; margin-left: 0;
  transition: max-width 0.3s var(--ease), opacity 0.25s var(--ease), margin-left 0.3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -8px rgba(37, 211, 102, 0.7); }
.wa-float:hover .wa-float__label,
.wa-float:focus-visible .wa-float__label { max-width: 160px; opacity: 1; margin-left: 10px; }
.wa-float:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

@media (max-width: 720px) {
  .wa-float { right: 16px; bottom: 16px; padding: 14px; }
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why, .cta__inner { grid-template-columns: 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile--lg { grid-column: span 1; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .section { padding: 72px 0; }
  .hero { padding: 140px 0 70px; }
  .hero__stats { gap: 30px; margin-top: 48px; }
  .stat__num { font-size: 2rem; }
  .cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
