/* ===== Base & Variables ===== */
:root {
  --blue-900: #0b3d5c;
  --blue-700: #0f5c85;
  --blue-600: #1479ab;
  --blue-500: #1e93cf;
  --green-600: #17a673;
  --green-500: #22c58e;
  --ink: #10233a;
  --ink-soft: #4c6079;
  --bg: #f5f9fb;
  --card-bg: #ffffff;
  --border: #e1e9ee;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 61, 92, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 61, 92, 0.14);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--blue-900); line-height: 1.25; }

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

ul { list-style: none; }

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 10px;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(135deg, var(--blue-600), var(--green-600));
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 121, 171, 0.35);
}
.btn--primary:hover { box-shadow: 0 14px 30px rgba(20, 121, 171, 0.45); }

.btn--outline {
  background: transparent;
  color: var(--blue-700);
  border: 1.5px solid var(--blue-600);
}
.btn--outline:hover { background: rgba(20, 121, 171, 0.08); }

.btn--whatsapp {
  background: #25d366;
  color: #fff;
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn--phone {
  background: var(--blue-900);
  color: #fff;
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn--full { width: 100%; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 249, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--blue-900);
  white-space: nowrap;
}
.logo span { color: var(--green-600); }
.logo__mark { flex-shrink: 0; }
.logo__word { line-height: 1.2; }

.nav {
  display: flex;
  gap: 26px;
}
.nav__link {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}
.nav__link:hover { color: var(--blue-700); }

.header__cta {
  display: flex;
  gap: 10px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--blue-900);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 60px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(30, 147, 207, 0.16), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(34, 197, 142, 0.16), transparent 40%);
  z-index: -1;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: #e5f6ef;
  color: var(--green-600);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 18px;
}

.hero__text {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 540px;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero__stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--blue-800, var(--blue-700));
}
.stat span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero__card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  border: 1px solid var(--border);
}
.hero__card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.hero__card-header p {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-left: 6px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--water { background: var(--blue-500); }
.dot--light { background: #f4b400; }
.dot--gas { background: #ef6c4d; }

.hero__card-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--ink);
}
.hero__card-list li:last-child { border-bottom: none; }

/* ===== Trust bar ===== */
.trust {
  background: var(--blue-900);
  padding: 20px 0;
}
.trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  color: #fff;
}
.trust__inner p {
  font-weight: 600;
  opacity: 0.85;
  font-size: 0.9rem;
}
.trust__items {
  display: flex;
  gap: 26px;
  font-weight: 600;
  flex-wrap: wrap;
}

/* ===== Services ===== */
.services { padding: 90px 0; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card__icon {
  font-size: 1.8rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e5f2f9, #e5f6ef);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ===== How it works ===== */
.how {
  padding: 90px 0;
  background: linear-gradient(180deg, #fff, var(--bg));
}
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.how__step {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  text-align: center;
}
.how__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--green-600));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 18px;
}
.how__step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.how__step p { color: var(--ink-soft); font-size: 0.92rem; }

/* ===== Benefits ===== */
.benefits { padding: 90px 0; }
.benefits__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.benefits__text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 22px; }
.benefits__list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.benefits__list li {
  padding-left: 28px;
  position: relative;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.benefits__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-600);
  font-weight: 700;
}
.benefits__list strong { color: var(--ink); }

.benefits__card {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.benefits__quote {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 18px;
}
.benefits__author { opacity: 0.75; font-size: 0.9rem; }

/* ===== Contact ===== */
.contact {
  padding: 90px 0;
  background: var(--blue-900);
  color: #fff;
}
.contact__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact__info .eyebrow { color: var(--green-500); }
.contact__info h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 16px; }
.contact__info p { opacity: 0.8; margin-bottom: 30px; max-width: 460px; }

.contact__methods { display: flex; flex-direction: column; gap: 14px; }
.contact__method {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.08);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}
.contact__method:hover { background: rgba(255,255,255,0.14); }
.contact__method span { font-size: 1.4rem; }
.contact__method strong { display: block; font-size: 0.95rem; }
.contact__method small { opacity: 0.75; }

.contact__form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.form-row input,
.form-row select,
.form-row textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue-600);
}
.form-row textarea { resize: vertical; }

.form-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--green-600);
  font-weight: 600;
  min-height: 20px;
}

/* ===== Footer ===== */
.footer {
  background: #06263c;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.logo--footer { color: #fff; margin-bottom: 10px; }
.footer__brand p { font-size: 0.9rem; opacity: 0.7; max-width: 280px; }
.footer__links h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.footer__links {
  display: flex;
  flex-direction: column;
}
.footer__links a {
  font-size: 0.9rem;
  padding: 6px 0;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}
.footer__links a:hover { opacity: 1; }
.footer__bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== Floating WhatsApp ===== */
.float-whatsapp {
  position: fixed;
  bottom: 26px;
  right: 26px;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  z-index: 200;
  transition: transform 0.15s ease;
}
.float-whatsapp:hover { transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .how__grid { grid-template-columns: 1fr; }
  .benefits__inner { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav, .header__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.nav--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    box-shadow: var(--shadow);
    gap: 16px;
  }
  .header__cta.header__cta--open {
    display: flex;
    position: absolute;
    top: calc(100% + 190px);
    left: 24px;
    right: 24px;
    flex-direction: column;
  }
  .services__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand p { margin: 0 auto; }
}
