:root {
  --bg: #f4f9ff;
  --bg-soft: #f8fcff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --text: #10233d;
  --muted: #5a6e87;
  --primary: #0b66c3;
  --primary-dark: #084c92;
  --accent: #17a673;
  --border: rgba(22, 84, 140, 0.14);
  --shadow: 0 12px 35px rgba(11, 102, 195, 0.14);
  --radius: 20px;
  --gradient: linear-gradient(140deg, #0b66c3 0%, #2a8fff 45%, #17a673 100%);
}

body.dark {
  --bg: #0a1220;
  --bg-soft: #0f1c30;
  --surface: rgba(14, 31, 52, 0.82);
  --surface-strong: #132742;
  --text: #eaf3ff;
  --muted: #afc5df;
  --primary: #66b6ff;
  --primary-dark: #2d8ce1;
  --accent: #48d9a4;
  --border: rgba(137, 181, 230, 0.26);
  --shadow: 0 14px 45px rgba(2, 10, 20, 0.55);
  --gradient: linear-gradient(140deg, #2388e5 0%, #3167f5 45%, #1ab57a 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 5% 10%, rgba(47, 142, 255, 0.15) 0%, transparent 35%),
    radial-gradient(circle at 95% 0%, rgba(23, 166, 115, 0.14) 0%, transparent 30%), var(--bg);
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 10px;
  height: 0;
}

::-webkit-scrollbar-track {
  background: #eaf2fb;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2a8fff 0%, #17a673 100%);
  border-radius: 999px;
  border: 2px solid #eaf2fb;
}

body.dark ::-webkit-scrollbar-track {
  background: #111d2f;
}

body.dark ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2f9fff 0%, #23c98f 100%);
  border-color: #111d2f;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(3px);
  opacity: 0.45;
  animation: floatOrb 9s ease-in-out infinite alternate;
}

.orb-one {
  width: 260px;
  height: 260px;
  left: -85px;
  top: 12vh;
  background: radial-gradient(circle, rgba(67, 157, 252, 0.7) 0%, rgba(67, 157, 252, 0) 70%);
}

.orb-two {
  width: 300px;
  height: 300px;
  right: -110px;
  top: 58vh;
  background: radial-gradient(circle, rgba(39, 184, 131, 0.64) 0%, rgba(39, 184, 131, 0) 70%);
  animation-delay: 1.2s;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  z-index: 1000;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-soft {
  background: color-mix(in srgb, var(--bg-soft) 80%, transparent);
}

.section-head {
  max-width: 700px;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--text);
}

.brand-logo-wrap {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  position: relative;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.brand-badge,
.fallback-logo {
  width: 36px;
  aspect-ratio: 1;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: var(--shadow);
}

.fallback-logo {
  position: absolute;
  inset: 3px;
  display: none;
}

.brand-text {
  font-size: 1rem;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: color-mix(in srgb, var(--text) 82%, #1e3853 18%);
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  border: 0;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 6px 0;
  background: color-mix(in srgb, var(--text) 85%, #345b7f 15%);
  border-radius: 999px;
}

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  padding: 0;
  font-weight: 600;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
}

.theme-icon {
  position: absolute;
  font-size: 1.05rem;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.theme-icon-sun {
  opacity: 0;
  transform: translateY(14px) rotate(90deg);
}

.theme-icon-moon {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

body:not(.dark) .theme-icon-sun {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

body:not(.dark) .theme-icon-moon {
  opacity: 0;
  transform: translateY(-14px) rotate(-90deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 102, 195, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1a79dc 100%);
}

.btn-outline {
  color: var(--primary);
  border-color: var(--border);
  background: var(--surface-strong);
}

.btn-sm {
  padding: 0.58rem 1rem;
}

.hero {
  padding-top: 5.2rem;
  position: relative;
}

.hero-grid {
  display: grid;
  gap: 2.2rem;
}

.pill {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #e8f3ff;
  color: var(--primary);
  font-weight: 600;
  margin: 0 0 0.9rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.17;
  margin: 0 0 1rem;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 1.45rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.trust-row div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.8rem;
  backdrop-filter: blur(8px);
}

.trust-row strong {
  display: block;
  color: var(--primary);
}

.trust-row span {
  font-size: 0.88rem;
  color: var(--muted);
}

.floating-badge {
  position: absolute;
  z-index: 2;
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: var(--shadow);
}

.badge-1 {
  top: 1.4rem;
  left: 1.4rem;
}

.badge-2 {
  right: 1.4rem;
  top: 50%;
}

.badge-3 {
  left: 1.4rem;
  bottom: 1.4rem;
}

.hero-visual .visual-card {
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 0.85rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-visual .visual-card::before {
  content: "";
  position: absolute;
  inset: -45% auto auto -35%;
  width: 250px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
  animation: pulse 3.8s ease-in-out infinite;
  z-index: -1;
}

.hero-visual img {
  border-radius: 14px;
  min-height: 280px;
  object-fit: cover;
}

.about {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: grid;
  gap: 1.25rem;
}

.about h2 {
  margin-top: 0;
}

.about p {
  color: var(--muted);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 0.6rem;
}

.stat-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.65rem;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}

.stat-card strong {
  display: block;
  color: var(--primary);
  font-size: 1.1rem;
}

.stat-card span {
  font-size: 0.82rem;
  color: var(--muted);
}

.about-image-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-image-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.about-image-card:hover img {
  transform: scale(1.04);
}

.service-groups,
.icon-grid,
.pricing-grid,
.testimonial-grid,
.gallery-grid {
  display: grid;
  gap: 1rem;
}

.card,
.icon-card,
.price-card,
.testimonial,
.gallery-card,
.faq-item,
.contact-card,
.map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover,
.icon-card:hover,
.price-card:hover,
.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(11, 102, 195, 0.2);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
}

.card {
  padding: 1.25rem 1.15rem;
}

.card h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

.card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.card li {
  margin-bottom: 0.35rem;
}

.icon-card {
  text-align: center;
  padding: 1.1rem 1rem;
}

.icon-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  color: var(--primary-dark);
  border-radius: 50%;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.icon-card h3 {
  margin: 0;
  font-size: 1rem;
}

.price-card {
  text-align: center;
  padding: 1.2rem;
}

.price-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: color-mix(in srgb, var(--text) 72%, #32516f 28%);
}

.price-card p {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--primary);
}

.price-featured {
  position: relative;
  border-color: color-mix(in srgb, var(--accent) 60%, var(--border));
  transform: translateY(-6px);
}

.price-featured .tag {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.pricing-note {
  color: var(--muted);
  margin-top: 1rem;
}

.testimonial-slider {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  transition: transform 0.55s ease;
  margin-top: 0.25rem;
  touch-action: pan-y;
  cursor: grab;
  align-items: stretch;
}

.testimonial {
  flex: 0 0 100%;
  min-width: 0;
  min-height: 230px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: 0 16px 34px rgba(9, 56, 108, 0.14);
  user-select: none;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.42rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 45%, transparent);
}

.dot.active {
  background: var(--primary);
}

#testimonials .section-head {
  margin-bottom: 2.2rem;
}

.stars {
  margin: 0;
  color: #f4b400;
  letter-spacing: 2px;
  order: 1;
}

blockquote {
  margin: 0;
  color: color-mix(in srgb, var(--text) 85%, #2d4b69 15%);
  order: 2;
  font-size: 0.96rem;
  line-height: 1.58;
}

cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
  order: 0;
  font-size: 1rem;
}

.faq-wrap {
  max-width: 860px;
}

.faq-item {
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 700;
  position: relative;
}

.faq-item summary:hover {
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

.gallery-grid {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  position: relative;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.services-spotlight {
  margin: 1.2rem 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}

.services-spotlight img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.services-spotlight figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  background: color-mix(in srgb, var(--surface-strong) 90%, transparent);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  font-size: 0.83rem;
  font-weight: 600;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  color: var(--primary);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  padding: 0 1.1rem 1rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-card,
.map-card {
  padding: 1.2rem;
}

.contact-card h2 {
  margin-top: 0;
}

.contact-card p {
  margin: 0.3rem 0;
}

.contact-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.contact-actions .btn {
  min-width: 132px;
}

.map-card {
  padding: 0.65rem;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--border));
}

.map-card iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 14px;
}

.cta-band {
  background: var(--gradient);
  color: #fff;
}

.cta-inner {
  display: flex;
  gap: 1rem;
  flex-direction: column-reverse;
  align-items: flex-start;
}

.cta-inner h2 {
  margin: 0;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--primary);
}

.cta-band .btn-outline {
  color: #fff;
  border-color: #d9efff;
  background: transparent;
}

.cta-image {
  width: min(420px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(235, 245, 255, 0.45);
  box-shadow: 0 12px 30px rgba(6, 16, 31, 0.35);
  object-fit: cover;
  max-height: 260px;
}

.site-footer {
  background: color-mix(in srgb, var(--surface-strong) 55%, #081a2f 45%);
  color: color-mix(in srgb, var(--text) 88%, #dbe8f6 12%);
  padding: 2.4rem 0 1.1rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.footer-brand-card,
.footer-links-card,
.footer-contact-card {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 0.45rem;
  color: var(--text);
}

.site-footer p {
  margin: 0.1rem 0;
}

.site-footer a {
  color: var(--primary);
}

.footer-cta-row {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.copyright {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.float-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 5.3rem;
  z-index: 90;
  background: #13a364;
  color: #fff;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 25px rgba(19, 163, 100, 0.35);
  animation: pulse 1.9s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.float-whatsapp:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 30px rgba(19, 163, 100, 0.4);
}

.mobile-call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 0.85rem;
  box-shadow: 0 -6px 18px rgba(11, 102, 195, 0.25);
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.06);
  }
}

@keyframes floatOrb {
  0% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(12px);
  }
}

@media (min-width: 760px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .about {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .service-groups {
    grid-template-columns: repeat(3, 1fr);
  }

  .icon-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
  }

  .testimonial {
    flex-basis: calc((100% - 2rem) / 3);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .cta-image {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .mobile-call-bar {
    display: none;
  }

  .float-whatsapp {
    bottom: 1rem;
  }

  .slider-dots { display: none; }
}

@media (max-width: 930px) {
  .brand-text {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--surface-strong);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 4%;
    display: grid;
    gap: 0.65rem;
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .badge-2 {
    top: auto;
    right: 1rem;
    bottom: 4.6rem;
  }

  .theme-toggle {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
