/* =========================================================
   Gravelo — brand stylesheet
   Palette: deep teal-green base, white wordmark, vibrant green accent
   ========================================================= */

:root {
  --base: #0e2a26;
  --base-2: #12352f;
  --base-3: #0a211d;
  --accent: #46c25a;
  --accent-strong: #2fa347;
  --accent-soft: #9be7ac;
  --ink: #0f1b19;
  --muted: #5b6b67;
  --line: #e3e9e7;
  --bg: #ffffff;
  --bg-soft: #f4f7f5;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(14, 42, 38, 0.10);
  --shadow-lg: 0 24px 60px rgba(14, 42, 38, 0.18);
  --maxw: 1160px;
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-strong); margin-bottom: .6rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: 1rem; padding: .8rem 1.4rem;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #05231a; }
.btn--primary:hover { background: var(--accent-strong); color: #fff; box-shadow: var(--shadow); }
.btn--wa { background: #25d366; color: #04331a; }
.btn--wa:hover { background: #1db954; box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-soft); }
.btn--dark { background: var(--base); color: #fff; }
.btn--dark:hover { background: var(--base-2); box-shadow: var(--shadow); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 42, 38, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .container {
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; }
.brand__mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand__name { font-weight: 800; font-size: 1.35rem; letter-spacing: .02em; }
.brand__est { font-size: .62rem; letter-spacing: .22em; color: var(--accent-soft); display: block; margin-top: -4px; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: rgba(255,255,255,.86); font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--accent-soft); }
.header-actions { display: flex; align-items: center; gap: .7rem; }
.lang-switch { display: flex; gap: .25rem; font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.6); }
.lang-switch a.is-active { color: #fff; }
.lang-switch span { color: rgba(255,255,255,.3); }
.phone-pill {
  display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-weight: 800;
  background: rgba(255,255,255,.08); padding: .5rem .9rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
}
.phone-pill:hover { background: var(--accent); color: #05231a; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(70,194,90,.18), transparent 60%),
    linear-gradient(180deg, var(--base) 0%, var(--base-3) 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
  padding: clamp(48px, 8vw, 96px) 0;
}
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--accent); }
.hero p { color: rgba(255,255,255,.82); font-size: 1.18rem; max-width: 52ch; }
.hero .btn-row { margin-top: 1.6rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; margin-top: 2rem; }
.hero__badge { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: rgba(255,255,255,.9); font-size: .95rem; }
.hero__badge svg { color: var(--accent); flex: 0 0 auto; }
.hero__card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-lg);
}
.hero__card h3 { color: #fff; }
.hero__card ul { display: grid; gap: .7rem; margin-top: 1rem; }
.hero__card li { display: flex; gap: .6rem; align-items: flex-start; color: rgba(255,255,255,.9); }
.hero__card li svg { color: var(--accent); flex: 0 0 auto; margin-top: 3px; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.2rem; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-soft); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(70,194,90,.12); color: var(--accent-strong); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 0; }
.badge-new {
  position: absolute; top: 1rem; right: 1rem; font-size: .68rem; font-weight: 800; letter-spacing: .08em;
  background: var(--accent); color: #05231a; padding: .2rem .5rem; border-radius: 999px; text-transform: uppercase;
}

/* ---------- Why / features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2rem; }
.feature__num { font-size: 2.2rem; font-weight: 800; color: var(--accent-strong); }
.feature h3 { margin-top: .4rem; }
.feature p { color: var(--muted); margin-bottom: 0; }

/* ---------- Areas ---------- */
.areas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.area-chip {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem 1rem; font-weight: 600; font-size: .95rem; color: var(--ink);
}
.area-chip:hover { border-color: var(--accent); color: var(--accent-strong); }

/* ---------- Quote / contact ---------- */
.quote {
  background: linear-gradient(180deg, var(--base) 0%, var(--base-3) 100%); color: #fff;
}
.quote__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.quote h2 { color: #fff; }
.quote p { color: rgba(255,255,255,.82); }
.contact-list { display: grid; gap: 1rem; margin-top: 1.6rem; }
.contact-list a, .contact-list div { display: flex; gap: .8rem; align-items: center; color: #fff; font-weight: 600; }
.contact-list svg { color: var(--accent); flex: 0 0 auto; }
.socials { display: flex; gap: .7rem; margin-top: 1.6rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff;
}
.socials a:hover { background: var(--accent); color: #05231a; }

.form {
  background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-lg); color: var(--ink);
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 90px; }
.form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form__note { font-size: .82rem; color: var(--muted); margin: .6rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--base-3); color: rgba(255,255,255,.7); padding: 3rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 1rem; }
.site-footer a:hover { color: var(--accent-soft); }
.footer__links { display: grid; gap: .55rem; }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .85rem;
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  grid-template-columns: 1fr 1fr; gap: 0; box-shadow: 0 -6px 20px rgba(0,0,0,.15);
}
.mobile-cta a { padding: .9rem; text-align: center; font-weight: 800; color: #fff; }
.mobile-cta .call { background: var(--base); }
.mobile-cta .wa { background: #25d366; color: #04331a; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; gap: 1.2rem; }
  .quote__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav, .header-actions .phone-pill { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open {
    display: flex; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--base); padding: .5rem 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav.is-open a { padding: .9rem 20px; width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .mobile-cta { display: grid; }
  body { padding-bottom: 56px; }
}
