/* ============================================================
   ILMAVA STUDIOS — Global Stylesheet
   Palette: #121212 / #1A1A1A / #222 / #FFC055 / #F2F2F2
   Fonts: Bebas Neue (display) + DM Sans (body)
   ============================================================ */

:root {
  --bg:       #121212;
  --bg-2:     #1A1A1A;
  --bg-3:     #222222;
  --bg-4:     #2A2A2A;
  --text:     #F2F2F2;
  --text-muted: #9A9A9A;
  --text-dim:   #666666;
  --accent:   #FFC055;
  --accent-dk: #D4942A;
  --border:   #2C2C2C;
  --header-h: 72px;
  --radius:   6px;
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:     cubic-bezier(0.65, 0, 0.35, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5 {
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 0.03em;
  line-height: 1;
}

/* ─── Container ─── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 600px) { .container { padding: 0 20px; } }

/* ─── Section spacing ─── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* ─── Label / eyebrow ─── */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ─── Divider line ─── */
.accent-bar {
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 24px;
}

/* ─── Section title ─── */
.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(40px, 5.5vw, 72px);
  text-transform: uppercase;
  line-height: 1;
  color: var(--text);
  margin-bottom: 20px;
}
.section-title.xl { font-size: clamp(52px, 7vw, 96px); }

/* ─── Section text ─── */
.section-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 600px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 900;
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.3s;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo img { height: 34px; width: auto; display: block; }

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--text); }
.nav-calc {
  border: 1px solid rgba(255,192,85,0.5);
  color: var(--accent) !important;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.nav-calc:hover {
  border-color: var(--accent);
  background: rgba(255,192,85,0.08);
  color: var(--accent);
  transform: translateY(-1px);
}
.nav-calc:active { transform: translateY(0); }
@media (max-width: 768px) {
  .nav-calc { text-align: center; margin-top: 4px; border: none; border-top: 1px solid var(--border); border-radius: 0; padding: 14px 16px; }
}

/* Ensure #calculator anchor clears the fixed header on all devices */
#calculator { scroll-margin-top: calc(var(--header-h) + 16px); }

.nav-cta {
  background: var(--accent);
  color: #121212 !important;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  color: #121212;
}
.nav-cta:hover {
  background: var(--accent-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,192,85,0.22);
}
.nav-cta:active { transform: translateY(0); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-spring), opacity 0.3s;
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .header-inner { padding: 0 20px; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    transform: translateY(-200%);
    transition: transform 0.4s var(--ease-spring);
    border-bottom: 1px solid var(--border);
  }
  .site-nav.open { transform: translateY(0); }
  .nav-link { padding: 14px 16px; width: 100%; }
  .nav-cta { text-align: center; margin-top: 8px; }
}

/* ============================================================
   HERO (full-screen video)
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-h);
  overflow: hidden;
}
.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(
    160deg,
    rgba(18,18,18,0.72) 0%,
    rgba(18,18,18,0.15) 45%,
    rgba(18,18,18,0.85) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: auto;
  padding-bottom: 80px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero-tag::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(72px, 11vw, 136px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(242,242,242,0.65);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 40px;
}
@media (max-width: 600px) {
  .hero-content { padding-bottom: 56px; }
  .hero-title { font-size: 72px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  transition: all 0.25s var(--ease-spring);
}
.btn-primary {
  background: var(--accent);
  color: #121212;
}
.btn-primary:hover {
  background: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,192,85,0.28);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-ghost:hover {
  background: var(--accent);
  color: #121212;
  transform: translateY(-2px);
}
.btn svg { width: 16px; height: 16px; }

/* ============================================================
   BRAND VIDEO SECTION
   ============================================================ */
.brand-section {
  background: var(--bg-2);
}
.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .brand-grid { grid-template-columns: 1fr; gap: 48px; }
}
.video-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-3);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.video-wrap video,
.video-wrap iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

/* ============================================================
   LOGOS MARQUEE
   ============================================================ */
.logos-section {
  padding: 56px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.logos-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.logos-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.logos-track {
  display: flex;
  gap: 56px;
  align-items: center;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.logos-track:hover { animation-play-state: paused; }
.logo-item {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.82;
  filter: none;
  flex-shrink: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.logo-item:hover { opacity: 1; transform: scale(1.05); }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-header { margin-bottom: 56px; }
.services-header .section-text { max-width: 520px; margin-top: 16px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 2/3;
  display: block;
}
@media (max-width: 900px) { .service-card { aspect-ratio: 16/9; } }
.service-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-spring);
}
.service-card:hover .service-card-img { transform: scale(1.06); }
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(18,18,18,0.95) 0%,
    rgba(18,18,18,0.45) 50%,
    rgba(18,18,18,0.08) 100%
  );
  transition: background 0.4s;
}
.service-card:hover .service-card-overlay {
  background: linear-gradient(to top,
    rgba(18,18,18,0.98) 0%,
    rgba(18,18,18,0.6) 60%,
    rgba(18,18,18,0.15) 100%
  );
}
.service-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
}
.service-card-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.service-card-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 34px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.service-card:hover .service-card-cta { opacity: 1; transform: translateY(0); }

/* ============================================================
   CTA SPLIT SECTION
   ============================================================ */
.cta-split {
  background: var(--bg-2);
}
.cta-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) { .cta-split-grid { grid-template-columns: 1fr; } }
.cta-img-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.cta-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,192,85,0.08), transparent 60%);
  pointer-events: none;
}
.cta-text .section-text { margin-top: 20px; }
.cta-text .btn { margin-top: 36px; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--header-h) + 72px) 0 72px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.page-hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(60px, 9vw, 110px);
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 24px;
}
.page-hero-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 640px;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-list { padding: 0; }
.portfolio-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.portfolio-item:first-child { padding-top: 0; }
.portfolio-item.reverse .pf-video { order: 2; }
.portfolio-item.reverse .pf-info  { order: 1; }
@media (max-width: 860px) {
  .portfolio-item { grid-template-columns: 1fr; gap: 32px; }
  .portfolio-item.reverse .pf-video,
  .portfolio-item.reverse .pf-info { order: unset; }
}
.pf-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 72px;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
}
.pf-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 36px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}
.pf-text {
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-muted);
}
.pf-video {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-3);
}
.pf-video iframe { width: 100%; height: 100%; border: none; display: block; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.team-card-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease-spring);
}
.team-card:hover .team-card-photo img { transform: scale(1.04); }
.team-card-info { padding: 20px; }
.team-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}
.team-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-block { margin-top: 40px; }
.contact-info-block p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-info-block a { color: var(--text-muted); transition: color 0.2s; }
.contact-info-block a:hover { color: var(--accent); }
.contact-info-block .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.pricing-box {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  margin-top: 32px;
}
.pricing-box h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 28px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.pricing-box p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Form */
.form-field { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,192,85,0.1);
}
.form-input::placeholder,
.form-textarea::placeholder { color: #505050; }
.form-textarea { min-height: 140px; resize: vertical; }
.form-select option { background: var(--bg-3); }

/* ============================================================
   SERVICE PAGE STRUCTURE
   ============================================================ */
.service-page-intro {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.service-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 860px) {
  .service-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-intro-grid--video-first > *:first-child { order: 2; }
  .service-intro-grid--video-first > *:last-child  { order: 1; }
}

.included-list { list-style: none; margin-top: 28px; }
.included-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}
.included-list li:last-child { border-bottom: none; }
.included-list li::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.why-card:hover {
  border-color: rgba(255,192,85,0.35);
  transform: translateY(-4px);
}
.why-card-icon {
  font-family: 'Bebas Neue', cursive;
  font-size: 42px;
  color: var(--accent);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.why-card h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}
.why-card p { font-size: 14px; line-height: 1.65; color: var(--text-muted); }

/* Video examples grid */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 600px) { .videos-grid { grid-template-columns: 1fr; } }
.video-embed {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-3);
}
.video-embed iframe { width: 100%; height: 100%; border: none; display: block; }

/* ============================================================
   PRICE CALCULATOR
   ============================================================ */
.calc-section { background: var(--bg-2); }
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-layout .calculator { order: -1; }
}
.calculator {
  background: var(--bg-3);
  border-radius: 10px;
  padding: 36px;
  border: 1px solid var(--border);
}
.calculator h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 40px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.calc-group { margin-bottom: 18px; }
.calc-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.checkbox-group {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.checkbox-group label,
.sub-options label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}
.checkbox-group label:last-child,
.sub-options label:last-child { border-bottom: none; }
.checkbox-group label:hover,
.sub-options label:hover { background: rgba(255,192,85,0.05); }
.checkbox-group input[type="checkbox"],
.checkbox-group input[type="radio"],
.sub-options input[type="checkbox"],
.sub-options input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.sub-options {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
  display: none;
}
.calc-input,
.calc-select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.calc-input:focus,
.calc-select:focus { border-color: var(--accent); }
.calc-select option { background: var(--bg-3); }
.calc-total {
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  background: rgba(255,192,85,0.06);
  border: 1px solid rgba(255,192,85,0.18);
  border-radius: 8px;
}
.calc-total-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.calc-total-price {
  font-family: 'Bebas Neue', cursive;
  font-size: 52px;
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1;
}
.calc-btn {
  width: 100%;
  margin-top: 16px;
  background: var(--accent);
  color: #121212;
  border: none;
  border-radius: 6px;
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.calc-btn:hover { background: var(--accent-dk); transform: translateY(-1px); }
.calc-btn:active { transform: translateY(0); }

/* ============================================================
   PHOTOGRAPHY PACKAGES
   ============================================================ */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 768px) { .packages-grid { grid-template-columns: 1fr; } }
.pkg-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.pkg-card.featured { border-color: var(--accent); }
.pkg-card:hover {
  border-color: rgba(255,192,85,0.5);
  transform: translateY(-6px);
}
.pkg-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 32px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}
.pkg-photos {
  font-family: 'Bebas Neue', cursive;
  font-size: 52px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
}
.pkg-photos span { font-size: 18px; color: var(--text-muted); }
.pkg-list { list-style: none; margin-bottom: 28px; }
.pkg-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.pkg-list li:last-child { border-bottom: none; }
.pkg-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ============================================================
   GALLERY (still images)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 48px;
}
.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}
.gallery-item:hover img { transform: scale(1.05); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-spring), transform 0.65s var(--ease-spring);
}
.reveal.up { transform: translateY(20px); }
.reveal.visible { opacity: 1; transform: translateY(0) !important; }
[data-delay="1"] { transition-delay: 0.08s; }
[data-delay="2"] { transition-delay: 0.16s; }
[data-delay="3"] { transition-delay: 0.24s; }
[data-delay="4"] { transition-delay: 0.32s; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0C0C0C;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 30px; margin-bottom: 20px; }
.footer-contact-info p,
.footer-contact-info a {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.8;
  transition: color 0.2s;
  display: block;
}
.footer-contact-info a:hover { color: var(--accent); }
.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
}
.social-link:hover { color: var(--accent); }
.social-link svg { width: 15px; height: 15px; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: #4A4A4A; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-accent { color: var(--accent); }
.bg-2 { background: var(--bg-2); }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 48px; }
.flex-center { display: flex; align-items: center; gap: 12px; }

/* ============================================================
   STATEMENT SECTION (drone page "Ei mikään perus Mavic")
   ============================================================ */
.statement-section {
  padding: 96px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.statement-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 860px) { .statement-inner { grid-template-columns: 1fr; gap: 40px; } }
.statement-headline {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(56px, 7.5vw, 100px);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 0;
}
.statement-body {
  font-size: 17px;
  line-height: 1.78;
  color: var(--text-muted);
}
.statement-body p + p { margin-top: 14px; }

/* ============================================================
   BACKGROUND-IMAGE SECTION HERO
   ============================================================ */
.section-bg-image {
  position: relative;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section-bg-image .bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(18,18,18,0.97) 0%,
    rgba(18,18,18,0.88) 38%,
    rgba(18,18,18,0.55) 65%,
    rgba(18,18,18,0.70) 100%
  );
}
.section-bg-image .container { position: relative; z-index: 1; }
.section-bg-image .section-text { color: rgba(242,242,242,0.72); }
@media (max-width: 768px) {
  .section-bg-image { padding: 80px 0; }
  .section-bg-image .bg-overlay {
    background: rgba(18,18,18,0.92);
  }
}

/* ============================================================
   LOGOS SECTION REDESIGN
   ============================================================ */
.logos-section {
  padding: 52px 0;
}
.logos-section-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ============================================================
   MOBILE-ONLY FIXES
   ============================================================ */

/* 1. Hero: hide video on mobile, show static fallback image */
.hero-mobile-bg { display: none; }

@media (max-width: 768px) {
  .hero-video { display: none; }
  .hero-mobile-bg {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
}

/* 2b. Hero eyebrow: break before "Espoo, Finland" on mobile */
@media (max-width: 600px) {
  .hero-tag-text { display: flex; flex-direction: column; gap: 1px; }
  .hero-tag-dot { display: none; }
  .hero-tag::before { display: none; }
}

/* 2c. Hero: slightly shorter on mobile to reduce empty space above the headline */
@media (max-width: 768px) {
  .hero { height: 88svh; }
}

/* 3. Portfolio: restore horizontal padding on mobile (portfolio-list strips it) */
@media (max-width: 860px) {
  .portfolio-item { padding: 48px 20px; }
}

/* 4. Palvelut / tietoa: team photo as CTA section background on mobile */
@media (max-width: 900px) {
  .cta-split--team {
    position: relative;
    background-image: url('/assets/images/team/team_2.jpg');
    background-size: cover;
    background-position: center;
  }
  .cta-split--team::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(18,18,18,0.88);
  }
  .cta-split--team .container { position: relative; z-index: 1; }
  .cta-split--team .cta-img-wrap { display: none; }
}

/* 4b. Portfolio CTA: interview_setup.jpg as background on mobile */
@media (max-width: 900px) {
  .cta-split--portfolio {
    position: relative;
    background-image: url('/assets/images/general/interview_setup.jpg');
    background-size: cover;
    background-position: center top;
  }
  .cta-split--portfolio::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(18,18,18,0.88);
  }
  .cta-split--portfolio .container { position: relative; z-index: 1; }
  .cta-split--portfolio .cta-img-wrap { display: none; }
}

/* 5. Dronevideot / yritysvideot: collapse included section to single column,
      hide right block on mobile */
@media (max-width: 860px) {
  .included-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
  .included-grid .hide-mobile { display: none !important; }
}

/* 6. Dronevideot: stack video pair on mobile */
@media (max-width: 768px) {
  .drone-videos-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
}

/* 7. Customer logos: swap marquee for static grid on mobile */
.logos-mobile-grid { display: none; }

@media (max-width: 768px) {
  .logos-track-wrap { display: none; }
  .logos-mobile-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px 24px;
    padding: 0 24px;
  }
  .logos-mobile-grid .logo-item {
    height: 32px;
    width: auto;
    max-width: 110px;
    opacity: 0.82;
    flex-shrink: 0;
  }
}

/* ── Small desktop (769px – 1100px): increase container side padding ── */
@media (max-width: 1100px) and (min-width: 769px) {
  .container { padding: 0 48px; }
}

/* ── Small desktop: portfolio-list zeroes container padding, restore it on items ── */
@media (max-width: 1100px) and (min-width: 861px) {
  .portfolio-item { padding-left: 48px; padding-right: 48px; }
}

/* ── Above 1100px: portfolio-list still zeroes container padding, so add side
      padding directly on items to keep text off the screen edge ── */
@media (min-width: 1101px) {
  .portfolio-item { padding-left: 32px; padding-right: 32px; }
}

/* ── Desktop hero: breathing room below button and above eyebrow.
      Applied to all desktop widths so 1366/1440px laptops are covered.
      .hero .hero-content specificity (0,2,0) beats .container (0,1,0).
      clamp scales with viewport height so hero-content never overflows. ── */
@media (min-width: 769px) {
  .hero .hero-content { padding-bottom: clamp(80px, 12svh, 140px); }
}

/* ── Medium desktop (769–1400px): cap h1 at 96px and tighten sub margin so
      margin-top:auto has room to push content down and reveal the video above ── */
@media (max-width: 1400px) and (min-width: 769px) {
  .hero-title { font-size: clamp(72px, 11vw, 96px); }
  .hero-sub   { margin-bottom: 24px; }
}

/* ── Small desktop: more breathing room in inner-page hero ── */
@media (max-width: 1200px) and (min-width: 769px) {
  .page-hero { padding-top: calc(var(--header-h) + 96px); padding-bottom: 80px; }
}
