:root {
  --background: #ffffff;
  --foreground: #14223f;
  --card: #ffffff;
  --primary: #0a2540;
  --primary-foreground: #ffffff;
  --muted-foreground: #64748b;
  --border: #e5e7eb;
  --soft-bg: #eef4fb;
  --blue: #1e88e5;
  --sky: #7dd3fc;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebd5b;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 22px 50px rgba(15, 23, 42, 0.18);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--foreground);
  background: var(--background);
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.container {
  width: calc(100% - 32px);
  max-width: 1280px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  overflow-x: clip;
}

main,
.site-footer {
  overflow-x: clip;
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand img,
.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 500;
}

.desktop-nav a,
.mobile-nav a {
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--blue);
}

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

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--whatsapp);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-button:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.28);
}

.whatsapp-button.large {
  min-height: 56px;
  padding: 16px 24px;
  font-size: 18px;
}

.whatsapp-button.small {
  width: 100%;
  min-height: 40px;
  padding: 10px 14px;
}

.whatsapp-button.light {
  min-height: 56px;
  padding: 16px 24px;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.whatsapp-button.light:hover {
  background: #f3f4f6;
  color: var(--primary);
}

.icon,
.whatsapp-button svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: 0 0 auto;
}

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

.menu-toggle:hover {
  background: #f1f5f9;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--foreground);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 16px;
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 500;
}

.mobile-nav.open {
  display: grid;
  gap: 12px;
}

.mobile-nav a {
  padding: 8px 0;
}

.hero {
  position: relative;
  min-height: 545px;
  padding: 64px 0 96px;
  overflow: hidden;
  scroll-margin-top: 80px;
}

.hero-bg,
.hero-overlay,
.hero-shadow {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.45), rgba(14, 59, 107, 0.35), rgba(30, 136, 229, 0.3));
}

.hero-shadow {
  box-shadow: inset 0 0 160px rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  color: #fff;
  text-align: center;
  max-width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--whatsapp);
}

.hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--sky);
}

.hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding-top: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 600;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badges svg,
.service-icon svg,
.advantage-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-badges svg {
  color: var(--sky);
}

.brands-section,
.soft-section {
  padding: 48px 0;
  background: var(--soft-bg);
}

.section-kicker {
  display: block;
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker.centered {
  margin-bottom: 32px;
  color: rgba(10, 37, 64, 0.6);
  text-align: center;
  letter-spacing: 0.2em;
}

.brand-marquee {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.brand-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: marquee 35s linear infinite;
}

.brand-track:hover {
  animation-play-state: paused;
}

.brand-track span {
  flex: 0 0 auto;
  padding: 24px 40px;
  border: 1px solid #fff;
  border-radius: 16px;
  background: #fff;
  color: var(--brand-color);
  box-shadow: var(--shadow-sm);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  font-style: italic;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.testimonials,
.advantages {
  padding: 80px 0;
  scroll-margin-top: 80px;
}

.section-heading {
  max-width: 672px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted-foreground);
  font-size: 18px;
  line-height: 1.65;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: transform 0.35s ease;
}

.review-card {
  flex: 0 0 calc((100% - 48px) / 4);
  display: flex;
  flex-direction: column;
  min-height: 312px;
  padding: 24px;
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.review-head h3 {
  margin: 0 0 3px;
  color: var(--primary);
  font-size: 16px;
}

.review-head p,
.stars span,
.review-card footer {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 14px;
}

.stars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--blue);
  letter-spacing: 0;
}

.review-card > p {
  flex: 1;
  margin: 0;
  color: rgba(20, 34, 63, 0.8);
  line-height: 1.55;
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-weight: 600;
}

.google-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: conic-gradient(#4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.carousel-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--foreground);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.soft-section {
  padding: 80px 0;
  scroll-margin-top: 80px;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.7);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-card > img {
  width: 100%;
  height: 224px;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s ease;
}

.service-card:hover > img {
  transform: scale(1.1);
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 32px;
}

.service-icon,
.advantage-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(30, 136, 229, 0.1);
  color: var(--blue);
}

.service-icon svg,
.advantage-icon svg {
  width: 32px;
  height: 32px;
}

.service-body h3,
.advantages-grid h3 {
  margin: 0 0 12px;
  color: var(--foreground);
  font-size: 20px;
  line-height: 1.25;
}

.service-body p {
  flex: 1;
  margin: 0 0 24px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.advantages-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.advantages-grid p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.55;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid div {
  height: 320px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.gallery-grid div:hover {
  box-shadow: var(--shadow-md);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.gallery-grid div:hover img {
  transform: scale(1.1);
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: var(--primary);
  color: var(--primary-foreground);
  scroll-margin-top: 80px;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 768px;
  text-align: center;
}

.cta h2 {
  margin: 0 0 24px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.cta p {
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.65;
}

.cta-glow {
  position: absolute;
  top: -48px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  filter: blur(48px);
}

.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: grid;
  gap: 16px;
}

.footer-brand p,
.footer-info p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 14px;
}

.footer-info {
  display: grid;
  gap: 8px;
  text-align: right;
}

.footer-info .copyright {
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.6;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 24px 45px rgba(37, 211, 102, 0.3);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 1100px) {
  .review-card {
    flex-basis: calc((100% - 32px) / 3);
  }

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

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

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 19px;
    right: 14px;
  }

  .header-whatsapp {
    width: 44px;
    min-width: 44px;
    min-height: 40px;
    padding: 0;
    font-size: 0;
  }

  .header-whatsapp svg {
    width: 20px;
    height: 20px;
  }

  .hero {
    min-height: 560px;
    padding: 56px 0 72px;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: 24px;
    line-height: 1.12;
  }

  .hero h1 span {
    display: block;
  }

  .hero p {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
  }

  .hero-content {
    width: calc(100vw - 32px);
    max-width: 260px;
  }

  .hero .whatsapp-button.large {
    width: calc(100vw - 56px);
    max-width: 300px;
  }

  .pill {
    max-width: 300px;
  }

  .review-card {
    flex-basis: calc((100% - 16px) / 2);
  }

  .services-grid,
  .advantages-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand {
    justify-items: center;
  }

  .footer-info {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container {
    width: calc(100% - 24px);
    max-width: 100vw;
  }

  .header-inner {
    width: 100%;
    padding: 0 12px;
  }

  .hero .container {
    width: 100vw;
    max-width: 100vw;
    padding: 0 16px;
  }

  .hero .container.hero-content {
    width: calc(100vw - 32px);
    max-width: 300px;
    padding: 0;
  }

  .header-inner {
    height: 76px;
  }

  .header-whatsapp {
    display: none;
  }

  .hero {
    min-height: 590px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 15px;
  }

  .whatsapp-button.large,
  .whatsapp-button.light {
    width: 100%;
    max-width: 360px;
    font-size: 16px;
  }

  .hero-badges {
    gap: 12px;
  }

  .brand-track span {
    padding: 20px 28px;
  }

  .review-card {
    flex-basis: 100%;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .service-body {
    padding: 28px;
  }

  .gallery-grid div {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
