/* ============================================================
   ЕКО-ГАБИ — Контейнери за отпадъци под наем
   Palette drawn from the company's real equipment:
   skip orange + work blue on white/concrete gray
   ============================================================ */

:root {
  --orange: #F28C1B;        /* skip orange (primary / CTA) */
  --orange-dark: #D97A0A;   /* hover / shaded face */
  --blue: #1E3E8F;          /* equipment blue */
  --navy: #14264F;          /* headings, dark surfaces */
  --ink: #333C4E;           /* body text */
  --steel: #64748B;         /* secondary text */
  --concrete: #EEF1F4;      /* alternate section background */
  --line: #DDE3EA;          /* borders */
  --white: #FFFFFF;

  --font-display: "Russo One", "Arial Black", sans-serif;
  --font-body: "Rubik", "Segoe UI", sans-serif;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(20, 38, 79, 0.10);
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

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

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

.container-narrow { max-width: 820px; }

/* ---------- Safety stripe (signature accent) ---------- */
.stripe {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--orange) 0 16px,
    var(--navy) 16px 32px
  );
}

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: 0.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1.75rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

.accent { color: var(--orange); }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange-dark);
  margin-bottom: 0.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn .icon { width: 1.15em; height: 1.15em; flex: none; }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 0.85rem 1.6rem;
  font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(242, 140, 27, 0.35);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }

.btn-lg { padding: 1rem 2rem; font-size: 1.15rem; }

.btn-call {
  background: var(--blue);
  color: var(--white);
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
}
.btn-call:hover { background: var(--navy); }

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

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex: none;
}

.logo-mark { width: 44px; height: auto; }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--blue);
  letter-spacing: 0.5px;
}

.logo-dash { color: var(--orange); }

.nav {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav a:hover { color: var(--blue); border-bottom-color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(115deg, var(--white) 0%, var(--white) 46%, var(--concrete) 46.2%, var(--concrete) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 3rem;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.hero-sub {
  margin: 1.1rem 0 1.8rem;
  font-size: 1.15rem;
  color: var(--steel);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.hero-phone { display: flex; flex-direction: column; }

.hero-phone-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}

.hero-phone-note { font-size: 0.9rem; color: var(--steel); }

.trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 2rem;
}

.trust-list li {
  position: relative;
  padding-left: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 0.95em;
  height: 0.55em;
  border-left: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  transform: rotate(-45deg);
}

.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-bottom: 6px solid var(--orange);
  height: auto;
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }

.section-alt { background: var(--concrete); }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.card-icon { width: 58px; height: auto; margin-bottom: 1rem; }

.card p { color: var(--steel); font-size: 0.98rem; }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  border-top: 4px solid var(--orange);
  box-shadow: 0 4px 14px rgba(20, 38, 79, 0.06);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.step p { color: var(--steel); font-size: 0.95rem; }

/* ---------- Chips ---------- */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chips li {
  background: var(--concrete);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.gallery img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.gallery figcaption {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: var(--steel);
}

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  background: var(--white);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 1.05rem 1.3rem;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 3rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--orange);
  transition: transform 0.2s;
}

.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq details p {
  padding: 0 1.3rem 1.2rem;
  color: var(--steel);
}

/* ---------- CTA section ---------- */
.cta-section {
  background: var(--navy);
  padding: 4.5rem 0;
  border-top: 6px solid var(--orange);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.cta-section h2 { color: var(--white); margin-bottom: 0.6rem; }

.cta-section p { color: #B9C4DB; max-width: 30em; }

.cta-contact { display: flex; flex-direction: column; gap: 1rem; }

.cta-details {
  list-style: none;
  color: #B9C4DB;
  font-size: 0.95rem;
}

.cta-details strong { color: var(--white); }

/* ---------- Footer ---------- */
.footer {
  background: #0D1A38;
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

.logo-footer .logo-text { color: var(--white); }

.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }

.footer-nav a {
  color: #8FA0C4;
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-nav a:hover { color: var(--white); }

.footer-copy { color: #5D6E93; font-size: 0.85rem; }

/* ---------- Mobile call bar ---------- */
.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.95rem 1rem calc(0.95rem + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(20, 38, 79, 0.25);
}

.mobile-call-bar .icon { width: 1.2em; height: 1.2em; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .nav-toggle span { transition: none; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 3rem; }
  .hero { background: linear-gradient(180deg, var(--white) 0%, var(--white) 55%, var(--concrete) 100%); }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .header-call { margin-left: auto; }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: none;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.95rem 20px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
  .header-call span { display: none; }        /* icon-only call button in header */
  .header-call { padding: 0.6rem 0.8rem; }
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 64px; }              /* room for the call bar */
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
