/* Reset & variables */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #0f172a;
  background: #f8fafc;
  line-height: 1.6;
}

body {
  transition: background-color 1s ease;
}

:root {
  --primary: #0ea5e9;
  --primary-600: #0284c7;
  --secondary: #14b8a6;
  --bg: #f8fafc;
  --card: #ffffffcc;
  --text: #0f172a;
  --muted: #475569;
  --ring: 0 0 0 6px #0ea5e922;
  --radius: 14px;
}

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

.section { padding: 80px 0; }
.section-cover { margin: 0 0 12px; }
.section-cover__img { width: 100%; height: clamp(160px, 36vw, 340px); object-fit: cover; border-radius: 14px; box-shadow: 0 12px 32px #0f172a1a; }
.section__title {
  margin: 0 0 8px 0;
  font-size: clamp(24px, 3.2vw, 36px);
  letter-spacing: -0.02em;
}
.section__subtitle {
  margin: 0 0 28px 0;
  color: var(--muted);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
  background: linear-gradient(180deg, #ffffffcc, #ffffffb3 60%, transparent);
  border-bottom: 1px solid #e2e8f0aa;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-weight: 700; }
.logo__icon { font-size: 20px; }
.logo__text { letter-spacing: 0.2px; font-size: 20px; font-weight: 800; }
.logo--footer .logo__text { font-size: 18px; }

.menu { display: flex; gap: 18px; align-items: center; }
.menu__link { color: #0f172a; text-decoration: none; font-weight: 500; opacity: .9; }
.menu__link:hover { color: var(--primary-600); }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid #e2e8f0; background: white; cursor: pointer; align-items: center; justify-content: center; gap: 4px; }
.hamburger span { display: block; width: 18px; height: 2px; background: #0f172a; }

/* Buttons */
.btn {
  appearance: none;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: white; box-shadow: 0 6px 20px #0ea5e955; }
.btn--primary:hover { background: var(--primary-600); box-shadow: 0 10px 28px #0ea5e977; }
.btn--secondary { background: #e2e8f0; color: #0f172a; }
.btn--secondary:hover { background: #cbd5e1; }
.btn--ghost { background: transparent; border: 1px solid #e2e8f0; }
.btn--ghost:hover { background: #f1f5f9; }

/* Subtle shine on hover */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -30%;
  width: 40%;
  height: 200%;
  background: linear-gradient(120deg, transparent 0%, #ffffff66 50%, transparent 100%);
  transform: skewX(-20deg) translateX(-100%);
  transition: transform .6s ease;
}
.btn--primary:hover::after { transform: skewX(-20deg) translateX(250%); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(1200px 600px at -10% -10%, #38bdf8 0, transparent 60%), radial-gradient(800px 400px at 110% 10%, #5eead4 0, transparent 55%), linear-gradient(180deg, #ffffff 0, #f8fafc 60%);
}
.particles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero__title { font-size: clamp(28px, 4vw, 48px); line-height: 1.12; margin: 0 0 10px 0; }
.hero__line { display: block; }
.hero__line--red { color: #ef4444; font-weight: 700; }
.text-gradient { background: linear-gradient(90deg, #0ea5e9, #14b8a6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__subtitle { color: var(--muted); margin: 0 0 18px 0; }
.hero__keywords { color: #0f172a; opacity: .8; font-weight: 600; margin: 4px 0 12px; }
.hero__actions { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.hero__badges { list-style: none; padding: 0; margin: 12px 0 0; display: flex; gap: 14px; color: #0f172a; opacity: .9; flex-wrap: wrap; }
.hero__image-wrap { position: relative; }
.hero__image { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 20px 60px #0ea5e933; }
.hero__image { background: #e2e8f0; }
.hero__image-wrap::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: conic-gradient(from 180deg at 50% 50%, #38bdf8, #14b8a6, transparent 60%);
  filter: blur(18px);
  opacity: .35;
  border-radius: 22px;
}
.hero__stats { position: absolute; bottom: -16px; left: 16px; display: flex; gap: 12px; }
.stat { background: white; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; box-shadow: 0 10px 30px #0f172a12; }
.stat strong { display: block; font-size: 16px; }
.stat span { color: var(--muted); font-size: 12px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 18px; backdrop-filter: blur(6px); box-shadow: 0 12px 36px #0f172a10; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px #0f172a1a; }
.card__icon { width: 48px; height: 48px; display: grid; place-items: center; background: #e0f2fe; color: #0369a1; border-radius: 12px; }
.card__title { margin: 12px 0 6px; font-size: 18px; }
.card__list { margin: 0; padding: 0 0 0 16px; color: var(--muted); }
.card__action { display: inline-block; margin-top: 12px; text-decoration: none; color: var(--primary-600); font-weight: 600; }
.card__action:hover { text-decoration: underline; }

/* Why */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.why__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.why__list li { background: white; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px 14px; }
.check { color: #16a34a; font-weight: 700; margin-right: 6px; }
.why__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { text-align: center; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; }
.kpi strong { display: block; font-size: 20px; }
.kpi span { color: var(--muted); font-size: 12px; }

/* Gallery */
.masonry { columns: 3 280px; column-gap: 14px; }
.masonry__item { width: 100%; border-radius: 14px; margin: 0 0 14px; display: block; break-inside: avoid; box-shadow: 0 10px 30px #0f172a12; cursor: zoom-in; }
.masonry__item:hover { transform: translateY(-2px); box-shadow: 0 16px 40px #0f172a22; transition: transform .2s ease, box-shadow .2s ease; }

.lightbox { position: fixed; inset: 0; background: #0f172acc; display: none; align-items: center; justify-content: center; z-index: 60; }
.lightbox--open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 12px; box-shadow: 0 20px 60px #00000066; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #334155; background: #0f172a; color: white; font-size: 22px; cursor: pointer; }

/* Keyword banner */
.keyword-banner { padding-top: 24px; padding-bottom: 24px; }
.kb { position: relative; margin: 0; }
.kb__img { width: 100%; height: clamp(180px, 38vw, 360px); object-fit: cover; border-radius: 16px; box-shadow: 0 16px 40px #0f172a22; }
.kb::after {
  content: "";
  position: absolute; inset: 0; border-radius: 16px;
  background: linear-gradient(180deg, #0f172a00 20%, #0f172a66 60%, #0f172acc 100%);
}
.kb__caption {
  position: absolute; inset: 0; display: grid; align-content: end; gap: 6px; padding: 16px; border-radius: 16px; color: #f8fafc; font-weight: 700;
}
.kb__line1 { font-size: clamp(16px, 3.8vw, 28px); line-height: 1.1; text-shadow: 0 4px 16px #00000066; }
.kb__line2 { font-size: clamp(16px, 3.6vw, 26px); text-shadow: 0 4px 16px #00000066; }
.kb__line2--red { color: #ef4444; background: #ef44440f; display: inline-block; padding: 4px 8px; border-radius: 8px; }
.kb__line3 { font-size: clamp(14px, 3.2vw, 22px); opacity: .95; text-shadow: 0 4px 16px #00000066; }

/* Testimonials */
.slider { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 12px; overflow-x: hidden; scroll-behavior: smooth; }
.slider__nav { width: 42px; height: 42px; border-radius: 10px; border: 1px solid #e2e8f0; background: white; cursor: pointer; }
.review { background: white; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; box-shadow: 0 10px 30px #0f172a12; }
.review__text { margin: 0 0 8px; }
.review__author { color: var(--muted); font-size: 14px; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start; }
.contact__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.contact__list li { display: flex; gap: 10px; align-items: start; background: white; border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; }
.contact__icon { font-size: 20px; }

.form { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px; box-shadow: 0 12px 36px #0f172a10; }
.form__row { display: grid; gap: 6px; margin-bottom: 12px; }
.form__label { font-weight: 600; }
.form__input { width: 100%; padding: 12px 12px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; font: inherit; color: inherit; }
.form__input:focus { outline: none; box-shadow: var(--ring); border-color: var(--primary); background: white; }
.form__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.form__hint { color: var(--muted); font-size: 12px; margin-top: 6px; }

/* Footer */
.footer { background: #0f172a; color: #e2e8f0; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; padding: 28px 0; }
.logo--footer .logo__icon { filter: grayscale(1) brightness(1.6); }
.footer__title { margin: 8px 0; }
.footer__text { margin: 8px 0 0; color: #cbd5e1; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer__links a { color: #e2e8f0; opacity: .9; text-decoration: none; }
.footer__links a:hover { opacity: 1; text-decoration: underline; }
.footer__bottom { border-top: 1px solid #1f2937; text-align: center; padding: 12px 0; font-size: 14px; color: #cbd5e1; }

/* WhatsApp FAB */
.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 40px #22c55e66;
  cursor: pointer;
  z-index: 70;
  animation: bump 2.2s infinite ease-in-out;
}
.whatsapp:hover { filter: brightness(1.05); }
.whatsapp::after {
  content: "WhatsApp";
  position: absolute;
  right: 64px;
  bottom: 50%;
  transform: translateY(50%);
  background: #0f172a;
  color: #e2e8f0;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid #1f2937;
  font-size: 12px;
  box-shadow: 0 10px 30px #0f172a66;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.whatsapp:hover::after { opacity: 1; transform: translateY(50%) translateX(-2px); }
@keyframes bump { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-3px) } }

/* Animations */
.fade-up { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.in-view { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stats { position: absolute; bottom: -14px; left: 14px; }
}
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why__kpis { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .menu { display: none; position: absolute; top: 60px; right: 14px; background: white; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px; box-shadow: 0 20px 60px #0f172a22; flex-direction: column; }
  .menu.menu--open { display: flex; }
  .hamburger { display: inline-flex; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}


