:root {
  --blue: #1d2cf3;
  --blue-deep: #131da2;
  --blue-btn: #2f54dd;
  --green: #00cd29;
  --ink: #281a39;
  --muted: #5c5168;
  --gray: #727272;
  --line: #e6e2ea;
  --fog: #f6f6f6;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(40, 26, 57, 0.12);
  --radius: 6px;
  --max: 1180px;
  --header: 96px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 72px;
  height: 54px;
  object-fit: contain;
}

.brand-text { line-height: 1.15; }

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin: 0;
}

.brand-tag {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.nav a,
.nav-drop > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.nav a:hover,
.nav a.active,
.nav-drop:hover > span { color: var(--blue); }

.nav-drop { position: relative; }
.nav-drop > span { cursor: pointer; }

.nav-drop svg { width: 9px; height: 9px; }

.nav-drop ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.nav-drop:hover ul,
.nav-drop:focus-within ul { display: block; }

.nav-drop ul a {
  display: block;
  padding: 10px 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 4px;
  background: var(--blue-btn);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover { background: var(--blue-deep); }
.btn-green { background: var(--green); color: #063; }
.btn-green:hover { background: #00b324; }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--ink); }
.btn-ghost {
  background: var(--ink);
  color: var(--fog);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

.hero {
  position: relative;
  /* Fit the first viewport so headline + CTAs are visible on load (Wix).
     Cap at Wix column height on tall screens; never force taller than the viewport. */
  height: min(966px, calc(100vh - var(--header)));
  min-height: min(520px, calc(100vh - var(--header)));
  display: grid;
  align-items: end;
  color: var(--white);
  background: #1a1a1a;
  overflow: hidden;
}

.hero-media,
.eco-media,
.split-media,
.service-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media { z-index: 0; }

.scrub-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center center;
  will-change: transform;
  backface-visibility: hidden;
}

/*
 * Wix fills the hero at 1:1 (img ≈ column size, object-position center).
 * Keep only modest extra height for BgParallax travel — a 280% well was
 * over-zooming and cropping the delivery person's face out of frame.
 */
.hero-media .scrub-media {
  position: absolute;
  left: 0;
  width: 100%;
  height: 130%;
  top: -15%;
  object-fit: cover;
  object-position: center center;
  transform: translate3d(0, 0, 0);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(20, 16, 28, 0.62), rgba(20, 16, 28, 0.18));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 32px 0 28px;
  text-align: left;
}

.hero .cta-card {
  padding: 14px 18px;
}

/* Hero FloatIn plays on first paint — do not wait for scroll/intersection */
.hero .reveal {
  opacity: 0;
  transform: translate3d(0, 60px, 0);
  animation: hero-float-in 1200ms cubic-bezier(0.445, 0.05, 0.55, 0.95) forwards;
  animation-delay: var(--reveal-delay, 0ms);
  transition: none;
}

.hero .reveal.is-visible {
  /* animation owns the end state */
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@keyframes hero-float-in {
  from {
    opacity: 0;
    transform: translate3d(0, 60px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.hero h1,
.page-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.15;
  font-weight: 700;
  max-width: 14ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-card {
  min-width: 240px;
  padding: 18px 22px;
  background: rgba(40, 26, 57, 0.78);
  color: var(--fog);
}

.cta-card.accent { background: rgba(47, 84, 221, 0.92); }
.cta-card p { margin: 0; font-size: 14px; }
.cta-card strong {
  display: block;
  letter-spacing: 0.08em;
  font-size: 13px;
  margin-bottom: 6px;
}
.cta-card a { color: var(--white); font-size: 18px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.split-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.split-media .scrub-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Extra size so BgZoom-in (up to ~1.67) never shows edges */
  transform-origin: center center;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  background: var(--fog);
}

.split-copy.dark {
  background: var(--ink);
  color: var(--fog);
}

.split-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin: 0 0 36px;
  text-align: center;
  font-size: clamp(30px, 3.5vw, 40px);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  color: var(--white);
}

.service-media {
  position: absolute;
  inset: 0;
}

.service-media .scrub-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-card .overlay {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 24px;
  background: linear-gradient(transparent, rgba(10, 10, 18, 0.78));
}

.service-card h3 { margin: 0 0 12px; font-size: 28px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 56px 0 72px;
}

.feature {
  text-align: center;
  padding: 8px 16px;
}

.feature svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.feature p { margin: 0; color: var(--muted); }

.eco-banner {
  min-height: 420px;
  display: grid;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}

.eco-media {
  z-index: 0;
}

.eco-media .scrub-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: center center;
}

.eco-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(10, 15, 40, 0.45));
  pointer-events: none;
}

.eco-banner .wrap {
  position: relative;
  z-index: 2;
  text-align: right;
  padding: 80px 0;
}

.eco-banner h2 {
  margin: 0 0 20px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
}

.page-hero {
  padding: 64px 0 24px;
}

.page-hero p.lede {
  max-width: 62ch;
  font-size: 18px;
  color: var(--muted);
}

.prose {
  max-width: 74ch;
  font-size: 16px;
}

.prose h2 { text-align: left; margin: 32px 0 12px; font-size: 26px; }
.prose h3 { margin: 24px 0 8px; font-size: 20px; }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 20px; }

.stack {
  display: grid;
  gap: 28px;
}

.block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.block.reverse { grid-template-columns: 0.9fr 1.1fr; }
.block img { width: 100%; height: 280px; object-fit: cover; }

.price-note {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 40px;
}

.price-table caption {
  text-align: left;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
  caption-side: top;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}

.price-table td:last-child,
.price-table th:last-child { text-align: right; font-weight: 600; }

.contact-page .contact-hero {
  text-align: center;
  padding: 72px 0 28px;
}

.contact-page .contact-hero h1 {
  max-width: none;
  margin: 0 auto 28px;
  font-size: clamp(36px, 4.8vw, 56px);
}

.contact-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}

.contact-intro p:last-child { margin-bottom: 0; }

.contact-section {
  padding-top: 36px;
  padding-bottom: 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-card {
  background: transparent;
  color: var(--ink);
  padding: 8px 8px 0 0;
}

.contact-card h2 {
  margin: 0 0 28px;
  text-align: left;
  color: var(--ink);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.15;
}

.contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.contact-channels a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
}

.contact-channels a:hover { color: var(--blue); }

.contact-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
}

.contact-icon-phone { background: #3b82f6; }
.contact-icon-email {
  background: #3a3a3a;
  border-radius: 10px;
}
.contact-icon-whatsapp { background: #25d366; }

form {
  display: grid;
  gap: 14px;
}

.contact-form {
  gap: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

label { font-size: 13px; font-weight: 600; }

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border: 0;
  border-bottom: 1px solid #1a1a1a;
  border-radius: 0;
  padding: 10px 0;
  background: transparent;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-bottom-color: var(--blue);
}

.contact-form textarea {
  min-height: 72px;
  resize: vertical;
}

.phone-field .phone-input {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #1a1a1a;
}

.phone-field .phone-input:focus-within {
  border-bottom-color: var(--blue);
}

.phone-country {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #444;
  flex: 0 0 auto;
}

.phone-country select {
  width: auto;
  min-width: 56px;
  border: 0;
  padding: 10px 4px 10px 0;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
}

.phone-field input[type="tel"] {
  border: 0;
  padding: 10px 0;
  flex: 1;
}

.checks {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checks legend {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  padding: 0;
}

.checks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
}

.checks input { width: auto; margin: 0; }

.form-actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.btn-submit {
  background: #111;
  color: var(--white);
  min-width: 140px;
  border-radius: 999px;
  padding: 12px 36px;
}

.btn-submit:hover {
  background: #000;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 960px) {
  .form-row-2,
  .checks-grid {
    grid-template-columns: 1fr;
  }
}

.coming-soon {
  min-height: 52vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: center/cover no-repeat;
  color: var(--white);
  position: relative;
}

.coming-soon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 28, 0.45);
}

.coming-soon h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(48px, 8vw, 88px);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
}

.site-footer {
  background: var(--ink);
  color: var(--fog);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 6px; font-size: 14px; }
.site-footer a:hover { color: var(--green); }

.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  align-items: center;
}

.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
}

.socials img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.footer-days p {
  margin: 0 0 16px;
}

.footer-eco {
  display: block;
  width: 120px;
  height: 120px;
  margin-top: 8px;
}

.copy {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  color: #c3bfc7;
}

.areas { columns: 2; }

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .nav,
  .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .brand img {
    width: 56px;
    height: 42px;
  }
  .brand-name { font-size: 16px; }
  .brand-tag { font-size: 12px; }
  body.nav-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header));
    overflow: auto;
    z-index: 50;
  }
  body.nav-open .header-cta {
    display: block;
    position: static;
    margin: 12px 20px 20px;
    text-align: center;
    width: calc(100% - 40px);
  }
  /* Keep CTA with the open menu panel */
  body.nav-open .header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  body.nav-open .brand { flex: 1 1 auto; }
  body.nav-open .menu-toggle { order: 2; }
  body.nav-open .nav {
    order: 3;
    flex: 1 1 100%;
    position: static;
    max-height: none;
  }
  body.nav-open .header-cta {
    order: 4;
    flex: 1 1 100%;
  }
  .nav-drop ul {
    position: static;
    box-shadow: none;
    border: 0;
    display: block;
    padding-left: 12px;
  }
  .split,
  .block,
  .block.reverse,
  .contact-grid,
  .footer-grid,
  .services-grid,
  .features {
    grid-template-columns: 1fr;
  }
  .split-copy { padding: 40px 24px; }
  .eco-banner .wrap { text-align: left; }
  .areas { columns: 2; }
  .hero .cta-card {
    min-width: 0;
    flex: 1 1 220px;
  }
  .footer-eco {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero-inner { padding: 28px 0 20px; }
  .hero h1 { font-size: clamp(26px, 8vw, 36px); max-width: 12ch; }
  .hero .cta-row { flex-direction: column; }
  .hero .cta-card {
    flex: 1 1 auto;
    width: 100%;
  }
  .cta-card a { font-size: 16px; }
  .services-grid { gap: 16px; }
  .service-card { min-height: 260px; }
  .features { gap: 20px; padding: 40px 0 56px; }
  .footer-grid { gap: 28px; }
  .areas { columns: 2; column-gap: 16px; }
  .contact-form { padding: 0; }
  .page-hero { padding: 40px 0 24px; }
}

/* Short viewports (phone landscape, small laptops) */
@media (max-height: 520px) {
  .hero {
    min-height: 0;
    height: calc(100vh - var(--header));
  }
  .hero-inner { padding: 12px 0 10px; }
  .hero h1 {
    font-size: clamp(20px, 4.2vw, 28px);
    margin-bottom: 10px;
    max-width: 18ch;
  }
  .hero .cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero .cta-card {
    padding: 8px 12px;
    min-width: 160px;
    flex: 1 1 160px;
  }
  .hero .cta-card strong { margin-bottom: 2px; font-size: 11px; }
  .hero .cta-card a { font-size: 14px; }
}

@media (max-width: 960px) and (max-height: 520px) {
  .hero .cta-row { flex-direction: row; }
}

/* Wix FloatIn: 1200ms, translateY 60px, cubic-bezier(0.445, 0.05, 0.55, 0.95) */
.reveal {
  opacity: 0;
  transform: translate3d(0, 60px, 0);
  will-change: opacity, transform;
  transition:
    opacity 1200ms cubic-bezier(0.445, 0.05, 0.55, 0.95),
    transform 1200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scrub-media {
    transform: none !important;
  }
}
