/* ============================================
   MAX4D — Faithful Framer Recreation
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;900&family=Poppins:wght@500;700&display=swap');

:root {
  --bg: #101112;
  --surface: #2c2d2f;
  --surface-border: #8888881a;
  --accent: #ff6f00;
  --accent-hover: #ff8a2e;
  --white: #ffffff;
  --muted: #d9d9d9;
  --dim: #999999;
  --font: 'Outfit', sans-serif;
  --max-w: 1200px;
  --r-card: 40px;
  --r-md: 20px;
  --r-sm: 16px;
  --r-btn: 100px;
  --ease: cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  font-size: 16px;
  line-height: 1.2;
  overflow-x: hidden;
  position: relative;
}

/* --- Animated Noise Overlay --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url('/images/rR6HYXBrMmX4cRpXfXUOvpvpB0.png') repeat;
  background-size: 161px;
  opacity: 0.04;
  pointer-events: none;
  animation: noiseShift 0.8s steps(4) infinite;
}

@keyframes noiseShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-3px, 2px); }
  50%  { transform: translate(2px, -3px); }
  75%  { transform: translate(-2px, -1px); }
  100% { transform: translate(3px, 1px); }
}

/* ensure all content is above the noise */
body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  background: rgba(16,17,18,0.75);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  transition: padding .3s var(--ease), background .3s;
}
/* Noise layer on the navbar itself */
.navbar::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: url('/images/rR6HYXBrMmX4cRpXfXUOvpvpB0.png') repeat;
  background-size: 161px; opacity: 0.04; pointer-events: none;
  animation: noiseShift 0.8s steps(4) infinite;
}
.navbar.scrolled {
  background: rgba(16,17,18,0.92);
  padding: 0;
}
.navbar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px; position: relative; z-index: 1;
  transition: padding .3s var(--ease);
}
.navbar.scrolled .navbar-inner { padding: 12px 20px; }
.navbar-logo { display: flex; align-items: center; gap: 8px; }
.navbar-logo img { width: 36px; height: 36px; transition: width .3s, height .3s; }
.navbar.scrolled .navbar-logo img { width: 30px; height: 30px; }
.navbar-logo span { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.navbar-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.navbar-links a {
  font-size: 14px; font-weight: 400; color: var(--muted);
  transition: color .25s var(--ease); position: relative; padding-bottom: 2px;
}
.navbar-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--accent);
  border-radius: 2px; transition: width .25s var(--ease);
}
.navbar-links a:hover { color: var(--accent); }
.navbar-links a:hover::after,
.navbar-links a.active { color: var(--accent); }
.navbar-links a.active::after { width: 100%; }
.navbar-cta {
  padding: 9px 20px; background: var(--accent); color: #fff;
  font-weight: 600; font-size: 13px; border-radius: var(--r-btn);
  transition: all .25s var(--ease); white-space: nowrap;
}
.navbar-cta:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,111,0,.3); }
/* Hamburger — SVG based */
.navbar-hamburger {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--surface-border);
  cursor: pointer; transition: background .2s;
  position: relative; z-index: 1;
}
.navbar-hamburger:hover { background: #3a3b3d; }
.navbar-hamburger svg { pointer-events: none; }

/* Mobile Nav */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(14,15,16,0.97); backdrop-filter: blur(30px);
  flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.mobile-nav::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: url('/images/rR6HYXBrMmX4cRpXfXUOvpvpB0.png') repeat;
  background-size: 161px; opacity: 0.05; pointer-events: none;
  animation: noiseShift 0.8s steps(4) infinite;
}
.mobile-nav.active { display: flex; }
.mobile-nav a { font-size: 22px; font-weight: 500; color: var(--muted); position: relative; z-index: 1; transition: color .2s; }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .mobile-nav-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border-radius: 50%; cursor: pointer; z-index: 1;
  border: 1px solid var(--surface-border); transition: background .2s;
}
.mobile-nav .mobile-nav-close:hover { background: #3a3b3d; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--r-btn);
  font-size: 15px; font-weight: 600; transition: all .3s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,111,0,.25); }
.btn-glow {
  box-shadow: 0 0 16px rgba(255,111,0,.55), 0 0 32px rgba(255,111,0,.25);
}
.btn-glow:hover {
  box-shadow: 0 0 24px rgba(255,111,0,.8), 0 0 48px rgba(255,111,0,.4);
  transform: translateY(-2px);
}
.btn-outline { background: transparent; color: #fff; border: 1px solid var(--surface-border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 0 16px rgba(37,211,102,.45), 0 0 32px rgba(37,211,102,.2); }
.btn-whatsapp:hover { background: #20b858; transform: translateY(-2px); box-shadow: 0 0 24px rgba(37,211,102,.7), 0 0 48px rgba(37,211,102,.35); }

/* ─── HERO ─── */
.hero { padding: 100px 0 30px; display: flex; justify-content: center; }
.hero-card {
  background: var(--surface); border-radius: var(--r-card);
  max-width: var(--max-w); width: 100%; min-height: 580px;
  display: flex; align-items: center; padding: 0 0 0 40px;
  position: relative; overflow: hidden;
}
.hero-content {
  flex: 1; display: flex; flex-direction: column; gap: 30px;
  z-index: 2; max-width: 620px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,111,0,.12); color: var(--accent);
  font-size: 13px; font-weight: 600; padding: 6px 14px;
  border-radius: var(--r-btn); width: fit-content;
  text-transform: uppercase; letter-spacing: .05em;
}
.hero h1 { font-size: 78px; font-weight: 600; line-height: 1.2em; }
.hero h1 .accent { color: var(--accent); }
.hero-desc { font-size: 18px; font-weight: 400; color: var(--muted); max-width: 510px; line-height: 1.2em; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-image {
  position: absolute; right: -187px; top: -193px; bottom: -192px;
  width: 854px; z-index: 1;
}
.hero-image img { width: 100%; height: 100%; object-fit: contain; }

/* ─── TICKER ─── */
.ticker-section { padding: 0; overflow: hidden; width: 100%; max-width: var(--max-w); margin: 0 auto; }
.ticker-track {
  display: flex; align-items: center; gap: 60px;
  animation: ticker 18s linear infinite; width: max-content;
}
.ticker-track img {
  height: 41px; object-fit: contain;
  opacity: 0.7; transition: opacity .3s;
}
.ticker-track img:hover { opacity: 1; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─── CTA BUTTONS ROW ─── */
.cta-buttons-row {
  display: flex; gap: 20px; flex-wrap: wrap;
  justify-content: center; padding-top: 40px;
}
.cta-buttons-row .btn { font-size: 16px; padding: 14px 32px; }

/* ─── STAR ICONS ─── */
.star-icons { display: inline-flex; gap: 2px; vertical-align: middle; margin-left: 6px; }
.stat-card h4 { font-size: 18px; font-weight: 600; color: var(--accent); display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }


.section {
  width: 100%; display: flex; flex-direction: column; align-items: center;
  padding: 160px 0 0; overflow: hidden;
}
.section-inner {
  width: 100%; max-width: var(--max-w);
  display: flex; flex-direction: column; gap: 40px;
}
.section-header { max-width: 680px; display: flex; flex-direction: column; gap: 10px; }
.section-header h2 { font-size: 64px; font-weight: 500; line-height: 1.1em; }
.section-header h2 .accent { color: var(--accent); }
.section-header p { font-size: 18px; color: var(--muted); line-height: 1.2em; }

/* ─── STEPS ─── */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.step-card {
  background: var(--surface); border-radius: var(--r-md);
  padding: 20px 40px 40px 20px;
  display: flex; flex-direction: column; gap: 40px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.3); }
.step-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
}
.step-card h4 { font-size: 22px; font-weight: 500; }
.step-card p { font-size: 16px; color: var(--muted); line-height: 1.2em; }

/* ─── FEATURES ─── */
.feature-row {
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
}
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; max-width: 500px; display: flex; flex-direction: column; gap: 20px; }
.feature-text h3 { font-size: 48px; font-weight: 500; line-height: 1.2em; }
.feature-text h3 .accent { color: var(--accent); }
.feature-text p { font-size: 18px; color: var(--muted); line-height: 1.2em; }
.feature-image { width: 380px; height: 471px; flex-shrink: 0; }
.feature-image img { border-radius: var(--r-md); width: 100%; height: 100%; object-fit: cover; }

/* ─── STATS ─── */
.stats-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.stat-card {
  background: var(--surface); border-radius: var(--r-sm);
  padding: 20px; display: flex; flex-direction: column;
  justify-content: space-between; gap: 16px; min-height: 215px;
  transition: transform .3s var(--ease);
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card p { font-size: 15px; color: var(--muted); line-height: 1.2em; }
.stat-card h4 { font-size: 20px; font-weight: 600; color: var(--accent); }

/* ─── PRICING ─── */
.pricing-tabs { display: flex; gap: 8px; }
.pricing-tab {
  padding: 8px 20px; border-radius: var(--r-btn);
  font-size: 14px; font-weight: 500; color: var(--muted);
  background: transparent; border: 1px solid var(--surface-border);
  transition: all .25s var(--ease);
}
.pricing-tab.active, .pricing-tab:hover {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.pricing-grid { display: flex; gap: 20px; flex-wrap: wrap; }
.pricing-card {
  background: var(--surface); border-radius: var(--r-sm);
  padding: 30px; flex: 1; min-width: 280px; max-width: 420px;
  display: flex; flex-direction: column; gap: 20px;
  border: 1px solid transparent; transition: all .3s var(--ease);
}
.pricing-card:hover, .pricing-card.featured {
  border-color: var(--accent); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255,111,0,.08);
}
.pricing-card .tag {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  color: var(--accent); letter-spacing: .05em;
}
.pricing-card .discount { font-size: 36px; font-weight: 700; color: var(--accent); }
.pricing-card p { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* ─── TESTIMONIALS ─── */
.testimonials-section { padding: 160px 0; overflow: hidden; }
.testimonials-track-wrapper { overflow: hidden; width: 100%; }
.testimonials-track {
  display: flex; gap: 20px;
  animation: scrollTestimonials 35s linear infinite; width: max-content;
}
.testimonials-track:hover { animation-play-state: paused; }
@keyframes scrollTestimonials { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.testimonial-card {
  background: var(--surface); border-radius: var(--r-sm);
  padding: 24px 30px 40px; min-width: 420px; max-width: 546px;
  display: flex; flex-direction: column; gap: 20px; flex-shrink: 0;
}
.testimonial-card .avatar { display: flex; align-items: center; gap: 14px; }
.testimonial-card .avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-card .avatar h6 { font-size: 16px; font-weight: 600; }
.testimonial-card .stars { color: #fbbf24; font-size: 16px; letter-spacing: 2px; }
.testimonial-card p { font-size: 15px; color: var(--muted); line-height: 1.5; }

/* ─── BLOG ─── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.blog-card {
  background: var(--surface); border-radius: var(--r-sm);
  overflow: hidden; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.blog-card-image { width: 100%; height: 200px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.blog-card-meta { font-size: 13px; color: var(--dim); }
.blog-card h5 { font-size: 18px; font-weight: 500; line-height: 1.3; }

/* ─── CTA ─── */
.cta-section { padding: 160px 0; display: flex; justify-content: center; }
.cta-card {
  background: var(--surface); border-radius: var(--r-card);
  max-width: var(--max-w); width: 100%; padding: 60px 40px;
  position: relative; overflow: hidden;
}
.cta-content {
  max-width: 660px; display: flex; flex-direction: column; gap: 20px;
  position: relative; z-index: 2;
}
.cta-content h2 { font-size: 48px; font-weight: 500; line-height: 1.1em; }
.cta-content h2 .accent { color: var(--accent); }
.cta-content p { font-size: 18px; color: var(--muted); max-width: 460px; line-height: 1.2em; }
.cta-image { position: absolute; right: -75px; top: -71px; width: 552px; z-index: 1; }

/* ─── CONTACT FORM ─── */
.contact-section { padding: 60px 0 100px; display: flex; justify-content: center; }
.contact-form-card {
  background: var(--surface); border-radius: var(--r-sm);
  padding: 20px; width: 100%; max-width: 600px;
  display: flex; flex-direction: column; gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 10px; }
.form-group label { font-size: 14px; font-weight: 500; }
.form-group input, .form-group textarea {
  background: #bbbbbb26; border: 1px solid var(--surface-border);
  border-radius: 10px; padding: 12px; font-family: var(--font);
  font-size: 14px; color: #fff; outline: none; width: 100%;
  transition: border-color .25s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }
.form-group input:focus, .form-group textarea:focus { border-color: #09f; }
.form-group textarea { min-height: 160px; resize: vertical; }
.form-submit {
  width: 100%; padding: 12px; background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 600; border-radius: 10px;
  transition: background .25s;
}
.form-submit:hover { background: var(--accent-hover); }

/* ─── FOOTER ─── */
.footer { background: var(--surface); padding: 60px 20px 30px; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.footer-brand { max-width: 300px; }
.footer-brand .logo { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.footer-brand .logo img { width: 40px; height: 40px; }
.footer-brand .logo span { font-size: 18px; font-weight: 600; }
.footer-brand p { font-size: 14px; color: var(--dim); line-height: 1.5; }
.footer-links { display: flex; gap: 60px; }
.footer-col h6 { font-size: 14px; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--dim); transition: color .25s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--max-w); margin: 40px auto 0; padding-top: 20px;
  border-top: 1px solid var(--surface-border);
  text-align: center; font-size: 13px; color: var(--dim);
}

/* ─── SCROLL PROGRESS BAR ─── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), #ff9a3c);
  box-shadow: 0 0 10px rgba(255,111,0,.6);
  transition: width .1s linear;
  pointer-events: none;
}

/* ─── NAVBAR HIDE ON SCROLL DOWN ─── */
.navbar {
  transform: translateY(0);
  transition: transform .35s var(--ease), background .3s, padding .3s var(--ease);
}
.navbar.nav-hidden { transform: translateY(-100%); }

/* ─── KEYBOARD SHORTCUT TOOLTIP on FAB ─── */
.whatsapp-fab-kbd {
  position: fixed; bottom: 86px; right: 28px; z-index: 998;
  background: rgba(30,31,33,.95); color: var(--muted);
  font-size: 11px; font-weight: 500; padding: 5px 9px;
  border-radius: 8px; border: 1px solid var(--surface-border);
  opacity: 0; pointer-events: none;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
  white-space: nowrap;
}
.whatsapp-fab-kbd.visible { opacity: 1; transform: translateY(0); }
.whatsapp-fab-kbd kbd {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); color: var(--accent);
  border: 1px solid var(--surface-border); border-radius: 4px;
  font-size: 11px; font-family: inherit;
  padding: 1px 5px; margin-left: 4px;
}

/* ─── BREADCRUMB (sub-pages) ─── */
.breadcrumb {
  padding: 100px 20px 0; max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--dim);
}
.breadcrumb a { color: var(--dim); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--surface-border); }
.breadcrumb-current { color: var(--muted); font-weight: 500; }

/* ─── FAQ ─── */

.faq-section { padding-bottom: 80px; }
.faq-list { display: flex; flex-direction: column; gap: 0; border-radius: var(--r-sm); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--surface-border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 24px; background: var(--surface);
  font-size: 17px; font-weight: 500; color: var(--white);
  text-align: left; cursor: pointer;
  transition: background .25s, color .25s;
}
.faq-question:hover { background: #34353a; color: var(--accent); }
.faq-question[aria-expanded="true"] { color: var(--accent); background: #34353a; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); color: var(--accent); }
.faq-icon { flex-shrink: 0; transition: transform .3s var(--ease), color .25s; color: var(--dim); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
  background: #272829;
}
.faq-answer.open { max-height: 300px; }
.faq-answer p {
  padding: 16px 24px 22px; font-size: 15px;
  color: var(--muted); line-height: 1.65;
}
.faq-answer strong { color: var(--white); }

/* ─── FLOATING WHATSAPP FAB ─── */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  border-radius: 50px; padding: 14px 20px 14px 16px;
  box-shadow: 0 0 0 0 rgba(37,211,102,.5);
  animation: fabPulse 2.5s ease-out infinite;
  transition: padding .3s var(--ease), box-shadow .3s, transform .3s;
  text-decoration: none;
}
.whatsapp-fab:hover {
  background: #20b858;
  box-shadow: 0 0 24px rgba(37,211,102,.6), 0 0 48px rgba(37,211,102,.3);
  transform: translateY(-3px);
  animation: none;
}
.whatsapp-fab-label {
  font-size: 14px; font-weight: 600; white-space: nowrap;
  max-width: 100px; overflow: hidden;
  transition: max-width .3s var(--ease), opacity .3s;
}
@keyframes fabPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 768px) {
  .whatsapp-fab { padding: 14px; border-radius: 50%; }
  .whatsapp-fab-label { max-width: 0; opacity: 0; }
}

/* ─── SCROLL REVEAL ─── */

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── NEW UTILITY CLASSES (from HTML refactor) ─── */
.features-inner { gap: 100px; padding-top: 60px; }

.testimonials-header {
  max-width: var(--max-w); padding: 0 20px 40px;
  margin: 0 auto; width: 100%;
}

.contact-inner { align-items: center; }
.contact-header { text-align: center; align-items: center; }
.contact-devis-btn { margin-top: 10px; }
.contact-subtitle { text-align: center; margin-bottom: 10px; }
.contact-subtitle-h3 { font-size: 28px; font-weight: 500; }
.contact-subtitle-p { color: var(--muted); margin-top: 8px; font-size: 16px; }

/* ─── DESKTOP BASE: add side padding so nothing touches edges ─── */
.hero { padding: 100px 20px 30px; justify-content: center; }
.ticker-section { padding: 30px 20px 0; }
.section-inner { padding: 0 20px; }
.cta-section { padding: 160px 20px; }

/* ─── RESPONSIVE ─── */

/* Large tablet: ≤1200px */
@media (max-width: 1200px) {
  .navbar-inner { padding: 24px 24px; }

  .hero-card { padding: 60px 40px 60px; }
  .hero h1 { font-size: 60px; }
  .hero-image { right: -100px; top: -120px; bottom: -120px; width: 700px; }

  .section { padding: 130px 0 0; }
  .section-header h2 { font-size: 52px; }
  .feature-text h3 { font-size: 40px; }
  .features-inner { gap: 80px; }
  .feature-image { width: 340px; height: 420px; }

  .cta-content h2 { font-size: 42px; }
  .cta-image { right: -60px; top: -50px; width: 480px; }

  .testimonials-section { padding: 130px 0; }
}

/* Tablet: ≤1024px */
@media (max-width: 1024px) {
  .navbar-inner { padding: 20px 20px; }
  .navbar-links { gap: 16px; }
  .navbar-links a { font-size: 13px; }
  .navbar-cta { padding: 8px 16px; font-size: 13px; }

  .hero-card { padding: 50px 30px 50px; min-height: 460px; }
  .hero h1 { font-size: 48px; }
  .hero-content { max-width: 480px; }
  .hero-image { right: -80px; top: -80px; bottom: -80px; width: 560px; }

  .section { padding: 110px 0 0; }
  .section-header h2 { font-size: 44px; }
  .section-header p { font-size: 16px; }

  .features-inner { gap: 60px; }
  .feature-text h3 { font-size: 34px; }
  .feature-image { width: 300px; height: 370px; }

  .stats-row { gap: 14px; }

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

  .cta-card { padding: 50px 36px; }
  .cta-content h2 { font-size: 36px; }
  .cta-image { right: -40px; top: -30px; width: 400px; }

  .testimonials-section { padding: 110px 0; }
}

/* Mobile: ≤768px */
@media (max-width: 768px) {
  /* ── Nav ── */
  .navbar-links, .navbar-cta { display: none; }
  .navbar-hamburger { display: flex; }
  .navbar-inner { padding: 14px 16px; }

  /* ── Hero ── */
  .hero { padding: 72px 12px 12px; }
  .hero-card {
    flex-direction: column; align-items: flex-start;
    padding: 32px 20px; min-height: auto;
    overflow: hidden; border-radius: 24px;
  }
  .hero-content { gap: 16px; max-width: 100%; z-index: 2; }
  .hero h1 { font-size: 34px; line-height: 1.15; }
  .hero-desc { font-size: 14px; max-width: 100%; }
  .hero-buttons { flex-direction: column; gap: 10px; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; font-size: 14px; padding: 12px 20px; }
  .hero-image {
    position: relative;
    width: 100%; max-width: 320px;
    margin: 24px auto 0;
    right: auto; bottom: auto;
    top: auto; left: auto; height: auto;
    display: flex;
    justify-content: center;
  }

  /* ── Ticker ── */
  .ticker-section { padding: 16px 0 0; }
  .ticker-track { gap: 32px; }
  .ticker-track img { height: 28px; }

  /* ── Sections ── */
  .section { padding: 72px 0 0; }
  .section-inner { padding: 0 16px; gap: 20px; }
  .section-header { max-width: 100%; }
  .section-header h2 { font-size: 28px; line-height: 1.2; }
  .section-header p { font-size: 14px; }

  /* ── Steps ── */
  .steps-grid { grid-template-columns: 1fr; gap: 10px; }
  .step-card { padding: 18px; gap: 14px; }
  .step-card h4 { font-size: 17px; }
  .step-card p { font-size: 14px; }

  /* ── CTA Buttons Row ── */
  .cta-buttons-row { flex-direction: column; gap: 10px; padding-top: 20px; }
  .cta-buttons-row .btn {
    width: 100%; justify-content: center;
    font-size: 14px; padding: 13px 20px;
  }

  /* ── Features ── */
  .features-inner { gap: 48px; padding-top: 32px; }
  .feature-row,
  .feature-row.reverse { flex-direction: column; gap: 20px; }
  .feature-text { max-width: 100%; }
  .feature-text h3 { font-size: 24px; }
  .feature-text p { font-size: 14px; }
  .feature-image {
    width: 100%; max-width: 100%; height: 220px;
    margin: 0; order: -1;
  }
  .feature-image img { border-radius: 16px; }

  /* ── Stats ── */
  .stats-row { grid-template-columns: 1fr; gap: 10px; }
  .stat-card { min-height: auto; padding: 16px; }
  .stat-card h4 { font-size: 15px; }
  .stat-card p { font-size: 13px; }

  /* ── Pricing ── */
  .pricing-tabs { gap: 6px; }
  .pricing-grid { flex-direction: column; gap: 10px; }
  .pricing-card { min-width: 0; max-width: 100%; padding: 18px; }
  .pricing-card .discount { font-size: 26px; }
  .pricing-card p { font-size: 13px; }

  /* ── Testimonials ── */
  .testimonials-section { padding: 72px 0; }
  .testimonials-header { padding: 0 16px 20px; }
  .testimonial-card { min-width: 260px; max-width: 300px; padding: 18px; gap: 14px; }
  .testimonial-card p { font-size: 13px; }

  /* ── Blog ── */
  .blog-grid { grid-template-columns: 1fr; gap: 10px; }
  .blog-card-image { height: 180px; }
  .blog-card h5 { font-size: 15px; }

  /* ── CTA Banner ── */
  .cta-section { padding: 72px 12px; }
  .cta-card { padding: 28px 18px 220px; border-radius: 20px; }
  .cta-content { max-width: 100%; }
  .cta-content h2 { font-size: 24px; }
  .cta-content p { font-size: 13px; }
  .cta-image {
    width: 55%; min-width: 180px; max-width: 260px;
    right: -10px; bottom: -10px; top: auto;
  }

  /* ── Contact ── */
  .contact-section { padding: 40px 0 72px; }
  .contact-inner { padding: 0 16px; }
  .contact-header { align-items: flex-start; text-align: left; }
  .contact-subtitle { text-align: left; }
  .contact-subtitle-h3 { font-size: 22px; }
  .contact-subtitle-p { font-size: 13px; }
  .contact-form-card { padding: 16px; }

  /* ── Footer ── */
  .footer { padding: 36px 16px 20px; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-brand { max-width: 100%; }
  .footer-links { flex-direction: column; gap: 20px; }
  .footer-bottom { margin-top: 20px; font-size: 11px; }
}

/* Extra small: ≤380px */
@media (max-width: 380px) {
  .hero h1 { font-size: 28px; }
  .hero-card { padding: 24px 16px; }
  .section-header h2 { font-size: 24px; }
  .feature-text h3 { font-size: 21px; }
  .cta-content h2 { font-size: 21px; }
}

/* ─── GOOGLE RATING & VOTE WIDGETS ─── */
.testimonials-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
  padding: 12px 24px;
  border-radius: var(--r-md);
  margin-top: 20px;
  width: fit-content;
}
.testimonials-rating-badge .google-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  padding: 6px;
}
.testimonials-rating-badge .rating-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonials-rating-badge .rating-score {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}
.testimonials-rating-badge .rating-stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 1px;
}
.testimonials-rating-badge .rating-count {
  font-size: 12px;
  color: var(--dim);
}
.btn-google-review {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--r-btn);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}
.btn-google-review:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 111, 0, 0.2);
}

.stat-card-google-review-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--r-btn);
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
  transition: all 0.25s var(--ease);
  width: fit-content;
}
.stat-card-google-review-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .testimonials-rating-badge {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 12px;
    padding: 20px;
  }
  .btn-google-review {
    width: 100%;
    justify-content: center;
  }
}

/* ─── SEO TEXT SECTION ─── */
.seo-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}
.seo-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--r-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.seo-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
}
.seo-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 968px) {
  .seo-content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

