:root {
  --background: oklch(1 0 0);
  --foreground: oklch(0.18 0.04 240);
  --card: oklch(1 0 0);
  --primary: oklch(0.65 0.15 235);
  --primary-dark: oklch(0.48 0.15 240);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.985 0.008 230);
  --muted: oklch(0.97 0.01 230);
  --muted-foreground: oklch(0.5 0.03 240);
  --border: oklch(0.91 0.02 230);
  --whatsapp: oklch(0.68 0.17 145);
  --whatsapp-foreground: oklch(1 0 0);
  --shadow-soft: 0 10px 30px -10px oklch(0.65 0.15 235 / 0.25);
  --shadow-glow: 0 20px 50px -20px oklch(0.65 0.15 235 / 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; }
svg { width: 1em; height: 1em; fill: currentColor; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(100% - 2rem, 1280px); margin-inline: auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid oklch(0.91 0.02 230 / 0.6);
  background: oklch(1 0 0 / 0.85);
  backdrop-filter: blur(16px);
}
.nav-shell {
  display: flex;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand img { width: 3rem; height: 3rem; border-radius: 999px; object-fit: cover; }
.desktop-nav { display: flex; gap: 2rem; font-size: 0.875rem; font-weight: 600; color: oklch(0.18 0.04 240 / 0.8); }
.desktop-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.wa-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.wa-button {
  background: var(--whatsapp);
  color: var(--whatsapp-foreground);
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  box-shadow: 0 6px 18px oklch(0.68 0.17 145 / 0.25);
}
.wa-button:hover, .button:hover { transform: scale(1.04); }
.wa-button.full { width: 100%; }
.menu-button {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
}
.menu-button span { display: block; width: 1.5rem; height: 2px; margin: 0.28rem auto; background: var(--foreground); }
.mobile-nav { border-top: 1px solid var(--border); background: white; }
.mobile-nav .container { display: grid; gap: 0.5rem; padding-block: 1rem; }
.mobile-nav a:not(.wa-button) { padding-block: 0.45rem; color: oklch(0.18 0.04 240 / 0.82); font-weight: 600; }

.hero {
  position: relative;
  overflow: hidden;
  color: white;
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgb(0 0 0 / 0.7), transparent, rgb(0 0 0 / 0.3)),
    linear-gradient(90deg, rgb(0 0 0 / 0.85), rgb(0 0 0 / 0.65), rgb(0 0 0 / 0.4));
}
.hero-inner {
  position: relative;
  padding-block: clamp(6rem, 10vw, 9rem);
}
.hero-copy { max-width: 42rem; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.15);
  padding: 0.25rem 0.75rem;
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}
.hero h1 {
  margin: 1rem 0 0;
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.hero h1 span {
  background: linear-gradient(90deg, #7dd3fc, #a5f3fc, #a7f3d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { max-width: 36rem; margin: 1.5rem 0 0; color: rgb(255 255 255 / 0.9); font-size: 1.125rem; }
.hero p strong { display: block; margin-top: 0.5rem; color: white; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button { padding: 0.9rem 1.75rem; }
.button-whatsapp { background: var(--whatsapp); color: white; box-shadow: var(--shadow-soft); }
.button-ghost { border: 1px solid rgb(255 255 255 / 0.4); background: rgb(255 255 255 / 0.1); color: white; backdrop-filter: blur(8px); }
.button-ghost:hover { background: rgb(255 255 255 / 0.2); }
.rating { display: flex; align-items: center; gap: 0.75rem; margin-top: 2rem; color: rgb(255 255 255 / 0.9); font-size: 0.875rem; font-weight: 700; }
.stars { color: #facc15; letter-spacing: 0.05em; }
.hero-stats {
  display: grid;
  max-width: 36rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.2);
  padding-top: 2.5rem;
}
.hero-stats strong { display: block; color: white; font-size: clamp(2.5rem, 5vw, 3.25rem); line-height: 1; }
.hero-stats span { color: rgb(255 255 255 / 0.8); }

.brands { border-block: 1px solid var(--border); padding-block: 3rem; background: white; }
.brands p { margin: 0 0 2rem; text-align: center; color: var(--primary); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; }
.brand-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.brand-track { display: flex; width: max-content; gap: 1rem; animation: marquee 35s linear infinite; }
.brand-marquee:hover .brand-track { animation-play-state: paused; }
.brand-track span { flex: 0 0 auto; border: 1px solid color-mix(in srgb, var(--c), transparent 80%); border-radius: 999px; background: color-mix(in srgb, var(--c), transparent 95%); color: var(--c); padding: 0.75rem 1.5rem; font-size: 1.4rem; font-weight: 900; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding-block: clamp(5rem, 8vw, 7rem); }
.section-heading { max-width: 44rem; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading span { display: block; margin-bottom: 0.75rem; color: var(--primary); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.2em; text-transform: uppercase; }
.section-heading h2 { margin: 0; color: var(--primary-dark); font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.08; letter-spacing: -0.035em; }
.section-heading p { margin: 0.85rem 0 0; color: var(--muted-foreground); }

.reviews-section, .services { background: oklch(0.985 0.008 230 / 0.4); }
.reviews-wrap { position: relative; margin-top: 2rem; }
.review-track { display: grid; grid-auto-columns: calc((100% - 2rem) / 3); grid-auto-flow: column; gap: 1rem; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.review-track::-webkit-scrollbar { display: none; }
.review-card { border: 1px solid var(--border); border-radius: 1rem; background: var(--card); padding: 1.5rem; box-shadow: 0 2px 12px rgb(0 0 0 / 0.04); scroll-snap-align: start; }
.review-top { display: flex; align-items: center; gap: 0.75rem; }
.avatar { display: flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 999px; background: #10b981; color: white; font-size: 1.15rem; font-weight: 900; }
.avatar.orange { background: #f97316; } .avatar.sky { background: #0ea5e9; } .avatar.rose { background: #f43f5e; } .avatar.violet { background: #8b5cf6; } .avatar.amber { background: #f59e0b; }
.review-top strong, .review-top small { display: block; }
.review-top small { color: var(--muted-foreground); font-size: 0.8rem; }
.review-card .stars { margin-top: 1rem; }
.review-card p { color: oklch(0.18 0.04 240 / 0.9); line-height: 1.65; }
.review-card > small { display: block; border-top: 1px solid var(--border); padding-top: 0.75rem; color: var(--muted-foreground); }
.carousel-controls { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; }
.carousel-controls button { width: 2.6rem; height: 2.6rem; border: 1px solid var(--border); border-radius: 999px; background: white; color: var(--primary); font-size: 1.7rem; cursor: pointer; }

.video-section { background: white; }
.phone-video { width: min(100%, 20rem); margin: 2.5rem auto 0; overflow: hidden; border: 1px solid var(--border); border-radius: 1.5rem; background: black; box-shadow: var(--shadow-soft); }
.phone-video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.gallery { border-block: 1px solid var(--border); background: oklch(0.985 0.008 230 / 0.4); padding-block: 4rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.75rem; margin-top: 2rem; }
.gallery-grid img { width: 100%; aspect-ratio: 1; border-radius: 0.75rem; object-fit: cover; transition: transform 0.5s ease; }
.gallery-grid img:hover { transform: scale(1.05); }

.reason-grid, .service-grid, .portfolio-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
.reason-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reason-grid article { border: 1px solid var(--border); border-radius: 1rem; background: white; padding: 1.5rem; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.reason-grid article:hover { transform: translateY(-0.25rem); box-shadow: var(--shadow-glow); }
.reason-grid article span { display: inline-flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; border-radius: 999px; background: linear-gradient(135deg, #0ea5e9, #22d3ee); color: white; font-size: 1.5rem; }
.reason-grid h3 { margin-bottom: 0.5rem; }
.reason-grid p { color: var(--muted-foreground); font-size: 0.9rem; }

.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border); border-radius: 1rem; background: white; box-shadow: 0 4px 18px rgb(0 0 0 / 0.06); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.service-card:hover { transform: translateY(-0.25rem); box-shadow: var(--shadow-glow); }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-card div { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.service-card h3 { margin: 0 0 0.5rem; color: var(--primary-dark); font-size: 1.25rem; }
.service-card p { margin: 0; color: var(--muted-foreground); font-size: 0.92rem; }
.service-card ul { margin: 1.25rem 0; padding-left: 1rem; color: oklch(0.18 0.04 240 / 0.9); font-size: 0.9rem; }
.service-card li { margin-block: 0.45rem; }
.service-card a { margin-top: auto; border-radius: 0.65rem; background: var(--whatsapp); color: white; padding: 0.85rem 1rem; text-align: center; font-weight: 800; }

.portfolio-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.portfolio-tabs button { border: 0; border-radius: 999px; background: var(--secondary); color: var(--foreground); padding: 0.65rem 1.25rem; font-weight: 700; cursor: pointer; }
.portfolio-tabs button.active { background: var(--primary); color: white; }
.portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portfolio-grid article { overflow: hidden; border: 1px solid var(--border); border-radius: 1rem; background: white; transition: box-shadow 0.2s ease; }
.portfolio-grid article.is-hidden { display: none; }
.portfolio-grid article:hover { box-shadow: var(--shadow-soft); }
.portfolio-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-grid article:hover img { transform: scale(1.08); }
.portfolio-grid span { display: inline-block; margin: 1.25rem 1.25rem 0; border-radius: 999px; background: oklch(0.65 0.15 235 / 0.1); color: var(--primary); padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 800; }
.portfolio-grid h3 { margin: 0.75rem 1.25rem 0.25rem; }
.portfolio-grid p { margin: 0 1.25rem 1.25rem; color: var(--muted-foreground); font-size: 0.875rem; }

.cta { padding-top: 3rem; }
.cta-box { border-radius: 1.5rem; background: linear-gradient(135deg, #4ade80, #22c55e, #16a34a); color: white; padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--shadow-soft); }
.cta-box h2 { margin: 0; font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.03em; }
.cta-box p { color: rgb(255 255 255 / 0.95); font-size: 1.1rem; }
.button-white { margin-top: 1rem; background: white; color: #16a34a; border-radius: 1rem; box-shadow: 0 12px 24px rgb(0 0 0 / 0.16); }

.footer { border-top: 1px solid var(--border); background: oklch(0.985 0.008 230 / 0.4); padding-block: 3rem 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer img { width: 3.5rem; height: 3.5rem; border-radius: 999px; object-fit: cover; }
.footer p, .footer a { display: block; color: var(--muted-foreground); font-size: 0.9rem; }
.footer h4 { margin: 0 0 0.75rem; }
.footer p svg { margin-right: 0.35rem; color: var(--primary); vertical-align: -0.15em; }
.copyright { border-top: 1px solid var(--border); margin-top: 2rem; padding-top: 1.5rem; color: var(--muted-foreground); font-size: 0.75rem; text-align: center; }
.floating-wa { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 50; display: inline-flex; width: 3.5rem; height: 3.5rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--whatsapp); color: white; box-shadow: 0 18px 38px rgb(0 0 0 / 0.22); transition: transform 0.2s ease; }
.floating-wa:hover { transform: scale(1.1); }
.floating-wa svg { width: 1.75rem; height: 1.75rem; }
.floating-wa span { position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--whatsapp); opacity: 0.4; animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite; }
@keyframes ping { 75%, 100% { transform: scale(1.7); opacity: 0; } }

@media (max-width: 1024px) {
  .review-track { grid-auto-columns: calc((100% - 1rem) / 2); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reason-grid, .service-grid, .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .wa-button span { display: none; }
  .mobile-nav .wa-button { justify-content: center; }
  .mobile-nav .wa-button span { display: inline; }
  .nav-shell { height: 4.25rem; }
  .hero-inner { padding-block: 5.5rem 4.5rem; }
  .review-track { grid-auto-columns: 86%; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 1.5rem); }
  .hero h1 { font-size: 2.35rem; }
  .hero p { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-stats { gap: 1rem; }
  .rating { align-items: flex-start; flex-direction: column; gap: 0.25rem; }
  .gallery-grid, .reason-grid, .service-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .brand-track span { font-size: 1.1rem; padding: 0.55rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
