:root {
  --sos-blue: #2364e5;
  --sos-red: #ef4343;
  --sos-black: #0a0a0a;
  --sos-white: #ffffff;
  --sos-light-gray: #f8f9fa;
  --sos-gray: #6b7280;
  --sos-dark-gray: #374151;
  --gradient-blue-to: #3b82f6;
  --gradient-red-to: #f87272;
  --container-max: 1180px;
  --header-height: 80px;
  --transition: all 0.3s ease;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.15);
  --shadow-card: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-button: 0 18px 35px rgba(239, 67, 67, 0.35);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-full: 999px;
  --carousel-gap: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--sos-white);
  color: var(--sos-gray);
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  border: none;
  background: none;
  font-family: inherit;
}

i[data-lucide] {
  width: 1.5rem;
  height: 1.5rem;
}

.container {
  width: min(var(--container-max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.section--light {
  background: var(--sos-white);
}

.section--muted {
  background: var(--sos-light-gray);
}

.gradient {
  color: transparent;
  background-clip: text;
  display: inline-block;
}

.gradient--blue {
  background-image: linear-gradient(90deg, var(--sos-blue), var(--gradient-blue-to));
}

.gradient--red {
  background-image: linear-gradient(90deg, var(--sos-red), var(--gradient-red-to));
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-heading h2 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: var(--sos-black);
  margin-bottom: 1rem;
  font-weight: 800;
}

.section-heading p {
  font-size: 1.125rem;
  color: var(--sos-gray);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 0.95rem 2.8rem;
  transition: var(--transition);
  cursor: pointer;
  border: 0;
}

.btn--primary {
  background: var(--sos-blue);
  color: var(--sos-white);
  box-shadow: 0 15px 30px rgba(35, 100, 229, 0.25);
}

.btn--primary:hover {
  background: #1f4ecd;
}

.btn--accent {
  background: var(--sos-red);
  color: var(--sos-white);
  box-shadow: var(--shadow-button);
}

.btn--accent:hover {
  background: #d63333;
  transform: translateY(-2px);
}

.btn--light {
  background: var(--sos-white);
  color: var(--sos-black);
  border-radius: var(--radius-md);
  padding: 0.9rem 2.5rem;
  font-weight: 600;
}

.btn--light:hover {
  background: #e5e7eb;
}

.btn--cta {
  background: var(--sos-red);
  color: var(--sos-white);
  font-size: 1.1rem;
  padding: 1.1rem 3.6rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-button);
}

.btn--cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 26px 45px rgba(239, 67, 67, 0.4);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, color 0.3s ease;
  color: #f3f4f6;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  color: var(--sos-dark-gray);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo img {
  width: 140px;
  height: auto;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-weight: 500;
}

.site-nav__link {
  position: relative;
  color: inherit;
  transition: color 0.3s ease;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  display: none;
}

.menu-toggle {
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.3s ease;
}

.menu-toggle__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle__icon--close {
  display: none;
}

.menu-toggle.is-open .menu-toggle__icon--open {
  display: none;
}

.menu-toggle.is-open .menu-toggle__icon--close {
  display: flex;
}

.site-header.is-scrolled .menu-toggle {
  background: rgba(15, 23, 42, 0.08);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.12);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav__content {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 0.75rem;
}

.mobile-nav__link {
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.05);
  color: var(--sos-dark-gray);
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.03em;
}

.mobile-nav__link:hover {
  background: rgba(35, 100, 229, 0.08);
  color: var(--sos-blue);
}

.mobile-nav__cta {
  width: 100%;
  margin-top: 0.5rem;
  justify-content: center;
}

.hero {
  position: relative;
  min-height: calc(100vh);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--sos-white);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.75) 0%, rgba(10, 10, 10, 0.6) 45%, rgba(10, 10, 10, 0) 100%);
  z-index: -1;
}

.hero__content {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 5rem;
}

.hero__title {
  font-size: clamp(2.75rem, 6vw, 4.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--sos-red);
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.55);
  position: relative;
  display: inline-block;
}

.hero__subtitle span {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px);
  animation: heroLetters 0.6s forwards cubic-bezier(0.19, 1, 0.22, 1);
  white-space: pre;
  line-height: 1;
}

.hero__description {
  max-width: 680px;
  margin: 0 auto 2.8rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.hero__cta i[data-lucide]:last-child {
  width: 1.6rem;
  height: 1.6rem;
}

.steps-grid,
.services-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step-card,
.service-card {
  background: var(--sos-light-gray);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
  text-align: center;
}

.step-card {
  background: #f5f7fb;
}

.step-card:hover,
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-card);
  border-color: rgba(35, 100, 229, 0.2);
}

.step-card__icon,
.service-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  background: var(--sos-white);
  box-shadow: 0 12px 30px rgba(35, 100, 229, 0.15);
}

.step-card__icon i[data-lucide],
.service-card__icon i[data-lucide] {
  width: 2rem;
  height: 2rem;
  color: var(--sos-blue);
}

.step-card h3,
.service-card h3 {
  color: var(--sos-black);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.step-card p,
.service-card p {
  margin: 0;
  font-size: 1rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.8rem;
}

.metric-card {
  background: var(--sos-white);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.8rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-card);
}

.metric-card__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(35, 100, 229, 0.12);
  margin: 0 auto 1.4rem;
}

.metric-card__icon--red {
  background: rgba(239, 67, 67, 0.15);
}

.metric-card__icon i[data-lucide] {
  width: 2rem;
  height: 2rem;
  color: var(--sos-red);
}

.metric-card__value {
  font-size: 2.7rem;
  margin: 0;
  font-weight: 800;
  color: var(--sos-black);
}

.metric-card__label {
  margin: 0.35rem 0 0;
  color: var(--sos-gray);
  font-size: 1.1rem;
}

.testimonial-carousel {
  position: relative;
  margin-bottom: 4rem;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: var(--carousel-gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  --items-per-view: 1;
  padding-bottom: 1rem;
}

.testimonial-track {
  scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card-wrapper {
  flex: 0 0 calc((100% - (var(--items-per-view) - 1) * var(--carousel-gap)) / var(--items-per-view));
  scroll-snap-align: start;
}

.testimonial-card {
  background: var(--sos-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.testimonial-stars {
  display: flex;
  gap: 0.4rem;
  color: #fbbf24;
}

.testimonial-stars i[data-lucide] {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.testimonial-card blockquote {
  margin: 0;
  font-style: italic;
  color: var(--sos-gray);
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--sos-black);
  font-weight: 600;
}

.testimonial-author span:last-child {
  color: var(--sos-gray);
  font-weight: 500;
  font-size: 0.95rem;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-control:hover {
  background: var(--sos-white);
}

.carousel-control:disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.carousel-control--prev {
  left: -0.75rem;
}

.carousel-control--next {
  right: -0.75rem;
}

.reputation-box {
  background: linear-gradient(135deg, #1f2937, #0a0a0a);
  color: var(--sos-white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.reputation-box h3 {
  margin: 0 0 1.5rem;
  font-size: 2rem;
  font-weight: 800;
}

.reputation-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.reputation-score__value {
  font-size: 3rem;
  font-weight: 900;
  color: #fbbf24;
}

.reputation-stars {
  display: flex;
  gap: 0.4rem;
  color: #fbbf24;
}

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid var(--sos-white);
}

#coverage-map {
  width: 100%;
  height: 520px;
}

.map-note {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--sos-gray);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.map-note i[data-lucide] {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--sos-blue);
}

.faq-accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--sos-white);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sos-black);
  cursor: pointer;
  background: transparent;
}

.faq-trigger__icon i[data-lucide] {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--sos-blue);
}

.faq-item.is-open .faq-trigger__icon i[data-lucide] {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.75rem 1.5rem;
  color: var(--sos-gray);
  font-size: 1rem;
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.cta-section {
  background: var(--sos-blue);
  padding: 5.5rem 0;
}

.cta-panel {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--sos-white);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-soft);
}

.cta-panel h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 800;
}

.cta-panel p {
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer {
  background: var(--sos-black);
  color: rgba(209, 213, 219, 0.75);
  padding: 4rem 0 2.5rem;
}

.footer-top {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-about h4 {
  margin: 0 0 1rem;
  color: var(--sos-white);
  font-size: 1.35rem;
  font-weight: 700;
}

.footer-about p {
  margin: 0;
  max-width: 420px;
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-contact a,
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
}

.footer-contact a:hover {
  color: var(--sos-white);
}

.footer-contact i[data-lucide] {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--sos-blue);
}

.footer-tags {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0;
  text-align: center;
}

.footer-tags p {
  margin: 0 0 1.5rem;
  font-weight: 600;
  color: rgba(229, 231, 235, 0.85);
}

.footer-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.footer-tags__list span {
  font-size: 0.75rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.75);
  color: rgba(229, 231, 235, 0.8);
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  color: rgba(148, 163, 184, 0.7);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #25d366;
  color: var(--sos-white);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 35px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1050;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 26px 40px rgba(18, 140, 126, 0.45);
}

.whatsapp-float i[data-lucide] {
  width: 1.9rem;
  height: 1.9rem;
}

.will-animate {
  opacity: 0;
  transform: translateY(40px);
}

.will-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-text {
  display: inline-block;
}

@keyframes heroLetters {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }

  .header-contact {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero__content {
    padding-top: calc(var(--header-height) + 3rem);
  }

  .testimonial-track {
    --items-per-view: 2;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 7rem 0;
  }

  .hero__description {
    font-size: 1.2rem;
  }

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

  .testimonial-track {
    --items-per-view: 3;
  }

  .carousel-control--prev {
    left: -1.5rem;
  }

  .carousel-control--next {
    right: -1.5rem;
  }

  .reputation-box {
    padding: 3.5rem 4rem;
  }

  .cta-panel {
    padding: 4rem 4.5rem;
  }

  .footer-about p {
    max-width: 500px;
  }
}

@media (max-width: 640px) {
  .hero__cta {
    width: 100%;
    justify-content: center;
  }

  .carousel-control {
    display: none;
  }

  .whatsapp-float {
    width: 3.5rem;
    height: 3.5rem;
    right: 1.25rem;
    bottom: 1.25rem;
  }
}
