/* ==========================================================
   Bimmer Garage – styly webu
   Barvy jsou nahoře v :root, stačí je změnit na jednom místě.
   ========================================================== */

/* ---------- Písmo (Barlow) ----------
   Soubory písma jsou přímo na webu ve složce fonts/ – nic se nenačítá od Googlu.
   Licence: SIL Open Font License. */

/* Barlow 400 normal – latin-ext */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Barlow 400 normal – latin */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/barlow-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Barlow 500 normal – latin-ext */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Barlow 500 normal – latin */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Barlow 600 normal – latin-ext */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Barlow 600 normal – latin */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Barlow Semi Condensed 600 italic – latin-ext */
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-semi-condensed-600-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Barlow Semi Condensed 600 italic – latin */
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-semi-condensed-600-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Barlow Semi Condensed 700 italic – latin-ext */
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-semi-condensed-700-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Barlow Semi Condensed 700 italic – latin */
@font-face {
  font-family: "Barlow Semi Condensed";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-semi-condensed-700-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0a0a0b;
  --bg-alt: #111114;
  --card: #16161a;
  --line: #2a2a30;
  --text: #ececef;
  --muted: #a4a4ad;

  /* Barvy z loga (M pruhy) */
  --m-light: #0066b1;
  --m-dark: #003d7a;
  --m-red: #e2261a;

  --primary: #0066b1;
  --primary-hover: #1a7fcc;

  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Barlow Semi Condensed", "Barlow", system-ui, Arial, sans-serif;

  --radius: 6px;
  --container: 1120px;
  --header-h: 72px;
}

@media (max-width: 479px) {
  :root { --header-h: 64px; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

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

@media (min-width: 640px) {
  .container { padding: 0 32px; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--primary-hover);
  outline-offset: 3px;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
  flex-shrink: 0;
}

/* ---------- Tlačítka ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0 1.4em;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }

.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }

.btn-sm { min-height: 40px; padding: 0 1em; font-size: 1rem; white-space: nowrap; }

/* ---------- Hlavička ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000;
  border-bottom: 1px solid #1c1c20;
}

.m-bar {
  display: flex;
  height: 3px;
}
.m-bar span { flex: 1; }
.m-bar span:nth-child(1) { background: var(--m-light); }
.m-bar span:nth-child(2) { background: var(--m-dark); }
.m-bar span:nth-child(3) { background: var(--m-red); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: calc(var(--header-h) - 4px);
}

.brand img { width: auto; height: 20px; }

@media (min-width: 640px) {
  .brand img { height: 24px; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a:not(.btn) {
  white-space: nowrap;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s, background-color 0.15s;
}
.main-nav a:not(.btn):hover { color: var(--text); }

/* Ikony sociálních sítí v hlavičce (na počítači jen ikony, v mobilním menu i s názvem) */
.nav-social {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.nav-social a:hover { background: rgba(255, 255, 255, 0.08); }
.nav-social .social-icon { width: 20px; height: 20px; }
.nav-social-label { display: none; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); background: var(--text); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); background: var(--text); }

@media (max-width: 1099px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: #000;
    border-bottom: 1px solid #1c1c20;
  }
  .main-nav.is-open { display: flex; }

  .main-nav > a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid #1c1c20;
    font-size: 1.1rem;
    color: var(--text);
  }
  .main-nav .btn { margin-top: 16px; min-height: 48px; }

  .nav-social {
    gap: 28px;
    padding: 14px 0;
    border-bottom: 1px solid #1c1c20;
  }
  .main-nav .nav-social a {
    display: inline-flex;
    gap: 10px;
    width: auto;
    height: auto;
    border-radius: 0;
    font-size: 1.1rem;
    color: var(--text);
  }
  .main-nav .nav-social a:hover { background: none; }
  .nav-social-label { display: inline; }
}

/* ---------- Úvod (hero) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0, 102, 177, 0.18), transparent 60%),
    linear-gradient(180deg, #000 0%, var(--bg) 100%);
}

@media (min-width: 900px) {
  .hero { padding: 96px 0 110px; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 64px;
  }
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  max-width: 14ch;
}

.hero .lead { max-width: 56ch; }

.accent {
  background: linear-gradient(90deg, var(--m-light), #3d8fd6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  margin-bottom: 18px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
/* Šikmé M pruhy před nadpisem, vysoké jako písmo */
.eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 1.3em;
  height: 1.05em;
  margin-left: 0.3em;
  background: linear-gradient(90deg,
    var(--m-light) 0 33.3%,
    var(--m-dark) 33.3% 66.6%,
    var(--m-red) 66.6% 100%);
  transform: skewX(-30deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

@media (max-width: 479px) {
  .hero-actions .btn { width: 100%; }
  .hide-mobile { display: none; }
}

/* „Sledujte nás“ s ikonami pod tlačítky v úvodu */
.hero-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4c4cc;
}
.hero-social span { margin-right: 6px; }
.hero-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  transition: border-color 0.15s, background-color 0.15s;
}
.hero-social a:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }
.hero-social .social-icon { width: 20px; height: 20px; }

/* Úvod s fotkou přes celé pozadí.
   Výřez fotky se nastavuje v HTML:
   --pos / --pos-m  = který kus fotky je vidět (počítač / mobil)
   --zoom, --origin = přiblížení fotky na počítači (aby auto nebylo za textem)
   --shift-m        = posun fotky nahoru na mobilu */
/* Na mobilu je fotka nahoře (--img-h vysoká) a text začíná až u jejího
   spodního okraje, kde fotka plynule mizí – i na malých telefonech */
.hero--photo {
  --img-h: calc((100vh - var(--header-h)) * 0.56);
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding: calc(var(--img-h) - 110px) 0 56px;
}

@supports (height: 100svh) {
  .hero--photo { --img-h: calc((100svh - var(--header-h)) * 0.56); }
}

.hero--photo .hero-inner { width: 100%; }

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--img-h);
  object-fit: cover;
  object-position: var(--pos-m, center);
  transform: translateY(var(--shift-m, 0));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 190px), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 calc(100% - 190px), transparent 100%);
}

/* Lehké ztmavení pod hlavičkou */
.hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 25%);
}

.hero--photo h1,
.hero--photo .lead { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55); }
.hero--photo .lead { color: #d2d2d8; }
.hero--photo .eyebrow { color: #c4c4cc; }

.hero--photo .btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero--photo .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.7); }

@media (min-width: 900px) {
  .hero--photo {
    align-items: center;
    min-height: min(calc(100vh - var(--header-h)), 820px);
    padding: 96px 0;
  }
  .hero-bg {
    height: 100%;
    object-position: var(--pos, center);
    transform: scale(var(--zoom, 1));
    transform-origin: var(--origin, center);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero--photo::after {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.72) 36%, rgba(0, 0, 0, 0.15) 68%, rgba(0, 0, 0, 0.05) 100%),
      linear-gradient(0deg, var(--bg) 0%, transparent 22%);
  }
}

/* ---------- Sekce ---------- */

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

@media (min-width: 800px) {
  .section { padding: 110px 0; }
}

.section-head { margin-bottom: 44px; }

.section h2 { font-size: clamp(2rem, 5vw, 3rem); }

/* ---------- Karty služeb ---------- */

.cards {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--m-light);
}
.card:nth-child(2)::before { background: var(--m-dark); }
.card:nth-child(3)::before { background: var(--m-red); }

.card h3 { font-size: 1.6rem; margin-top: 18px; }
.card p { color: var(--muted); }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: #1f1f25;
}
.card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--text);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.checklist {
  list-style: none;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}
.checklist li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 3px;
  background: var(--m-light);
  transform: skewX(-24deg);
}

/* ---------- Galerie „Z dílny“ ---------- */

.section-head .lead { max-width: 60ch; margin: 0; }

.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (min-width: 1000px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

.gallery a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s, opacity 0.3s;
}

.gallery a:hover img { transform: scale(1.04); opacity: 0.9; }

/* Zvětšená fotka */
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.92); }

.lightbox-figure {
  margin: 0;
  padding: 56px 16px 24px;
  text-align: center;
}
.lightbox-figure img {
  max-width: min(100%, 1200px);
  max-height: calc(100vh - 150px);
  max-height: calc(100dvh - 150px);
  margin: 0 auto;
  border-radius: var(--radius);
}
.lightbox-figure figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.lightbox-btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

@media (max-width: 639px) {
  .lightbox-prev,
  .lightbox-next { top: auto; bottom: 16px; transform: none; }
  .lightbox-figure { padding-bottom: 80px; }
  .lightbox-figure img { max-height: calc(100vh - 200px); max-height: calc(100dvh - 200px); }
}

/* ---------- Postup ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: krok;
}

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.steps li {
  counter-increment: krok;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.steps li::before {
  content: "0" counter(krok);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--m-light);
}
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--muted); margin: 0; }
.steps a { color: var(--text); }

/* ---------- Kontakt ---------- */

.contact {
  display: grid;
  gap: 48px;
}

@media (min-width: 900px) {
  .contact { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 64px; }
}

.phone-big {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.1;
  text-decoration: none;
  color: var(--text);
  border-bottom: 3px solid var(--m-light);
  transition: color 0.15s;
}
.phone-big:hover { color: #fff; border-color: var(--m-red); }

.contact-list {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-list div {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.contact-list div:last-child { border-bottom: 0; }
.contact-list dt {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.contact-list dd { margin: 0; font-size: 1.1rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* Sociální sítě (kontakt i patička) */
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}
.social-icon {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ---------- Patička ---------- */

.site-footer {
  background: #000;
  border-top: 1px solid #1c1c20;
  padding: 44px 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-logo { height: 18px; width: auto; margin-bottom: 18px; }
.site-footer p { margin: 0 0 6px; }

.footer-social {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.footer-social a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-social a:hover { color: #fff; text-decoration: underline; }
.site-footer .small { font-size: 0.82rem; opacity: 0.8; }

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