/* ===== Flynet — Black & Gold Theme (dark only) ===== */

:root {
  --ink: #0a0a0a;
  --ink-text: #f3ecd8;

  --gold: #d4af37;
  --gold-2: #f4d873;
  --gold-soft: rgba(212,175,55,0.16);

  --radius: 16px;
  --max-width: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --bg: #08080a;
  --bg-alt: #0f0f12;
  --surface: #151519;
  --surface-2: #1b1b20;
  --heading: #f4efe1;
  --text: #cfcac0;
  --muted: #8a8580;
  --border: rgba(255,255,255,0.09);
  --header-bg: rgba(8,8,10,0.72);
  --shadow: rgba(0,0,0,0.65);
  --input-bg: #101013;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient gold glow drifting behind the whole page */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(600px circle at 15% 10%, rgba(212,175,55,0.07), transparent 55%),
    radial-gradient(700px circle at 85% 60%, rgba(212,175,55,0.05), transparent 55%);
  animation: ambient-drift 22s var(--ease) infinite alternate;
}
@keyframes ambient-drift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(2%, -2%, 0); }
}
.site-header, main, .site-footer, .whatsapp-wrap, .scroll-progress {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none !important; }
}

h1, h2, h3 {
  font-family: var(--font);
  color: var(--heading);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 500; }

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  position: relative;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #14110a;
  border-radius: 999px;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn-primary:hover::before { left: 130%; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px 2px rgba(212,175,55,0.45), 0 12px 24px -10px rgba(212,175,55,0.5);
}
.btn-outline {
  border-color: var(--gold);
  color: var(--heading);
  background: transparent;
  border-radius: 999px;
}
.btn-outline:hover { background: var(--gold); color: #14110a; }
.btn-ghost {
  color: var(--heading);
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  padding: 12px 4px;
}
.btn-ghost:hover { color: var(--gold); }

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 10px rgba(212,175,55,0.6);
  z-index: 300;
  transition: width 0.1s linear;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 12px 30px -18px rgba(2,8,26,0.8);
  border-bottom-color: rgba(212,175,55,0.22);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 18px;
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .header-inner { height: 60px; }
.logo {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--heading);
  margin-right: auto;
  display: inline-flex;
  align-items: center;
}
.logo span { color: var(--gold); }
.logo-img { height: 44px; width: auto; display: block; }
.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212,175,55,0.7);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }
.nav-cta { display: inline-block; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--heading);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 130px 0 90px;
  background: var(--bg);
  overflow: hidden;
  perspective: 1200px;
}
.hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.04);
}
.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,10,0.88) 0%, rgba(8,8,10,0.72) 35%, rgba(8,8,10,0.85) 78%, var(--bg) 100%),
    radial-gradient(circle at 50% 30%, rgba(212,175,55,0.14), transparent 60%);
}
.hero-banner::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 20%, rgba(212,175,55,0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(212,175,55,0.1), transparent 45%);
  animation: aurora-drift 16s var(--ease) infinite alternate;
  mix-blend-mode: screen;
  pointer-events: none;
}
@keyframes aurora-drift {
  0% { transform: translate3d(-3%, -2%, 0) scale(1); }
  100% { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 780px; margin: 0 auto; }

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transform-style: preserve-3d;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.6;
  animation: float-blob 12s var(--ease) infinite;
  transform-style: preserve-3d;
  will-change: transform;
}
.blob-a {
  width: 320px; height: 320px;
  top: -80px; left: -60px;
  background: radial-gradient(circle, rgba(212,175,55,0.4), transparent 70%);
  animation-duration: 14s;
}
.blob-b {
  width: 260px; height: 260px;
  top: 40%; right: -40px;
  background: radial-gradient(circle, rgba(212,175,55,0.3), transparent 70%);
  animation-duration: 18s;
  animation-delay: -4s;
}

@keyframes float-blob {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(20px, -30px, 40px) rotate(20deg); }
}

.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--gold-soft);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading);
  box-shadow: 0 20px 40px -20px var(--shadow), 0 0 16px rgba(212,175,55,0.15);
  backdrop-filter: blur(6px);
  animation: drift 8s var(--ease) infinite;
  will-change: transform;
}
.card-1 { top: 14%; left: 8%; animation-duration: 9s; }
.card-2 { top: 24%; right: 10%; animation-duration: 11s; animation-delay: -2s; }
.card-3 { bottom: 12%; left: 14%; animation-duration: 10s; animation-delay: -5s; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 30px) rotateX(0deg) rotateY(0deg); }
  50% { transform: translate3d(0, -18px, 60px) rotateX(4deg) rotateY(-4deg); }
}

@media (max-width: 760px) {
  .float-card { display: none; }
}
.hero-sub {
  font-size: 1.1rem;
  margin: 20px auto 30px;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-bottom: 50px;
}
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  list-style: none;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.trust-strip li {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
}

/* ---- About ---- */
.about { padding: 100px 0; background: var(--bg); position: relative; }
.about-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text h2 { margin-bottom: 18px; }
.about-text p { margin-bottom: 30px; }
.about-stats {
  display: flex;
  gap: 40px;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.stat-label { font-size: 0.85rem; color: var(--muted); }
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 20px 40px -30px var(--shadow);
}
.about-card h3 { margin-bottom: 16px; }
.about-card ul { list-style: none; }
.about-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
}
.about-card li:last-child { border-bottom: none; }

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-gallery {
  display: flex;
  align-items: stretch;
  gap: 16px;
}
.about-gallery .about-image { flex: 1 1 0; min-width: 0; }
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -30px var(--shadow);
  line-height: 0;
  background: var(--surface);
}
.about-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease);
}
.about-image:hover img { transform: scale(1.04); }

@media (max-width: 520px) {
  .about-gallery { flex-direction: column; }
}

/* ---- Services ---- */
.services { padding: 100px 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services h2 { margin-bottom: 44px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
  box-shadow: 0 12px 28px -24px var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px) perspective(800px) rotateX(2deg);
  border-color: var(--gold);
  box-shadow: 0 20px 36px -20px rgba(212,175,55,0.4), 0 0 22px rgba(212,175,55,0.12);
}
.service-card h3 { margin-bottom: 10px; color: var(--heading); }
.service-card p { font-size: 0.95rem; }
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  font-size: 1.4rem;
  background: var(--gold-soft);
  border: 1px solid rgba(212,175,55,0.3);
}

/* ---- Testimonials ---- */
.testimonials { padding: 100px 0; background: var(--bg); }
.testimonials h2 { margin-bottom: 40px; }
.testimonial-carousel {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.testimonial-track {
  position: relative;
  min-height: 160px;
}
.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.testimonial-slide p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 14px;
}
.testimonial-slide cite {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.testimonial-dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.testimonial-dots button.active {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212,175,55,0.7);
  transform: scale(1.2);
}

/* ---- Contact ---- */
.contact { padding: 100px 0; background: var(--ink); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.contact-info h2, .contact-info .eyebrow { color: var(--ink-text); }
.contact-info p { color: #b9b3a5; }
.contact-details { list-style: none; margin-top: 26px; }
.contact-details li { color: #d8d2c2; margin-bottom: 10px; font-size: 0.95rem; }
.contact-details strong { color: var(--gold); }

.contact-form {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border-radius: 22px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 28px 60px -24px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-row input, .form-row select, .form-row textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--heading);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--muted); }
.phone-group { display: flex; flex-wrap: wrap; gap: 10px; }
.phone-group select#country-code { flex: 1 1 150px; min-width: 130px; padding-right: 28px; }
.phone-group input#phone { flex: 2 1 180px; min-width: 0; }

/* Native dropdown list theming (Chromium/Firefox respect color-scheme + option colors) */
.form-row select {
  color-scheme: dark;
}
.form-row select option {
  background-color: var(--input-bg);
  color: var(--heading);
}
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23d4af37' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-row input:hover, .form-row select:hover, .form-row textarea:hover {
  border-color: rgba(212,175,55,0.4);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(212,175,55,0.06);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.15);
}
.form-submit {
  align-self: stretch;
  margin-top: 6px;
  text-align: center;
  padding: 14px 26px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.form-status { font-size: 0.9rem; min-height: 1.2em; font-weight: 500; }
.form-status.success { color: #5fbf6e; }
.form-status.error { color: #e0685f; }

/* ---- Footer ---- */
.site-footer { padding: 30px 0; background: var(--ink); border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer-logo { height: 40px; width: auto; opacity: 0.9; }
.footer-inner p { color: #8f897c; font-size: 0.85rem; text-align: center; }

/* ---- WhatsApp floating action button ---- */
.whatsapp-wrap {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 200;
  isolation: isolate;
}
.whatsapp-tooltip {
  position: absolute;
  top: 50%;
  right: 62px;
  transform: translateY(-50%) translateX(6px);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  color: var(--heading);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  box-shadow: 0 10px 24px -12px var(--shadow);
}
.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--surface);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.whatsapp-tooltip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 6px rgba(37,211,102,0.8);
  flex-shrink: 0;
}
.whatsapp-wrap:hover .whatsapp-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }

.whatsapp-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.5;
  animation: whatsapp-ring 2.8s var(--ease) infinite;
  pointer-events: none;
}

.whatsapp-float {
  position: relative;
  display: flex;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,0.35), transparent 42%),
    linear-gradient(160deg, #2fe08a, #1fa855 70%);
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 4.5px rgba(212,175,55,0.55),
    0 10px 24px -8px rgba(0,0,0,0.55),
    inset 0 -3px 6px rgba(0,0,0,0.18),
    inset 0 2px 3px rgba(255,255,255,0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.whatsapp-float img {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25));
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow:
    0 0 0 3px var(--bg),
    0 0 0 4.5px var(--gold),
    0 14px 30px -8px rgba(0,0,0,0.6),
    inset 0 -3px 6px rgba(0,0,0,0.18),
    inset 0 2px 3px rgba(255,255,255,0.4),
    0 0 22px rgba(37,211,102,0.55);
}
.whatsapp-float:active { transform: translateY(0) scale(0.96); }

@keyframes whatsapp-ring {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.85); opacity: 0; }
}
@media (max-width: 640px) {
  .whatsapp-wrap { bottom: 16px; right: 16px; }
  .whatsapp-float { width: 52px; height: 52px; }
  .whatsapp-tooltip { display: none; }
}

/* ---- Reveal animation (vanilla JS driven, 3D flip-up) ---- */
.reveal {
  opacity: 0;
  transform: perspective(800px) translateY(28px) rotateX(-8deg);
  transform-origin: center bottom;
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: perspective(800px) translateY(0) rotateX(0deg);
}

/* ---- 3D tilt-on-hover (JS sets --rx/--ry via mousemove) ---- */
.tilt {
  --rx: 0deg;
  --ry: 0deg;
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt.reveal.is-visible {
  transform: perspective(800px) rotateX(var(--rx)) rotateY(var(--ry));
}
.tilt.reveal.is-visible:hover {
  transition: transform 0.1s linear;
}

/* ---- Scroll parallax layers (JS sets --py via scroll position) ---- */
.parallax {
  --py: 0px;
  transform: translate3d(0, var(--py), 0);
  will-change: transform;
}

/* Staggered children within a section */
.services-grid .service-card:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.08s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.16s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.24s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.32s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(7) { transition-delay: 0.48s; }

/* ---- Performance: respect reduced-motion, ease off heavy effects on touch/small screens ---- */
@media (prefers-reduced-motion: reduce) {
  .blob, .float-card, .whatsapp-ring, .reveal { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 110px 0 70px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg-alt);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    z-index: 99;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .header-inner { height: 64px; }
  .logo-img { height: 34px; }
  .hero { padding: 100px 0 56px; }
  .hero-sub { font-size: 1rem; margin: 16px auto 24px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 14px; margin-bottom: 34px; }
  .hero-actions .btn { width: 100%; max-width: 280px; text-align: center; }
  .trust-strip { gap: 16px; padding-top: 18px; }
  .trust-strip li { font-size: 0.72rem; }
  .about, .services, .testimonials, .contact { padding: 64px 0; }
  .about-stats { flex-wrap: wrap; gap: 20px 28px; }
  .about-card, .contact-form { padding: 26px; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-card { padding: 22px; }
  .testimonial-slide p { font-size: 1.05rem; }
  .contact-inner { gap: 34px; }
  .footer-logo { height: 32px; }
  /* Decorative-only, drop for smoother scrolling on small/touch devices */
  .blob, .hero-scene { display: none; }
}

@media (max-width: 420px) {
  h1 { font-size: 2.05rem; }
  .btn { padding: 11px 22px; font-size: 0.9rem; }
}
