/* ========== RESET & GLOBAL ========== */

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", "Segoe UI", sans-serif;
  color: #fff;
  background:
    radial-gradient(1200px 620px at 20% -10%, rgba(255, 70, 70, 0.28), transparent 60%),
    radial-gradient(900px 520px at 88% 10%, rgba(40, 140, 255, 0.2), transparent 60%),
    radial-gradient(circle at 20% 90%, rgba(255, 90, 90, 0.22), transparent 60%),
    linear-gradient(135deg, #890106 0%, #2b0001 55%, #130003 100%);
}

/* ========== NAVIGATION ========== */

.nav {
  display: flex;
  justify-content: center;
  padding: 26px 16px 10px;
}

.nav-links {
  display: flex;
  gap: 40px;
  font-size: 15px;
  font-weight: 600;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.nav-links a:hover {
  color: #ffffff;
}

/* ========== HERO LAYOUT ========== */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 60px 32px 96px;
  position: relative;
}

.hero-left {
  max-width: 560px;
}

.hero-title {
  font-size: 52px;
  line-height: 1.18;
  margin: 0 0 18px;
  font-weight: 800;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 36px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out,
    background-color 0.15s ease-out,
    border-color 0.15s ease-out;
}

/* primary blue pill */
.btn-primary {
  background-image: linear-gradient(135deg, #1e63ff 0%, #3ea3ff 40%, #ffffff 120%);
  color: #051320;
  box-shadow:
    0 22px 48px -18px rgba(0, 120, 255, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.14);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 24px 52px -20px rgba(0, 120, 255, 1),
    0 0 0 1px rgba(255, 255, 255, 0.22);
}

/* secondary glass pill */
.btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow:
    0 16px 40px -20px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(5, 10, 20, 0.55);
  transform: translateY(-1px);
}

/* ========== HERO RIGHT – SHIELD & HUD RINGS ========== */

.hero-right {
  flex: 0 0 auto;
  margin-left: 40px;
  margin-right: -120px;
}

/* main container behind shield */
.hero-orbit {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 50%, #02030a 0%, #0d0010 52%, #250009 95%);
  box-shadow:
    0 0 70px rgba(0, 155, 255, 0.85);
}

/* soft electric-blue halo */
.hero-orbit::before {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%,
      rgba(0, 190, 255, 0) 55%,
      rgba(0, 190, 255, 0.9) 82%,
      rgba(0, 190, 255, 0) 100%);
  box-shadow:
    0 0 50px rgba(0, 190, 255, 0.9),
    0 0 120px rgba(0, 140, 255, 0.85);
  pointer-events: none;
  opacity: 0.9;
  z-index: 1;
}

/* thin rotating cyan arc at outer edge */
.hero-orbit::after {
  content: "";
  position: absolute;
  inset: -36px;
  border-radius: 999px;
  border: 2px solid transparent;
  border-top-color: rgba(125, 240, 255, 0.95);
  border-right-color: rgba(125, 240, 255, 0.95);
  box-shadow:
    0 0 22px rgba(125, 240, 255, 0.95),
    0 0 55px rgba(0, 150, 255, 0.85);
  pointer-events: none;
  z-index: 3;
  animation: hudSweep 10s linear infinite;
}

/* shield logo image */
.shield-img {
  position: relative;
  z-index: 4;
  width: 78%;
  height: 78%;
  border-radius: 999px;
  object-fit: cover;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.2),
    0 0 45px rgba(0, 90, 255, 0.75);
}

/* shared orbit base */
.orbit-ring {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

/* inner thin circle – DISABLED */
.orbit-ring-inner {
  display: none;
}

/* outer metallic ring – DISABLED */
.orbit-ring-outer {
  display: none;
}

/* DIGITAL OUTER RING – revolving dotted HUD ring */
.orbit-ring-pulse {
  inset: -34px;
  border-radius: 999px;
  border: 3px dotted rgba(140, 235, 255, 0.96);
  box-shadow:
    0 0 28px rgba(140, 235, 255, 0.9),
    0 0 70px rgba(0, 150, 255, 0.85);
  mix-blend-mode: screen;
  z-index: 3;
  animation: orbitPulse 14s linear infinite;
}

/* HUD node on the digital ring */
.orbit-ring-pulse::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  right: 14%;
  bottom: 16%;
  background: rgba(180, 245, 255, 0.98);
  box-shadow:
    0 0 12px rgba(180, 245, 255, 0.95),
    0 0 26px rgba(0, 160, 255, 0.9);
}

/* ========== SERVICES SECTION ========== */

.services {
  max-width: 1200px;
  margin: 0 auto 90px;
  padding: 0 32px 40px;
}

.services-eyebrow {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.services-title {
  margin: 10px 0 34px;
  font-size: 28px;
  font-weight: 700;
}

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

.service-card {
  background-image: linear-gradient(
    145deg,
    rgba(255, 80, 80, 0.96),
    rgba(120, 0, 10, 0.98)
  );
  border-radius: 20px;
  padding: 22px 20px 24px;
  box-shadow:
    0 24px 48px -20px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.16);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  border-radius: 12px;
  margin-bottom: 12px;
  background: radial-gradient(
    circle at 30% 0%,
    rgba(255, 255, 255, 0.78),
    rgba(10, 10, 30, 0.9)
  );
  box-shadow:
    0 0 18px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.25);
  font-size: 18px;
}

.service-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.service-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

/* ========== BEFORE & AFTER SECTION ========== */

.before-after-section {
  max-width: 1200px;
  margin: 0 auto 90px;
  padding: 0 32px 40px;
}

.before-after-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.before-after-item {
  flex: 1 1 280px;
  max-width: 360px;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  box-shadow:
    0 24px 48px -20px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.16);
  aspect-ratio: 4 / 3;
}

.before-after-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== ESTIMATOR SECTION ========== */

.estimator-section {
  max-width: 1200px;
  margin: 0 auto 90px;
  padding: 0 32px 40px;
}

.estimator-intro {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}

/* 2-column layout: left estimator card + right booking card */
.estimator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
}

.estimator-card {
  background: radial-gradient(
      circle at 0% 0%,
      rgba(255, 255, 255, 0.08),
      transparent 55%
    ),
    rgba(0, 0, 0, 0.78);
  border-radius: 20px;
  padding: 22px 22px 24px;
  box-shadow:
    0 24px 48px -20px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* estimator layout tweaks */
.estimator-card--estimate {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.estimator-result-inline {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

/* form fields */
.estimator-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.estimator-field label,
.estimator-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.estimator-field input,
.estimator-field select,
.estimator-field textarea {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 10px;
  font-size: 14px;
  background: rgba(5, 5, 15, 0.9);
  color: #ffffff;
  outline: none;
  max-width: 340px;
  font-family: inherit;
}

.estimator-field textarea {
  resize: vertical;
}

.estimator-field input::placeholder,
.estimator-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.estimator-field input:focus,
.estimator-field select:focus,
.estimator-field textarea:focus {
  border-color: rgba(62, 163, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(62, 163, 255, 0.9);
}

/* radios */
.estimator-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
  font-size: 13px;
}

.estimator-radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.86);
}

.estimator-radio-row input[type="radio"] {
  accent-color: #3ea3ff;
}

/* result side */
.estimator-result-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
}

.estimate-output {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.estimator-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

/* booking card specifics */
.booking-card .booking-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.booking-card .booking-sub {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.estimator-field-inline {
  display: flex;
  gap: 12px;
}

.estimator-field-inline > div {
  flex: 1;
}

.booking-btn {
  margin-top: 6px;
}

.booking-footnote {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

/* ========== ANIMATIONS ========== */

@keyframes orbitPulse {
  0% {
    transform: rotate(0deg);
    opacity: 0.9;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0.9;
  }
}

@keyframes hudSweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 20px 72px;
  }

  .hero-right {
    margin: 24px auto 0;
    margin-right: 0;
  }

  .hero-orbit {
    width: 320px;
    height: 320px;
  }

  .hero-title {
    font-size: 40px;
  }

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

  .estimator-card {
    padding: 20px 18px 22px;
  }
}

@media (max-width: 640px) {
  .before-after-section,
  .estimator-section {
    padding: 0 18px 32px;
  }

  .before-after-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .estimator-field input,
  .estimator-field select,
  .estimator-field textarea {
    max-width: 100%;
  }
  /* ========== ABOUT SECTION ========== */

.about-section {
  max-width: 1200px;
  margin: 0 auto 90px;
  padding: 0 32px 40px;
}

.about-inner {
  display: flex;
  gap: 32px;
  align-items: center;
}

.about-photo-wrap {
  flex: 0 0 260px;
  max-width: 260px;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(
      circle at 0% 0%,
      rgba(255, 255, 255, 0.08),
      transparent 55%
    ),
    rgba(0, 0, 0, 0.9);
  box-shadow:
    0 24px 48px -20px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.16);
}

.about-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  flex: 1;
}

.about-text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}
.hidden-field {
  display: none;
    .about-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-photo-wrap {
    max-width: 220px;
  }

}

}
