@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  color-scheme: light;
  --red: #e11d2e;
  --red-dark: #be123c;
  --blue: #1e3a8a;
  --blue-light: #2563eb;
  --navy: #0f172a;
  --text: #0f172a;
  --muted: #475569;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-heading: "Lexend", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

body.has-consult-bar {
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  margin: 0 0 12px;
  color: var(--navy);
}

p {
  margin: 0 0 12px;
  color: var(--muted);
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: #ffffff;
}

.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 28px;
}

.section-header p {
  font-size: 16px;
}

.note {
  font-size: 14px;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 12px;
}

.video-hero {
  position: relative;
  height: 80vh;
  min-height: 80vh;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0b1220;
  color: #fff;
}

.video-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-hero:fullscreen,
.video-hero:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  background: #000;
}

.video-controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.video-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.06);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.video-btn:hover {
  background: rgba(225, 29, 46, 0.16);
  color: var(--red);
}

.video-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.video-progress {
  flex: 1;
  height: 4px;
  appearance: none;
  background: rgba(15, 23, 42, 0.2);
  border-radius: 999px;
  outline: none;
}

.video-progress::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 2px 6px rgba(225, 29, 46, 0.4);
  border: none;
}

.video-progress::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  border: none;
}

.video-hero[data-state-play="playing"] .icon-play {
  display: none;
}

.video-hero[data-state-play="paused"] .icon-pause {
  display: none;
}

.video-hero[data-state-mute="muted"] .icon-volume {
  display: none;
}

.video-hero[data-state-mute="unmuted"] .icon-mute {
  display: none;
}

.video-controls.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}



.hero {
  position: relative;
  padding: 32px 0 36px;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(225, 29, 46, 0.1), rgba(37, 99, 235, 0.08));
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 0 0 0;
  background: radial-gradient(circle at 10% 20%, rgba(225, 29, 46, 0.18), transparent 60%),
    radial-gradient(circle at 90% 10%, rgba(30, 58, 138, 0.2), transparent 55%);
  z-index: 0;
}

.hero-content {
  position: relative;
  display: grid;
  gap: 24px;
  align-items: center;
  z-index: 1;
}

.hero h1 {
  font-size: 36px;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 18px;
  color: var(--navy);
  font-weight: 600;
}

.hero-desc {
  font-size: 15px;
}

.hero-highlights {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-card {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
}

.hero-media .image-frame {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow);
}

.image-frame img {
  border-radius: var(--radius-md);
}

.image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.card {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
}

.step-card h3,
.service-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  color: var(--navy);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(225, 29, 46, 0.15);
  border: 2px solid var(--red);
}

.image-card {
  padding: 12px;
}

.cta-section {
  background: linear-gradient(120deg, rgba(30, 58, 138, 0.12), rgba(225, 29, 46, 0.12));
}

.cta-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: #fff;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}

.faq-item p {
  margin-top: 8px;
  color: var(--muted);
}


.btn-primary,
.btn-outline,
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 18px rgba(225, 29, 46, 0.3);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: rgba(37, 99, 235, 0.4);
  color: var(--blue);
}

.btn-link {
  background: transparent;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 6px 14px;
  min-height: 40px;
}

.btn-link:hover {
  color: #fff;
  background: var(--red);
}

.floating-call {
  position: fixed;
  right: 16px;
  bottom: calc(110px + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(30, 58, 138, 0.28);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.consult-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: env(safe-area-inset-bottom, 0px);
  z-index: 44;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.consult-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(225, 29, 46, 0.2), rgba(37, 99, 235, 0.25));
  color: var(--navy);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.consult-text {
  display: grid;
  gap: 2px;
}

.consult-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}

.consult-sub {
  font-size: 12px;
  color: var(--muted);
}

.consult-btn {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
  white-space: nowrap;
}

.floating-call svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.floating-call:hover {
  background: var(--red);
  box-shadow: 0 12px 24px rgba(225, 29, 46, 0.3);
}

.floating-call:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.service-link.is-disabled {
  pointer-events: none;
  opacity: 0.6;
}

.site-footer {
  padding: 24px 0 32px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.icp-label {
  margin-right: 6px;
  color: var(--muted);
}

.icp-link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.icp-link:hover {
  color: var(--blue);
  border-color: var(--blue);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0ms);
}

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

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, rgba(30, 58, 138, 0.12), rgba(225, 29, 46, 0.12));
}

.success-wrap {
  padding: 20px;
  width: 100%;
}

.success-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}

.success-card h1 {
  margin-top: 12px;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto;
  background: rgba(37, 99, 235, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 12px;
}

.success-hint {
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 768px) {
  .hero-content {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero h1 {
    font-size: 44px;
  }

  .section {
    padding: 64px 0;
  }

  .cta-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .success-actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
