/* ==========================================================================
   Extreme Line s.r.o. — stylesheet
   Brand: Deep Charcoal #191A17 · Soft Limestone #DFDEDA · Montserrat
   Bez bílé — sekce se střídají charcoal / limestone.
   ========================================================================== */

:root {
  /* Brand */
  --charcoal:      #191A17;   /* Deep Charcoal */
  --charcoal-2:    #23251F;   /* vyvýšené plochy na charcoalu (inputy) */
  --limestone:     #DFDEDA;   /* Soft Limestone */
  --limestone-2:   #E8E7E3;   /* jemně světlejší (hover) */

  /* Text na světlém */
  --ink:           #191A17;
  --ink-muted:     #5e605a;
  --ink-muted-2:   #5e605a;

  /* Text na tmavém */
  --on-dark:       #e4e5e0;
  --on-dark-muted: #a4a79d;
  --on-dark-dim:   #82857b;

  /* Linky */
  --line-light:    rgba(25, 26, 23, .16);   /* na limestone */
  --line-dark:     #33372e;                 /* na charcoalu */

  /* Akcent */
  --accent:        #e8571b;   /* plochy: tlačítka, pruh, odrážky */
  --accent-ink:    #c8460f;   /* hover tlačítek */
  --accent-light:  #ff8a5c;   /* text na charcoalu */
  --accent-dark:   #a63a0c;   /* text na limestone (čitelnost) */

  --container: 1180px;
  --radius: 6px;
  --header-h: 84px;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

body {
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: var(--limestone);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-weight: 700; line-height: 1.18; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 118px); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-dark);
  margin-bottom: 18px;
}
.eyebrow-light { color: var(--accent-light); }

.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 62px); }
.section-head h2 { font-size: clamp(27px, 3.6vw, 40px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.btn-primary { background: var(--accent); color: var(--charcoal); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); }

.btn-dark { background: var(--charcoal); color: var(--limestone); }
.btn-dark:hover { background: #000; transform: translateY(-1px); }

/* Ghost na tmavém pozadí */
.btn-ghost { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
.btn-ghost:hover { border-color: var(--limestone); color: var(--limestone); }

/* ---------- Header (charcoal) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(25, 26, 23, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--limestone);
}
.brand-tag {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--on-dark-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--on-dark-muted);
  transition: color .15s ease;
}
.nav a:hover { color: var(--limestone); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-switch button {
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  background: transparent;
  border: none;
  color: var(--on-dark-muted);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.lang-switch button:hover { color: var(--limestone); }
.lang-switch button.active { background: var(--limestone); color: var(--charcoal); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--limestone); transition: transform .25s ease, opacity .2s ease; }

/* ---------- Hero (charcoal) ---------- */
.hero { background: var(--charcoal); color: var(--on-dark); }
.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 88px);
}
.hero-logo {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: var(--charcoal);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 56px);
}
.hero-logo img { width: 100%; max-width: 330px; height: auto; }

.hero-text { max-width: 560px; }
.hero .eyebrow { color: var(--accent-light); }
.hero h1 { font-size: clamp(31px, 4.4vw, 50px); margin-bottom: 22px; color: var(--limestone); }
.lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--on-dark-muted); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
}
.hero-badges li {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  padding-left: 20px;
  position: relative;
  color: var(--on-dark);
}
.hero-badges li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 9px; height: 9px;
  transform: translateY(-50%);
  background: var(--accent);
  border-radius: 2px;
}

/* ---------- Intro (limestone) ---------- */
.intro { padding-block: clamp(52px, 7vw, 86px); background: var(--limestone); }
.intro-inner { max-width: 900px; }
.intro-lead {
  font-weight: 600;
  font-size: clamp(19px, 2.3vw, 27px);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.intro-lead strong { color: var(--accent-dark); font-weight: 700; }

/* ---------- Galerie + metoda (charcoal) ---------- */
.method { background: var(--charcoal); color: var(--on-dark); }
.method-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.method .eyebrow { color: var(--accent-light); }
.method-text h2 { font-size: clamp(27px, 3.6vw, 40px); margin-bottom: 20px; color: var(--limestone); }
.method-text > p { color: var(--on-dark-muted); margin-bottom: 28px; max-width: 48ch; }

/* Běžící galerie */
.slideshow {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--charcoal-2);
}
.slides { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .55s ease, transform 3.2s ease;
}
.slide.is-active { opacity: 1; transform: scale(1); }

.slide-dots {
  position: absolute;
  left: 0; right: 0; bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.slide-dots button {
  width: 9px; height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(223, 222, 218, .5);
  cursor: pointer;
  transition: background-color .2s ease, width .25s ease, border-radius .25s ease;
}
.slide-dots button:hover { background: rgba(223, 222, 218, .9); }
.slide-dots button.active { background: var(--accent); width: 24px; border-radius: 999px; }

/* Check list na tmavém */
.check-list { list-style: none; display: grid; gap: 13px; }
.check-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--on-dark);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 19px; height: 19px;
  background-color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Služby (limestone, bez bílých karet) ---------- */
.services { background: var(--limestone); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: var(--limestone);
  padding: 32px 26px;
  border-top: 3px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
.service-card:hover { background: var(--limestone-2); border-top-color: var(--accent); }
.service-card h3 { font-size: 17.5px; margin-bottom: 12px; color: var(--ink); }
.service-card p { font-size: 14.5px; color: var(--ink-muted); line-height: 1.65; }

/* ---------- Proč Extreme Line (charcoal) ---------- */
.why { background: var(--charcoal); color: var(--on-dark); }
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 78px);
}
.why-intro { max-width: 420px; }
.why-intro h2 { font-size: clamp(27px, 3.6vw, 40px); margin-bottom: 20px; color: var(--limestone); }
.why-intro p { color: var(--on-dark-muted); }
.why-intro strong { color: var(--limestone); font-weight: 700; }
.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-item { background: var(--charcoal); padding: 28px 26px; }
.why-item h3 { font-size: 17px; margin-bottom: 10px; color: var(--limestone); }
.why-item p { font-size: 14.5px; color: var(--on-dark-muted); line-height: 1.65; }

/* ---------- CTA band (oranžová) ---------- */
.cta-band { background: var(--accent); color: var(--charcoal); }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-block: clamp(48px, 6vw, 74px);
}
.cta-inner h2 { font-size: clamp(25px, 3.2vw, 36px); margin-bottom: 12px; max-width: 20ch; }
.cta-inner p { max-width: 46ch; color: rgba(25, 26, 23, .82); }

/* ---------- Kontakt (limestone + černý formulář) ---------- */
.contact { background: var(--limestone); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 78px);
  align-items: start;
}
.contact-info h2 { font-size: clamp(27px, 3.6vw, 40px); margin-bottom: 16px; color: var(--ink); }
.contact-sub { color: var(--ink-muted); margin-bottom: 34px; max-width: 40ch; }
.contact-list { list-style: none; display: grid; gap: 22px; }
.contact-list li { display: grid; gap: 4px; }
.contact-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted-2);
}
.contact-list a { font-size: 19px; font-weight: 700; color: var(--ink); }
.contact-list a:hover { color: var(--accent-dark); }

.contact-form {
  background: var(--charcoal);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
}
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--on-dark);
}
.field input, .field textarea {
  font-family: var(--font);
  font-weight: 500;
  font-size: 15.5px;
  color: var(--on-dark);
  background: var(--charcoal-2);
  border: 2px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 13px 15px;
  width: 100%;
  transition: border-color .15s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--on-dark-dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; }
.contact-form .btn { width: 100%; margin-top: 4px; }
.form-note { font-size: 13.5px; color: var(--on-dark-muted); margin-top: 14px; text-align: center; min-height: 1em; }
.form-note.ok { color: #6fcf8b; }

/* ---------- Footer (charcoal) ---------- */
.site-footer { background: var(--charcoal); color: var(--on-dark-muted); padding-top: clamp(52px, 6vw, 78px); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand { max-width: 340px; }
.footer-mark { width: 150px; height: 150px; margin-bottom: 22px; }
.footer-brand p { font-size: 14.5px; color: var(--on-dark-dim); line-height: 1.65; }
.footer-nav, .footer-contact { display: grid; gap: 12px; align-content: start; }
.footer-nav a, .footer-contact a, .footer-contact span { font-size: 14.5px; font-weight: 500; color: var(--on-dark-muted); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--limestone); }
.footer-contact a:first-child { font-weight: 700; font-size: 17px; color: var(--limestone); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  color: var(--on-dark-dim);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .nav { gap: 20px; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo { aspect-ratio: 16 / 9; padding: 28px; }
  .hero-logo img { max-width: 210px; }
  .method-grid { grid-template-columns: 1fr; }
  .slideshow { aspect-ratio: 16 / 10; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-mark { width: 120px; height: 120px; }
}

/* Mobil: menu bar bez poptávkového tlačítka */
@media (max-width: 720px) {
  :root { --header-h: 68px; }

  .header-actions .btn { display: none; }
  .header-actions { gap: 10px; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--charcoal);
    border-bottom: 1px solid var(--line-dark);
    padding: 8px 24px 20px;
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
    transform: translateY(-140%);
    transition: transform .28s ease;
    visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 16px;
    color: var(--on-dark);
  }
  .nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }

  .why-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .brand-name { font-size: 17px; }
  .brand-tag { font-size: 9.5px; letter-spacing: 0.06em; }
}

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

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