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

:root {
  --bg: #08111f;
  --bg-soft: #0f1b2e;
  --card: #ffffff;
  --card-dark: rgba(255,255,255,0.06);
  --text: #142033;
  --text-light: #f3f6fb;
  --muted: #62708a;
  --line: #dbe3ef;
  --primary: #0f4ea8;
  --primary-dark: #0b3d83;
  --accent: #7c8aa5;
  --shadow: 0 20px 60px rgba(7, 20, 43, 0.12);
  --radius: 22px;
  --container: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

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

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

.topbar {
  background: var(--bg);
  color: #d7e4fb;
  font-size: 0.92rem;
}

.topbar-content {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar a {
  color: #ffffff;
  font-weight: 600;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 32, 51, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 96px;
  height: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
}

.brand-text span {
  font-size: 0.82rem;
  color: var(--muted);
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu a {
  font-weight: 600;
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 46px;
  height: 46px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border: 1px solid var(--primary);
  transition: 0.25s ease;
}

.btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
}

.btn-outline:hover {
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: #f4f7fb;
  color: var(--text);
  border-color: #c9d5e7;
}

.btn-full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
  background:
    radial-gradient(circle at top left, rgba(15, 78, 168, 0.12), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-label.light {
  color: #9dc2ff;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 18px;
  max-width: 12ch;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-highlights {
  margin-top: 26px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-highlights li {
  background: #fff;
  border: 1px solid #e4ebf5;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  color: #29415f;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.machine-card {
  width: 100%;
  max-width: 470px;
  background: linear-gradient(180deg, #11233d 0%, #08111f 100%);
  color: #fff;
  padding: 34px;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(7, 17, 31, 0.28);
  position: relative;
  overflow: hidden;
}

.machine-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 68%);
}

.card-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.machine-card h2 {
  font-size: 1.8rem;
  line-height: 1.15;
  margin-bottom: 14px;
}

.machine-card p {
  color: rgba(255,255,255,0.8);
}

.spec-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.spec-list div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.spec-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.96rem;
}

.spec-list span {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: #f7faff;
}

.section-dark {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  color: var(--text-light);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head h2,
.section h2,
.section-dark h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-head p,
.section p,
.section-dark p {
  color: var(--muted);
}

.section-dark p {
  color: rgba(243, 246, 251, 0.78);
}

.about-grid,
.quality-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.stats,
.cards-grid,
.segments-grid,
.quality-points {
  display: grid;
  gap: 18px;
}

.stats {
  grid-template-columns: repeat(2, 1fr);
}

.stat-card,
.service-card,
.segment-card,
.quality-points article,
.contact-form {
  background: #fff;
  border: 1px solid #e6edf7;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.stat-card strong,
.service-card h3,
.segment-card h3,
.quality-points h3 {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.stat-card span,
.service-card p,
.segment-card p,
.contact-form,
.form-note {
  color: var(--muted);
}

.cards-grid {
  grid-template-columns: repeat(3, 1fr);
}

.segments-grid {
  grid-template-columns: repeat(3, 1fr);
}

.segment-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #eaf2ff;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-dark .quality-points article {
  background: var(--card-dark);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  box-shadow: none;
}

.cta {
  padding-top: 0;
}

.cta-box {
  background: linear-gradient(135deg, #0f4ea8, #123268);
  color: #fff;
  border-radius: 30px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 24px 60px rgba(15, 78, 168, 0.24);
}

.cta-box p {
  color: rgba(255,255,255,0.84);
}

.cta-box .section-label {
  color: #cfe0ff;
}

.contact-list {
  margin-top: 22px;
  display: grid;
  gap: 12px;
  color: var(--text);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row label {
  font-weight: 700;
  color: var(--text);
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid #d9e3f0;
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 78, 168, 0.12);
}

.form-note {
  margin-top: 12px;
  font-size: 0.92rem;
}

.footer {
  padding: 28px 0 40px;
  border-top: 1px solid #e5edf8;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--muted);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  min-height: 52px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #1f8f4d;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 45px rgba(31, 143, 77, 0.28);
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .quality-grid,
  .contact-grid,
  .cta-box,
  .cards-grid,
  .segments-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

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

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    width: min(320px, calc(100% - 32px));
    background: #fff;
    border: 1px solid #e6edf7;
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .menu.open {
    display: flex;
  }
}

@media (max-width: 720px) {
  .topbar-content,
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-actions,
  .hero-highlights {
    flex-direction: column;
    align-items: stretch;
  }

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

  .section,
  .hero {
    padding-left: 0;
    padding-right: 0;
  }

  .cta-box,
  .machine-card,
  .contact-form,
  .service-card,
  .segment-card,
  .stat-card {
    padding: 22px;
  }
}


.hero-logo {
  width: min(320px, 75%);
  height: auto;
  display: block;
  margin-bottom: 22px;
}

@media (max-width: 720px) {
  .brand-logo {
    width: 78px;
  }

  .hero-logo {
    width: min(240px, 70%);
  }
}
