/* ============================================
   ET Drone Solutions — Design System & Styles
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Backgrounds */
  --bg-primary: #0B0C10;
  --bg-secondary: #13151A;
  --bg-tertiary: #1C1F26;

  /* Brand */
  --brand-blue: #0094FF;
  --brand-cyan: #00D1FF;
  --brand-navy: #2D3848;

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #A0AEC0;
  --text-muted: #6B7280;

  /* State */
  --success: #10B981;
  --error: #EF4444;

  /* Spacing */
  --section-pad: 6rem 0;
  --container-width: 1200px;
  --gap: 2rem;

  /* Transitions */
  --transition: 0.3s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Fluid base: 16px at 768px+, scales down to ~13.5px at 320px */
  font-size: clamp(13px, calc(11.6px + 0.572vw), 16px);
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand-cyan);
}

ul {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: var(--section-pad);
}

.section__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section__subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.required {
  color: var(--error);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  color: var(--text-primary);
  box-shadow: 0 0 20px rgba(0, 148, 255, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 0 30px rgba(0, 148, 255, 0.5);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn--outline:hover {
  border-color: var(--brand-blue);
  color: var(--brand-cyan);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), padding var(--transition);
}

.nav--scrolled {
  background: rgba(11, 12, 16, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.6rem 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  position: relative;
}


.nav__logo img {
  height: 7.5rem;
  width: auto;
  transition: height var(--transition), filter var(--transition);
  filter:
    drop-shadow(0 0 6px rgba(0, 209, 255, 0.5))
    drop-shadow(0 0 14px rgba(0, 209, 255, 0.25));
}

.nav--scrolled .nav__logo img {
  height: 4.6875rem;
}

.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__links a {
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--brand-cyan);
}

.nav__cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-primary);
}

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


.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 16, 0.35) 0%, transparent 30%, transparent 50%, var(--bg-primary) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 50rem;
}

.hero__content::before {
  content: '';
  display: block;
  width: 4rem;
  height: 3px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  border-radius: 2px;
}

.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-shadow: 0 0 40px rgba(0, 209, 255, 0.25), 0 2px 10px rgba(0, 0, 0, 0.8);
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--text-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.01em;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 37.5rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__highlight {
  color: var(--brand-cyan);
  text-shadow: 0 0 30px rgba(0, 209, 255, 0.3), 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero__punch {
  font-weight: 600;
  color: var(--brand-cyan);
  letter-spacing: 0.02em;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 209, 255, 0.25) 0%, transparent 70%), var(--bg-primary);
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: 3rem;
}

.step {
  position: relative;
  padding: 2rem;
}

.step__number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
  margin-bottom: 1rem;
}

.step__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: var(--brand-blue);
}

.step__icon svg {
  width: 100%;
  height: 100%;
}

.step__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.step__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 209, 255, 0.25) 0%, transparent 70%), radial-gradient(ellipse at 50% 100%, rgba(0, 209, 255, 0.25) 0%, transparent 70%), var(--bg-primary);
}

/* ---------- Carousel ---------- */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  padding: 0.5rem 0 1.5rem;
  gap: 0;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel__track.no-transition {
  transition: none !important;
}

.carousel__track > .service-card {
  flex: 0 0 100%;
}

/* Arrow buttons */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.625rem;
  height: 2.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 12, 16, 0.85);
  border: 1px solid rgba(0, 148, 255, 0.3);
  border-radius: 50%;
  color: var(--brand-cyan);
  cursor: pointer;
  z-index: 2;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.carousel__btn:hover {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 14px rgba(0, 209, 255, 0.3);
  color: #fff;
}

.carousel__btn:disabled {
  opacity: 0.25;
  cursor: default;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.1);
}

.carousel__btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.carousel__btn--prev {
  left: 0.5rem;
}

.carousel__btn--next {
  right: 0.5rem;
}

/* Dot indicators */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.carousel__dot.active {
  background: var(--brand-cyan);
  box-shadow: 0 0 8px rgba(0, 209, 255, 0.4);
}

/* Autoplay progress bar */
.carousel__progress {
  width: 30%;
  max-width: 8rem;
  height: 4px;
  margin: 0.75rem auto 0;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border-radius: 2px;
}

.carousel__progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(0, 209, 255, 0.4);
}

/* Progress bar animation controlled via inline styles in JS */

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 209, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 209, 255, 0.12) 0%, transparent 60%),
    var(--bg-secondary);
  border: 1px solid rgba(0, 148, 255, 0.12);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-card__visual {
  overflow: hidden;
  border-radius: 12px;
}

.service-card__image {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card__icon {
  width: 3rem;
  height: 3rem;
  color: var(--brand-blue);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.service-card__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem 0;
  list-style: none;
}

.service-card__features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.service-card__features li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--brand-blue);
  flex-shrink: 0;
}

.service-card .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
  background: var(--brand-cyan);
  color: #0B0C10;
  box-shadow: 0 0 20px rgba(0, 209, 255, 0.25);
}

.service-card .btn:hover {
  background: #FFFFFF;
  color: #0B0C10;
  box-shadow: 0 0 30px rgba(0, 209, 255, 0.4);
}

/* ---------- Accent color variants ---------- */
.service-card[data-accent="blue"]   { --accent: 0, 148, 255; }
.service-card[data-accent="cyan"]   { --accent: 0, 209, 255; }
.service-card[data-accent="teal"]   { --accent: 20, 184, 166; }
.service-card[data-accent="sky"]    { --accent: 56, 189, 248; }
.service-card[data-accent="purple"] { --accent: 168, 85, 247; }
.service-card[data-accent="amber"]  { --accent: 245, 158, 11; }
.service-card[data-accent="green"]  { --accent: 16, 185, 129; }

.service-card[data-accent] .service-card__icon { color: rgb(var(--accent)); }
.service-card[data-accent] .service-card__features li::before { background: rgb(var(--accent)); }

.service-card[data-accent]:hover {
  border-color: rgba(var(--accent), 0.35);
  box-shadow: 0 8px 30px rgba(var(--accent), 0.12);
}

/* Mobile tap feedback */
@media (hover: none) {
  .service-card:active {
    transform: scale(0.985);
    transition: transform 0.1s ease;
  }
}

/* ============================================
   TAGLINE
   ============================================ */
.tagline {
  text-align: center;
  background:
    linear-gradient(rgba(11, 12, 16, 0.75), rgba(11, 12, 16, 0.85)),
    url('../assets/images/drone-detail-studio.webp') center / cover no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8rem 0;
}

.tagline__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  text-transform: uppercase;
  color: var(--text-primary);
  text-shadow: 0 0 40px rgba(0, 209, 255, 0.25), 0 2px 10px rgba(0, 0, 0, 0.8);
  margin-bottom: 1rem;
}

.tagline__text {
  font-size: 1.15rem;
  color: var(--text-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.01em;
  line-height: 1.7;
  max-width: 40.625rem;
  margin: 0 auto;
}

/* ============================================
   ABOUT / FOUNDERS
   ============================================ */
.about {
  background: radial-gradient(ellipse at 50% 100%, rgba(0, 209, 255, 0.25) 0%, transparent 70%), var(--bg-primary);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about__points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about__points li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.about__point-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--brand-blue);
}

.about__img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about__img--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 60%, rgba(0, 148, 255, 0.08) 0%, transparent 60%), var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

/* ============================================
   TRUST SIGNALS
   ============================================ */
.trust {
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 209, 255, 0.25) 0%, transparent 70%), radial-gradient(ellipse at 50% 100%, rgba(0, 209, 255, 0.25) 0%, transparent 70%), var(--bg-primary);
  padding: 3rem 0;
}

.trust__grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.trust__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.trust__icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--brand-blue);
}

.trust__label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

/* ============================================
   SERVICE AREA
   ============================================ */
.service-area {
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 209, 255, 0.25) 0%, transparent 70%), radial-gradient(ellipse at 50% 100%, rgba(0, 209, 255, 0.15) 0%, transparent 70%), var(--bg-primary);
}

.service-area__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-area__text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-area__text strong {
  color: var(--text-primary);
}

.service-area__map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Dark-theme Leaflet overrides */
.service-area__map .leaflet-tile-pane {
  filter: brightness(0.7) contrast(1.1) saturate(0.3);
}

.service-area__map .leaflet-control-attribution {
  background: rgba(11, 12, 16, 0.7) !important;
  color: var(--text-muted) !important;
  font-size: 0.65rem;
}

.service-area__map .leaflet-control-attribution a {
  color: var(--brand-blue) !important;
}

/* ============================================
   CONTACT / QUOTE FORM
   ============================================ */
.contact {
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 209, 255, 0.25) 0%, transparent 70%), radial-gradient(ellipse at 50% 100%, rgba(0, 209, 255, 0.25) 0%, transparent 70%), var(--bg-primary);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__group--full {
  grid-column: 1 / -1;
}

.form__group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form__group input,
.form__group select,
.form__group textarea {
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--text-muted);
}

.form__group input:hover,
.form__group select:hover,
.form__group textarea:hover {
  border-color: rgba(0, 148, 255, 0.35);
  box-shadow: 0 0 12px rgba(0, 148, 255, 0.1);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 16px rgba(0, 148, 255, 0.2), 0 0 0 3px rgba(0, 148, 255, 0.15);
}

.form__group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form__group select option {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.form__group textarea {
  resize: vertical;
  min-height: 6.25rem;
}

.form__error {
  font-size: 0.8rem;
  color: var(--error);
  min-height: 1.2em;
}

.form__submit {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.form__success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  padding: 3rem 2rem;
  background: radial-gradient(ellipse at center, rgba(0, 148, 255, 0.08) 0%, transparent 70%);
  border-radius: 1rem;
  animation: successFadeIn 0.5s ease forwards;
}

.form__success.visible {
  display: flex;
}

@keyframes successFadeIn {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* Animated checkmark */
.success__check {
  width: 5rem;
  height: 5rem;
  position: relative;
}

.success__check::before {
  content: '';
  position: absolute;
  inset: -0.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.25) 0%, transparent 70%);
  animation: checkGlow 2s ease-in-out infinite;
}

@keyframes checkGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.success__check-svg {
  width: 100%;
  height: 100%;
  color: var(--brand-cyan);
}

.success__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: circleDraw 0.6s ease forwards;
}

@keyframes circleDraw {
  to { stroke-dashoffset: 0; }
}

.success__tick {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: tickDraw 0.35s ease forwards 0.5s;
}

@keyframes tickDraw {
  to { stroke-dashoffset: 0; }
}

/* Heading */
.success__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0;
  animation: successFadeIn 0.4s ease forwards 0.6s;
}

.success__heading span {
  color: var(--brand-cyan);
}

/* Recap card */
.success__recap {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: successFadeIn 0.4s ease forwards 0.8s;
}

.success__recap:empty {
  display: none;
}

.success__recap-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.4rem 0.75rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.success__recap-label {
  color: var(--text-muted);
}

/* Timeline */
.success__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  text-align: left;
  margin: 0.5rem 0;
  opacity: 0;
  animation: successFadeIn 0.4s ease forwards 1s;
}

.timeline__step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  position: relative;
  font-size: 0.95rem;
}

/* Vertical connecting line */
.timeline__step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  top: 2.4rem;
  width: 1px;
  height: calc(100% - 1.2rem);
  background: rgba(255, 255, 255, 0.1);
}

.timeline__icon {
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline__icon svg {
  width: 1rem;
  height: 1rem;
}

.timeline__step--done {
  color: var(--brand-cyan);
}

.timeline__step--done .timeline__icon {
  background: rgba(0, 209, 255, 0.12);
  border-color: rgba(0, 209, 255, 0.3);
}

.timeline__step--pending {
  color: var(--text-muted);
}

.timeline__step--pending .timeline__icon {
  background: rgba(255, 255, 255, 0.03);
}

/* CTA button at bottom */
.form__success .btn {
  opacity: 0;
  animation: successFadeIn 0.4s ease forwards 1.2s;
  margin-top: 0.5rem;
}

/* Validation states */
.form__group input.invalid,
.form__group select.invalid {
  border-color: var(--error);
}

.form__group input.valid,
.form__group select.valid {
  border-color: var(--success);
}

/* Contact info sidebar */
.contact__info {
  position: relative;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid rgba(0, 209, 255, 0.5);
  box-shadow: 0 0 30px rgba(0, 209, 255, 0.25), 0 0 60px rgba(0, 209, 255, 0.08);
  overflow: hidden;
}

/* Logo with holographic shimmer */
.contact__info-logo {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 5.5rem;
  height: auto;
  z-index: 1;
}

.contact__info-logo img {
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0 6px rgba(0, 209, 255, 0.5))
    drop-shadow(0 0 14px rgba(0, 209, 255, 0.25));
}

.contact__info h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact__detail svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--brand-blue);
}

.contact__detail a {
  color: var(--text-secondary);
}

.contact__detail a:hover {
  color: var(--brand-cyan);
}

/* Honeypot field — hidden from real users */
.form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

/* "Already submitted" message */
.form__already-submitted {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 3rem 2rem;
  background: radial-gradient(ellipse at center, rgba(0, 148, 255, 0.08) 0%, transparent 70%);
  border-radius: 1rem;
  animation: successFadeIn 0.5s ease forwards;
}

.already-submitted__icon {
  width: 4rem;
  height: 4rem;
  color: var(--brand-cyan);
}

.already-submitted__icon svg {
  width: 100%;
  height: 100%;
}

.form__already-submitted h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form__already-submitted p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.form__already-submitted a {
  color: var(--brand-cyan);
}

.form__already-submitted a:hover {
  color: var(--brand-blue);
}

/* Turnstile widget spacing */
.cf-turnstile {
  margin: 0.5rem 0;
}

/* Disabled submit button */
.form__submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(0.5);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 209, 255, 0.25) 0%, transparent 70%), var(--bg-primary);
  padding-top: 4rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__brand {
  position: relative;
}

.footer__brand img {
  height: 6rem;
  width: auto;
  margin-bottom: 1rem;
  filter:
    drop-shadow(0 0 6px rgba(0, 209, 255, 0.5))
    drop-shadow(0 0 14px rgba(0, 209, 255, 0.25));
}


.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 17.5rem;
}

.footer__links h4,
.footer__legal h4,
.footer__social h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer__links a:hover {
  color: var(--text-primary);
}

.footer__social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__social-icons a {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.footer__social-icons a:hover {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
  box-shadow: 0 0 12px rgba(0, 148, 255, 0.2);
}

.footer__social-icons svg {
  width: 1.125rem;
  height: 1.125rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal {
  padding-top: 10rem;
}

.legal__content {
  max-width: 800px;
  margin: 0 auto;
}

.legal__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.legal__updated {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.legal__content h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal__content h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal__content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal__content ul,
.legal__content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal__content ul {
  list-style: disc;
}

.legal__content ol {
  list-style: decimal;
}

.legal__content li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.legal__content li strong {
  color: var(--text-primary);
}

.legal__content a {
  color: var(--brand-cyan);
}

.legal__content a:hover {
  color: var(--brand-blue);
}

.legal__content code {
  background: var(--bg-tertiary);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--brand-cyan);
}

.legal__contact {
  list-style: none !important;
  padding-left: 0 !important;
}

.legal__contact li {
  padding: 0.3rem 0;
}

/* Legal page tables */
.legal__table-wrap {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.legal__table th {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  padding: 0.75rem 1rem;
  text-align: left;
  white-space: nowrap;
}

.legal__table td {
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.legal__table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(19, 21, 26, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 148, 255, 0.2);
  padding: 1.25rem 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}

.cookie-banner__text a {
  color: var(--brand-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: var(--brand-blue);
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner__accept,
.cookie-banner__reject {
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
}

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

/* Base: all animated elements start invisible */
[data-anim] {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.6s ease;
  transition-delay: var(--anim-delay, 0s);
}

/* Fade Up */
[data-anim="fade-up"] {
  transform: translateY(30px);
}

[data-anim="fade-up"].anim--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scale Up (cards) */
[data-anim="scale-up"] {
  transform: translateY(20px) scale(0.95);
}

[data-anim="scale-up"].anim--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Slide from Left */
[data-anim="slide-left"] {
  transform: translateX(-40px);
}

[data-anim="slide-left"].anim--visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from Right */
[data-anim="slide-right"] {
  transform: translateX(40px);
}

[data-anim="slide-right"].anim--visible {
  opacity: 1;
  transform: translateX(0);
}

/* Glow Reveal */
[data-anim="glow"] {
  transform: translateY(15px);
}

[data-anim="glow"].anim--visible {
  opacity: 1;
  transform: translateY(0);
  animation: glowPulse 0.8s ease 0.3s;
}

@keyframes glowPulse {
  0%   { box-shadow: none; }
  50%  { box-shadow: 0 0 40px rgba(0, 148, 255, 0.2), inset 0 0 40px rgba(0, 148, 255, 0.05); }
  100% { box-shadow: none; }
}

/* Simple Fade */
[data-anim="fade"] {
  transform: none;
}

[data-anim="fade"].anim--visible {
  opacity: 1;
}

/* Hero load animation (staggered reveal) */
.hero__content[data-anim-load] {
  opacity: 1;
}

.hero__content[data-anim-load]::before,
.hero__content[data-anim-load] .hero__title,
.hero__content[data-anim-load] .hero__subtitle,
.hero__content[data-anim-load] .hero__ctas {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.7s ease forwards;
}

.hero__content[data-anim-load]::before   { animation-delay: 0s; }
.hero__content[data-anim-load] .hero__title    { animation-delay: 0.15s; }
.hero__content[data-anim-load] .hero__subtitle { animation-delay: 0.3s; }
.hero__content[data-anim-load] .hero__ctas     { animation-delay: 0.45s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 12, 16, 0.85);
  border: 1px solid rgba(0, 148, 255, 0.3);
  border-radius: 10px;
  color: var(--brand-cyan);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  z-index: 999;
  backdrop-filter: blur(8px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 16px rgba(0, 209, 255, 0.3);
  color: #fff;
}

.back-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

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

/* ---------- Nav Overlay ---------- */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.nav__overlay.active {
  opacity: 1;
  visibility: visible;
}

body.nav-open {
  overflow: hidden;
}


/* Tablet */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 2.5rem;
  }

  .section__title,
  .tagline__title {
    font-size: 2rem;
  }

  .service-card {
    padding: 2rem;
    gap: 2rem;
  }

  .service-card__image {
    height: 16.25rem;
  }

  .service-card__title {
    font-size: 1.3rem;
  }

  .about__inner,
  .service-area__inner,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  .legal__title {
    font-size: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-pad: 4rem 0;
  }

  /* Mobile nav */
  .nav__toggle {
    display: flex;
  }

  .nav__logo img {
    height: 5rem;
  }

  .nav--scrolled .nav__logo img {
    height: 3.4375rem;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 17.5rem;
    height: 100vh;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1001;
  }

  .nav__links.open {
    right: 0;
  }

  .nav__cta {
    display: none;
  }

  /* Hero */
  .hero {
    min-height: 70vh;
    padding: 4rem 0 3rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero__ctas {
    margin-top: 3rem;
  }

  /* Steps */
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .step {
    padding: 1.5rem 2rem;
  }

  .step + .step {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .step__number {
    font-size: 2.25rem;
  }

  /* Services carousel — stack card layout on mobile */
  .service-card {
    grid-template-columns: 1fr;
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .service-card__image {
    height: 12.5rem;
  }

  .service-card__title {
    font-size: 1.15rem;
  }

  .service-card__desc {
    font-size: 0.9rem;
  }

  .carousel__btn {
    width: 2.5rem;
    height: 2.5rem;
    top: 7.5rem;
    transform: translateY(-50%);
  }

  .carousel__btn svg {
    width: 1rem;
    height: 1rem;
  }

  /* Tagline — less padding on mobile */
  .tagline {
    padding: 4rem 0;
  }

  .tagline__title {
    font-size: 1.6rem;
  }

  /* About image */
  .about__img {
    max-height: 17.5rem;
  }

  /* Service area map */
  .service-area__map {
    aspect-ratio: 16 / 10;
    max-height: 15.625rem;
  }

  /* Form touch targets */
  .form__group input,
  .form__group select,
  .form__group textarea {
    padding: 0.875rem 1rem;
    min-height: 3rem;
    font-size: 1rem;
  }

  .form__group label {
    font-size: 0.95rem;
  }

  /* Contact form */
  .contact__form {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom p {
    font-size: 0.85rem;
  }

  /* Legal pages */
  .legal {
    padding-top: 7rem;
  }

  .legal__title {
    font-size: 1.6rem;
  }

  .legal__content h2 {
    font-size: 1.15rem;
  }

  /* Cookie banner */
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }

  /* Trust */
  .trust__grid {
    gap: 1.5rem;
  }

  .trust__badge {
    flex: 0 0 calc(50% - 1rem);
  }

  /* Back to top — 3rem touch target */
  .back-to-top {
    width: 3rem;
    height: 3rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* Mid mobile — stack CTAs + full-width buttons */
@media (max-width: 640px) {
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__ctas .btn {
    width: 100%;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
    padding: 3rem 0 2rem;
  }

  .hero__title {
    font-size: 1.6rem;
  }

  .hero__subtitle {
    font-size: 0.9rem;
  }

  .section__title,
  .tagline__title {
    font-size: 1.4rem;
  }

  .tagline {
    padding: 3rem 0;
  }

  .nav__logo img {
    height: 3.75rem;
  }

  .nav--scrolled .nav__logo img {
    height: 2.8125rem;
  }

  .nav {
    padding: 0.75rem 0;
  }
}

/* Extra-small mobile */
@media (max-width: 400px) {
  .trust__badge {
    flex: 0 0 100%;
  }

  .service-card {
    padding: 1rem;
  }

  .service-card__image {
    height: 10rem;
  }
}

/* ---------- Print ---------- */
@media print {
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    transition: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #555 !important;
  }

  a[href^="#"]::after,
  a[href^="javascript"]::after {
    content: "";
  }

  .nav, .hero__video, .hero__overlay,
  .back-to-top, .contact__form, .form__success,
  .carousel__btn, .carousel__dots, .carousel__progress,
  .service-area__map, .nav__overlay, .footer__social-icons,
  .cookie-banner {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }

  .container {
    width: 100%;
    max-width: 100%;
  }

  .carousel__track {
    display: block;
  }

  .service-card {
    display: block;
    page-break-inside: avoid;
    border: 1px solid #ccc !important;
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .service-card__image {
    max-height: 8rem;
  }

  .about__inner,
  .service-area__inner,
  .contact__inner,
  .footer__inner {
    display: block;
  }

  .steps {
    display: block;
  }

  img {
    max-width: 100% !important;
  }

  [data-anim] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-anim] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero__content[data-anim-load] {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
