/* ==========================================================================
   Instaladora Mendes — Climatização e Instalações Elétricas
   ========================================================================== */

:root {
  --navy-950: #030f1c;
  --navy-900: #051a2e;
  --navy-800: #0a2e4d;
  --navy-700: #0f3d63;
  --navy-600: #154d7a;
  --blue-600: #0f6a96;
  --blue-500: #1583ae;
  --blue-400: #2ea1c9;
  --blue-300: #7cc7dc;
  --blue-100: #e5f4f8;
  --bg: #f6f9fc;
  --white: #ffffff;
  --ink: #16203a;
  --muted: #5b6779;
  --muted-2: #8894a5;
  --border: #e4eaf2;
  --green: #25d366;
  --green-dark: #1ebd59;
  --amber: #ffc702;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 10px rgba(10, 23, 48, 0.06);
  --shadow-md: 0 12px 30px rgba(10, 23, 48, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 23, 48, 0.18);
  --container: 1180px;
  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy-900);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15.5px;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn svg { flex-shrink: 0; }

.btn-whatsapp {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.42);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy-800);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-sm { padding: 11px 18px; font-size: 14px; }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(6, 15, 36, 0.0);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
  padding: 18px 0;
}

.site-header.is-scrolled {
  background: rgba(8, 18, 42, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(4, 10, 26, 0.25);
  padding: 12px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.5);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.32);
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-word strong {
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.brand-word span {
  color: var(--blue-300);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.main-nav a:hover { color: #fff; }

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 14.5px;
}

.header-phone svg { color: var(--blue-300); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  padding: 6px;
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .header-phone { display: none; }
  .header-actions > .btn { display: none; }
  .nav-toggle { display: inline-flex; }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--navy-950);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.mobile-nav-close {
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav a {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav .btn-whatsapp {
  margin-top: 28px;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 168px 0 110px;
  overflow: hidden;
  background: var(--navy-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 32%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(6,11,26,0.97) 0%, rgba(7,14,32,0.93) 32%, rgba(8,18,40,0.72) 55%, rgba(10,23,48,0.32) 78%, rgba(10,23,48,0.18) 100%),
    linear-gradient(0deg, rgba(4,9,22,0.55) 0%, transparent 32%);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 940px) {
  .hero { padding: 128px 0 96px; min-height: 640px; }
  .hero-bg { object-position: 78% 30%; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6,11,26,0.97) 0%, rgba(7,14,32,0.94) 55%, rgba(8,18,40,0.88) 100%);
  }
}

.hero-content { max-width: 640px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(37,211,102,0.25);
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.1;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue-300), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 34px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.hero-trust-item svg { color: var(--blue-300); flex-shrink: 0; }

.hero-trust-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-trust-item span {
  display: block;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  margin-top: 1px;
}

.hero-float-card {
  position: absolute;
  z-index: 3;
  bottom: 44px;
  right: 5%;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}

@media (max-width: 780px) {
  .hero-float-card { display: none; }
}

.hero-float-card .icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float-card strong {
  display: block;
  font-size: 14.5px;
  color: var(--navy-900);
  line-height: 1.25;
}
.hero-float-card span {
  font-size: 12.5px;
  color: var(--muted);
}

.hero-google-card {
  position: absolute;
  z-index: 3;
  top: 118px;
  right: 5%;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 780px) {
  .hero-google-card { display: none; }
}

.hero-google-card strong {
  font-size: 15px;
  color: var(--navy-900);
  display: block;
}
.hero-google-card .stars { color: var(--amber); font-size: 12px; letter-spacing: 1px; }

/* ---------------- Stats bar ---------------- */
.stats-bar {
  background: var(--white);
  position: relative;
  z-index: 2;
}

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

@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; padding: 32px 0; }
}

.stat-item {
  text-align: center;
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--navy-800);
}

.stat-num {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 600;
}

/* ---------------- Services ---------------- */
.services {
  background: var(--bg);
}

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

@media (max-width: 940px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

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

.service-photo {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-photo img { transform: scale(1.06); }

.service-icon {
  position: absolute;
  top: 160px;
  left: 20px;
  width: 52px;
  height: 52px;
  background: var(--navy-800);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-300);
  box-shadow: 0 8px 20px rgba(10,23,48,0.28);
  border: 3px solid #fff;
  z-index: 2;
}

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

.service-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0 0 10px;
}

.service-body p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-600);
}

.service-link svg { transition: transform 0.18s ease; }
.service-card:hover .service-link svg { transform: translateX(3px); }

.service-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.28);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.service-whatsapp svg { flex-shrink: 0; }

.service-whatsapp:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.38);
}

/* ---------------- Diferenciais ---------------- */
.diff-section {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.diff-section::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(63,160,240,0.28), transparent 70%);
}

.diff-section .section-title,
.diff-section .section-sub { color: #fff; }
.diff-section .section-sub { color: rgba(255,255,255,0.65); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

@media (max-width: 860px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .diff-grid { grid-template-columns: 1fr; }
}

.diff-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.diff-item .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(63,160,240,0.16);
  color: var(--blue-300);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.diff-item h3 {
  color: #fff;
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 8px;
}

.diff-item p {
  color: rgba(255,255,255,0.62);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ---------------- Gallery ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}

.gallery-grid .g-item:nth-child(4n+1) { grid-row: span 2; }

@media (max-width: 940px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery-grid .g-item:nth-child(4n+1) { grid-row: span 1; }
}

.g-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: zoom-in;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.g-item:hover img { transform: scale(1.08); }

.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,15,36,0.55), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.g-item:hover::after { opacity: 1; }

.g-caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
}
.g-item:hover .g-caption { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 22, 0.92);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(90vw, 900px);
  max-height: 84vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

/* ---------------- Partners ---------------- */
.partners {
  background: var(--bg);
  overflow: hidden;
}

.partners-top {
  padding-top: 52px;
  padding-bottom: 52px;
}
.partners-top .section-head { margin-bottom: 34px; }

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

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

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

.partner-card {
  flex-shrink: 0;
  width: 200px;
  height: 108px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.partner-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.15);
  transition: filter 0.2s ease;
}
.partner-card:hover img { filter: grayscale(0); }

.partner-card-fill {
  padding: 0;
  overflow: hidden;
}
.partner-card-fill img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

.partner-word {
  font-weight: 800;
  font-size: 17px;
  color: var(--navy-800);
  text-align: center;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.partner-word small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--blue-500);
  margin-top: 4px;
}

/* ---------------- Testimonials ---------------- */
.testimonials {
  background: #fdf7ef;
}

.testi-head {
  text-align: center;
  margin-bottom: 46px;
}

.testi-rating-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}
.testi-rating-line .stars { color: var(--amber); letter-spacing: 2px; }

.testi-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 860px) {
  .testi-layout { grid-template-columns: 1fr; gap: 28px; }
}

.testi-summary {
  text-align: center;
}
.testi-summary .label {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.testi-summary .stars-big { color: var(--amber); font-size: 22px; letter-spacing: 3px; margin-bottom: 8px; }
.testi-summary p { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; font-weight: 600;}
.testi-summary .g-logo { width: 46px; margin: 0 auto; }

.testi-carousel {
  position: relative;
}

.testi-track {
  display: flex;
  gap: 20px;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 2px 58px 6px;
}

@media (max-width: 860px) {
  .testi-track { padding: 2px 4px 6px; }
}
.testi-track::-webkit-scrollbar { display: none; }

.testi-card {
  scroll-snap-align: start;
  flex: 0 0 min(340px, 84vw);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.testi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.testi-who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

.testi-who strong {
  display: block;
  font-size: 14.5px;
  color: var(--navy-900);
}
.testi-who span {
  font-size: 12px;
  color: var(--muted-2);
}

.testi-stars {
  color: var(--amber);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.testi-card p.quote {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
}

.testi-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd6ca;
  border: none;
  padding: 0;
  cursor: pointer;
}
.testi-dot.is-active { background: var(--navy-800); width: 22px; border-radius: 5px; transition: all 0.2s ease; }

.testi-carousel { overflow: visible; min-width: 0; }

.testi-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(10,23,48,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-800);
  z-index: 20;
}
.testi-arrow:hover { background: var(--navy-800); color: #fff; }
.testi-arrow.prev { left: 8px; }
.testi-arrow.next { right: 8px; }
@media (max-width: 860px) {
  .testi-arrow { display: none; }
}

/* ---------------- CTA banner ---------------- */
.cta-banner {
  position: relative;
  background: linear-gradient(120deg, var(--navy-950), var(--navy-700));
  padding: 84px 0;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(63,160,240,0.28), transparent 55%);
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.cta-inner p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin: 0;
  max-width: 480px;
}

/* ---------------- FAQ ---------------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
}

.faq-q .plus {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-q .plus { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a-inner {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand .brand-logo { width: 52px; height: 52px; }
.footer-brand strong { color: #fff; font-size: 17px; font-weight: 800; }
.footer-brand span { color: var(--blue-300); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.footer-col p { font-size: 14px; line-height: 1.7; margin: 0 0 18px; }

.footer-col h4 {
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul li { margin-bottom: 12px; font-size: 14px; }
.footer-col ul li a:hover { color: #fff; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--blue-300); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 13px;
  flex-wrap: wrap;
}

.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ---------------- Floating WhatsApp ---------------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 250;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37,211,102,0.45);
  animation: pulse-wa 2.4s ease-in-out infinite;
}
.wa-float:hover { background: var(--green-dark); }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 12px 28px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 12px 28px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0.15); }
}

/* ---------------- Popup ---------------- */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 28, 0.72);
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
}
.popup-overlay.is-open { display: flex; }

.popup-card {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 400px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: popup-in 0.35s ease;
}

@keyframes popup-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.popup-photo {
  height: 150px;
  position: relative;
}
.popup-photo img { width: 100%; height: 100%; object-fit: cover; }

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10,20,40,0.55);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.popup-body {
  padding: 0 26px 26px;
  margin-top: -34px;
  position: relative;
  text-align: center;
}

.popup-offer {
  background: linear-gradient(120deg, var(--blue-600), var(--navy-800));
  border-radius: var(--radius-md);
  padding: 26px 22px 22px;
  color: #fff;
  box-shadow: 0 14px 30px rgba(10,23,48,0.28);
}

.popup-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.popup-offer .big {
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.popup-offer p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  color: rgba(255,255,255,0.92);
}
.popup-offer p b { font-weight: 800; }

.popup-checks {
  text-align: left;
  margin: 20px 0 20px;
}
.popup-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 11px;
}
.popup-checks li svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--green-dark);
  background: #e5f9ec;
  border-radius: 50%;
  padding: 3px;
}

.popup-dismiss {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}

/* utility */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
