:root {
  --blue: #1b3b8b;
  --blue-dark: #122a66;
  --red: #e03a3a;
  --red-dark: #c02e2e;
  --yellow: #f2a900;
  --yellow-dark: #d99400;
  --ink: #1c2434;
  --muted: #5b6472;
  --bg: #ffffff;
  --bg-alt: #f4f7fc;
  --line: #e3e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(27, 59, 139, 0.12);
  --max: 1140px;
}

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

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

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand__logo {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--blue);
}

.nav__link--cta {
  background: var(--red);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
}

.nav__link--cta:hover {
  background: var(--red-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  transition: transform 0.3s, opacity 0.3s;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  padding: 80px 0;
}

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

.hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
}

.accent-red { color: #ff6b6b; }
.accent-yellow { color: var(--yellow); }

.hero__subtitle {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 40ch;
  margin-bottom: 28px;
}

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

.hero__points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.hero__points li {
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__points li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--yellow);
  color: var(--blue-dark);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero__logo {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s, border-color 0.2s;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

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

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section__eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--ink);
}

.section__lead {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.service-card:hover { transform: translateY(-6px); }

.service-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #eaf1ff, #f6f0dc);
}

.service-card:nth-child(1) .service-card__icon { background: #eaf1ff; }
.service-card:nth-child(2) .service-card__icon { background: #fdeaea; }
.service-card:nth-child(3) .service-card__icon { background: #fdf3d8; }

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card__text {
  color: var(--muted);
  font-size: 0.97rem;
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.step__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__text {
  color: var(--muted);
  font-size: 0.9rem;
}

.section__cta {
  text-align: center;
  margin-top: 44px;
}

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

.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.testimonial__quote {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 22px;
  flex: 1;
}

.testimonial__footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.testimonial__name {
  font-weight: 700;
}

.testimonial__role {
  color: var(--muted);
  font-size: 0.88rem;
}

/* QUOTE FORM */
.quote-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  max-width: 840px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 26px;
}

.form-field--full { grid-column: 1 / -1; }

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fbfcfe;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 59, 139, 0.12);
}

.form-status {
  text-align: center;
  margin-top: 16px;
  font-weight: 600;
  min-height: 1.4em;
}

.form-status.is-success { color: #1a8f4a; }
.form-status.is-error { color: var(--red); }

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

.contact__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact__icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.contact__item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.contact__value {
  color: var(--blue);
  font-weight: 600;
}

/* FOOTER */
.footer {
  background: var(--blue-dark);
  color: #fff;
  padding-top: 48px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 36px;
}

.footer__logo {
  height: 46px;
  width: auto;
  border-radius: 10px;
}

.footer__tagline {
  margin-top: 14px;
  opacity: 0.85;
  max-width: 24ch;
}

.footer__nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.footer__nav a {
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer__nav a:hover { opacity: 1; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.8;
}

/* WHATSAPP FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 200;
  transition: transform 0.2s;
}

.whatsapp-fab:hover { transform: scale(1.08); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__subtitle { margin: 0 auto 28px; }
  .hero__actions { justify-content: center; }
  .hero__points { justify-content: center; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .services,
  .testimonials,
  .contact { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 72px;
    right: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-140%);
    transition: transform 0.3s ease;
  }

  .nav.is-open { transform: translateY(0); }

  .nav__link--cta { width: 100%; text-align: center; }

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

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .quote-form { padding: 26px; }
  .section { padding: 60px 0; }
}
