:root {
  --blue-950: #071f35;
  --blue-900: #0b3558;
  --blue-800: #164e78;
  --blue-700: #1c638f;
  --yellow: #ffc400;
  --yellow-soft: #ffd84d;
  --orange: #f47b20;
  --green: #16a34a;
  --green-dark: #11823b;
  --white: #ffffff;
  --gray-50: #f5f7fa;
  --gray-100: #e9eef3;
  --gray-300: #c7d0d9;
  --gray-500: #667586;
  --gray-700: #293747;
  --dark: #101a26;
  --shadow: 0 20px 50px rgba(7, 31, 53, .12);
  --radius: 20px;
  --container: 1160px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(11,53,88,.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-900);
}

.brand img { flex: 0 0 auto; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}

.brand-text strong {
  color: var(--yellow);
  font-size: 20px;
  letter-spacing: .02em;
}

.brand-text span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(22,163,74,.2);
  transition: .2s ease;
}

.header-whatsapp:hover { transform: translateY(-2px); background: var(--green-dark); }

.whatsapp-icon { font-size: 16px; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(255,196,0,.22), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(28,99,143,.5), transparent 35%),
    linear-gradient(135deg, var(--blue-950), var(--blue-900) 55%, #0d466d);
  min-height: 660px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image:
    linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to right, black, transparent 75%);
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255,196,0,.08);
  filter: blur(10px);
  right: -180px;
  top: -170px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 70px;
  padding: 78px 0;
}

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.eyebrow {
  color: var(--yellow-soft);
  margin-bottom: 18px;
}

.bolt { font-size: 17px; }

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.4vw, 70px);
  line-height: .99;
  letter-spacing: -.045em;
}

h1 span, h2 span { color: var(--yellow); }

.hero-subtitle {
  max-width: 630px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 23px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .01em;
  transition: .2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--yellow);
  color: var(--blue-950);
  box-shadow: 0 12px 28px rgba(255,196,0,.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--yellow-soft);
  box-shadow: 0 16px 34px rgba(255,196,0,.3);
}

.btn-secondary {
  border-color: rgba(255,255,255,.25);
  color: var(--white);
  background: rgba(255,255,255,.06);
}

.btn-secondary:hover { background: rgba(255,255,255,.12); }

.btn-icon { font-size: 15px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  color: rgba(255,255,255,.66);
  font-size: 12px;
  font-weight: 700;
}

.trust-row span { color: var(--yellow); margin-right: 4px; }

.hero-card {
  min-height: 410px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.045));
  box-shadow: 0 30px 70px rgba(0,0,0,.25);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.65);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #45d66b;
  box-shadow: 0 0 0 5px rgba(69,214,107,.1);
}

.lightbulb-art {
  position: relative;
  width: 230px;
  height: 230px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.bulb-rays {
  position: absolute;
  inset: 0;
}

.bulb-rays i {
  position: absolute;
  width: 10px;
  height: 45px;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: var(--yellow);
  box-shadow: 0 0 25px rgba(255,196,0,.55);
}

.bulb-rays i:nth-child(2) { transform: translateX(-50%) rotate(45deg); left: 82%; top: 37px; height: 35px; }
.bulb-rays i:nth-child(3) { transform: translateX(-50%) rotate(-45deg); left: 18%; top: 37px; height: 35px; }

.bulb {
  position: relative;
  width: 145px;
  height: 155px;
  border-radius: 52% 52% 48% 48%;
  background: var(--yellow);
  border: 7px solid #123f61;
  box-shadow: inset 0 -12px 0 rgba(0,0,0,.06), 0 18px 40px rgba(255,196,0,.24);
}

.bulb::after {
  content: "";
  position: absolute;
  width: 82px;
  height: 35px;
  left: 50%;
  bottom: -28px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: #dce5ec;
  border: 7px solid #123f61;
  border-top: 0;
}

.bulb-glass {
  position: absolute;
  width: 55px;
  height: 16px;
  left: 30px;
  top: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
  transform: rotate(-28deg);
}

.bulb-base {
  position: absolute;
  width: 58px;
  height: 58px;
  left: 50%;
  bottom: 17px;
  transform: translateX(-50%);
  border: 6px solid #123f61;
  border-radius: 50%;
}

.hero-card-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.hero-card-copy strong { font-size: 18px; }
.hero-card-copy span { color: rgba(255,255,255,.62); font-size: 13px; }

.mini-cta {
  align-self: center;
  margin-top: 18px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.section { padding: 100px 0; }

.services { background: var(--gray-50); }

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-kicker { color: var(--orange); margin-bottom: 12px; }

.section-heading h2, .split-copy h2, .final-inner h2 {
  margin-bottom: 14px;
  color: var(--blue-950);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--gray-500);
  font-size: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  padding: 28px 24px;
  border: 1px solid #dde5ec;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 25px rgba(7,31,53,.045);
  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(255,196,0,.55);
}

.service-card.featured { border-color: rgba(255,196,0,.8); }

.featured-tag {
  position: absolute;
  top: 0;
  right: 18px;
  transform: translateY(-50%);
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--blue-950);
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: .08em;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  margin-bottom: 20px;
  background: #fff6cf;
  color: var(--blue-900);
  font-size: 25px;
}

.service-icon.water { background: #e5f3fb; }
.service-icon.building { background: #e9eef3; }
.service-icon.smart { background: #fff0e2; color: var(--orange); }

.service-card h3 {
  margin-bottom: 12px;
  color: var(--blue-950);
  font-size: 20px;
  line-height: 1.1;
}

.service-card ul {
  padding: 0;
  margin: 0 0 22px;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 17px;
  margin: 8px 0;
  color: var(--gray-500);
  font-size: 13px;
}

.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

.service-link {
  color: var(--blue-800);
  font-size: 12px;
  font-weight: 900;
}

.service-link:hover { color: var(--orange); }

.differentiators {
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: center;
}

.split-copy h2 span { color: var(--orange); }

.split-copy > p {
  max-width: 650px;
  color: var(--gray-500);
  font-size: 16px;
}

.benefits {
  margin-top: 32px;
  display: grid;
  gap: 22px;
}

.benefit {
  display: flex;
  gap: 16px;
}

.benefit-number {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--blue-950);
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
}

.benefit h3 {
  margin-bottom: 3px;
  color: var(--blue-950);
  font-size: 17px;
}

.benefit p {
  margin: 0;
  color: var(--gray-500);
  font-size: 13px;
}

.problem-card {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255,196,0,.28), transparent 30%),
    linear-gradient(145deg, var(--blue-900), var(--blue-950));
  color: var(--white);
  box-shadow: var(--shadow);
}

.problem-card::before {
  content: "JL";
  position: absolute;
  right: -25px;
  bottom: -70px;
  color: rgba(255,255,255,.035);
  font-size: 180px;
  font-weight: 1000;
  line-height: 1;
}

.problem-card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 16px;
  background: rgba(255,196,0,.15);
  border: 1px solid rgba(255,196,0,.28);
  font-size: 26px;
}

.problem-card .section-kicker { color: var(--yellow); }

.problem-card h3 {
  position: relative;
  margin-bottom: 14px;
  font-size: 29px;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.problem-card p {
  position: relative;
  color: rgba(255,255,255,.68);
  font-size: 14px;
}

.problem-card .btn { position: relative; margin-top: 8px; }

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,196,0,.17), transparent 34%),
    linear-gradient(135deg, var(--blue-950), var(--blue-900));
  color: var(--white);
  text-align: center;
}

.final-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255,196,0,.05);
  filter: blur(5px);
}

.final-inner { position: relative; z-index: 1; }

.final-inner .section-kicker { color: var(--yellow); }

.final-inner h2 {
  color: var(--white);
  font-size: clamp(44px, 6vw, 70px);
  margin-bottom: 12px;
}

.final-inner p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: rgba(255,255,255,.68);
}

.btn-large {
  min-width: 250px;
  min-height: 58px;
}

.contact-note {
  margin-top: 24px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

.site-footer {
  background: #061a2b;
  color: rgba(255,255,255,.48);
  padding: 28px 0 90px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-brand { color: var(--white); margin-bottom: 8px; }
.footer-brand .brand-text strong { font-size: 17px; }
.footer-brand .brand-text span { font-size: 9px; }

.site-footer p {
  margin: 0;
  font-size: 11px;
}

.footer-credit strong { color: var(--yellow); }

.mobile-whatsapp { display: none; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr .8fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .container { width: min(calc(100% - 28px), var(--container)); }

  .site-header { position: relative; }
  .header-whatsapp { padding: 10px 12px; font-size: 0; }
  .header-whatsapp .whatsapp-icon { font-size: 17px; }

  .hero { min-height: auto; }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 58px 0 70px;
  }

  h1 { font-size: clamp(42px, 12vw, 62px); }
  .hero-subtitle { font-size: 16px; }
  .hero-card { min-height: 350px; max-width: 520px; width: 100%; margin-inline: auto; }

  .section { padding: 72px 0; }

  .split {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .problem-card { padding: 34px; }
}

@media (max-width: 560px) {
  body { padding-bottom: 72px; }

  .header-inner { min-height: 64px; }
  .brand-text span { font-size: 8px; }

  .hero-grid { padding-top: 45px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .trust-row {
    display: grid;
    gap: 8px;
  }

  .hero-card { padding: 22px; border-radius: 22px; }
  .lightbulb-art { transform: scale(.86); margin-top: -8px; margin-bottom: -8px; }

  .services-grid { grid-template-columns: 1fr; }

  .section-heading h2, .split-copy h2 { font-size: 38px; }

  .problem-card h3 { font-size: 25px; }

  .mobile-whatsapp {
    position: fixed;
    z-index: 100;
    display: block;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .mobile-whatsapp a {
    min-height: 62px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 16px;
    color: var(--white);
    background: var(--green);
    box-shadow: 0 10px 30px rgba(0,0,0,.28);
  }

  .wa-symbol {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    font-size: 16px;
  }

  .mobile-whatsapp small,
  .mobile-whatsapp strong {
    display: block;
    line-height: 1.1;
  }

  .mobile-whatsapp small { font-size: 10px; opacity: .75; }
  .mobile-whatsapp strong { font-size: 14px; }
  .wa-arrow { margin-left: auto; font-size: 22px; }

  .site-footer { padding-bottom: 100px; }
}
