:root {
  --bg: #0f1720;
  --bg-soft: #141f2b;
  --surface: rgba(255,255,255,0.06);
  --surface-strong: #ffffff;
  --text: #e8eef5;
  --muted: #b7c2ce;
  --dark-text: #12202d;
  --line: rgba(255,255,255,0.12);
  --accent: #d8b36a;
  --accent-dark: #b68f45;
  --shadow: 0 20px 60px rgba(0,0,0,0.22);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: #0c131b;
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 13, 19, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand strong { display: block; font-size: 1rem; }
.brand span { display: block; color: var(--muted); font-size: .86rem; }
.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a { color: var(--muted); }
.main-nav a:hover { color: var(--text); }
.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  background: var(--accent);
  color: #16212b;
  box-shadow: var(--shadow);
}
.btn:hover { background: var(--accent-dark); }
.btn-outline {
  background: transparent;
  border: 1px solid rgba(216,179,106,0.5);
  color: var(--text);
  box-shadow: none;
}
.btn-outline:hover { background: rgba(216,179,106,0.1); }
.btn-small { padding: 10px 16px; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(216,179,106,0.18), transparent 38%),
    linear-gradient(180deg, #101925 0%, #0b1219 100%);
}
.hero-watermark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.hero-watermark img {
  width: min(720px, 82vw);
  opacity: .08;
  filter: grayscale(1) contrast(1.1);
  mix-blend-mode: screen;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 34px;
  padding: 90px 0 70px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  line-height: 1.02;
  margin: 0 0 18px;
  max-width: 12ch;
}
.hero p {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.hero-card,
.about-box,
.quote-form,
.contact-card,
.service-card,
.stat-card,
.gallery-placeholder {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.hero-card {
  padding: 28px;
  max-width: 360px;
  box-shadow: var(--shadow);
}
.hero-card h3 { margin-top: 0; }
.hero-card ul,
.about-box ul { padding-left: 18px; margin-bottom: 0; }

.stats {
  margin-top: -18px;
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stat-card {
  padding: 20px;
  text-align: center;
}
.stat-card strong { display: block; margin-bottom: 6px; }
.stat-card span { color: var(--muted); font-size: .95rem; }

.section { padding: 86px 0; }
.section-alt { background: #101923; }
.section-head {
  text-align: center;
  margin-bottom: 34px;
}
.section-head.left { text-align: left; }
.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}
.section-head p { color: var(--muted); margin: 0; }

.services-grid,
.contact-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}
.services-grid {
  grid-template-columns: repeat(3, 1fr);
}
.service-card {
  padding: 24px;
}
.service-card h3 { margin-top: 0; margin-bottom: 8px; }
.service-card p { color: var(--muted); margin: 0; }

.about-grid,
.preventivo-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
}
.about-box {
  padding: 26px;
}
.about-box h3 { margin-top: 0; }

.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
}
.gallery-placeholder {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    #131d28;
}

.quote-form {
  padding: 24px;
}
.quote-form label {
  display: block;
  margin-bottom: 14px;
  font-weight: 600;
}
.quote-form input,
.quote-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
}
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: #91a0b0; }

.contact-grid {
  grid-template-columns: repeat(4, 1fr);
}
.contact-card {
  padding: 22px;
}
.contact-card h3 { margin-top: 0; margin-bottom: 8px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card a { color: var(--text); }

.site-footer {
  border-top: 1px solid var(--line);
  background: #0a1118;
}
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
}
.footer-wrap p { margin: 4px 0 0; color: var(--muted); }
.back-top { color: var(--accent); font-weight: 700; }

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  background: #25d366;
  color: #08230f;
  font-weight: 800;
  border-radius: 999px;
  padding: 13px 18px;
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .preventivo-grid,
  .services-grid,
  .contact-grid,
  .gallery-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-panel { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    padding: 16px;
    border-radius: 20px;
    background: #0f1822;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.open { display: flex; }
  .hero-grid,
  .about-grid,
  .preventivo-grid,
  .services-grid,
  .contact-grid,
  .gallery-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid { padding: 78px 0 54px; }
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
