/* ===== Zorile Energie — styles ===== */
:root {
  --bg: #0b1220;
  --bg-alt: #0f1728;
  --surface: #131c30;
  --surface-2: #1a2540;
  --border: #263250;
  --text: #e8edf7;
  --muted: #9fb0cc;
  --dawn-1: #f43f5e;
  --dawn-2: #fb923c;
  --dawn-3: #fbbf24;
  --accent: #fb923c;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

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

.grad-text {
  background: linear-gradient(100deg, var(--dawn-1), var(--dawn-2) 55%, var(--dawn-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #10151f;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-mark { flex: none; }
.brand-name { font-size: 1.15rem; }
.brand-accent { color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-menu a:hover { color: var(--text); background: var(--surface); }
.nav-cta {
  color: #10151f !important;
  background: linear-gradient(100deg, var(--dawn-2), var(--dawn-3));
  font-weight: 600 !important;
}
.nav-cta:hover { filter: brightness(1.05); background: linear-gradient(100deg, var(--dawn-2), var(--dawn-3)) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, filter 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(100deg, var(--dawn-1), var(--dawn-2) 60%, var(--dawn-3));
  color: #1a0f08;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--surface-2); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 12vw, 140px) 0 clamp(56px, 9vw, 110px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(251, 146, 60, 0.20), transparent 60%),
    radial-gradient(48% 45% at 12% 4%, rgba(244, 63, 94, 0.16), transparent 62%),
    radial-gradient(70% 60% at 50% 120%, rgba(251, 191, 36, 0.10), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--dawn-3);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.3rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 56px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
}
.hero-stats div { margin: 0; }
.hero-stats dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}
.hero-stats dd { margin: 0; font-weight: 700; font-size: 1.05rem; }

/* ===== Sections ===== */
.section { padding: clamp(64px, 10vw, 108px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-title {
  margin: 0 0 28px;
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
}
.about-lead { font-size: 1.15rem; margin: 0; }
.about-grid p { color: var(--muted); }
.about-grid strong { color: var(--text); }
.about-lead { color: var(--text); }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
}
.values li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.value-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(244,63,94,0.18), rgba(251,191,36,0.18));
  color: var(--dawn-3);
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.values h3 { margin: 0 0 8px; font-size: 1.15rem; }
.values p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* ===== Product ===== */
.product {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: var(--dawn-3);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.product-lead { font-size: 1.18rem; color: var(--text); margin: 0 0 16px; }
.product-copy > p { color: var(--muted); }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}
.feature-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}
.feature-list strong { color: var(--text); }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--dawn-1), var(--dawn-3));
}
.product-actions { margin: 8px 0 20px; }
.disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 2px solid var(--border);
  padding-left: 14px;
  margin: 0;
}

/* Product visual — stylised map */
.map-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: radial-gradient(120% 120% at 30% 20%, #16223c, #0d1526);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(159,176,204,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159,176,204,0.08) 1px, transparent 1px);
  background-size: 38px 38px;
}
.zone {
  position: absolute;
  border-radius: 14px;
}
.zone-flight {
  left: 16%;
  top: 22%;
  width: 46%;
  height: 42%;
  background: rgba(56, 189, 248, 0.12);
  border: 2px dashed rgba(56, 189, 248, 0.75);
}
.zone-restricted {
  right: 12%;
  bottom: 16%;
  width: 44%;
  height: 46%;
  background: rgba(244, 63, 94, 0.14);
  border: 2px solid rgba(244, 63, 94, 0.8);
}
.drone {
  position: absolute;
  left: 46%;
  top: 40%;
  animation: hover 4s ease-in-out infinite;
}
@keyframes hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.map-legend {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  padding: 12px 14px;
  list-style: none;
  display: grid;
  gap: 6px;
  background: rgba(11, 18, 32, 0.78);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}
.map-legend li { display: flex; align-items: center; gap: 8px; }
.dot { width: 11px; height: 11px; border-radius: 3px; flex: none; }
.dot-flight { background: rgba(56, 189, 248, 0.85); }
.dot-restricted { background: rgba(244, 63, 94, 0.9); }

/* ===== Sectors ===== */
.sectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.sector-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.sector-card:hover { transform: translateY(-4px); border-color: var(--surface-2); }
.sector-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(244,63,94,0.16), rgba(251,191,36,0.16));
  color: var(--dawn-2);
  margin-bottom: 20px;
}
.sector-card h3 { margin: 0 0 10px; font-size: 1.4rem; }
.sector-card p { margin: 0; color: var(--muted); }

/* ===== Contact ===== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-line {
  display: grid;
  gap: 2px;
  margin: 18px 0 0;
}
.contact-line span:first-child {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.contact-line a { color: var(--dawn-3); font-weight: 600; }
.contact-line a:hover { text-decoration: underline; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.18);
}
.contact-form button { margin-top: 4px; }
.form-note { margin: 0; font-size: 0.82rem; color: var(--muted); font-weight: 400; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--muted); margin: 12px 0 0; max-width: 280px; }
.footer-legal-title { font-weight: 700; margin: 0 0 12px; }
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-bottom a:hover { color: var(--text); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu a { padding: 12px 14px; }

  .about-grid,
  .values,
  .product,
  .sectors,
  .contact,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .product-visual { order: -1; }
  .hero-stats { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drone { animation: none; }
  * { transition: none !important; }
}
