:root {
  --green-950: #062f20;
  --green-900: #083b28;
  --green-800: #0b4d30;
  --green-700: #12783f;
  --green-600: #189447;
  --orange: #f58a07;
  --orange-700: #c76805;
  --ink: #16211d;
  --muted: #5f6f68;
  --line: #e6ece8;
  --soft: #f5f8f6;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(3, 45, 27, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.topbar { background: var(--green-950); color: #dceee3; font-size: 13px; }
.topbar__inner { min-height: 38px; display:flex; align-items:center; justify-content:space-between; gap: 16px; }
.topbar__right { color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.navbar { min-height: 88px; display:flex; align-items:center; justify-content:space-between; gap: 24px; }
.brand { display:flex; align-items:center; gap: 14px; min-width: 0; }
.brand__icon { width: 74px; height: auto; }
.brand__wordmark { width: min(360px, 46vw); height: auto; }
.nav-menu { list-style: none; display:flex; align-items:center; gap: 28px; margin:0; padding:0; font-weight: 700; font-size: 15px; }
.nav-menu a:not(.btn) { position: relative; padding: 8px 0; }
.nav-menu a:not(.btn)::after { content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--green-700); transition:.2s; }
.nav-menu a:not(.btn):hover::after { width:100%; }
.nav-toggle { display:none; border:0; background:transparent; padding:8px; cursor:pointer; }
.nav-toggle span { display:block; width:26px; height:3px; background:var(--green-900); border-radius:3px; margin:5px 0; }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; border-radius: 999px; padding: 14px 22px; font-weight: 800; border: 2px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor:pointer; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--green-700), var(--green-600)); color: #fff; box-shadow: 0 14px 34px rgba(18,120,63,.24); }
.btn--outline { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); }
.btn--outline-light { border-color: rgba(255,255,255,.72); color: #fff; }
.btn--small { padding: 11px 17px; font-size: 14px; }

.hero { min-height: 650px; position:relative; display:flex; align-items:center; overflow:hidden; isolation:isolate; }
.hero__media { position:absolute; inset:0; background-image: url('https://electrocamargo.com/wp-content/uploads/2019/07/1-1.png'); background-size: cover; background-position: center; transform: scale(1.03); }
.hero__overlay { position:absolute; inset:0; background: linear-gradient(90deg, rgba(3,25,18,.92) 0%, rgba(3,25,18,.72) 42%, rgba(3,25,18,.22) 100%); z-index: 1; }
.hero__content { position:relative; z-index:2; color:white; padding: 70px 0; max-width: 1160px; }
.eyebrow { text-transform: uppercase; letter-spacing: .13em; color: var(--orange); font-weight:900; font-size: 13px; margin: 0 0 12px; }
.hero h1 { max-width: 770px; margin:0; font-size: clamp(40px, 6vw, 74px); line-height: .98; letter-spacing: -0.04em; }
.hero__lead { max-width: 650px; color:#e8f2ec; font-size: clamp(17px, 2vw, 22px); margin: 24px 0 34px; }
.hero__actions { display:flex; flex-wrap:wrap; gap:14px; }
.hero__card { position:absolute; z-index:2; right: max(32px, calc((100vw - 1160px)/2)); bottom: 42px; width: min(360px, calc(100% - 64px)); background: rgba(4,49,31,.8); border:1px solid rgba(255,255,255,.16); color:#fff; border-radius: 18px; padding:22px; box-shadow: 0 22px 70px rgba(0,0,0,.25); }
.hero__card strong { display:block; font-size:20px; margin-bottom:7px; }
.hero__card span { color:#dfece5; }

.section { padding: 84px 0; }
.section--intro { padding: 52px 0; background: var(--soft); border-bottom:1px solid var(--line); }
.intro-grid { display:grid; grid-template-columns: .9fr 1.1fr; align-items:center; gap: 48px; }
h2 { margin:0 0 16px; font-size: clamp(30px, 3.2vw, 48px); line-height:1.05; letter-spacing:-0.03em; color: var(--green-950); }
.section-title { text-align:center; max-width:720px; margin: 0 auto 44px; }
.section-title p:not(.eyebrow) { color: var(--muted); margin: 0; }

.services-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; }
.service-card { background:white; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: 0 14px 34px rgba(8,59,40,.08); transition:.2s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card img { width:100%; height: 230px; object-fit: cover; }
.service-card__body { padding: 24px; }
.service-card h3 { margin:0 0 10px; color: var(--green-950); font-size: 22px; line-height:1.15; }
.service-card p { color: var(--muted); margin:0; }
.service-card--text { background: linear-gradient(145deg, #fff, #f7fbf8); min-height: 100%; display:flex; align-items:stretch; }
.service-icon { width:56px; height:56px; border-radius: 16px; background: var(--green-700); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size: 26px; font-weight: 900; margin-bottom: 24px; }

.stats-band { background: linear-gradient(135deg, var(--green-950), var(--green-800)); color:white; padding: 34px 0; }
.stats-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:0; }
.stats-grid div { padding: 10px 28px; border-right: 1px solid rgba(255,255,255,.16); }
.stats-grid div:last-child { border-right:0; }
.stats-grid strong { display:block; font-size: 28px; line-height:1; color: #fff; }
.stats-grid span { display:block; color:#d7eadf; margin-top:7px; }

.company-grid { display:grid; grid-template-columns: 1fr .85fr; gap: 44px; align-items:start; }
.company-grid p { color: var(--muted); font-size: 18px; }
.mission-card { background: var(--green-950); color:#fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); position:relative; overflow:hidden; }
.mission-card::before { content:""; position:absolute; width:180px; height:180px; border-radius:50%; background: rgba(245,138,7,.16); right:-48px; top:-52px; }
.mission-card h3 { margin: 0 0 8px; color: #fff; font-size: 24px; }
.mission-card p, .mission-card li { color: #dbece3; }
.mission-card ul { padding-left: 20px; margin-bottom: 0; }

.section--light { background: var(--soft); }
.client-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.client-grid img { width:100%; aspect-ratio: 1 / .72; object-fit: contain; background:#fff; padding:24px; border: 1px solid var(--line); border-radius: 18px; filter: grayscale(10%); transition:.2s; }
.client-grid img:hover { filter: grayscale(0); transform: translateY(-3px); }

.cta-section { background: linear-gradient(135deg, var(--green-950), #0a5134); color:#fff; padding: 70px 0; position:relative; overflow:hidden; }
.cta-section::after { content:""; position:absolute; right:-90px; bottom:-120px; width:360px; height:360px; border-radius:50%; border: 45px solid rgba(245,138,7,.15); }
.cta-grid { display:grid; grid-template-columns: 1fr auto; gap: 30px; align-items:center; position:relative; z-index:1; }
.cta-grid h2 { color:#fff; }
.cta-grid p:not(.eyebrow) { max-width: 680px; color:#dcece4; margin:0; }
.cta-actions { display:flex; flex-direction:column; gap:12px; }

.contact-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: 26px; }
.contact-card, .contact-form { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: 0 14px 34px rgba(8,59,40,.06); background:#fff; }
.contact-card p { color: var(--muted); margin: 22px 0 4px; }
.contact-card strong { font-size: 20px; color: var(--green-950); }
.contact-card a { color: var(--green-700); }
.contact-form { display:grid; gap: 16px; }
.contact-form h3 { margin:0; font-size:26px; color: var(--green-950); }
label { display:grid; gap:7px; color: var(--green-950); font-weight: 800; }
input, select, textarea { width:100%; border:1px solid #d9e2dd; border-radius: 14px; padding: 14px 15px; font: inherit; color: var(--ink); background:#fff; }
textarea { resize: vertical; }
.contact-form small { color: var(--muted); }

.footer { background: #031d14; color:#dceee3; padding: 46px 0 24px; }
.footer-grid { display:grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 34px; }
.footer-logo { width:72px; margin-bottom:12px; }
.footer h4 { margin:0 0 12px; color:#fff; }
.footer a { display:block; color:#dceee3; margin: 8px 0; }
.copyright { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color:#afc5b9; }

.floating-whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 60; background: #25d366; color:#fff; font-weight:900; padding: 13px 18px; border-radius:999px; box-shadow: 0 14px 34px rgba(37,211,102,.32); }

@media (max-width: 960px) {
  .topbar__inner { flex-direction:column; padding:8px 0; align-items:flex-start; }
  .nav-toggle { display:block; }
  .navbar { min-height: 78px; }
  .brand__icon { width:58px; }
  .brand__wordmark { width: min(300px, 55vw); }
  .nav-menu { position:absolute; left:16px; right:16px; top: calc(100% + 8px); flex-direction:column; align-items:stretch; background:#fff; border:1px solid var(--line); border-radius:18px; padding:18px; box-shadow: var(--shadow); transform: translateY(-8px); opacity:0; pointer-events:none; transition:.2s; }
  .nav-menu.is-open { transform: translateY(0); opacity:1; pointer-events:auto; }
  .nav-menu .btn { width:100%; }
  .hero { min-height: 720px; align-items:flex-start; padding-top:40px; }
  .hero__overlay { background: linear-gradient(180deg, rgba(3,25,18,.94) 0%, rgba(3,25,18,.78) 60%, rgba(3,25,18,.45) 100%); }
  .hero__card { left:16px; right:16px; bottom:24px; width:auto; }
  .intro-grid, .company-grid, .cta-grid, .contact-grid { grid-template-columns:1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div:nth-child(2) { border-right:0; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1160px); }
  .hero h1 { font-size: 42px; }
  .hero__lead { font-size: 17px; }
  .hero__actions, .cta-actions { flex-direction:column; align-items:stretch; }
  .btn { width:100%; }
  .services-grid, .stats-grid, .client-grid, .footer-grid { grid-template-columns:1fr; }
  .stats-grid div { border-right:0; border-bottom:1px solid rgba(255,255,255,.16); }
  .stats-grid div:last-child { border-bottom:0; }
  .contact-card, .contact-form, .mission-card { padding: 24px; }
}


/* === AJUSTE FINAL LOGO / MARCA ELECTROCAMARGO === */
.navbar {
  min-height: 96px;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  min-width: 520px;
}

.brand__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 72px;
}

.brand__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  min-width: 0;
}

.brand__title {
  display: block;
  white-space: nowrap;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green-800);
  font-weight: 900;
  font-size: 44px;
  letter-spacing: .02em;
  line-height: .92;
  text-transform: uppercase;
}

.brand__subtitle {
  display: block;
  white-space: nowrap;
  margin-top: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .07em;
  line-height: 1.1;
  text-transform: uppercase;
}

.nav-menu {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 22px;
}

@media (max-width: 1120px) {
  .brand { min-width: 430px; }
  .brand__title { font-size: 36px; }
  .brand__subtitle { font-size: 12px; letter-spacing: .06em; }
  .nav-menu { gap: 16px; font-size: 14px; }
}

@media (max-width: 820px) {
  .navbar {
    min-height: 86px;
  }

  .brand {
    min-width: 0;
    max-width: calc(100% - 58px);
    gap: 12px;
  }

  .brand__icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .brand__title {
    font-size: clamp(25px, 8vw, 34px);
  }

  .brand__subtitle {
    font-size: 10.5px;
    letter-spacing: .035em;
    white-space: normal;
    line-height: 1.2;
  }
}
