/* ============================================================
   ecologhome.com — Dark Editorial Design 2026
   Palette: Deep Space · Electric Lime · Off-White
   Fonts: Syne (display) · DM Sans (body)
   ============================================================ */

:root {
  --bg:           #09090F;
  --bg-1:         #0F0F18;
  --bg-2:         #141420;
  --surface:      #1A1A28;
  --surface-2:    #20202F;

  --lime:         #CAFF00;
  --lime-soft:    rgba(202, 255, 0, 0.08);
  --lime-border:  rgba(202, 255, 0, 0.22);
  --lime-glow:    0 0 32px rgba(202, 255, 0, 0.18);

  --coral:        #FF5533;

  --text:         #EAEAF0;
  --text-2:       #7272888;
  --text-muted:   #727288;
  --text-dim:     #4A4A60;

  --border:       rgba(255, 255, 255, 0.07);
  --border-2:     rgba(255, 255, 255, 0.12);

  --shadow:       0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg:    0 16px 56px rgba(0, 0, 0, 0.55);

  --radius:       6px;
  --radius-lg:    12px;
  --radius-xl:    18px;
  --radius-pill:  100px;

  --font-display: 'Syne', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --header-h:     68px;
  --container:    1280px;
  --transition:   0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }
a { color: var(--lime); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.75; }
strong { font-weight: 600; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}
h1 { font-size: clamp(2.25rem, 3.8vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.75rem); }
h3 { font-size: 1.125rem; font-weight: 600; }

h1 em, h2 em {
  font-style: italic;
  font-weight: inherit;
  color: var(--lime);
}

/* ── Utilities ── */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section__header { margin-bottom: 3rem; }
.section__header--center { text-align: center; }
.section__cta { text-align: center; margin-top: 2.5rem; }

.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.875rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--lime {
  background: var(--lime);
  color: #080810;
  border-color: var(--lime);
}
.btn--lime:hover {
  background: #d9ff33;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--lime-glow);
}

.btn--dark {
  background: #080810;
  color: var(--lime);
  border-color: #080810;
}
.btn--dark:hover {
  background: #0e0e1c;
  opacity: 1;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn--ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
  opacity: 1;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn--outline:hover {
  border-color: var(--lime);
  color: var(--lime);
  opacity: 1;
}

.btn--sm { padding: 0.5rem 1.125rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

/* ── Badge / Chip ── */
.badge {
  display: inline-block;
  padding: 0.35rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--lime);
  background: var(--lime-soft);
  border: 1px solid var(--lime-border);
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.chip {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--lime);
  margin-top: 1.25rem;
  transition: gap var(--transition);
  gap: 0.25rem;
}
.link-arrow:hover { opacity: 1; gap: 0.5rem; }

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(9, 9, 15, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.header--scrolled {
  border-color: var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.header__left {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--text);
}
.logo__img {
  height: 68px;
  width: auto;
  display: block;
}
.logo--footer .logo__img {
  height: 56px;
  opacity: 0.75;
}
.logo__text {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo--footer .logo__text { color: var(--text-muted); }

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.nav a:hover { color: var(--text); opacity: 1; }
.nav__cta {
  padding: 0.45rem 1.125rem;
  background: var(--lime-soft);
  color: var(--lime) !important;
  border: 1px solid var(--lime-border);
  border-radius: var(--radius-pill);
}
.nav__cta:hover {
  background: var(--lime) !important;
  color: #080810 !important;
  border-color: var(--lime) !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Theme Toggle ── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--lime-soft);
  border: 1.5px solid var(--lime-border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--lime);
  transition: all var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--lime);
  color: #080810;
  box-shadow: var(--lime-glow);
  transform: rotate(20deg) scale(1.1);
}
.theme-toggle__icon {
  width: 16px; height: 16px;
  display: none;
}
.theme-toggle__icon--night  { display: block; }
.theme-toggle__icon--day    { display: none; }

[data-theme="day"] .theme-toggle__icon--night { display: none; }
[data-theme="day"] .theme-toggle__icon--day   { display: block; }

/* ── Hero ── */
.hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 3rem;
}

.hero__content h1 { margin-bottom: 1.25rem; }

.hero__lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }

.hero__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--lime-glow), var(--shadow-lg);
  aspect-ratio: 4/3;
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(202,255,0,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero__pill {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.6rem 1rem;
  background: rgba(9, 9, 15, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--lime-border);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--lime);
}
.lapel-svg { width: 20px; height: 20px; }

/* ── Marquee ── */
.marquee {
  overflow: hidden;
  padding: 1rem 0;
  border-block: 1px solid var(--border);
  background: var(--bg-1);
}
.marquee__track {
  display: flex;
  gap: 1.75rem;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}
.marquee__track .dot { opacity: 0.3; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Services ── */
.section--services { background: var(--bg-1); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--bg-2);
  padding: 2.25rem;
  transition: background var(--transition);
  position: relative;
}
.service-card:hover { background: var(--surface); }

.service-card--featured {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto 1fr;
  column-gap: 1.75rem;
  background: var(--surface);
}
.service-card--featured .service-card__icon {
  grid-row: 1 / 3;
  align-self: center;
}

.service-card__num {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--lime);
  margin-bottom: 1.25rem;
}
.service-card--featured .service-card__num {
  grid-column: 2;
}
.service-card--featured h3 { grid-column: 2; }
.service-card--featured p  { grid-column: 2; margin-top: 0.5rem; }

.service-card__icon { color: var(--lime); }
.service-card__icon svg { width: 52px; height: 52px; }

.service-card h3 { margin-bottom: 0.625rem; color: var(--text); }
.service-card p  { font-size: 0.9rem; color: var(--text-muted); }

.service-cta {
  grid-column: 3;
  grid-row: 1 / 3;
  background: var(--lime);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2.25rem;
  border-radius: 0;
  text-align: center;
}
.service-cta p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: #080810;
}

/* ── About ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about__visual img {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center 20%;
}
.about__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.about__content p { color: var(--text-muted); margin-bottom: 1rem; }
.about__content p:last-child { margin-bottom: 0; }

/* ── History ── */
.section--history { background: var(--bg-1); }
.history__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}
.history__text p { color: var(--text-muted); margin-bottom: 1rem; }
.history__text h2 { margin-bottom: 1.5rem; }

.stats { display: flex; flex-direction: column; gap: 1px; }
.stat {
  padding: 1.75rem;
  background: var(--bg-2);
  border-left: 2px solid var(--lime);
  transition: background var(--transition);
}
.stat:hover { background: var(--surface); }

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.375rem;
}
.stat__label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── Process ── */
.section--process { background: var(--bg); }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.timeline__step {
  background: var(--bg-2);
  padding: 2rem 1.75rem;
  transition: background var(--transition);
}
.timeline__step:hover { background: var(--surface); }

.timeline__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  background: var(--lime-soft);
  border: 1px solid var(--lime-border);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 1.25rem;
}
.timeline__step h3 { margin-bottom: 0.5rem; font-size: 1.0625rem; }
.timeline__step p  { font-size: 0.875rem; color: var(--text-muted); }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--lime);
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
}
.cta-banner__inner { max-width: 48rem; margin-inline: auto; }
.cta-banner h2 {
  color: #080810;
  margin-bottom: 1.75rem;
}
.cta-banner h2 em { color: rgba(8,8,16,0.5); }
.cta-banner__note {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(8,8,16,0.6);
}

/* ── Testimonials ── */
.section--testimonials { background: var(--bg); }
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.testimonial {
  background: var(--bg-2);
  padding: 2rem;
  margin: 0;
  position: relative;
  transition: background var(--transition);
}
.testimonial:hover { background: var(--surface); }
.testimonial__quote {
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--lime);
  opacity: 0.25;
  margin-bottom: -1rem;
}
.testimonial p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.testimonial footer { font-size: 0.8125rem; color: var(--text-dim); }
.testimonial footer strong { color: var(--text); font-weight: 600; }
.testimonials__note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 1.5rem;
}

/* ── Equipment ── */
.section--equipment { background: var(--bg-1); }
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.equipment-card {
  background: var(--bg-2);
  padding: 2rem;
  transition: background var(--transition);
}
.equipment-card:hover { background: var(--surface); }
.equipment-card__icon {
  width: 56px; height: 56px;
  margin-bottom: 1.25rem;
  color: var(--lime);
}
.equipment-card__icon svg { width: 100%; height: 100%; }
.equipment-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.5rem;
}
.equipment-card h3 { margin-bottom: 0.625rem; font-size: 1.0625rem; }
.equipment-card p  { font-size: 0.9rem; color: var(--text-muted); }
.equipment__note {
  margin-top: 1.75rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-muted);
}
.equipment__note a { color: var(--lime); }

/* ── Location ── */
.section--location { background: var(--bg); }
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.location__content p { color: var(--text-muted); margin-bottom: 1rem; }
.location__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.location__de {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  background: var(--lime);
  color: #080810;
  border-radius: var(--radius);
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 0.75rem;
}
.location__cities {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.location__cities span {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: -0.03em;
  line-height: 1.2;
  transition: color var(--transition);
}
.location__cities span:hover { color: var(--lime); }
.location__plus {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lime);
  margin-top: 0.5rem;
}

/* ── FAQ ── */
.section--faq { background: var(--bg-1); }
.faq-list { max-width: 700px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 1.25rem 0;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--lime);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary { color: var(--lime); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body { padding-bottom: 1.25rem; }
.faq-item__body p { font-size: 0.9rem; color: var(--text-muted); }

/* ── Samples ── */
.section--samples {
  background: var(--bg);
  border-block: 1px solid var(--border);
  text-align: center;
}
.samples__inner { max-width: 520px; margin-inline: auto; }
.samples__inner h2 { margin-bottom: 1rem; }
.samples__inner p { color: var(--text-muted); margin-bottom: 1.75rem; }

/* ── Contact ── */
.section--contact { background: var(--bg-1); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}
.contact__info p { color: var(--text-muted); margin-bottom: 2rem; }
.contact__list { list-style: none; }
.contact__list li { margin-bottom: 1.75rem; }
.contact__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.3rem;
}
.contact__list a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}
.contact__list a:hover { color: var(--lime); opacity: 1; }
.contact__hours { display: block; font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.125rem; }

.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.125rem; }
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(202, 255, 0, 0.1);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 1.125rem;
}
.form-disclaimer a { color: var(--lime); }

/* ── Legal ── */
.section--legal {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.section--legal h2 {
  font-size: 1.375rem;
  margin-bottom: 0.375rem;
}
.legal__meta {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.legal-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.legal-cols h3,
.legal-body h3 {
  font-size: 0.9375rem;
  margin: 1.25rem 0 0.375rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 600;
}
.legal-body p,
.legal-cols p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.legal-body a { color: var(--lime); }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  margin: 1rem 0;
}
.legal-table th,
.legal-table td {
  padding: 0.625rem 1rem;
  text-align: left;
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.legal-table th {
  background: var(--bg-2);
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Footer ── */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2.5rem;
}
.footer__brand p {
  font-size: 0.875rem;
  color: var(--text-dim);
  max-width: 220px;
  margin-top: 0.75rem;
}
.footer h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.footer ul { list-style: none; }
.footer li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-dim);
}
.footer a { color: var(--text-dim); }
.footer a:hover { color: var(--lime); opacity: 1; }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}
.footer__bottom p {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1rem;
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner--visible { transform: translateY(0); }
.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.125rem 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.cookie-banner p { font-size: 0.875rem; color: var(--text-muted); }
.cookie-banner a { color: var(--lime); }
.cookie-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

/* ── Modal ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal--open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}
.modal__content {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: transform 0.3s;
}
.modal--open .modal__content { transform: scale(1); }
.modal__icon {
  width: 52px; height: 52px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: #080810;
  border-radius: 50%;
  font-size: 1.375rem;
  font-weight: 700;
}
.modal__content h3 { margin-bottom: 0.625rem; }
.modal__content p  { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.9375rem; }

/* ============================================================
   DAY THEME — White + Fuchsia/Purple shimmer
   ============================================================ */

html { transition: background-color 0.4s ease; }

[data-theme="day"] {
  --bg:           #FFFFFF;
  --bg-1:         #F7F4FF;
  --bg-2:         #EDE8FF;
  --surface:      #E6DFFF;
  --surface-2:    #DDD5FF;

  --lime:         #EE00CC;
  --lime-soft:    rgba(238, 0, 204, 0.08);
  --lime-border:  rgba(238, 0, 204, 0.25);
  --lime-glow:    0 0 28px rgba(238, 0, 204, 0.22);

  --text:         #080810;
  --text-muted:   #4A4462;
  --text-dim:     #9080B0;

  --border:       rgba(0, 0, 0, 0.07);
  --border-2:     rgba(0, 0, 0, 0.13);

  --shadow:       0 4px 24px rgba(100, 0, 180, 0.08);
  --shadow-lg:    0 16px 56px rgba(100, 0, 180, 0.13);
}

/* Day header */
[data-theme="day"] .header {
  background: rgba(255, 255, 255, 0.88);
}
[data-theme="day"] .header--scrolled {
  box-shadow: 0 4px 24px rgba(100, 0, 180, 0.1);
}

/* Day nav */
[data-theme="day"] .nav a        { color: var(--text-muted); }
[data-theme="day"] .nav a:hover  { color: var(--text); }
[data-theme="day"] .burger span  { background: var(--text); }
[data-theme="day"] .nav {
  background: #fff;
  border-bottom-color: var(--border);
}

/* Day logo */
[data-theme="day"] .logo__text  { color: var(--text); }
[data-theme="day"] .logo__img {
  filter: invert(1) hue-rotate(60deg) saturate(1.3);
}

/* Day badge */
[data-theme="day"] .badge {
  color: #9900EE;
  background: rgba(153, 0, 238, 0.08);
  border-color: rgba(153, 0, 238, 0.22);
}

/* Shimmer on accent text in day mode */
@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

[data-theme="day"] h1 em,
[data-theme="day"] h2 em {
  background: linear-gradient(90deg, #EE00CC 0%, #9900EE 45%, #EE00CC 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

[data-theme="day"] .section__label {
  background: linear-gradient(90deg, #EE00CC, #9900EE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="day"] .stat__value {
  background: linear-gradient(135deg, #EE00CC, #9900EE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Day marquee */
[data-theme="day"] .marquee {
  background: var(--bg-2);
  border-color: var(--border);
}
[data-theme="day"] .marquee__track { color: #EE00CC; }

/* Day hero pill */
[data-theme="day"] .hero__pill {
  background: rgba(255, 255, 255, 0.92);
  color: #9900EE;
  border-color: rgba(153, 0, 238, 0.3);
}

/* Day chips */
[data-theme="day"] .chip {
  background: var(--bg-2);
  border-color: var(--border-2);
}

/* Day service CTA */
[data-theme="day"] .service-cta {
  background: linear-gradient(135deg, #EE00CC, #9900EE);
}
[data-theme="day"] .service-cta p { color: #fff; }

/* Day CTA banner */
[data-theme="day"] .cta-banner {
  background: linear-gradient(135deg, #EE00CC 0%, #9900EE 100%);
}
[data-theme="day"] .cta-banner h2 {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}
[data-theme="day"] .cta-banner h2 em {
  background: none;
  -webkit-text-fill-color: rgba(255,255,255,0.6);
  animation: none;
}
[data-theme="day"] .cta-banner__note { color: rgba(255,255,255,0.65); }
[data-theme="day"] .btn--dark {
  background: #fff;
  color: #9900EE;
  border-color: #fff;
}

/* Day stats border */
[data-theme="day"] .stat { border-left-color: #EE00CC; }

/* Day timeline */
[data-theme="day"] .timeline__num {
  background: rgba(153,0,238,0.08);
  border-color: rgba(153,0,238,0.3);
  color: #9900EE;
}

/* Day testimonial quote */
[data-theme="day"] .testimonial__quote { color: #EE00CC; }

/* Day equipment icon */
[data-theme="day"] .equipment-card__icon { color: #9900EE; }
[data-theme="day"] .equipment-card__tag  { color: #EE00CC; }

/* Day FAQ */
[data-theme="day"] .faq-item summary::after { color: #EE00CC; }
[data-theme="day"] .faq-item[open] summary  { color: #EE00CC; }

/* Day contact */
[data-theme="day"] .contact__label { color: #9900EE; }
[data-theme="day"] .form-disclaimer a { color: #9900EE; }
[data-theme="day"] .form-group input:focus,
[data-theme="day"] .form-group select:focus,
[data-theme="day"] .form-group textarea:focus {
  border-color: #EE00CC;
  box-shadow: 0 0 0 3px rgba(238, 0, 204, 0.12);
}

/* Day footer */
[data-theme="day"] .footer        { background: var(--bg-1); border-color: var(--border); }
[data-theme="day"] .footer__bottom { border-color: var(--border); }
[data-theme="day"] .footer h4     { color: var(--text-muted); }
[data-theme="day"] .footer a:hover { color: #EE00CC; }

/* Day cookie */
[data-theme="day"] .cookie-banner__inner {
  background: #fff;
  border-color: var(--border-2);
}

/* Day modal */
[data-theme="day"] .modal__content  { background: #fff; }
[data-theme="day"] .modal__backdrop { background: rgba(100, 0, 180, 0.35); }
[data-theme="day"] .modal__icon     { background: linear-gradient(135deg, #EE00CC, #9900EE); }

/* Day link-arrow */
[data-theme="day"] .link-arrow { color: #9900EE; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* ── Tablet ≤ 1024px ── */
@media (max-width: 1024px) {
  .hero__grid,
  .about__grid,
  .history__grid,
  .location__grid,
  .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card--featured {
    grid-column: 1;
    grid-template-columns: auto 1fr;
  }
  .service-cta {
    grid-column: 1;
    grid-row: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 2.25rem;
  }

  .timeline { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .equipment-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile ≤ 768px ── */
@media (max-width: 768px) {
  /* Header */
  :root { --header-h: 62px; }
  .logo__img { height: 50px; }
  .logo--footer .logo__img { height: 44px; }

  /* Mobile nav dropdown */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem 1.5rem;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    z-index: 99;
    gap: 0.25rem;
  }
  .nav a { padding: 0.625rem 0; font-size: 1rem; width: 100%; border-bottom: 1px solid var(--border); }
  .nav a:last-child { border-bottom: none; }
  .nav__cta { margin-top: 0.5rem; width: 100%; text-align: center; border-radius: var(--radius-pill); }
  .nav--open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .burger { display: flex; }
  .burger--open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
  .burger--open span:nth-child(2) { opacity: 0; }
  .burger--open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

  /* Hero */
  .hero { padding-top: calc(var(--header-h) + 2rem); }
  .hero__visual { order: -1; }
  .hero__frame { aspect-ratio: 16/9; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Services */
  .service-card { padding: 1.75rem; }
  .service-card--featured {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .service-card--featured .service-card__icon { grid-row: auto; margin-bottom: 1rem; }
  .service-card--featured .service-card__num  { grid-column: 1; }
  .service-card--featured h3 { grid-column: 1; }
  .service-card--featured p  { grid-column: 1; }
  .service-cta {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1.75rem;
  }
  .service-cta .btn { width: 100%; max-width: 260px; }

  /* Stats: 2 columns on mobile */
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }

  /* Timeline */
  .timeline { grid-template-columns: 1fr; }

  /* Equipment */
  .equipment-grid { grid-template-columns: 1fr; }

  /* CTA banner */
  .cta-banner__inner .hero__actions { flex-direction: column; align-items: center; }
  .cta-banner__inner .btn { width: 100%; max-width: 320px; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }

  /* Legal */
  .legal-cols { grid-template-columns: 1fr; }
  .legal-table { font-size: 0.75rem; }
  .legal-table th,
  .legal-table td { padding: 0.5rem 0.625rem; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer__brand p { max-width: 100%; }

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

  /* Location */
  .location__cities { flex-direction: row; flex-wrap: wrap; gap: 0.375rem; }
  .location__cities span { font-size: clamp(1.25rem, 5vw, 2rem); }

  /* Section spacing */
  .section { padding: clamp(2.5rem, 7vw, 4rem) 0; }
  .section__header { margin-bottom: 2rem; }
}

/* ── Small mobile ≤ 480px ── */
@media (max-width: 480px) {
  :root { --header-h: 58px; }
  .logo__img { height: 44px; }
  .logo__text { font-size: 0.9375rem; }

  /* Hero tighter */
  .hero { padding-top: calc(var(--header-h) + 1.5rem); }
  .hero__frame { aspect-ratio: 4/3; }
  .hero__pill { font-size: 0.75rem; padding: 0.45rem 0.75rem; }

  /* Services */
  .service-card { padding: 1.25rem; }
  .service-cta { padding: 1.5rem 1.25rem; }

  /* Stats: full width stacked on tiny screens */
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.25rem; }
  .stat__value { font-size: 1.75rem; }

  /* Timeline steps */
  .timeline__step { padding: 1.5rem 1.25rem; }

  /* Testimonial padding */
  .testimonial { padding: 1.5rem; }

  /* Equipment cards */
  .equipment-card { padding: 1.5rem; }

  /* Contact form */
  .contact-form { padding: 1.25rem; border-radius: var(--radius-lg); }

  /* Footer bottom wrap */
  .footer__bottom p { font-size: 0.6875rem; line-height: 1.6; }

  /* Section reduced padding */
  .section { padding: 2.5rem 0; }
  .section__header { margin-bottom: 1.5rem; }

  /* CTA banner padding */
  .cta-banner { padding: 2.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
