/* ═══════════════════════════════════════════════════════
   SUMARSE — Design System & Landing Page Styles
   Swiss Minimalism · Luxury Insurance · Cobalt Accent
   ═══════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --white: #FAFAFA;
  --off-white: #F3F3F3;
  --black: #0A0A0A;
  --gray: #6B6B6B;
  --gray-light: #9A9A9A;
  --border: rgba(10, 10, 10, 0.06);
  --accent: #25D366;
  --accent-hover: #1DA851;
  --accent-light: #e4f6eb;
  --accent-glow: rgba(37, 211, 102, 0.12);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 100px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
  --shadow-accent: 0 8px 30px rgba(37, 211, 102, 0.18);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.6s;
}

/* ─── RESET ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul { list-style: none; }

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

button, input, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

::selection {
  background: var(--accent);
  color: white;
}

/* ─── LAYOUT ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── TYPOGRAPHY ─── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--black);
}

.text-accent {
  color: var(--accent);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

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

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 71, 255, 0.25);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--primary svg {
  transition: transform 0.3s var(--ease);
}

.btn--primary:hover svg {
  transform: translateX(3px);
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--black);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__logo-img {
  height: 36px;
  width: auto;
  transition: height 0.4s var(--ease);
}

.nav.scrolled .nav__logo-img {
  height: 28px;
}

.footer__logo-img {
  height: 40px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.3s;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--black);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-pill);
  transition: all 0.3s var(--ease);
}

.nav__cta:hover {
  background: var(--accent);
  color: white;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__user {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav__user:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.nav__item--dropdown {
  position: relative;
  display: inline-block;
}

.nav__item--dropdown > .nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding-bottom: 1.5rem;
  margin-bottom: -1.5rem;
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease-out);
  z-index: 100;
}

.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--gray);
  transition: all 0.2s;
}

.nav__dropdown-link:hover {
  color: var(--accent);
  background: var(--off-white);
  padding-left: 1.5rem;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.nav__hamburger.active span:first-child {
  transform: rotate(45deg) translate(2px, 2px);
}

.nav__hamburger.active span:last-child {
  transform: rotate(-45deg) translate(2px, -2px);
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-menu__link {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--black);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
}

.mobile-menu.active .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active .mobile-menu__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu__link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu__link:nth-child(3) { transition-delay: 0.3s; }

.mobile-menu__cta {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: var(--accent);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-pill);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  transition-delay: 0.4s;
}

.mobile-menu.active .mobile-menu__cta {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__item--dropdown {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out);
  transition-delay: 0.1s;
}

.mobile-menu.active .mobile-menu__item--dropdown {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__sub {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.25rem;
}

.mobile-menu__sublink {
  font-size: 1.125rem;
  color: var(--gray);
  font-weight: 500;
  transition: color 0.3s;
}

.mobile-menu__sublink:hover {
  color: var(--accent);
}


/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

/* Subtle gradient background */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 71, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-bottom: 2rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.hero__title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.hero__title--accent {
  color: var(--accent);
}

.hero__line {
  width: 0;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 2rem;
  animation: lineExpand 1.2s var(--ease-out) 0.6s forwards;
}

@keyframes lineExpand {
  to { width: 120px; }
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 300;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}


/* ═══════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════ */
.services {
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  cursor: default;
}

/* Stagger animation */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }

.service-card:hover {
  background: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  color: var(--accent);
  transition: all 0.3s var(--ease);
}

.service-card:hover .service-card__icon {
  background: var(--accent);
  color: white;
}

.service-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--gray);
  line-height: 1.5;
}

.service-card__number {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-light);
  letter-spacing: 0.05em;
}

.service-card__link {
  display: block;
  margin-top: auto;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s var(--ease);
}

.service-card:hover .service-card__link {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════════
   TRUST
   ═══════════════════════════════════════════════════════ */
.trust {
  padding: 8rem 0;
  background: var(--off-white);
}

.trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.trust__text {
  margin-top: 0;
}

.trust__desc {
  font-size: 1.0625rem;
  color: var(--gray);
  line-height: 1.8;
  margin-top: 1.5rem;
}

.trust__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: white;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}

.trust__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.trust__check {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
}

.trust__item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.trust__item span {
  font-size: 0.8125rem;
  color: var(--gray);
}


/* ═══════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════ */
.stats {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4rem;
}

.stats__item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.stats__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1em;
}

.stats__number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1;
}

.stats__suffix {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stats__label {
  display: block;
  font-size: 0.8125rem;
  color: var(--gray);
  margin-top: 0.5rem;
  font-weight: 500;
  line-height: 1.3;
}

.stats__divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  margin-top: 0.5rem;
}


/* ═══════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════ */
.testimonials {
  padding: 8rem 0;
}

.testimonials__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  text-align: center;
}

.testimonials__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--black);
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.75rem;
  transition: all 0.4s var(--ease);
  position: relative;
}

.testimonial:hover {
  background: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial__stars {
  color: #FBBF24;
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial__quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--black);
  font-style: normal;
  margin-bottom: 1.5rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.testimonial__author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

.testimonial__author span {
  font-size: 0.75rem;
  color: var(--gray);
}

/* Google Reviews Badge */
.testimonials__badge {
  text-align: center;
  margin-top: 3rem;
}

.testimonials__badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
}

.testimonials__badge-inner strong {
  font-weight: 700;
  color: var(--black);
}

.testimonials__badge-inner span {
  color: var(--gray);
}

.testimonials__badge-count {
  color: var(--gray-light) !important;
  font-size: 0.8125rem !important;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.75rem;
  transition: all 0.4s var(--ease);
  position: relative;
}

.testimonial-card:hover {
  background: white;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-card__stars {
  color: #FBBF24;
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-card__quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--black);
  font-style: normal;
  margin-bottom: 1.5rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
}

.testimonial-card__author span {
  font-size: 0.75rem;
  color: var(--gray);
}


/* ═══════════════════════════════════════════════════════
   PARTNERS — INFINITE MARQUEE
   ═══════════════════════════════════════════════════════ */
.partners {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.partners__label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-light);
  margin-bottom: 2rem;
}

.partners__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.partners__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}

.partners__track:hover {
  animation-play-state: paused;
}

.partners__logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
  transition: color 0.3s var(--ease);
  cursor: default;
}

.partners__logo:hover {
  color: var(--black);
}

.partners__sep {
  color: var(--gray-light);
  opacity: 0.3;
  font-size: 1.25rem;
  user-select: none;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ═══════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════ */
.cta {
  padding: 8rem 0;
}

.cta__inner {
  background: var(--accent-light);
  border-radius: 20px;
  padding: 4rem 3rem;
  text-align: center;
}

.cta__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.cta__subtitle {
  font-size: 1.0625rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
}

.cta__form {
  max-width: 800px;
  margin: 0 auto;
}

.cta__form-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.cta__input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: white;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--black);
  transition: border-color 0.3s var(--ease);
}

.cta__input::placeholder {
  color: var(--gray-light);
}

.cta__input:focus {
  border-color: var(--accent);
}

.cta__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236B6B6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  color: var(--gray-light);
}

.cta__select:valid {
  color: var(--black);
}

.cta__btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.cta__legal {
  font-size: 0.75rem;
  color: var(--gray-light);
  margin-top: 1.25rem;
  letter-spacing: 0.02em;
}


/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  padding: 3rem 0;
}

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

.footer__logo {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__tagline {
  font-size: 0.8125rem;
  color: var(--gray);
  margin-top: 0.25rem;
}

.footer__links {
  display: flex;
  gap: 2rem;
}

.footer__link {
  font-size: 0.8125rem;
  color: var(--gray);
  transition: color 0.3s;
}

.footer__link:hover {
  color: white;
}

.footer__copy {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    padding: 8rem 1.5rem 4rem;
    background-color: #f8f8f8;
    min-height: 80vh;
  }

  .hero__title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .hero__video {
    opacity: 0.5;
    object-fit: contain;
    object-position: center bottom;
  }

  .services {
    padding: 5rem 0;
  }

  .trust {
    padding: 5rem 0;
  }

  .stats__grid {
    flex-direction: column;
    gap: 2rem;
  }

  .stats__divider {
    width: 40px;
    height: 1px;
  }

  .cta {
    padding: 5rem 0;
  }

  .cta__inner {
    padding: 3rem 1.5rem;
    border-radius: 16px;
  }

  .cta__form-row {
    flex-direction: column;
  }

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

  .footer__links {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }
}


/* ─── FORM SUCCESS STATE ─── */
.cta__success {
  display: none;
  padding: 2rem;
  text-align: center;
}

.cta__success.show {
  display: block;
  animation: fadeUp 0.5s var(--ease-out);
}

.cta__success-icon {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.cta__success h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta__success p {
  font-size: 0.9375rem;
  color: var(--gray);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ─── SMOOTH SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--white);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-light);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray);
}


/* ═══════════════════════════════════════════════════════
   SERVICES CTA
   ═══════════════════════════════════════════════════════ */
.services__cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.services__cta p {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 1.25rem;
}

.services__cta strong {
  color: var(--black);
}

/* Stats inline (inside services) */
.stats__inline {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.trust__cta {
  margin-top: 2rem;
}


/* ═══════════════════════════════════════════════════════
   MID-PAGE CTA BANNER
   ═══════════════════════════════════════════════════════ */
.mid-cta {
  padding: 4rem 0;
}

.mid-cta__inner {
  background: var(--black);
  border-radius: 20px;
  padding: 3rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.mid-cta__text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.mid-cta__text p {
  font-size: 0.9375rem;
  color: var(--gray);
}

.mid-cta__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ─── BUTTON VARIANTS ─── */
.btn--whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.25);
}

.btn--whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.35);
}

.btn--outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.25);
}

.btn--outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.125rem 2.75rem;
  font-size: 1.0625rem;
}


/* ═══════════════════════════════════════════════════════
   WHATSAPP FLOATING WIDGET
   ═══════════════════════════════════════════════════════ */
.wa-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
}

/* ─ Floating Button ─ */
.wa-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s var(--ease);
  position: relative;
  z-index: 2;
}

.wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.wa-btn__close {
  display: none;
}

.wa-widget.open .wa-btn__icon {
  display: none;
}

.wa-widget.open .wa-btn__close {
  display: block;
}

/* ─ Notification Badge ─ */
.wa-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: #FF3B30;
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--white);
  z-index: 3;
  animation: badgePulse 2s ease-in-out infinite;
}

.wa-widget.open .wa-badge,
.wa-badge.hidden {
  display: none;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ─ Popup ─ */
.wa-popup {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 360px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.15);
  overflow: hidden;
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  pointer-events: none;
  transition: all 0.35s var(--ease-out);
  transform-origin: bottom right;
}

.wa-widget.open .wa-popup {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.wa-popup__header {
  background: #075E54;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wa-popup__avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-popup__info {
  flex: 1;
}

.wa-popup__info strong {
  display: block;
  color: white;
  font-size: 0.9375rem;
  font-weight: 600;
}

.wa-popup__info span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.wa-popup__close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.wa-popup__close:hover {
  color: white;
}

.wa-popup__body {
  padding: 1.25rem;
  background: #E5DDD5;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9c1b6' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.wa-popup__bubble {
  background: white;
  padding: 0.875rem 1rem;
  border-radius: 0 12px 12px 12px;
  font-size: 0.875rem;
  color: var(--black);
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  max-width: 85%;
  position: relative;
}

.wa-popup__bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 8px 8px 0;
  border-color: transparent white transparent transparent;
}

.wa-popup__input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem;
  background: white;
  border-top: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.wa-popup__input:hover {
  background: var(--off-white);
}

.wa-popup__input span {
  color: var(--gray-light);
  font-size: 0.875rem;
}

/* ─ Pulse ring animation on button ─ */
.wa-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: waPulse 2.5s ease-out infinite;
  z-index: -1;
}

.wa-widget.open .wa-btn::before {
  animation: none;
  opacity: 0;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — NEW COMPONENTS
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .mid-cta__inner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
  }

  .mid-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .mid-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .wa-popup {
    width: calc(100vw - 2rem);
    right: -0.5rem;
  }

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

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .testimonials {
    padding: 5rem 0;
  }

  .stats__grid {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .stats__divider:nth-child(4),
  .stats__divider:nth-child(8) {
    display: none;
  }
}

@media (max-width: 480px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    flex-direction: column;
  }

  .stats__divider {
    width: 40px;
    height: 1px;
  }
}
