:root {
  /* Core palette */
  --bg: #f5f7fb;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e2e8f0;

  /* Accent colors */
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #e0ecff;
  --accent-soft-alt: #eef2ff;

  /* Effects */
  --ring: rgba(37, 99, 235, 0.32);
  --shadow: 0 22px 50px rgba(15, 23, 42, 0.16);

  /* Layout */
  --radius: 18px;
  --radius-sm: 12px;
  --grid-gap: 22px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

.help-form-wrapper,
.quote-form-wrapper {
  display: none;
}

/* Index home: show Get Help form by default */
body.page-index .help-form-wrapper {
  display: block;
}

body.page-index .quote-form-wrapper {
  display: none;
}


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

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

button {
  font: inherit;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, #f5f7fb 0%, #e0ecff 40%, #f5f7fb 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
}

.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.95rem;
}

.nav-item,
.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link,
.nav-links a {
  color: var(--muted);
  font-weight: 500;
  padding: 0.15rem 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link::after,
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-dropdown {
  position: relative;
}

.nav-item {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.3s ease;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
}

.nav-dropdown-toggle:hover {
  color: var(--accent);
}

.nav-chevron {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.nav-dropdown.is-open .nav-chevron,
.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 240px;
  padding: 0.75rem 0.6rem;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  display: none;
  flex-direction: column;
  gap: 0.1rem;
  max-height: 420px;
  overflow-y: auto;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.nav-dropdown-menu a {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-dropdown-menu a:hover {
  background: var(--accent-soft);
  color: var(--ink);
  padding-left: 1rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: flex;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-cta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eee;
  padding: 10px;
  border-radius: 6px;
}

.counter button {
  background: #18b56b;
  border: none;
  color: white;
  font-size: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}

.counter span {
  font-weight: 500;
}

.price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.price-left p {
  font-weight: bold;
}

.price-right {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.old-price {
  text-decoration: line-through;
  color: #b0b7c3;
  font-weight: bold;
}

.new-price {
  font-weight: bold;
  font-size: 18px;
}

.price-badge {
  position: absolute;
  top: -18px;
  right: -10px;
  background: #18b56b;
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 20px;
}

.btn {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(15, 23, 42, 0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  outline: none;
}

.hb-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.22s ease,
              width 0.22s ease;
  transform-origin: center;
}

/* X state when open */
.menu-toggle.is-open .hb-bar-1 { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open .hb-bar-2 { opacity: 0; width: 0; }
.menu-toggle.is-open .hb-bar-3 { transform: translateY(-7px) rotate(-45deg); }

/* Mobile CTA (hidden on desktop, shown inside nav drawer) */
.nav-mobile-cta {
  display: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto 35%;
  height: 480px;
  background: radial-gradient(circle at top, rgba(37, 99, 235, 0.14), transparent 60%);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--grid-gap);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  margin: 0 0 1rem;
}

.hero p {
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.badge {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 0.85rem;
  color: var(--accent-dark);
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.hero-form-card {
  position: sticky;
  top: 100px;
}

.experts-ready {
  margin-top: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.input {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.input input,
.input select,
.input textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.input input:focus,
.input select:focus,
.input textarea:focus {
  outline: 2px solid var(--ring);
  border-color: #111111;
}

.section {
  padding: 3.5rem 0;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-title h2 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
}

.section-title p {
  margin: 0;
  color: var(--muted);
  max-width: 520px;
}

/* Experts panel */
.section-experts {
  background: #ffffff;
}

/* Animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.submit-page {
  background-image: linear-gradient(180deg, rgba(248, 250, 252, 0.92) 0%, rgba(226, 232, 240, 0.92) 100%), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.submit-page .section {
  background: transparent;
}

.submit-page .page-hero {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.65) 0%, rgba(226, 232, 240, 0.65) 100%), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1600&q=80') center / cover no-repeat;
  background-attachment: fixed;
  min-height: 600px;
  padding: 6rem 2rem 5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.submit-page .page-hero .container {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  max-width: 800px;
  margin: 0 auto;
}

.submit-page .page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  margin: 0 0 1.5rem;
  animation: slideInDown 0.8s ease-out 0.2s both;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--ink);
}

.submit-page .page-hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.8;
  font-weight: 600;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  margin: 0;
  color: var(--ink);
}

.experts-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.experts-header h2 {
  margin-bottom: 0.75rem;
}

.experts-header p {
  color: var(--muted);
}

.experts-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.experts-copy {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  max-width: 420px;
  color: var(--muted);
}

.experts-accent {
  width: 4px;
  height: 60px;
  border-radius: 999px;
  background: #10b981;
}

.experts-logos-row {
  flex: 1;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.75rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.experts-logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.experts-logos::-webkit-scrollbar {
  display: none;
}

.experts-logos img {
  height: 40px;
  filter: grayscale(100%);
  opacity: 0.9;
}

.experts-logos img:hover {
  opacity: 1;
}

.experts-carousel-wrap {
  margin-top: 2.25rem;
  position: relative;
  overflow: visible;
}

.experts-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 280px;
  gap: 1rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.experts-carousel::-webkit-scrollbar {
  display: none;
}

.expert-card {
  padding: 0;
  width: 100%;
  min-width: 260px;
  display: flex;
  scroll-snap-align: start;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  height: auto;
}

.expert-card.clicked {
  animation: cardClickPulse 0.6s ease-out;
}

@keyframes cardClickPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
  }
  50% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(37, 99, 235, 0);
  }
}

.expert-card > div {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  border-radius: 16px;
  padding: 1rem 1rem 1rem 1rem;
  text-align: left;
  border: 1.5px solid #e5e7eb;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background-clip: padding-box;
  outline: 3px solid transparent;
  outline-offset: 0px;
  box-sizing: border-box;
  width: 100%;
  gap: 0;
  min-height: auto;
  justify-content: flex-start;
}

.expert-card > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 50%, #2563eb 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
}

.expert-card > div::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(29, 78, 216, 0.08) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.expert-card:hover > div {
  border-color: #3b82f6;
  box-shadow: 0 20px 25px rgba(37, 99, 235, 0.16), 0 8px 16px rgba(37, 99, 235, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(-3px) scale(1.01);
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 100%);
  outline: 3px solid #dbeafe;
  outline-offset: 1px;
  z-index: 2;
}

.expert-card:hover > div::before {
  transform: scaleX(1);
}

.expert-card:hover > div::after {
  opacity: 1;
}

.expert-card:hover img {
  transform: scale(1.08);
}

.expert-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 0;
  flex-shrink: 0;
  padding-top: 0.2rem;
}

.expert-identity {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
  flex: 1;
}

.expert-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.expert-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.expert-online {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #22c55e;
  border: 2px solid #ffffff;
}

.expert-name {
  min-width: 0;
  flex: 1;
}

.expert-name strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

.expert-reviews {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #22c55e;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0;
}

.expert-chat {
  color: #22c55e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.expert-rating {
  color: #16a34a;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
  font-size: 0.9rem;
}

.expert-rating span {
  color: #22c55e;
}

.expert-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1rem;
}

.expert-card-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0;
  max-height: 100%;
  justify-content: flex-start;
  flex: 1;
}

.expert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  overflow: visible;
  flex-shrink: 0;
  line-height: 1.4;
  align-content: flex-start;
}

.tag {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  color: #374151;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.2;
}

.expert-footer {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0;
  border-top: none;
  color: var(--muted);
  font-size: 0.875rem;
  flex-shrink: 0;
  line-height: 1.3;
}

.expert-footer strong {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
}

.experts-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 10;
}

.carousel-btn {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  border: 2px solid #2563eb;
  background: #2563eb;
  color: white;
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.carousel-btn:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.35);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--grid-gap);
}

.stat {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  border: 1px solid var(--line);
}

.stat h3 {
  margin: 0 0 0.2rem;
  font-size: 1.6rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--grid-gap);
}

.feature {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.feature h4 {
  margin: 0 0 0.6rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--grid-gap);
}

.step {
  background: var(--accent-soft-alt);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.step strong {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.testimonials {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonial {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  border: 1px solid var(--line);
}

.testimonial p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--grid-gap);
}

.tile {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border: 1px solid var(--line);
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.tile h4 {
  margin: 0 0 0.6rem;
}

.section-muted {
  background: var(--accent-soft-alt);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--grid-gap);
  align-items: center;
}

.split-media {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--line);
  min-height: 220px;
  display: grid;
  gap: 0.8rem;
}

.faq {
  display: grid;
  gap: 1rem;
}

.faq details {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.faq details:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.faq details[open] {
  border-color: var(--accent);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq summary::after {
  content: '▼';
  display: inline-block;
  margin-left: 0.8rem;
  transition: transform 0.3s ease;
  color: var(--accent);
  font-size: 0.7rem;
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--accent);
}

.faq p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.status {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.status.is-error {
  color: #b91c1c;
}

.cta {
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 2.5rem;
  display: grid;
  gap: 1rem;
  align-items: center;
}

.cta a {
  color: #fff;
}

.footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  background: #f1f5f9;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--grid-gap);
}

.footer h4 {
  margin-top: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

/* Reviews carousel styles */
.reviews-carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviews-carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem;
}

.reviews-carousel::-webkit-scrollbar {
  display: none;
}

.reviews-slide {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  scroll-snap-align: center;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  font-size: 1.2rem;
}

@media (max-width: 720px) {
  .reviews-slide { min-width: 88%; flex: 0 0 88%; }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .reviews-slide { min-width: 48%; flex: 0 0 48%; }
}

@media (min-width: 1101px) {
  .reviews-slide { min-width: 32%; flex: 0 0 32%; }
}

.footer a {
  color: var(--muted);
  display: block;
  margin-bottom: 0.4rem;
}

.page-hero {
  padding: 5rem 0 4rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  position: relative;
  background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('assets/img/bg.jpg') center / cover no-repeat;
  background-attachment: fixed;
}

.page-hero .container {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 0 1.5rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--ink);
}

.page-hero p {
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 600;
  color: var(--ink);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--grid-gap);
}

.profile-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.3rem;
  border: 1px solid var(--line);
}

.profile-card h4 {
  margin: 0.8rem 0 0.4rem;
}

.review-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  border: 1px solid var(--line);
}

.review-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

.blog-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  border: 1px solid var(--line);
}

.card-expand {
  position: relative;
  overflow: hidden;
}

.card-expand .expand-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.card-expand .expand-content {
  display: none;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  color: var(--muted);
}

.card-expand.is-open {
  z-index: 5;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
}

.card-expand.is-open .expand-content {
  display: block;
}

.card-expand .close-btn {
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.card-expand.is-open .close-btn {
  display: inline-flex;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 3;
}

.overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.blog-card h4 {
  margin: 0.6rem 0 0.4rem;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 0;
    padding: 0;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 100;
    width: 100%;
    min-width: 100vw;
    margin: 0;
    border-top: 2px solid var(--accent);
  }

  .nav-links.open {
    display: flex;
    animation: slideDownMenu 0.3s ease-out;
  }

  @keyframes slideDownMenu {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-mobile-cta {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--line);
    margin-top: 0.25rem;
  }

  .nav-mobile-cta .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  .nav-item,
  .nav-links a {
    display: block !important;
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static !important;
    display: none !important;
    flex-direction: column;
    box-shadow: none;
    border-radius: 0;
    max-height: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    margin: 0 !important;
    padding: 0.5rem 0 !important;
    background: linear-gradient(180deg, #f3f6ff 0%, #f8fafb 100%);
    border: none;
    border-left: 4px solid var(--accent);
    border-top: 1px solid rgba(37, 99, 235, 0.1);
    animation: slideDownSubmenu 0.3s ease-out;
  }

  @keyframes slideDownSubmenu {
    from {
      opacity: 0;
      max-height: 0;
    }
    to {
      opacity: 1;
      max-height: 500px;
    }
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: flex !important;
  }

  .nav-dropdown-menu a {
    padding: 0.85rem 1.5rem 0.85rem 2.5rem;
    font-size: 0.95rem;
    color: var(--muted);
    display: block;
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
    position: relative;
  }

  .nav-dropdown-menu a::before {
    content: "»";
    position: absolute;
    left: 1.5rem;
    color: var(--accent);
    opacity: 0;
    transition: opacity 0.2s ease;
    font-weight: bold;
  }

  .nav-dropdown-menu a:hover {
    background: var(--accent-soft);
    color: var(--accent-dark);
    padding-left: 2.8rem;
    font-weight: 500;
  }

  .nav-dropdown-menu a:hover::before {
    opacity: 1;
  }

  .nav-link,
  .nav-links a {
    padding: 1rem 1.5rem;
    display: block !important;
    width: 100%;
    text-align: left;
    color: var(--ink);
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
  }

  .nav-link:hover,
  .nav-links a:hover {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0%, transparent 100%);
    color: var(--accent);
    border-left-color: var(--accent);
    padding-left: 1.8rem;
  }

  .nav-link::after,
  .nav-links a::after {
    display: none;
  }

  .nav-dropdown-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 1.5rem !important;
    background: none;
    border: none;
    color: var(--ink);
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
  }

  .nav-dropdown-toggle:hover {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0%, transparent 100%);
    color: var(--accent);
    border-left-color: var(--accent);
  }

  .nav-chevron {
    font-size: 0.7rem;
    transition: all 0.3s ease;
    display: inline-block;
    color: var(--accent);
    font-weight: bold;
  }

  .nav-dropdown.is-open .nav-chevron {
    transform: rotate(180deg);
  }

  /* ===== Mobile Menu Scrollbar Styling ===== */
  .nav-links::-webkit-scrollbar {
    width: 6px;
  }

  .nav-links::-webkit-scrollbar-track {
    background: transparent;
  }

  .nav-links::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.3);
    border-radius: 3px;
  }

  .nav-links::-webkit-scrollbar-thumb:hover {
    background: rgba(37, 99, 235, 0.6);
  }

  /* ===== Nav Item Separator Lines ===== */
  .nav-links > .nav-item:not(:last-child),
  .nav-links > a:not(:last-child) {
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  }
}

@media (max-width: 720px) {
  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .cta {
    padding: 2rem;
  }

  .nav-link::after,
  .nav-links a::after {
    display: none;
  }
}

/* Submit page hero section - must come after generic .page-hero rules */
.submit-page .page-hero {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.65) 0%, rgba(226, 232, 240, 0.65) 100%), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1600&q=80') center / cover no-repeat !important;
  background-attachment: fixed !important;
  min-height: 600px !important;
  padding: 6rem 2rem 5rem 2rem !important;
}

.submit-page .page-hero .container {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px);
  padding: 3rem 2.5rem !important;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
  max-width: 800px;
}

.submit-page .page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem) !important;
  animation: slideInDown 0.8s ease-out 0.2s both;
  color: var(--ink) !important;
}

.submit-page .page-hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  color: var(--ink) !important;
}

/* ============== COMPREHENSIVE RESPONSIVE MEDIA QUERIES ============== */

/* Extra Small Devices (Mobile Phones - 320px to 480px) */
@media (max-width: 480px) {
  :root {
    --grid-gap: 12px;
  }

  html, body {
    font-size: 14px;
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 1rem, var(--max));
  }

  .header {
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.05);
  }

  .nav {
    padding: 0.75rem 0;
    gap: 0.5rem;
  }

  .brand {
    font-size: 1rem;
    gap: 0.5rem;
  }

  .brand-badge {
    width: 35px;
    height: 35px;
  }

  .nav-links {
    width: 100% !important;
    min-width: 100vw !important;
  }

  .nav-links.open {
    width: 100% !important;
  }

  .menu-toggle {
    margin-left: auto;
  }

  .hero {
    padding: 2rem 0 2.5rem;
    background-attachment: scroll !important;
  }

  .hero-title {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  .hero-badges {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-form-card {
    padding: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .input {
    font-size: 0.9rem;
  }

  .input input,
  .input select,
  .input textarea {
    font-size: 16px !important;
    padding: 0.6rem !important;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .btn-primary {
    width: 100%;
  }

  .card {
    border-radius: 12px;
    padding: 1.2rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section-title {
    margin-bottom: 2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  .section-title p {
    font-size: 0.9rem;
  }

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

  .step-card,
  .feature-card,
  .testimonial-card {
    padding: 1.2rem;
  }

  .step-card h4,
  .feature-card h4,
  .testimonial-card h4 {
    font-size: 1rem;
  }

  .faq {
    gap: 0.8rem;
  }

  .faq details {
    padding: 1rem;
  }

  .faq summary {
    font-size: 0.95rem;
  }

  .faq p {
    font-size: 0.9rem;
  }

  .profile-card,
  .review-card,
  .blog-card {
    padding: 1rem;
  }

  .page-hero {
    padding: 3rem 0;
    min-height: 400px;
  }

  .page-hero h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  .nav-links {
    top: 60px;
    right: 0.8rem;
  }

  /* ===== Stats Section Mobile Fix ===== */
  .section[style*="background-color: #fff;"] .container {
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
    justify-content: center !important;
  }

  .stat {
    flex: 0 0 calc(50% - 0.75rem) !important;
    min-width: 140px;
  }

  .stat h3 {
    font-size: 1.6rem !important;
  }

  .stat span {
    font-size: 0.85rem !important;
  }

  /* ===== Logo Container Mobile Fix ===== */
  .logo-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.8rem !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .logo-container img {
    height: 60px !important;
    width: 60px !important;
    padding: 6px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
  }

  /* ===== Experts Logos Section Mobile Fix ===== */
  .experts-logos-section {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
    justify-content: center !important;
    align-items: center !important;
    padding-bottom: 1.5rem !important;
    width: 100% !important;
  }

  .experts-logos-section > div:first-child {
    flex: 1 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    padding-left: 1rem !important;
    font-size: 0.9rem !important;
    text-align: center !important;
  }

  /* ===== About Page Logos Section Mobile Fix (inline styled container) ===== */
  div[style*="justify-content: space-evenly"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  div[style*="justify-content: space-evenly"] > div:first-child {
    width: 100% !important;
    text-align: center !important;
    padding-left: 0 !important;
    border-left: none !important;
    border-top: 4px solid var(--accent) !important;
    padding-top: 1rem !important;
  }

  /* ===== Experts Header Section Fix ===== */
  .experts-header {
    margin-bottom: 1.5rem;
  }

  .experts-header h2 {
    font-size: 1.8rem !important;
  }

  .experts-header p {
    font-size: 0.95rem !important;
  }

  /* Responsive wrapper for logo and text section */
  div[style*="border-left: 4px solid var(--accent); padding-left: 1.5rem;"] {
    font-size: 0.9rem !important;
    padding-left: 1rem !important;
    min-width: 100% !important;
    margin-bottom: 1rem !important;
  }

  /* ===== Security & Support Tiles Mobile Fix ===== */
  div[style*="display: flex; gap: 2rem; justify-content: center; flex-wrap: nowrap;"] {
    flex-wrap: wrap !important;
    gap: 1.2rem !important;
  }

  .tile {
    flex: 0 0 100% !important;
    min-width: auto !important;
    padding: 1.5rem !important;
  }

  .tile h4 {
    font-size: 1rem !important;
  }

  .tile p {
    font-size: 0.9rem !important;
  }
}

/* Small Devices (Tablets & Larger Phones - 480px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  :root {
    --grid-gap: 16px;
  }

  html, body {
    font-size: 14px;
  }

  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .brand {
    font-size: 1.1rem;
  }

  .brand-badge {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .hero-title {
    font-size: 2.2rem !important;
    letter-spacing: -0.6px !important;
  }

  .hero-subtitle {
    font-size: 1.05rem !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .hero-form-card {
    padding: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .input input,
  .input select,
  .input textarea {
    font-size: 16px !important;
    padding: 0.7rem !important;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-title h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

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

  .step-card,
  .feature-card {
    padding: 1.5rem;
  }

  .faq {
    gap: 1rem;
  }

  .faq details {
    padding: 1.2rem;
  }

  .page-hero {
    padding: 3.5rem 1.5rem;
    min-height: 450px;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

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

  .reviews-slide {
    min-width: 88% !important;
    flex: 0 0 88% !important;
  }

  /* ===== Stats Section Tablet Fix ===== */
  .stat h3 {
    font-size: 2rem !important;
  }

  .stat span {
    font-size: 0.9rem !important;
  }

  /* ===== Logo Container Tablet Fix ===== */
  .logo-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1.2rem !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }

  .logo-container img {
    height: 80px !important;
    width: 80px !important;
    padding: 8px !important;
    object-fit: contain !important;
  }

  /* ===== About Page Logos Section Tablet Fix (inline styled container) ===== */
  div[style*="justify-content: space-evenly"] {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
    justify-content: center !important;
    align-items: center !important;
    padding-bottom: 1.5rem !important;
  }

  div[style*="justify-content: space-evenly"] > div:first-child {
    flex: 0 1 100% !important;
    text-align: center !important;
    padding-left: 0 !important;
    border-left: none !important;
    border-top: 4px solid var(--accent) !important;
    padding-top: 1rem !important;
  }

  /* ===== Experts Logos Section Tablet Fix ===== */
  .experts-logos-section {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    justify-content: center !important;
    align-items: center !important;
    padding-bottom: 2rem !important;
    width: 100% !important;
  }

  .experts-logos-section > div:first-child {
    flex: 0 1 auto !important;
    text-align: center !important;
  }

  /* ===== Security & Support Tiles Tablet Fix ===== */
  div[style*="display: flex; gap: 2rem; justify-content: center; flex-wrap: nowrap;"] {
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
  }

  .tile {
    flex: 0 0 calc(50% - 0.75rem) !important;
    min-width: 200px;
  }

  .tile h4 {
    font-size: 1.05rem !important;
  }
}

/* Medium Devices (Tablets - 769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  :root {
    --grid-gap: 18px;
  }

  .container {
    width: min(100% - 2rem, var(--max));
  }

  .hero {
    padding: 3rem 0 3.5rem;
  }

  .hero-title {
    font-size: 3rem !important;
    letter-spacing: -0.7px !important;
  }

  .hero-subtitle {
    font-size: 1.15rem !important;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2.5rem;
  }

  /* ===== Logo Container Medium Screens Fix ===== */
  .logo-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .logo-container img {
    height: 95px !important;
    width: 95px !important;
    padding: 10px !important;
    object-fit: contain !important;
  }

  /* ===== Experts Logos Section Medium Screens Fix ===== */
  .experts-logos-section {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 3rem !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding-bottom: 2.5rem !important;
  }

  .experts-logos-section > div:first-child {
    flex: 0 0 auto !important;
    min-width: fit-content !important;
  }

  /* ===== About Page Logos Section Medium Screens Fix (inline styled container) ===== */
  div[style*="justify-content: space-evenly"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 2rem !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding-bottom: 2rem !important;
  }

  div[style*="justify-content: space-evenly"] > div:first-child {
    flex: 0 0 auto !important;
    text-align: left !important;
    padding-left: 1.5rem !important;
    border-left: 4px solid var(--accent) !important;
    border-top: none !important;
    padding-top: 0 !important;
  }

  .hero-form-card {
    padding: 2rem;
  }

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

  .btn {
    padding: 0.75rem 1.8rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

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

  .step-card,
  .feature-card {
    padding: 1.8rem;
  }

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

  .page-hero {
    padding: 4rem 2rem;
    min-height: 500px;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .reviews-slide {
    min-width: 48% !important;
    flex: 0 0 48% !important;
  }
}

/* Large Devices (Desktops - 1025px and above) */
@media (min-width: 1025px) {
  :root {
    --grid-gap: 22px;
  }

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

  .hero {
    padding: 4rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem;
  }

  .hero-form-card {
    padding: 2.5rem;
  }

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

  .section {
    padding: 4rem 0;
  }

  /* ===== Logo Container Large Screens Fix ===== */
  .logo-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 1.8rem !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .logo-container img {
    height: 110px !important;
    width: 110px !important;
    padding: 10px !important;
    object-fit: contain !important;
  }

  /* ===== Experts Logos Section Large Screens Fix ===== */
  .experts-logos-section {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 3rem !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    padding-bottom: 2.5rem !important;
  }

  .experts-logos-section > div:first-child {
    flex: 0 0 auto !important;
    min-width: fit-content !important;
  }

  /* ===== About Page Logos Section Large Screens Fix (inline styled container) ===== */
  div[style*="justify-content: space-evenly"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 3rem !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    padding-bottom: 2rem !important;
  }

  div[style*="justify-content: space-evenly"] > div:first-child {
    flex: 0 0 auto !important;
    text-align: left !important;
    padding-left: 1.5rem !important;
    border-left: 4px solid var(--accent) !important;
    border-top: none !important;
    padding-top: 0 !important;
    min-width: fit-content !important;
  }

  .page-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }

  .testimonials {
    grid-template-columns: repeat(3, 1fr);
  }

  .reviews-slide {
    min-width: 32% !important;
    flex: 0 0 32% !important;
  }
}

/* Extra Large Devices (Large Desktops - 1440px and above) */
@media (min-width: 1440px) {
  :root {
    --max: 1280px;
  }

  .hero-title {
    font-size: 4.5rem !important;
  }

  .section-title h2 {
    font-size: 2.8rem;
  }

  .page-grid {
    gap: 2.5rem;
  }
}

/* iOS Specific Adjustments */
@media (hover: none) and (pointer: coarse) {
  button,
  .btn,
  a {
    /* Increase touch target to 44x44 minimum for iOS */
    min-height: 44px;
    min-width: 44px;
  }

  input[type="button"],
  input[type="submit"],
  button {
    -webkit-appearance: none;
    border-radius: 8px;
  }

  input[type="text"],
  input[type="email"],
  input[type="password"],
  textarea,
  select {
    -webkit-appearance: none;
    font-size: 16px !important;
    padding: 0.8rem !important;
  }

  /* Prevent auto zoom on input focus */
  input:focus,
  select:focus,
  textarea:focus {
    font-size: 16px !important;
    zoom: 1 !important;
  }
}

/* Android Specific Adjustments */
@supports (display: grid) {
  @media (max-width: 900px) and (pointer: coarse) {
    .nav-links {
      position: fixed;
      right: 0;
      top: 70px;
    }

    button,
    .btn {
      min-height: 48px;
      padding: 0.75rem 1.5rem;
    }

    input,
    select,
    textarea {
      font-size: 16px !important;
    }
  }
}

/* Landscape Orientation Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    padding: 1.5rem 0;
    min-height: auto;
  }

  .hero-title {
    font-size: 1.8rem !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
    margin-bottom: 1rem !important;
  }

  .hero-badges {
    gap: 0.3rem;
  }

  .badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
  }

  .page-hero {
    padding: 2rem;
    min-height: 300px;
  }

  .section {
    padding: 2rem 0;
  }
}

/* Retina Display / High DPI Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  button,
  .btn,
  .card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }

  img {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .nav-links,
  .menu-toggle,
  .btn,
  .cta {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .container {
    width: 100%;
  }

  a {
    text-decoration: underline;
  }
}

/* ══════════════════════════════════════════════════
   GLOBAL DESIGN TOKENS — extended palette
   ══════════════════════════════════════════════════ */
:root {
  --amber:      #f59e0b;
  --amber-dark: #d97706;
  --amber-soft: #fef3c7;
  --green:      #10b981;
  --green-soft: #d1fae5;
  --blue-950:   #1e3a8a;
  --blue-400:   #60a5fa;
}

/* ── Text highlight utilities ──────────────────── */
mark, .hl {
  background: linear-gradient(120deg, rgba(251,191,36,0.22) 0%, rgba(245,158,11,0.38) 100%);
  border-radius: 3px;
  padding: 0 3px 1px;
  color: inherit;
  font-style: normal;
  font-weight: 700;
}
.hl-blue {
  background: linear-gradient(120deg, rgba(37,99,235,0.12) 0%, rgba(37,99,235,0.22) 100%);
  border-radius: 3px;
  padding: 0 3px 1px;
  font-weight: 700;
  color: #1d4ed8;
}
.hl-green {
  background: linear-gradient(120deg, rgba(16,185,129,0.12) 0%, rgba(16,185,129,0.24) 100%);
  border-radius: 3px;
  padding: 0 3px 1px;
  font-weight: 700;
  color: #065f46;
}

/* ── Gradient heading text ─────────────────────── */
.h-grad {
  background: linear-gradient(135deg, var(--blue-950) 0%, var(--accent) 55%, var(--blue-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Scroll-reveal (transition-based) ─────────── */
.sr {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity   0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.sr.in-view { opacity: 1; transform: none; }
.sr.d1 { transition-delay: 0.08s; }
.sr.d2 { transition-delay: 0.16s; }
.sr.d3 { transition-delay: 0.24s; }
.sr.d4 { transition-delay: 0.32s; }
.sr.d5 { transition-delay: 0.40s; }
.sr.d6 { transition-delay: 0.48s; }

/* ── Star ratings ──────────────────────────────── */
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.6rem;
}
.stars span {
  color: #f59e0b;
  font-size: 1rem;
  line-height: 1;
}

/* ── Stat counter nums ─────────────────────────── */
.counter-num {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
}

/* ── Section divider accent line ───────────────── */
.section-accent-line {
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--blue-400) 100%);
  margin: 0 auto 1.5rem;
}
.section-accent-line.left { margin: 0 0 1.5rem; }

/* ── Form card polish ──────────────────────────── */
.hero-form-card {
  border-top: 4px solid var(--accent);
}
.form-trust-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.6rem 0 0.2rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.form-trust-bar span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ── Live badge on form ────────────────────────── */
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(0.85); }
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: livePulse 1.4s ease-in-out infinite;
  margin-right: 4px;
  vertical-align: middle;
}

/* ── CTA section enhancement ───────────────────── */
.cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #1d4ed8 100%) !important;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(96,165,250,0.10);
  pointer-events: none;
}
.cta::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(245,158,11,0.07);
  pointer-events: none;
}
.cta h2, .cta p { position: relative; z-index: 1; }
.cta > div { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .whatsapp-chatbot {
    animation: none !important;
  }
}

/* Floating WhatsApp chatbot (all pages) */
.whatsapp-chatbot {
  position: fixed !important;
  right: 1.5rem !important;
  bottom: 1.5rem !important;
  left: auto !important;
  z-index: 2147483000 !important;
  pointer-events: auto !important;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: chatbotPulse 2.5s ease-in-out infinite;
}

.whatsapp-chatbot:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-chatbot:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.5);
  outline-offset: 3px;
}

.whatsapp-chatbot svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: currentColor;
}

.whatsapp-chatbot-tooltip {
  position: absolute;
  right: calc(100% + 0.75rem);
  bottom: 50%;
  transform: translateY(50%);
  background: #fff;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.whatsapp-chatbot:hover .whatsapp-chatbot-tooltip,
.whatsapp-chatbot:focus-visible .whatsapp-chatbot-tooltip {
  opacity: 1;
}

@keyframes chatbotPulse {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  }

  50% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.65);
  }
}

/* Home page: sticky form sits on the right — move chatbot to bottom-left */
body.page-index .whatsapp-chatbot,
body:has(.hero-form-card) .whatsapp-chatbot {
  right: auto !important;
  left: 1.5rem !important;
}

body.page-index .whatsapp-chatbot-tooltip,
body:has(.hero-form-card) .whatsapp-chatbot-tooltip {
  right: auto;
  left: calc(100% + 0.75rem);
}

@media (max-width: 480px) {
  .whatsapp-chatbot {
    right: 1rem !important;
    bottom: 1rem !important;
    width: 3.5rem;
    height: 3.5rem;
  }

  body.page-index .whatsapp-chatbot,
  body:has(.hero-form-card) .whatsapp-chatbot {
    left: 1rem !important;
    right: auto !important;
  }

  .whatsapp-chatbot svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .whatsapp-chatbot-tooltip {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE PATCH
   Covers: hero new elements, stats cards, step cards,
   feature cards, form card, testimonials, CTA, about page,
   page-hero inner pages, background-attachment iOS fix,
   font-size clamp overrides for every breakpoint.
   ══════════════════════════════════════════════════════════ */

/* ── 1. Disable background-attachment:fixed on all mobile/tablet ──
   iOS ignores it and it hurts performance on Android too.          */
@media (max-width: 1024px) {
  .hero,
  .page-hero,
  section,
  [style*="background-attachment"] {
    background-attachment: scroll !important;
  }
}

/* ── 2. Sticky form card: disable sticky on mobile ──────────────── */
@media (max-width: 768px) {
  .hero-form-card {
    position: static !important;
    top: auto !important;
  }
}

/* ══════════════════════════════════════════════════════════
   SMALL PHONES  ≤ 480 px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* ── Hero title (new two-line structure) ── */
  .hero-title {
    font-size: 2rem   !important;
    line-height: 1.1  !important;
    letter-spacing: -0.4px !important;
    margin-bottom: 1rem !important;
  }
  .ht-line2 {
    padding-bottom: 6px !important;
  }
  .ht-cursor { display: none !important; }

  /* ── Hero subtitle ── */
  .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.65  !important;
    margin-bottom: 1.2rem !important;
  }

  /* ── Hero section padding ── */
  .hero {
    padding: 2rem 0 2.5rem !important;
    overflow: hidden;
  }

  /* ── Hero badges ── */
  .hero-badges {
    gap: 0.4rem !important;
    margin-bottom: 1rem !important;
  }
  .badge {
    font-size: 0.72rem !important;
    padding: 0.3rem 0.65rem !important;
  }

  /* ── Stats cards — 2 × 2 grid ── */
  .stat-block {
    flex: 0 0 calc(50% - 0.75rem) !important;
    min-width: 130px !important;
    padding: 1.1rem 0.75rem !important;
    border-radius: 12px !important;
  }
  .stat-block .stat-num {
    font-size: 1.65rem !important;
    margin-bottom: 0.3rem !important;
  }
  .stat-block .stat-label {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
  }
  .stat-icon {
    font-size: 1.3rem !important;
    margin-bottom: 0.3rem !important;
  }

  /* ── Step cards ── */
  .step-number-bg {
    font-size: 3.5rem !important;
    opacity: 0.05     !important;
    top: -5px !important;
    right: 8px !important;
  }

  /* ── Feature icon wrap ── */
  .feature-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.2rem !important;
    margin-bottom: 0.75rem !important;
  }

  /* ── Form card ── */
  .hero-form-card {
    padding: 1.4rem !important;
  }
  .form-live-bar {
    font-size: 0.74rem !important;
  }
  .form-trust-bar {
    gap: 0.5rem !important;
    padding-top: 0.5rem !important;
    justify-content: flex-start !important;
  }
  .form-trust-bar span {
    font-size: 0.72rem !important;
  }

  /* ── Testimonials ── */
  .t-stars {
    font-size: 0.85rem !important;
    margin-bottom: 0.5rem !important;
  }
  .testimonial-card {
    padding: 1.4rem !important;
  }

  /* ── Section titles ── */
  .section-title {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
  .section-title h2 {
    font-size: 1.65rem !important;
  }
  .section-title p {
    font-size: 0.88rem !important;
    max-width: 100% !important;
  }

  /* ── Section accent line ── */
  .section-accent-line {
    width: 40px !important;
    height: 3px !important;
  }

  /* ── CTA section ── */
  .cta {
    padding: 2rem 1.2rem !important;
    text-align: center !important;
    grid-template-columns: 1fr !important;
  }
  .cta h2 { font-size: 1.5rem !important; }
  .cta p  { font-size: 0.9rem !important; }
  .cta > div:last-child {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100%;
  }
  .cta .btn {
    width: 100% !important;
    text-align: center !important;
  }

  /* ── FAQ ── */
  .faq details  { padding: 0.9rem 1rem !important; }
  .faq summary  { font-size: 0.92rem !important; }
  .faq p        { font-size: 0.88rem !important; }

  /* ── Inner page hero (about, experts, reviews …) ── */
  .page-hero {
    padding: 2.5rem 0 !important;
    min-height: auto !important;
  }
  .page-hero h1 {
    font-size: 1.65rem !important;
    line-height: 1.2  !important;
    margin-bottom: 0.8rem !important;
  }
  .page-hero p {
    font-size: 0.92rem !important;
    line-height: 1.6  !important;
  }

  /* ── About page: phone frame ── */
  .page-hero-phone {
    width: 280px !important;
    height: 370px !important;
    border-radius: 36px !important;
    padding: 12px !important;
  }
  .page-hero-phone-inner {
    border-radius: 28px !important;
  }
  .page-hero-notch {
    width: 110px !important;
    height: 26px !important;
  }
  .page-hero-whatsapp {
    font-size: 0.82rem !important;
    padding: 0.7rem 1.8rem !important;
  }

  /* ── About float CTA ── */
  .float-cta-wrap {
    padding: 1.5rem 0.75rem 2.5rem !important;
  }
  .float-cta-card {
    padding: 1.4rem 1.2rem !important;
    gap: 0.9rem !important;
  }
  .float-cta-headline {
    font-size: 1.05rem !important;
  }
  .float-cta-sub {
    font-size: 0.8rem !important;
  }
  .float-cta-badge {
    right: 1rem !important;
    font-size: 0.7rem !important;
    padding: 0.25rem 0.7rem !important;
  }
  .float-cta-trust span {
    font-size: 0.75rem !important;
  }

  /* ── About: values grid — single column ── */
  .values-grid {
    grid-template-columns: 1fr !important;
    gap: 0.8rem !important;
  }

  /* ── About: quality cards ── */
  .quality-cards-grid {
    grid-template-columns: 1fr !important;
  }
  .quality-card {
    padding: 1.5rem !important;
  }
  .quality-card h3 {
    font-size: 1.25rem !important;
  }

  /* ── About: numbers section ── */
  .numbers-section {
    flex-direction: column !important;
    gap: 1.5rem !important;
    align-items: flex-start !important;
  }

  /* ── Expert cards carousel ── */
  .experts-carousel {
    grid-auto-columns: 240px !important;
  }

  /* ── Section padding ── */
  .section {
    padding: 2rem 0 !important;
  }

  /* ── Carousel controls ── */
  .carousel-btn {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.2rem !important;
  }
}

/* ══════════════════════════════════════════════════════════
   TABLETS  481 px – 768 px
   ══════════════════════════════════════════════════════════ */
@media (min-width: 481px) and (max-width: 768px) {

  /* ── Hero title ── */
  .hero-title {
    font-size: 2.4rem !important;
    line-height: 1.1 !important;
  }
  .hero-subtitle {
    font-size: 1.05rem !important;
    line-height: 1.75  !important;
  }

  /* ── Stats — 2-col ── */
  .stat-block {
    flex: 0 0 calc(50% - 0.75rem) !important;
    min-width: 160px !important;
  }
  .stat-block .stat-num {
    font-size: 2rem !important;
  }

  /* ── Step backdrop ── */
  .step-number-bg { font-size: 4rem !important; }

  /* ── Section title ── */
  .section-title {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
  .section-title p { max-width: 100% !important; }

  /* ── CTA ── */
  .cta {
    padding: 2rem !important;
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  .cta > div:last-child {
    display: flex !important;
    justify-content: center !important;
    gap: 0.75rem !important;
  }

  /* ── About float CTA ── */
  .float-cta-card {
    flex-wrap: wrap !important;
  }
  .float-cta-actions {
    flex-direction: row !important;
    width: 100%;
  }

  /* ── About phone frame ── */
  .page-hero-phone {
    width: 300px !important;
    height: 410px !important;
  }

  /* ── Values grid ── */
  .values-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Section padding ── */
  .section { padding: 2.5rem 0 !important; }
}

/* ══════════════════════════════════════════════════════════
   MEDIUM SCREENS  769 px – 1024 px  (laptop / small desktop)
   ══════════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {

  /* ── Hero title ── */
  .hero-title {
    font-size: 3rem !important;
    line-height: 1.08 !important;
  }

  /* ── Stats — 2 × 2 or auto ── */
  .stat-block { flex: 0 0 calc(50% - 0.75rem) !important; }
  .stat-block .stat-num { font-size: 2.1rem !important; }

  /* ── Section title direction ── */
  .section-title {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.4rem !important;
  }

  /* ── About page hero grid ── */
  .about-page-hero .page-hero-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Feature icon wrap ── */
  .feature-icon-wrap { width: 48px !important; height: 48px !important; }
}

/* ══════════════════════════════════════════════════════════
   LARGE DESKTOP  ≥ 1025 px — polish & max-width guard
   ══════════════════════════════════════════════════════════ */
@media (min-width: 1025px) {

  /* ── Stats — all 4 in one row ── */
  .stat-block { flex: 1 1 0 !important; min-width: 160px !important; }

  /* ── Section title normal direction ── */
  .section-title {
    flex-direction: row !important;
    align-items: flex-end !important;
  }

  /* ── Step cards — 4 columns ── */
  .steps { grid-template-columns: repeat(4, 1fr) !important; }

  /* ── Feature cards — 4 columns ── */
  .features { grid-template-columns: repeat(4, 1fr) !important; }
}

/* ══════════════════════════════════════════════════════════
   CLAMP-BASED FLUID TYPOGRAPHY (all sizes, no breakpoint)
   ══════════════════════════════════════════════════════════ */
.ht-line1 {
  /* 1.75rem at 320px → 4rem at 1200px */
  font-size: clamp(1.75rem, 5.5vw + 0.4rem, 4rem) !important;
}
.ht-line2 {
  /* let em value control it relative to parent which uses clamp */
  font-size: 0.58em !important;
}

/* Section heading clamp */
.section-title h2,
.section .section-title h2 {
  font-size: clamp(1.45rem, 2.2vw + 0.6rem, 2.4rem) !important;
}

/* Page hero h1 clamp */
.page-hero h1 {
  font-size: clamp(1.6rem, 3vw + 0.5rem, 2.8rem) !important;
}

/* About hero primary title clamp */
.about-hero-copy .hero-title-primary {
  font-size: clamp(1.8rem, 3.5vw + 0.4rem, 3.5rem) !important;
}
.about-hero-copy .hero-title-accent {
  font-size: clamp(1.3rem, 2.5vw + 0.2rem, 2.4rem) !important;
}

/* Stats big number clamp */
.stat-block .stat-num {
  font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.4rem) !important;
}
