/* =============================================
   BIVOGE GULIWE – Hodinářská dílna
   Custom CSS – Quiet Sophistication
   ============================================= */


:root {
  --clr-bg: #f7f5f2;
  --clr-bg-alt: #eeebe5;
  --clr-bg-warm: #f2ede6;
  --clr-bg-dark: #1e1a16;
  --clr-text: #2a2420;
  --clr-text-muted: #6b5f54;
  --clr-text-light: #9c8e83;
  --clr-accent: #8b6f4e;
  --clr-accent-dark: #6b5338;
  --clr-accent-light: #c4a882;
  --clr-gold: #b89260;
  --clr-gold-light: #d4b483;
  --clr-white: #fdfcfa;
  --clr-border: #ddd5c8;
  --clr-border-light: #e8e2d9;

  --shadow-sm: 0 1px 3px rgba(42,36,32,0.06), 0 1px 2px rgba(42,36,32,0.04);
  --shadow-md: 0 4px 12px rgba(42,36,32,0.08), 0 2px 6px rgba(42,36,32,0.05);
  --shadow-lg: 0 12px 32px rgba(42,36,32,0.10), 0 4px 12px rgba(42,36,32,0.06);
  --shadow-xl: 0 24px 56px rgba(42,36,32,0.14), 0 8px 20px rgba(42,36,32,0.08);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --sp-8: 8rem;

  --font-head: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --nav-h: 72px;
  --max-w: 1200px;
  --content-w: 760px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--clr-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent-dark); }
ul { list-style: none; }
address { font-style: normal; }


.skip-to-content {
  position: absolute;
  top: 0; left: 0;
  background: var(--clr-accent);
  color: var(--clr-white);
  padding: var(--sp-2) var(--sp-3);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 9999;
  transform: translateY(-100%);
  transition: transform var(--transition);
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-to-content:focus { transform: translateY(0); }


.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}


.sec { padding: var(--sp-7) 0; }
.sec--light { background-color: var(--clr-bg-alt); }
.sec--warm { background-color: var(--clr-bg-warm); }


.sec-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-2);
}

.sec-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.25;
  margin-bottom: var(--sp-3);
}

.sec-title mark {
  background: none;
  color: var(--clr-accent);
}

.sec-sub {
  font-size: 1.0625rem;
  color: var(--clr-text-muted);
  max-width: 600px;
  line-height: 1.75;
}

.sec-hdr-wrap {
  text-align: center;
  margin-bottom: var(--sp-6);
}
.sec-hdr-wrap .sec-sub { margin: 0 auto; }


.hdr {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--clr-white);
  transition: box-shadow var(--transition);
}

.hdr.scrolled {
  box-shadow: var(--shadow-md);
}

.hdr-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-4);
  gap: var(--sp-3);
}

.hdr-logo { display: flex; align-items: center; flex-shrink: 0; }
.hdr-logo img { height: 36px; width: auto; }

.hdr-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
}

.hdr-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.hdr-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: var(--sp-2); right: var(--sp-2);
  height: 1.5px;
  background: var(--clr-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}
.hdr-link:hover { color: var(--clr-text); }
.hdr-link:hover::after, .hdr-link.active::after { transform: scaleX(1); }
.hdr-link.active { color: var(--clr-text); }

.hdr-border {
  height: 1px;
  background: var(--clr-border);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.hdr.scrolled .hdr-border { transform: scaleX(1); }

.hdr-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.hdr-search-btn,
.hdr-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--clr-text-muted);
  font-size: 1rem;
  transition: color var(--transition), background var(--transition);
}
.hdr-search-btn:hover, .hdr-menu-btn:hover {
  color: var(--clr-text);
  background: var(--clr-bg-alt);
}

.hdr-burger {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background var(--transition);
}
.hdr-burger::before, .hdr-burger::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition);
}
.hdr-burger::before { top: -6px; }
.hdr-burger::after { bottom: -6px; }

.hdr-menu-btn { display: none; }


.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,26,22,0.92);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}
.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.search-inner {
  width: 100%;
  max-width: 600px;
  padding: 0 var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.search-inp {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid var(--clr-gold);
  padding: var(--sp-2) 0;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--clr-white);
  outline: none;
}
.search-inp::placeholder { color: rgba(253,252,250,0.35); }
.search-close {
  background: none;
  border: none;
  color: var(--clr-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--sp-1);
  opacity: 0.7;
  transition: opacity var(--transition);
}
.search-close:hover { opacity: 1; }


.mob-menu {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  pointer-events: none;
  visibility: hidden;
}
.mob-menu.open {
  pointer-events: all;
  visibility: visible;
}
.mob-menu-left {
  width: 55%;
  background: var(--clr-bg-dark);
  padding: var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
}
.mob-menu-right {
  width: 45%;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}
.mob-menu.open .mob-menu-left,
.mob-menu.open .mob-menu-right {
  transform: translateX(0);
}
.mob-menu-right .mob-fig {
  width: 100%;
  height: 100%;
  margin: 0;
}
.mob-menu-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.8);
}
.mob-close {
  background: none;
  border: none;
  color: rgba(253,252,250,0.5);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  transition: color var(--transition);
  align-self: flex-start;
}
.mob-close:hover { color: var(--clr-white); }
.mob-links { display: flex; flex-direction: column; gap: var(--sp-1); }
.mob-link {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: rgba(253,252,250,0.7);
  transition: color var(--transition), transform var(--transition);
  display: inline-block;
}
.mob-link:hover { color: var(--clr-gold-light); transform: translateX(6px); }
.mob-contact {
  margin-top: var(--sp-5);
  color: rgba(253,252,250,0.4);
  font-size: 0.8125rem;
  line-height: 1.8;
}
.mob-contact a { color: rgba(253,252,250,0.5); }
.mob-contact a:hover { color: var(--clr-gold-light); }


.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  background: var(--clr-accent);
  color: var(--clr-white);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 2px solid var(--clr-accent);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--clr-accent-dark);
  border-color: var(--clr-accent-dark);
  color: var(--clr-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  background: transparent;
  color: var(--clr-accent);
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 2px solid var(--clr-accent);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline:hover {
  background: var(--clr-accent);
  color: var(--clr-white);
  transform: translateY(-1px);
}
.btn-outline--light {
  color: var(--clr-white);
  border-color: rgba(253,252,250,0.5);
}
.btn-outline--light:hover {
  background: rgba(253,252,250,0.15);
  color: var(--clr-white);
  border-color: var(--clr-white);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--clr-bg) 0%, var(--clr-bg-warm) 60%, var(--clr-bg-alt) 100%);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  animation: blobMove 12s ease-in-out infinite alternate;
}
.hero-blob {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--clr-accent-light) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.hero-blob--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--clr-gold-light) 0%, transparent 70%);
  bottom: -80px; right: 35%;
  animation-duration: 16s;
  animation-direction: alternate-reverse;
}

@keyframes blobMove {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 40px) scale(0.97); }
  100% { transform: translate(30px, 20px) scale(1.03); }
}

.hero-content {
  padding: var(--sp-7) var(--sp-5) var(--sp-7) var(--sp-7);
  z-index: 2;
  position: relative;
}

.hero-atropos {
  width: 100%;
}

.hero-atropos-inner {
  padding: var(--sp-5);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  background: rgba(139,111,78,0.1);
  border: 1px solid rgba(139,111,78,0.25);
  color: var(--clr-accent);
  padding: 0.375rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.hero-h1 {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--sp-4);
}
.hero-h1-line {
  font-family: var(--font-head);
  line-height: 1.15;
  display: block;
}
.hero-h1-line--1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--clr-text);
}
.hero-h1-line--2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--clr-text-muted);
}
.hero-h1-line--3 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 500;
  color: var(--clr-accent);
  font-style: italic;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--clr-text-muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: var(--sp-5);
}

.hero-img-wrap {
  position: relative;
  height: 100%;
  min-height: 92vh;
  overflow: hidden;
}
.hero-fig {
  width: 100%;
  height: 100%;
  margin: 0;
}
.hero-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =============================================
   INTRO SECTION
   ============================================= */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: center;
}
.intro-text p { margin-bottom: var(--sp-3); color: var(--clr-text-muted); }
.intro-text .btn-outline { margin-top: var(--sp-2); }

.intro-meters { display: flex; flex-direction: column; gap: var(--sp-4); }
.meter-item { display: flex; flex-direction: column; gap: 0.375rem; }
.meter-label { font-size: 0.875rem; font-weight: 600; color: var(--clr-text); }
.meter-item meter {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 100px;
  overflow: hidden;
  border: none;
}
.meter-item meter::-webkit-meter-bar {
  background: var(--clr-border);
  border-radius: 100px;
  border: none;
}
.meter-item meter::-webkit-meter-optimum-value {
  background: linear-gradient(90deg, var(--clr-accent-light), var(--clr-accent));
  border-radius: 100px;
}
.meter-item meter::-moz-meter-bar {
  background: linear-gradient(90deg, var(--clr-accent-light), var(--clr-accent));
  border-radius: 100px;
}
.meter-item small { font-size: 0.75rem; color: var(--clr-text-light); }

/* =============================================
   SERVICES GRID
   ============================================= */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-3);
}

.crd {
  background: var(--clr-white);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
}
.crd:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-accent-light);
}

.crd--srv { display: flex; flex-direction: column; gap: var(--sp-3); }
.crd--srv .crd-ico {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--clr-bg-warm), var(--clr-bg-alt));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.crd--srv .crd-txt h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-1);
}
.crd--srv .crd-txt p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-2);
}
.crd--srv .crd-txt ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.crd--srv .crd-txt ul li {
  font-size: 0.8125rem;
  color: var(--clr-text-muted);
  padding-left: 1.25rem;
  position: relative;
}
.crd--srv .crd-txt ul li::before {
  content: '·';
  position: absolute;
  left: 0.375rem;
  color: var(--clr-accent);
  font-weight: 700;
}

/* =============================================
   PHOTO GRID
   ============================================= */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: var(--sp-2);
}
.photo-fig { margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.photo-fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.photo-fig:hover img { transform: scale(1.04); }
.photo-fig figcaption {
  padding: var(--sp-1) var(--sp-2);
  font-size: 0.75rem;
  color: var(--clr-text-light);
  font-style: italic;
}
.photo-fig--lg {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
  min-height: 420px;
}
.photo-fig--sm:nth-child(2) { grid-column: 8 / 13; grid-row: 1 / 2; min-height: 200px; }
.photo-fig--sm:nth-child(3) { grid-column: 8 / 13; grid-row: 2 / 3; min-height: 200px; }
.photo-fig--wide { grid-column: 1 / 13; min-height: 240px; }

/* =============================================
   PROCESS STEPS
   ============================================= */
.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.step {
  background: var(--clr-white);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
}
.step-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-accent-light);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.step h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-1);
}
.step p { font-size: 0.875rem; color: var(--clr-text-muted); line-height: 1.65; }
.step-arrow {
  color: var(--clr-accent-light);
  font-size: 1.25rem;
  padding-top: var(--sp-4);
  flex-shrink: 0;
}

.process-detail {
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
}
.process-detail summary {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--clr-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.process-detail summary::before {
  content: '+';
  color: var(--clr-accent);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform var(--transition);
}
.process-detail[open] summary::before { transform: rotate(45deg); }
.process-detail p {
  margin-top: var(--sp-2);
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* =============================================
   FAQ
   ============================================= */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--sp-2);
}
.faq-item {
  background: var(--clr-white);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-item summary {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--clr-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.faq-item summary::before {
  content: '';
  width: 6px; height: 6px;
  border-right: 2px solid var(--clr-accent);
  border-bottom: 2px solid var(--clr-accent);
  transform: rotate(-45deg);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary::before { transform: rotate(45deg); }
.faq-item p {
  margin-top: var(--sp-2);
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-sec { background: var(--clr-bg-dark); }
.cta-box {
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
}
.cta-box .sec-eyebrow { color: var(--clr-gold-light); }
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: var(--sp-3);
  line-height: 1.25;
}
.cta-box p {
  color: rgba(253,252,250,0.65);
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto var(--sp-5);
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.pg-hero {
  background: linear-gradient(135deg, var(--clr-bg) 0%, var(--clr-bg-alt) 100%);
  padding: var(--sp-8) 0 var(--sp-7);
  border-bottom: 1px solid var(--clr-border-light);
}
.pg-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.2;
  margin-bottom: var(--sp-3);
}
.pg-hero-title mark { background: none; color: var(--clr-accent); }
.pg-hero-sub {
  font-size: 1.125rem;
  color: var(--clr-text-muted);
  max-width: 620px;
  line-height: 1.75;
}

/* =============================================
   ABOUT / KDO JSME
   ============================================= */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: center;
}
.story-text h2 { margin-bottom: var(--sp-3); }
.story-text p { color: var(--clr-text-muted); margin-bottom: var(--sp-3); line-height: 1.75; }
.story-fig {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.story-fig img { width: 100%; height: 480px; object-fit: cover; }
.story-fig figcaption { padding: var(--sp-1) var(--sp-2); font-size: 0.75rem; color: var(--clr-text-light); font-style: italic; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-3);
}
.crd--value { display: flex; flex-direction: column; gap: var(--sp-2); }
.crd--value .crd-ico {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--clr-bg-warm), var(--clr-bg-alt));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  font-size: 1.125rem;
}
.crd--value h3 {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--clr-text);
}
.crd--value p { font-size: 0.9rem; color: var(--clr-text-muted); line-height: 1.65; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-4);
}
.crd--team { display: flex; flex-direction: column; gap: var(--sp-3); }
.team-fig { border-radius: var(--radius-md); overflow: hidden; margin: 0; }
.team-fig img { width: 100%; height: 260px; object-fit: cover; }
.team-fig figcaption { padding: var(--sp-1) 0; font-size: 0.75rem; color: var(--clr-text-light); font-style: italic; }
.crd--team h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-1);
}
.crd--team p { font-size: 0.9rem; color: var(--clr-text-muted); line-height: 1.65; margin-bottom: var(--sp-2); }
.crd--team ul { list-style: none; display: flex; flex-direction: column; gap: 0.375rem; }
.crd--team ul li { font-size: 0.8125rem; color: var(--clr-text-muted); padding-left: 1.25rem; position: relative; }
.crd--team ul li::before { content: '·'; position: absolute; left: 0.375rem; color: var(--clr-accent); font-weight: 700; }

/* =============================================
   COURSES
   ============================================= */
.courses-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: center;
}
.courses-intro-text h2 { margin-bottom: var(--sp-3); }
.courses-intro-text p { color: var(--clr-text-muted); margin-bottom: var(--sp-3); line-height: 1.75; }
.courses-intro-fig { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); margin: 0; }
.courses-intro-fig img { width: 100%; height: 420px; object-fit: cover; }
.courses-intro-fig figcaption { padding: var(--sp-1) var(--sp-2); font-size: 0.75rem; color: var(--clr-text-light); font-style: italic; }

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-3);
}
.learn-item {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-3);
  background: var(--clr-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.learn-item:hover { box-shadow: var(--shadow-md); }
.learn-item > i { color: var(--clr-accent); font-size: 1.125rem; flex-shrink: 0; margin-top: 2px; }
.learn-item h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--clr-text); margin-bottom: var(--sp-1); }
.learn-item p { font-size: 0.875rem; color: var(--clr-text-muted); line-height: 1.65; }

/* =============================================
   PRED A PO
   ============================================= */
.cases-note {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  padding: var(--sp-3) var(--sp-4);
  background: var(--clr-white);
  border-left: 3px solid var(--clr-accent-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  line-height: 1.7;
}

.case-study {
  margin-bottom: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid var(--clr-border-light);
}
.case-study:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.case-header { margin-bottom: var(--sp-4); }
.case-tag {
  display: inline-block;
  background: rgba(139,111,78,0.1);
  color: var(--clr-accent);
  padding: 0.25rem 0.875rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.case-header h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}
.case-header p { color: var(--clr-text-muted); line-height: 1.7; }

.case-images {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  margin-bottom: var(--sp-4);
}
.case-fig { flex: 1; margin: 0; }
.case-fig img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.case-fig figcaption { font-size: 0.8125rem; color: var(--clr-text-muted); margin-top: var(--sp-1); font-style: italic; }
.case-arrow { color: var(--clr-accent-light); font-size: 1.5rem; flex-shrink: 0; }

.case-detail { background: var(--clr-bg-alt); border-radius: var(--radius-md); padding: var(--sp-4); }
.case-detail h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}
.case-detail ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: var(--sp-3); }
.case-detail ul li { font-size: 0.9rem; color: var(--clr-text-muted); padding-left: 1.5rem; position: relative; }
.case-detail ul li::before { content: '✓'; position: absolute; left: 0; color: var(--clr-accent); font-size: 0.875rem; }
.case-detail details summary { font-size: 0.9rem; font-weight: 600; color: var(--clr-accent); cursor: pointer; list-style: none; }
.case-detail details p { margin-top: var(--sp-2); font-size: 0.875rem; color: var(--clr-text-muted); line-height: 1.7; }

.case-study--alt { background: var(--clr-bg-alt); border-radius: var(--radius-xl); padding: var(--sp-5); border-bottom: none; }

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-3);
}
.crd--type { display: flex; flex-direction: column; gap: var(--sp-2); }
.crd--type .crd-ico {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--clr-bg-warm), var(--clr-bg-alt));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-accent); font-size: 1.125rem;
}
.crd--type h3 { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; color: var(--clr-text); }
.crd--type p { font-size: 0.9rem; color: var(--clr-text-muted); line-height: 1.65; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-7);
  align-items: start;
}
.contact-form-intro { color: var(--clr-text-muted); margin-bottom: var(--sp-4); }


.chat-frm { display: flex; flex-direction: column; gap: var(--sp-3); }

.chat-bubble {
  max-width: 88%;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-lg);
  line-height: 1.6;
}
.chat-bubble--company {
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-border-light);
  border-bottom-left-radius: var(--radius-sm);
  align-self: flex-start;
}
.chat-bubble--company p { font-size: 0.9375rem; color: var(--clr-text); margin: 0; }
.chat-bubble--user {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-bottom-right-radius: var(--radius-sm);
  align-self: flex-end;
  margin-left: auto;
  width: 100%;
  max-width: 100%;
  transition: border-color var(--transition);
}
.chat-bubble--user:has(:focus) {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(139,111,78,0.12);
}
.chat-bubble--user label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  margin-bottom: 0.375rem;
}
.chat-bubble--user label abbr { color: var(--clr-accent); text-decoration: none; }
.chat-bubble--user input,
.chat-bubble--user textarea {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--clr-text);
  resize: vertical;
}
.chat-bubble--privacy { display: flex; align-items: flex-start; gap: var(--sp-2); }
.chk-label {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-1);
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  line-height: 1.5;
}
.chk-label input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 1px;
  accent-color: var(--clr-accent);
  flex-shrink: 0;
  cursor: pointer;
}
.chk-label a { color: var(--clr-accent); }
.chk-label abbr { color: var(--clr-accent); text-decoration: none; }

.form-note { font-size: 0.75rem; color: var(--clr-text-light); }
.form-note abbr { color: var(--clr-accent); text-decoration: none; }
.form-error {
  background: rgba(180,40,40,0.08);
  border: 1px solid rgba(180,40,40,0.25);
  color: #a83232;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}
.chat-send-btn {
  align-self: flex-end;
}


.contact-detail-list { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.contact-detail {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}
.contact-detail > i {
  width: 40px; height: 40px;
  background: var(--clr-bg-alt);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-accent);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 0.8125rem; color: var(--clr-text-muted); margin-bottom: 0.25rem; }
.contact-detail a, .contact-detail address { font-size: 0.9375rem; color: var(--clr-text); line-height: 1.6; }

.opening-hours { background: var(--clr-bg-alt); border-radius: var(--radius-md); padding: var(--sp-4); }
.opening-hours h3 { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; color: var(--clr-text); margin-bottom: var(--sp-3); }
.hours-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem var(--sp-3); }
.hours-list dt { font-size: 0.875rem; color: var(--clr-text-muted); }
.hours-list dd { font-size: 0.875rem; color: var(--clr-text); font-weight: 500; }
.opening-hours small { display: block; margin-top: var(--sp-2); font-size: 0.75rem; color: var(--clr-text-light); line-height: 1.6; }


.map-transport-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--sp-5);
  align-items: start;
}
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrap iframe { display: block; }

.transport-info h3 { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--clr-text); margin-bottom: var(--sp-4); }
.transport-item {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--clr-border-light);
}
.transport-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.transport-item > i {
  width: 36px; height: 36px;
  background: var(--clr-bg-alt);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.transport-item strong { display: block; font-size: 0.875rem; color: var(--clr-text); margin-bottom: 0.25rem; }
.transport-item p { font-size: 0.8125rem; color: var(--clr-text-muted); line-height: 1.6; }

/* =============================================
   THANKS PAGE
   ============================================= */
.thanks-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-8) 0;
}
.thanks-wrap { text-align: center; max-width: 560px; margin: 0 auto; }
.thanks-quote-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-xl);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--sp-5);
  position: relative;
  text-align: left;
}
.thanks-quote-icon {
  color: var(--clr-accent-light);
  font-size: 2rem;
  display: block;
  margin-bottom: var(--sp-3);
}
.thanks-quote-text {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  color: var(--clr-text);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
}
.thanks-quote-attr cite { font-size: 0.875rem; color: var(--clr-text-muted); font-style: normal; }
.thanks-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-2);
}
.thanks-text { color: var(--clr-text-muted); margin-bottom: var(--sp-4); }

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-main { padding: var(--sp-7) 0; }
.legal-container { max-width: 820px; }
.legal-hdr { margin-bottom: var(--sp-5); padding-bottom: var(--sp-4); border-bottom: 2px solid var(--clr-border); }
.legal-hdr h1 { font-family: var(--font-head); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; color: var(--clr-text); margin-bottom: var(--sp-1); }
.legal-updated { font-size: 0.875rem; color: var(--clr-text-muted); }

.legal-container h2 {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--clr-text);
  margin: var(--sp-5) 0 var(--sp-2);
}
.legal-container h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--clr-text);
  margin: var(--sp-4) 0 var(--sp-2);
}
.legal-container p { color: var(--clr-text-muted); line-height: 1.75; margin-bottom: var(--sp-3); font-size: 0.9375rem; }
.legal-container ul { list-style: disc; padding-left: 1.5rem; margin-bottom: var(--sp-3); }
.legal-container ul li { color: var(--clr-text-muted); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 0.5rem; }
.legal-container a { color: var(--clr-accent); }
.legal-container a:hover { color: var(--clr-accent-dark); }
.legal-container abbr { border-bottom: 1px dotted var(--clr-text-muted); cursor: help; }
.legal-container code { font-family: monospace; font-size: 0.875rem; background: var(--clr-bg-alt); padding: 0.125rem 0.375rem; border-radius: var(--radius-sm); color: var(--clr-text); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-3) 0 var(--sp-4);
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.legal-table th {
  background: var(--clr-bg-alt);
  color: var(--clr-text);
  font-weight: 600;
  padding: 0.75rem var(--sp-3);
  text-align: left;
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.8125rem;
}
.legal-table td {
  padding: 0.75rem var(--sp-3);
  color: var(--clr-text-muted);
  border-bottom: 1px solid var(--clr-border-light);
  vertical-align: top;
  line-height: 1.6;
}
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:nth-child(even) td { background: rgba(238,235,229,0.4); }

.legal-dl { margin: var(--sp-3) 0 var(--sp-4); }
.legal-dl dt {
  font-weight: 600;
  color: var(--clr-text);
  font-size: 0.9375rem;
  margin-top: var(--sp-3);
  margin-bottom: 0.25rem;
}
.legal-dl dd {
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  padding-left: var(--sp-3);
  border-left: 2px solid var(--clr-border-light);
}

/* =============================================
   FOOTER
   ============================================= */
.ftr { background: var(--clr-bg-dark); margin-top: auto; }
.ftr-top { padding: var(--sp-7) 0 var(--sp-5); }
.ftr-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-5);
}

.ftr-brand img { margin-bottom: var(--sp-3); filter: brightness(0) invert(1) opacity(0.85); }
.ftr-tagline { font-size: 0.875rem; color: rgba(253,252,250,0.5); line-height: 1.6; margin-bottom: var(--sp-3); }
.ftr-addr { font-size: 0.875rem; color: rgba(253,252,250,0.45); line-height: 1.9; }
.ftr-addr a { color: rgba(253,252,250,0.55); }
.ftr-addr a:hover { color: var(--clr-gold-light); }

.ftr-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,252,250,0.35);
  margin-bottom: var(--sp-3);
}
.ftr-nav { display: flex; flex-direction: column; gap: 0.625rem; }
.ftr-nav a {
  font-size: 0.875rem;
  color: rgba(253,252,250,0.55);
  transition: color var(--transition);
}
.ftr-nav a:hover { color: var(--clr-gold-light); }

.ftr-bottom {
  border-top: 1px solid rgba(253,252,250,0.08);
  padding: var(--sp-3) 0;
}
.ftr-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.ftr-bottom small { font-size: 0.75rem; color: rgba(253,252,250,0.3); }
.ftr-bottom abbr { border-bottom: none; }

/* =============================================
   COOKIE CONSENT (corner-modal)
   ============================================= */
.cookie-card {
  position: fixed;
  bottom: var(--sp-4);
  left: var(--sp-4);
  width: 360px;
  max-width: calc(100vw - 2rem);
  background: var(--clr-white);
  border: 1px solid var(--clr-border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  z-index: 3000;
  padding: var(--sp-4);
  transform: translateY(calc(100% + var(--sp-5)));
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}
.cookie-card.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-1);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.cookie-card-title i { color: var(--clr-accent); }
.cookie-card-text { font-size: 0.8125rem; color: var(--clr-text-muted); line-height: 1.6; margin-bottom: var(--sp-3); }
.cookie-card-text a { color: var(--clr-accent); }
.cookie-btns { display: flex; flex-direction: column; gap: var(--sp-1); }
.cookie-btn {
  width: 100%;
  padding: 0.625rem var(--sp-3);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.cookie-btn--accept {
  background: var(--clr-accent);
  color: var(--clr-white);
}
.cookie-btn--accept:hover { background: var(--clr-accent-dark); }
.cookie-btn--reject {
  background: var(--clr-bg-alt);
  color: var(--clr-text-muted);
}
.cookie-btn--reject:hover { background: var(--clr-border); }
.cookie-btn--customize {
  background: none;
  color: var(--clr-accent);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0.375rem;
}
.cookie-customize-panel {
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--clr-border-light);
  display: none;
}
.cookie-customize-panel.open { display: block; }
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-2);
  gap: var(--sp-2);
}
.cookie-toggle-label { font-size: 0.8125rem; color: var(--clr-text); font-weight: 500; }
.cookie-toggle-sub { font-size: 0.75rem; color: var(--clr-text-light); }
.cookie-toggle {
  position: relative;
  width: 40px; height: 22px;
  flex-shrink: 0;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--clr-border);
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--transition);
}
.cookie-toggle-slider::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  background: var(--clr-white);
  border-radius: 50%;
  top: 3px; left: 3px;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--clr-accent); }
.cookie-toggle input:checked + .cookie-toggle-slider::after { transform: translateX(18px); }
.cookie-toggle input:disabled + .cookie-toggle-slider { opacity: 0.5; cursor: not-allowed; }

/* =============================================
   HAS() SELECTORS – Relational Styling
   ============================================= */
.crd:has(.team-fig) { padding: 0; overflow: hidden; }
.crd:has(.team-fig) .crd-txt { padding: var(--sp-3) var(--sp-4) var(--sp-4); }
.sec--light:has(.faq-grid) { background: var(--clr-bg-alt); }
.frm:has(:focus) { outline: none; }
.chat-frm:has(.chat-bubble--user:focus-within) .chat-bubble--company:last-of-type { border-color: var(--clr-accent-light); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  :root { --sp-7: 4.5rem; --sp-8: 6rem; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: var(--sp-7) var(--sp-4); }
  .hero-img-wrap { min-height: 400px; }

  .intro-grid,
  .story-grid,
  .courses-intro-grid { grid-template-columns: 1fr; gap: var(--sp-5); }

  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
  .step-arrow { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .map-transport-grid { grid-template-columns: 1fr; }

  .ftr-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }

  .photo-fig--lg { grid-column: 1 / 13; min-height: 300px; }
  .photo-fig--sm:nth-child(2) { grid-column: 1 / 7; }
  .photo-fig--sm:nth-child(3) { grid-column: 7 / 13; }
}

@media (max-width: 768px) {
  :root { --sp-7: 3.5rem; --sp-8: 4.5rem; --nav-h: 64px; }

  .hdr-links { display: none; }
  .hdr-search-btn { display: none; }
  .hdr-menu-btn { display: flex; }

  .mob-menu-left { width: 65%; }
  .mob-menu-right { width: 35%; }

  .srv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .types-grid { grid-template-columns: 1fr; }
  .learn-grid { grid-template-columns: 1fr; }

  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-fig--lg { grid-column: 1 / 3; }
  .photo-fig--sm:nth-child(2) { grid-column: 1 / 2; }
  .photo-fig--sm:nth-child(3) { grid-column: 2 / 3; }
  .photo-fig--wide { grid-column: 1 / 3; }

  .case-images { flex-direction: column; }
  .case-arrow { transform: rotate(90deg); }

  .ftr-grid { grid-template-columns: 1fr; }
  .ftr-bottom .container { flex-direction: column; text-align: center; }

  .hero-content { padding: var(--sp-6) var(--sp-3); }
  .container { padding: 0 var(--sp-3); }

  .cta-actions { flex-direction: column; align-items: center; }

  .thanks-quote-card { padding: var(--sp-4); }
}

@media (max-width: 480px) {
  .mob-menu-left { width: 100%; }
  .mob-menu-right { display: none; }

  .intro-meters { gap: var(--sp-3); }
  .cookie-card { bottom: 0; left: 0; right: 0; width: 100%; max-width: 100%; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }

  .legal-table { font-size: 0.75rem; }
  .legal-table th, .legal-table td { padding: 0.625rem var(--sp-2); }
}


.hero-atropos .atropos-inner { background: transparent; }
.atropos { width: 100%; }