:root {
  --blue: #0b5ed7;
  --blue-dark: #083f94;
  --blue-deep: #06285e;
  --blue-light: #e8f1ff;
  --sky: #38bdf8;
  --text: #0f1b2d;
  --muted: #5b6b82;
  --white: #ffffff;
  --wa: #25d366;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 94, 215, 0.12);
  --shadow-lg: 0 20px 50px rgba(6, 40, 94, 0.18);
}

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

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

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 20px rgba(11,94,215,.35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-whatsapp { background: var(--wa); color: var(--white); box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.btn-whatsapp:hover { background: #1ebe5b; }
.btn-light { background: var(--white); color: var(--blue); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(6,40,94,.08); border-color: #e6edf7; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--sky)); color: var(--white); font-size: 1.25rem;
  box-shadow: 0 6px 16px rgba(11,94,215,.35);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-size: 1.35rem; font-weight: 800; color: var(--blue-deep); letter-spacing: 1px; }
.logo-text small { font-size: .7rem; font-weight: 600; color: var(--blue); letter-spacing: 3.5px; margin-top: 4px; }
.logo-light .logo-text strong { color: var(--white); }
.logo-light .logo-text small { color: #9cc3ff; }

.menu { display: flex; align-items: center; gap: 30px; }
.menu a:not(.btn) { font-weight: 500; font-size: .95rem; color: var(--muted); position: relative; }
.menu a:not(.btn):hover { color: var(--blue); }
.menu a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--blue); transition: width .2s;
}
.menu a:not(.btn):hover::after { width: 100%; }
.menu-toggle { display: none; background: var(--blue-light); color: var(--blue); border: 0; width: 44px; height: 44px; border-radius: 10px; font-size: 1.2rem; cursor: pointer; }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 70px 0 90px;
  background:
    radial-gradient(circle at 85% 20%, rgba(56,189,248,.18), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(11,94,215,.12), transparent 40%),
    linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 50px;
  background: var(--blue-light); color: var(--blue); font-weight: 600; font-size: .85rem; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.15; font-weight: 800; color: var(--blue-deep); }
.accent { background: linear-gradient(90deg, var(--blue), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; color: var(--blue); margin: 10px 0 16px; }
.hero-text { color: var(--muted); font-size: 1.05rem; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 38px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; font-weight: 700; color: var(--blue-deep); }
.hero-stats span { font-size: .85rem; color: var(--muted); }

.hero-media { position: relative; }
.hero-img-wrap {
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid var(--white); transform: rotate(1.5deg);
}
.hero-img-wrap img { width: 100%; height: auto; aspect-ratio: 1200 / 896; object-fit: cover; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}
.float-card i { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-light); color: var(--blue); font-size: 1.1rem; }
.float-card strong { display: block; font-size: .92rem; color: var(--blue-deep); line-height: 1.2; }
.float-card span { font-size: .78rem; color: var(--muted); }
.fc-1 { left: -28px; bottom: 36px; }
.fc-2 { right: -18px; top: 28px; animation-delay: -2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: #f4f8ff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.tag {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue); background: var(--blue-light); padding: 6px 16px; border-radius: 50px; margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; color: var(--blue-deep); line-height: 1.25; }
.section-head p { color: var(--muted); margin-top: 12px; }
.section-head.light h2 { color: var(--white); }
.section-head.light p { color: #c7dbff; }
.section-head.light .tag { background: rgba(255,255,255,.14); color: var(--white); }

/* Services */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid #e6edf7; border-radius: var(--radius); padding: 32px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem;
  background: var(--blue-light); color: var(--blue); margin-bottom: 22px; transition: background .25s, color .25s;
}
.card:hover .card-icon { background: var(--blue); color: var(--white); }
.card h3 { font-size: 1.15rem; font-weight: 600; color: var(--blue-deep); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .92rem; }
.card-list { margin-top: 18px; display: grid; gap: 6px; }
.card-list li { font-size: .86rem; color: var(--text); display: flex; gap: 8px; align-items: center; }
.card-list i { color: var(--blue); font-size: .75rem; }

/* Brands */
.brands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.brand {
  background: var(--white); border-radius: var(--radius); padding: 34px 16px; text-align: center;
  box-shadow: 0 4px 14px rgba(6,40,94,.05); border: 1px solid #e6edf7; transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.brand:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.brand-name { font-size: 1.9rem; font-weight: 800; color: var(--blue-deep); letter-spacing: 1px; line-height: 1; }
.brand-hp {
  width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: var(--white);
  display: grid; place-items: center; font-size: 1.6rem; font-style: italic; letter-spacing: 0;
}
.brand small { font-size: .8rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 2px; }

/* Why */
.why {
  background:
    radial-gradient(circle at 15% 20%, rgba(56,189,248,.25), transparent 35%),
    linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: var(--white);
}
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; backdrop-filter: blur(4px); transition: background .25s, transform .25s;
}
.why-item:hover { background: rgba(255,255,255,.14); transform: translateY(-6px); }
.why-icon {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); color: var(--blue); font-size: 1.7rem; box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.why-item h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.why-item p { color: #d3e3ff; font-size: .92rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid #e6edf7; box-shadow: 0 4px 14px rgba(6,40,94,.05);
  transition: transform .25s, box-shadow .25s;
}
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-icon {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue); color: var(--white); font-size: 1.3rem;
}
.contact-card span { display: block; font-size: .8rem; color: var(--muted); }
.contact-card strong { font-size: 1rem; color: var(--blue-deep); font-weight: 600; }
.contact-wa .contact-icon { background: var(--wa); font-size: 1.6rem; }

.cta-banner {
  margin-top: 48px; padding: 40px 44px; border-radius: 24px; color: var(--white);
  background: linear-gradient(120deg, var(--blue), var(--blue-deep));
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-banner h3 { font-size: 1.45rem; font-weight: 700; }
.cta-banner p { color: #c7dbff; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.footer { background: #041d45; color: #b9c9e4; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-about { margin-top: 18px; max-width: 340px; font-size: .92rem; }
.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 18px; font-weight: 600; }
.footer ul { display: grid; gap: 10px; font-size: .92rem; }
.footer ul i { color: var(--sky); width: 18px; }
.footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .86rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.footer-bottom p:last-child { color: var(--white); font-weight: 600; letter-spacing: .5px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: var(--white); display: grid; place-items: center; font-size: 1.9rem;
  box-shadow: 0 10px 25px rgba(37,211,102,.45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: pulse 2s infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* Responsive */
@media (max-width: 1024px) {
  .cards, .why-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .brands { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  .menu {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 10px 4% 20px; box-shadow: 0 16px 30px rgba(6,40,94,.1);
    display: none;
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #eef2f8; }
  .menu a:not(.btn)::after { display: none; }
  .menu .btn { margin-top: 16px; }
  .hero { padding: 40px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { text-align: center; }
  .hero-text { margin: 0 auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-media { max-width: 560px; margin: 0 auto; }
  .fc-1 { left: -6px; }
  .fc-2 { right: -6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .cards, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .brands .brand:last-child { grid-column: 1 / -1; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-stats { gap: 22px; }
  .float-card { padding: 9px 12px; }
  .float-card i { width: 32px; height: 32px; font-size: .95rem; }
  .cta-banner { padding: 30px 24px; text-align: center; justify-content: center; }
  .cta-actions { justify-content: center; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .logo-text strong { font-size: 1.15rem; }
  .logo-mark { width: 40px; height: 40px; font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
