:root {
  --bg: #f2f9ff;
  --bg-card: #ffffff;
  --text: #0e121b;
  --muted: #4a5f76;
  --primary: #1e90e6;
  --primary-dark: #0b6db7;
  --line: #d7e9f8;
  --accent: #0f1825;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(30, 144, 230, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 15% 15%, #d8ecff 0, transparent 40%),
    radial-gradient(circle at 80% 80%, #d1f3ff 0, transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: clip;
}

h1,
h2,
h3 {
  font-family: "Unbounded", "Segoe UI", sans-serif;
  margin: 0 0 0.8rem;
  line-height: 1.25;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

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

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: #1e90e6;
  top: -110px;
  right: -80px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: #00bbff;
  left: -120px;
  bottom: 8%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(242, 249, 255, 0.78);
  border-bottom: 1px solid rgba(17, 44, 74, 0.09);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.logo img {
  width: min(390px, 58vw);
  display: block;
  max-width: 100%;
}

.main-nav {
  display: flex;
  gap: 1.2rem;
  font-weight: 700;
  min-width: 0;
}

.main-nav a {
  text-decoration: none;
  color: #1d3248;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  padding: 0.84rem 1.2rem;
  transition: 0.25s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 14px 26px rgba(30, 144, 230, 0.26);
}

.btn-outline {
  border-color: rgba(16, 35, 57, 0.18);
  color: #112338;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  border-color: rgba(30, 144, 230, 0.3);
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.8);
}

.hero {
  padding: 5.2rem 0 3.4rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.4rem;
  min-width: 0;
}

.hero-content {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #d8ebfa;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  min-width: 0;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.85rem);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.07rem;
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.hero-actions {
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-badges li {
  background: #ebf6ff;
  border: 1px solid #d4e8fb;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-panel {
  border-radius: var(--radius);
  background: linear-gradient(160deg, #081f34, #103455);
  color: #e7f4ff;
  padding: 2rem;
  border: 1px solid #0f4376;
  min-width: 0;
}

.hero-panel h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
}

.hero-panel p {
  color: #b6d8f2;
  margin-bottom: 1.2rem;
}

.hero-panel a {
  display: inline-block;
  color: #9fd7ff;
  font-weight: 800;
}

.section {
  padding: 4.2rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(235, 247, 255, 0.88));
  border-top: 1px solid #d9ebfa;
  border-bottom: 1px solid #d9ebfa;
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 8px 30px rgba(9, 24, 40, 0.05);
  min-width: 0;
}

.card h3 {
  font-size: 1.04rem;
  margin-bottom: 0.45rem;
}

.card p,
.card cite {
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.4rem;
  min-width: 0;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding: 0.85rem 0.85rem 0.85rem 2.35rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 50%;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #7fd3ff, #0a78c7);
  transform: translateY(-50%);
}

.steps {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.8rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem;
}

.steps span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Unbounded", "Segoe UI", sans-serif;
  font-size: 0.96rem;
  color: #fff;
  background: linear-gradient(130deg, #0f80d4, #27adff);
}

.steps h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

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

.video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(9, 24, 40, 0.05);
  min-width: 0;
}

.promo-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 620px;
  border-radius: 0;
  object-fit: cover;
  background: transparent;
  display: block;
  max-width: 100%;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.lead-form button[type="submit"] {
  grid-column: 1 / -1;
}

.lead-form label {
  display: grid;
  gap: 0.36rem;
  font-weight: 700;
  color: #233f5f;
  font-size: 0.95rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  border: 1px solid #bfdcf4;
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  font: inherit;
  background: #fff;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid #8fd0ff;
  border-color: #7dc3f7;
}

.lead-form .field-invalid {
  border-color: #d55a5a;
  box-shadow: 0 0 0 2px rgba(213, 90, 90, 0.15);
}

.field-error {
  color: #b32c2c;
  font-size: 0.82rem;
  margin-top: -0.08rem;
}

.field-helper {
  color: #4a5f76;
  font-size: 0.82rem;
  margin-top: -0.08rem;
}

.file-preview-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.file-preview-item {
  background: #f7fcff;
  border: 1px solid #d3e7f8;
  border-radius: 12px;
  padding: 0.45rem;
  display: grid;
  gap: 0.35rem;
}

.file-preview-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.file-preview-icon {
  height: 90px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #13568a;
  background: linear-gradient(135deg, #e3f2ff, #d4ebff);
  border: 1px dashed #8ec0e8;
}

.file-preview-name {
  font-size: 0.78rem;
  color: #405b76;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-preview-remove {
  border: 1px solid #efb3b3;
  background: #fff;
  color: #9f2222;
  border-radius: 9px;
  min-height: 34px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.file-preview-remove:hover {
  background: #fff4f4;
}

.full-width,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.site-footer {
  background: #16324a;
  color: #d8ecff;
  padding: 2.3rem 0;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  min-width: 0;
}

.footer-logo {
  width: min(350px, 95%);
  display: block;
  margin-bottom: 0.6rem;
  max-width: 100%;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.site-footer p {
  color: #c3dcf2;
  margin-bottom: 0.25rem;
}

.site-footer a {
  text-decoration: none;
  color: #dff1ff;
}

.floating-cta {
  position: fixed;
  right: 1rem;
  left: 1rem;
  bottom: calc(0.8rem + env(safe-area-inset-bottom));
  z-index: 30;
  border: 0;
  border-radius: 14px;
  padding: 0.88rem 1rem;
  font: inherit;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1e90e6, #0b6db7);
  box-shadow: 0 14px 28px rgba(14, 92, 151, 0.35);
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 980px) {
  .header-inner {
    min-height: 74px;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.5rem 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.1rem 0 0.25rem;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    border: 1px solid #c4dff5;
    background: #fff;
    font-size: 0.86rem;
    line-height: 1;
  }

  .hero,
  .about-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.6rem;
    gap: 1rem;
  }

  .hero-content,
  .hero-panel {
    padding: 1.4rem;
  }

  .services-grid,
  .reviews-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .logo img,
  .footer-logo {
    width: min(320px, 100%);
  }

  .section {
    padding: 3.2rem 0;
  }

  .site-footer {
    margin-top: 2rem;
  }
}

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

.price-card {
  border: 1px solid #c8e3f9;
  background: linear-gradient(165deg, #ffffff, #f5fbff);
}

.price-image,
.price-image-placeholder {
  width: 100%;
  height: 180px;
  border-radius: 14px;
  margin-bottom: 0.8rem;
}

.price-image {
  object-fit: cover;
  display: block;
  border: 1px solid #d8eaf9;
}

.price-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #56789a;
  background: linear-gradient(135deg, #e8f4ff, #d7edff);
  border: 1px dashed #97c6eb;
  font-weight: 700;
}

.price-value {
  margin: 0.35rem 0;
  color: #0a6db5;
  font-size: 1.3rem;
  font-weight: 800;
}

@media (max-width: 980px) {
  .prices-grid {
    grid-template-columns: 1fr;
  }
}

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

  .container {
    width: min(1140px, calc(100% - 1.25rem));
  }

  .header-inner {
    gap: 0.6rem;
    min-height: 70px;
  }

  .logo img {
    width: min(250px, 52vw);
  }

  .main-nav a {
    font-size: 0.82rem;
    padding: 0.42rem 0.66rem;
  }

  .btn {
    padding: 0.72rem 0.95rem;
    font-size: 0.9rem;
  }

  .hero-content h1 {
    font-size: clamp(1.45rem, 7.4vw, 1.95rem);
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-badges li {
    font-size: 0.82rem;
    padding: 0.38rem 0.62rem;
  }

  .section {
    padding: 2.6rem 0;
  }

  .section-head {
    margin-bottom: 1.2rem;
  }

  .section-head h2 {
    font-size: clamp(1.32rem, 6.2vw, 1.7rem);
  }

  .card {
    padding: 1rem;
    border-radius: 16px;
  }

  .price-image,
  .price-image-placeholder {
    height: 160px;
  }

  .steps li {
    grid-template-columns: 48px 1fr;
    padding: 0.8rem;
    border-radius: 14px;
  }

  .steps span {
    width: 38px;
    height: 38px;
    font-size: 0.86rem;
  }

  .lead-form {
    padding: 0.95rem;
  }

  .lead-form input,
  .lead-form select,
  .lead-form textarea {
    padding: 0.68rem 0.72rem;
    font-size: 16px;
  }

  .floating-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .site-footer {
    padding: 2rem 0 5.8rem;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 64px;
  }

  .logo img {
    width: min(200px, 50vw);
  }

  .main-nav {
    gap: 0.42rem;
  }

  .main-nav a {
    font-size: 0.78rem;
    padding: 0.38rem 0.58rem;
  }

  #phone-link-header {
    padding: 0.58rem 0.72rem;
    font-size: 0.84rem;
  }

  .hero {
    padding-top: 2.2rem;
  }

  .hero-content,
  .hero-panel {
    border-radius: 16px;
    padding: 1.05rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .price-value {
    font-size: 1.18rem;
  }

  .promo-video {
    border-radius: 0;
  }

  .footer-logo {
    width: min(280px, 96%);
  }

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

@media (max-width: 400px) {
  .header-inner {
    gap: 0.45rem;
  }

  .logo img {
    width: min(165px, 46vw);
  }

  #phone-link-header {
    padding: 0.5rem 0.62rem;
    font-size: 0.78rem;
  }
}
