/* ============================================================
   dr.tech — Hoja de estilos
   Tema claro · Blanco + Negro + Verde
   Tecnológico · Industrial · Moderno · Profesional
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-2: #e9efe6;
  --surface: #ffffff;
  --surface-2: #f6f8f5;
  --ink: #0e1512;           /* negro adorno */
  --dark: #101914;          /* banda oscura de sección */
  --dark-2: #17231d;        /* tarjetas sobre banda oscura */
  --border: rgba(14, 21, 18, 0.13);
  --border-strong: rgba(14, 21, 18, 0.20);

  --text: #0e1512;
  --text-muted: #48524d;
  --text-dim: #737d78;

  --accent: #4a9e00;        /* verde principal (texto/íconos sobre blanco) */
  --accent-bright: #6fbf16; /* verde brillante (degradados/adornos) */
  --accent-2: #3f8a00;
  --accent-soft: rgba(111, 191, 22, 0.14);
  --grad: linear-gradient(100deg, #7ac81f 0%, #3f8a00 100%);

  --wa: #25d366;

  --radius: 16px;
  --radius-sm: 11px;
  --maxw: 1180px;
  --shadow: 0 22px 55px -26px rgba(14, 21, 18, 0.28);
  --shadow-sm: 0 10px 30px -18px rgba(14, 21, 18, 0.25);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

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

img, svg { display: block; max-width: 100%; }

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

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.14; letter-spacing: -0.015em; margin: 0; }

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

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(100deg, #6fbf16 0%, #43920a 100%);
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(74, 158, 0, 0.75);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(74, 158, 0, 0.9); }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--ink); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--accent-2); border-color: rgba(74,158,0,0.5); }
.btn-outline:hover { background: var(--accent-soft); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-mark { display: grid; place-items: center; }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: var(--ink); }
.brand-accent { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-size: 15px; color: var(--text-muted); font-weight: 500; transition: color 0.2s ease; }
.main-nav a:hover { color: var(--accent-2); }
.main-nav .nav-cta {
  color: #fff;
  background: linear-gradient(100deg, #6fbf16 0%, #43920a 100%);
  padding: 9px 20px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  box-shadow: 0 8px 20px -12px rgba(74,158,0,0.8);
}
.main-nav .nav-cta:hover { color: #fff; transform: translateY(-1px); }

.header-social { display: flex; align-items: center; gap: 6px; margin-left: 6px; }
.header-social a {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 8px; color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.header-social a:hover { color: var(--accent-2); background: var(--accent-soft); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(1100px 560px at 78% -8%, rgba(111, 191, 22, 0.16), transparent 60%),
    radial-gradient(760px 460px at 8% 4%, rgba(111, 191, 22, 0.08), transparent 55%),
    var(--bg);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,21,18,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,21,18,0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 18%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 18%, black, transparent 72%);
  pointer-events: none;
}
.hero-glow {
  position: absolute; top: -160px; right: -60px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(111,191,22,0.28), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(74,158,0,0.32);
  background: var(--accent-soft);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; margin-bottom: 22px; color: var(--ink); letter-spacing: -0.03em; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text-muted); max-width: 620px; margin-bottom: 36px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { font-size: 0.9rem; color: var(--text-dim); }

/* ---------- Statement (banda negra) ---------- */
.statement {
  padding: 76px 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.statement::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad);
}
.statement-text {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3.4vw, 2.05rem);
  font-weight: 600;
  line-height: 1.35;
  max-width: 980px;
  color: #8b978f;
  letter-spacing: -0.01em;
}
.statement-text .grad { font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-2); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); margin-bottom: 18px; color: var(--ink); }
.section-lead { color: var(--text-muted); font-size: 1.08rem; }

/* ---------- Cards (Soluciones) ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent-2);
  border: 1px solid rgba(74,158,0,0.22);
  margin-bottom: 20px;
}
.card h3 { font-size: 1.22rem; margin-bottom: 10px; color: var(--ink); }
.card p { color: var(--text-muted); font-size: 0.97rem; margin: 0 0 16px; }
.card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.card-list li { position: relative; padding-left: 22px; font-size: 0.92rem; color: var(--text-dim); }
.card-list li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

.card-cta {
  background: var(--ink);
  border-color: var(--ink);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.card-cta::before { display: none; }
.card-cta:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-cta h3 { font-size: 1.32rem; color: #fff; }
.card-cta p { color: #b4bfb8; }
.card-cta .btn { align-self: flex-start; }

/* ---------- Media placeholders ---------- */
.media-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-head); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  color: var(--text-dim);
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  padding: 5px 10px; border-radius: 6px;
}
.media-icon { color: var(--accent); opacity: 0.55; }

/* ---------- Proyecto destacado ---------- */
.featured-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.featured-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(111,191,22,0.18), transparent 60%),
    repeating-linear-gradient(45deg, rgba(14,21,18,0.03) 0 12px, transparent 12px 24px),
    #eef2ec;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.featured-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-body h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 6px 0 10px; color: var(--ink); }
.featured-loc { color: var(--accent-2); font-family: var(--font-head); font-weight: 600; margin: 0 0 16px; }
.featured-desc { color: var(--text-muted); margin-bottom: 22px; }

.tag-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.tag-list li {
  font-size: 0.85rem; color: var(--text-muted); font-weight: 500;
  background: var(--surface); border: 1px solid var(--border);
  padding: 7px 13px; border-radius: 999px;
}

/* ---------- Proyectos ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.project {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.project:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow); }
.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 70% 20%, rgba(111,191,22,0.18), transparent 55%),
    repeating-linear-gradient(45deg, rgba(14,21,18,0.03) 0 12px, transparent 12px 24px),
    #eef2ec;
  border-bottom: 1px solid var(--border);
}
.project-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-body { padding: 24px 24px 28px; }
.project-type {
  display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-2);
  margin-bottom: 10px;
}
.project-body h3 { font-size: 1.24rem; margin-bottom: 16px; color: var(--ink); }
.project-facts { margin: 0; display: grid; gap: 4px 0; }
.project-facts dt {
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
  margin-top: 12px;
}
.project-facts dt:first-child { margin-top: 0; }
.project-facts dd { margin: 2px 0 0; font-size: 0.94rem; color: var(--text-muted); }

.projects-note { text-align: center; color: var(--text-dim); font-size: 0.9rem; margin-top: 34px; }

/* ---------- Sectores ---------- */
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.sector {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.sector:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow); }
.sector-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 11px; background: var(--accent-soft); color: var(--accent-2);
  border: 1px solid rgba(74,158,0,0.22); margin-bottom: 18px;
}
.sector h3 { font-size: 1.14rem; margin-bottom: 8px; color: var(--ink); }
.sector p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ---------- Sección oscura (contraste) ---------- */
.section-dark { background: var(--dark); position: relative; }
.section-dark::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad);
}
.section-dark .kicker { color: var(--accent-bright); }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-lead { color: #aab6ae; }
.section-dark .step {
  background: var(--dark-2);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}
.section-dark .step h3 { color: #fff; }
.section-dark .step p { color: #9aa79f; }

/* ---------- Metodología ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.step-num {
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 800;
  line-height: 1; display: block; margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.18rem; margin-bottom: 6px; color: var(--ink); }
.step p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* ---------- Marcas ---------- */
.brands-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.brand-chip {
  display: flex; align-items: center; justify-content: center;
  height: 74px; min-width: 150px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 14px 26px; border-radius: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-chip:hover { border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
/* Logo real */
.brand-chip img {
  max-height: 38px; max-width: 132px; width: auto; height: auto;
  filter: grayscale(1); opacity: 0.72;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.brand-chip:hover img { filter: none; opacity: 1; }
/* Fallback (wordmark) — oculto cuando hay logo */
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  color: var(--text-muted); letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.brand-chip img ~ .brand-name { display: none; }
.brand-chip:hover .brand-name { color: var(--accent-2); }

/* ---------- Contacto ---------- */
.contact { background: radial-gradient(1000px 500px at 85% 0%, rgba(111,191,22,0.12), transparent 60%), var(--bg); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 16px; color: var(--ink); }

.contact-methods { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-methods a, .cm-static { display: flex; align-items: center; gap: 14px; color: var(--text); }
.contact-methods li { transition: transform 0.2s ease; }
.contact-methods a:hover { transform: translateX(3px); }
.cm-icon {
  flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 11px; background: var(--accent-soft); color: var(--accent-2);
  border: 1px solid rgba(74,158,0,0.22);
}
.contact-methods strong { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.contact-methods span:last-child { font-size: 0.94rem; color: var(--text-muted); line-height: 1.35; }

/* ---------- Formulario ---------- */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 6px; color: var(--ink); }
.form-sub { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 24px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 0.97rem;
  color: var(--text);
  background: #fbfcfb;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2348524d' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

.form-hint { font-size: 0.82rem; color: var(--text-dim); margin: 4px 0 18px; }
.form-status { font-size: 0.92rem; margin: 14px 0 0; min-height: 1.2em; }
.form-status.ok { color: var(--accent-2); }
.form-status.err { color: #d93030; }
.field.invalid input, .field.invalid textarea { border-color: #d93030; }

/* ---------- Footer (negro) ---------- */
.site-footer { background: var(--ink); color: #b4bfb8; padding: 64px 0 30px; position: relative; }
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad);
}
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; }
.footer-brand .brand-text { font-size: 26px; color: #fff; }
.footer-brand .brand-accent { color: var(--accent-bright); }
.footer-logo { display: inline-flex; }
.footer-logo img {
  height: 48px; width: auto; display: block;
  filter:
    drop-shadow(0.6px 0 0 rgba(255,255,255,0.75)) drop-shadow(-0.6px 0 0 rgba(255,255,255,0.75))
    drop-shadow(0 0.6px 0 rgba(255,255,255,0.75)) drop-shadow(0 -0.6px 0 rgba(255,255,255,0.75));
}
.footer-brand p { color: #97a29b; font-size: 0.95rem; max-width: 340px; margin: 14px 0 0; }
.social { display: flex; gap: 12px; margin-top: 22px; }
.social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 10px; color: #cdd6d0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social a:hover {
  color: #04121f; background: var(--accent-bright);
  border-color: var(--accent-bright); transform: translateY(-3px);
}
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-nav h4 { font-size: 0.95rem; margin-bottom: 14px; color: #fff; }
.footer-nav a { display: block; color: #97a29b; font-size: 0.92rem; padding: 5px 0; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--accent-bright); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
  color: #7d887f; font-size: 0.86rem;
}
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 16px 40px -10px rgba(37,211,102,0.7); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .featured-wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 10px 24px 24px;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .main-nav .nav-cta { text-align: center; margin-top: 14px; padding: 14px; border-bottom: 0; }
  .header-social { justify-content: center; margin: 18px 0 0; gap: 10px; }
  .header-social a { border-bottom: 0; padding: 0; width: 44px; height: 44px; background: var(--accent-soft); color: var(--accent-2); }
  .nav-toggle { display: flex; }

  .hero { padding: 130px 0 72px; }
  .hero-stats { gap: 28px; }
  .stat-num { font-size: 1.7rem; }
  .section { padding: 72px 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-bottom { flex-direction: column; }
}

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