/* Shared design tokens and premium layout primitives. */
:root {
  --bg: #f4f6fb;
  --bg-soft: #eef2f9;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --surface-muted: #f6f8fc;
  --text: #101828;
  --text-soft: #526077;
  --text-faint: #7c8798;
  --line: rgba(16, 24, 40, 0.08);
  --line-strong: rgba(16, 24, 40, 0.14);
  --brand: #1663ff;
  --brand-deep: #0f42c8;
  --brand-soft: rgba(22, 99, 255, 0.18);
  --accent: #0ea56a;
  --accent-soft: rgba(14, 165, 106, 0.1);
  --danger: #df5a42;
  --shadow-sm: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.12);
  --radius-sm: 16px;
  --radius-md: 28px;
  --radius-lg: 40px;
  --max-width: 1180px;
  --transition: 220ms ease;
}

html[data-theme="dark"] {
  --bg: #07111d;
  --bg-soft: #0a1626;
  --surface: rgba(10, 18, 30, 0.84);
  --surface-strong: #0c1728;
  --surface-muted: #101b2e;
  --text: #f7f9fc;
  --text-soft: #c7d1de;
  --text-faint: #95a5ba;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --brand: #7bb4ff;
  --brand-deep: #4992ff;
  --brand-soft: rgba(123, 180, 255, 0.22);
  --accent: #39d79b;
  --accent-soft: rgba(57, 215, 155, 0.14);
  --danger: #ffb19f;
  --shadow-sm: 0 16px 34px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 34px 96px rgba(0, 0, 0, 0.34);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Plus Jakarta Sans", "Inter", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(22, 99, 255, 0.12), transparent 30%),
    radial-gradient(circle at right 16%, rgba(14, 165, 106, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)),
    var(--bg);
  transition: background var(--transition), color var(--transition);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: clip;
}

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

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(18px);
}

html[data-theme="dark"] .topbar {
  background: rgba(7, 17, 29, 0.52);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.topbar strong {
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 246, 251, 0.72);
  backdrop-filter: blur(22px);
}

html[data-theme="dark"] .site-header {
  background: rgba(7, 17, 29, 0.76);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 18px 34px rgba(22, 99, 255, 0.24);
}

.brand-logo {
  width: 1.65rem;
  height: 1.65rem;
}

.brand-copy {
  display: grid;
  gap: 0.08rem;
}

.brand-copy small {
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--text-faint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  color: var(--text-soft);
}

.nav-links a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle,
.menu-toggle {
  min-height: 2.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 0.65rem 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.35rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 20px 38px rgba(22, 99, 255, 0.26);
}

.btn-secondary {
  color: var(--text);
  background: var(--surface-strong);
  border-color: var(--line-strong);
}

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

.btn-link {
  color: var(--brand);
  font-weight: 700;
}

.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 4.5rem 0;
}

.hero {
  padding: 5.2rem 0 3.8rem;
}

.page-hero {
  padding: 5rem 0 2.5rem;
}

.hero-grid,
.page-hero-grid,
.service-grid,
.contact-grid,
.cta-grid,
.overview-grid,
.blog-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-grid {
  gap: 2.15rem;
}

.hero-copy,
.content-block,
.section-head {
  display: grid;
  gap: 1.1rem;
}

.hero-copy {
  gap: 1.35rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid rgba(22, 99, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  font-weight: 800;
  font-size: 0.83rem;
}

.eyebrow::before {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(2.25rem, 4.8vw, 4.1rem);
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
}

h3 {
  font-size: clamp(1.12rem, 1.8vw, 1.36rem);
}

h4 {
  font-size: 1rem;
}

.lead,
.section-copy,
.card p,
.faq-answer,
.content-block p,
.content-block li,
.contact-card p,
.info-card p,
.step-card p {
  color: var(--text-soft);
  font-size: 1.03rem;
}

.hero-actions,
.inline-actions,
.pill-row,
.stat-row,
.tag-row,
.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 0.45rem;
}

.hero-copy .lead {
  max-width: 40rem;
}

.hero-card,
.pricing-card,
.card,
.glass-panel,
.faq-item,
.step-card,
.form-card,
.contact-card,
.info-card,
.highlight-card,
.testimonial-card,
.area-card,
.blog-card,
.callout-card,
.stat-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.hero-card,
.pricing-card,
.form-card,
.contact-card,
.info-card,
.highlight-card,
.testimonial-card,
.blog-card,
.callout-card {
  padding: 1.6rem;
}

.hero-card {
  padding: 1.2rem;
  box-shadow: var(--shadow-lg);
}

.dashboard-card {
  padding: 1.5rem;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(22, 99, 255, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0)),
    var(--surface-strong);
}

html[data-theme="dark"] .dashboard-card {
  background:
    radial-gradient(circle at top right, rgba(123, 180, 255, 0.24), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0)),
    var(--surface-strong);
}

.dashboard-header,
.mini-panel,
.dashboard-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-list,
.check-list,
.bullet-list,
.docs-list,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.dashboard-list li,
.mini-panel,
.checklist-card {
  padding: 1rem 1.05rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.grid-3,
.grid-4,
.service-card-grid,
.docs-grid,
.faq-grid,
.footer-grid,
.trust-grid,
.process-grid,
.testimonial-grid,
.blog-grid {
  display: grid;
  gap: 1.2rem;
}

.grid-3,
.service-card-grid,
.docs-grid,
.trust-grid,
.process-grid,
.testimonial-grid,
.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.faq-grid,
.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.step-card,
.area-card {
  padding: 1.45rem;
}

.card:hover,
.step-card:hover,
.testimonial-card:hover,
.blog-card:hover,
.info-card:hover,
.area-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card,
.step-card,
.testimonial-card,
.blog-card,
.info-card,
.area-card {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card-icon,
.step-number,
.service-bullet {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 800;
}

.badge,
.tag,
.mini-badge,
.area-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.badge {
  color: var(--danger);
  background: rgba(223, 90, 66, 0.18);
  border-color: rgba(223, 90, 66, 0.16);
}

.tag {
  color: var(--text);
  background: var(--surface-strong);
  border-color: var(--line);
}

.area-pill {
  color: var(--text-soft);
  background: var(--surface-strong);
  border-color: var(--line);
}

html[data-theme="dark"] .eyebrow {
  border-color: rgba(123, 180, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .badge {
  background: rgba(255, 177, 159, 0.16);
  border-color: rgba(255, 177, 159, 0.18);
}

.stat-chip {
  display: grid;
  gap: 0.25rem;
  min-width: 12rem;
  padding: 1rem 1.1rem;
}

.stat-chip strong {
  font-size: 1.15rem;
  color: var(--text);
}

.pricing-card {
  gap: 1rem;
}

.price-wrap,
.price-stack {
  display: grid;
  gap: 0.35rem;
}

.price-label {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.price-old {
  color: var(--text-faint);
  text-decoration: line-through;
  font-weight: 700;
}

.price-new {
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.check-list li,
.bullet-list li,
.docs-list li,
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.check-list li::before,
.bullet-list li::before,
.docs-list li::before,
.contact-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.88rem;
  height: 0.88rem;
  margin-top: 0.43rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.checklist-ui {
  display: grid;
  gap: 0.9rem;
}

.checklist-card {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
}

.checkmark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  flex: 0 0 auto;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.step-card::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  background: rgba(22, 99, 255, 0.08);
}

.process-note,
.trust-quote {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--brand-soft), rgba(255, 255, 255, 0));
  color: var(--text-soft);
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.35rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.35rem;
  transition: max-height 260ms ease, padding var(--transition);
}

.faq-item.active .faq-answer {
  max-height: 260px;
  padding: 0 1.35rem 1.3rem;
}

.faq-indicator {
  color: var(--brand);
  font-size: 1.3rem;
}

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

.field-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.94rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: var(--surface-strong);
  color: var(--text);
  outline: 0;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(22, 99, 255, 0.14);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.trust-strip,
.cta-panel,
.callout {
  border-radius: var(--radius-md);
}

.trust-strip,
.cta-panel {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(22, 99, 255, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0)),
    var(--surface);
}

.trust-strip {
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.cta-panel {
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.subtle {
  color: var(--text-faint);
}

.page-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--text-faint);
  font-size: 0.92rem;
}

.highlight-card {
  background:
    radial-gradient(circle at top right, rgba(22, 99, 255, 0.14), transparent 26%),
    var(--surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.05rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.comparison-table th {
  background: var(--surface-muted);
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.callout {
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--brand);
  background: var(--surface-strong);
  color: var(--text-soft);
}

.review-stars {
  color: #ffb800;
  letter-spacing: 0.12em;
  font-size: 0.98rem;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.review-avatar {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-muted);
  object-fit: cover;
}

.review-meta {
  display: grid;
  gap: 0.15rem;
}

.review-meta span {
  color: var(--text-faint);
  font-size: 0.92rem;
}

.map-link {
  color: var(--brand);
  font-weight: 700;
}

.testimonial-card blockquote {
  margin: 0.7rem 0 0;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
}

.testimonial-card cite {
  margin-top: 0.85rem;
  display: block;
  color: var(--text-faint);
  font-style: normal;
}

.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

html[data-theme="dark"] .footer {
  background: rgba(7, 17, 29, 0.42);
}

.footer-grid {
  align-items: start;
  margin-bottom: 2rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  color: var(--text-faint);
  font-size: 0.94rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #12c76a, #08a652);
  box-shadow: 0 24px 44px rgba(18, 199, 106, 0.28);
  font-weight: 800;
}

.floating-whatsapp small {
  opacity: 0.94;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .service-grid,
  .contact-grid,
  .cta-grid,
  .overview-grid,
  .blog-hero-grid,
  .grid-3,
  .grid-4,
  .service-card-grid,
  .docs-grid,
  .faq-grid,
  .footer-grid,
  .trust-grid,
  .process-grid,
  .testimonial-grid,
  .blog-grid,
  .field-grid-2 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: fixed;
    inset: 5.5rem 1rem auto;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: var(--surface-strong);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(var(--max-width), calc(100% - 1.25rem));
  }

  .topbar-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero,
  .section {
    padding: 3.8rem 0;
  }

  .page-hero {
    padding-top: 4rem;
  }

  .nav {
    align-items: flex-start;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-actions .btn,
  .inline-actions .btn,
  .form-card .btn,
  .contact-card .btn {
    width: 100%;
  }

  .theme-toggle,
  .menu-toggle {
    padding-inline: 0.85rem;
  }

  .floating-whatsapp span {
    display: none;
  }
}
