/* ============================================================
   STUDIO93 — MAIN STYLESHEET
   Design inspired by throxy.com — adapted for creative agency
   ============================================================ */

/* ── 1. CUSTOM PROPERTIES ── */
:root {
  /* ── PALETTE (3 colors + dark reserved for hero/footer) ── */
  --c-bg:            #E4E2DD;   /* default section background */
  --c-surface:       #EDEAE4;   /* card backgrounds */
  --c-surface-2:     #E8E5DF;   /* input fields */

  --c-accent:        #EBCDEF;   /* lavender-pink — buttons, badges, highlights */
  --c-accent-hover:  #DDB8E3;   /* slightly deeper lavender on hover */
  --c-accent-rgb:    235, 205, 239;
  --c-accent-deep:   #C89FD0;   /* saturated lavender for decorative lines/dots */

  /* Dark — hero section and footer ONLY */
  --c-dark:          #0C0A09;
  --c-dark-2:        #141210;
  --c-dark-surface:  #1C1916;

  /* Text on light bg (default everywhere except hero + footer) */
  --c-text:          #1A1A1A;
  --c-text-muted:    #6B6560;

  /* Text on dark bg (hero + footer) */
  --c-text-inv:      #EDE8E0;
  --c-text-inv-muted: #7A746C;

  /* Borders on light bg (default) */
  --c-border:        rgba(26,26,26,0.10);
  --c-border-hover:  rgba(26,26,26,0.20);

  /* Borders on dark bg (hero + footer) */
  --c-border-inv:      rgba(237,232,224,0.09);
  --c-border-inv-hover: rgba(237,232,224,0.18);

  /* Legacy aliases kept so template-part color overrides still resolve */
  --c-text-dark:      #1A1A1A;
  --c-text-dark-muted: #6B6560;
  --c-border-light:   rgba(26,26,26,0.10);
  --c-border-light-hover: rgba(26,26,26,0.20);
  --c-white:          #FFFFFF;

  /* Typography */
  --font-display:    'Syne', sans-serif;
  --font-body:       'DM Sans', sans-serif;

  /* Spacing scale */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  48px;
  --sp-8:  64px;
  --sp-9:  80px;
  --sp-10: 96px;
  --sp-11: 128px;
  --sp-12: 160px;

  /* Container */
  --container:     1200px;
  --container-px:  clamp(20px, 5vw, 48px);

  /* Border radius */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 999px;

  /* Motion */
  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:       cubic-bezier(0.4, 0, 1, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:      180ms;
  --dur:           320ms;
  --dur-slow:      540ms;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.14);
  --shadow-xl:  0 24px 80px rgba(0,0,0,0.18);
  --glow:       0 4px 32px rgba(var(--c-accent-rgb), 0.50);
}

/* ── 2. RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }
input, textarea, select { appearance: none; -webkit-appearance: none; }

/* ── 3. TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.display-xl {
  font-size: clamp(52px, 9vw, 120px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.display-lg {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.display-md {
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.display-sm {
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.2;
  font-weight: 700;
}

.body-lg  { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }
.body-md  { font-size: 16px; line-height: 1.65; }
.body-sm  { font-size: 14px; line-height: 1.6; }
.label    { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

.accent-text     { color: var(--c-accent); }
.text-muted      { color: var(--c-text-muted); }
.text-muted-dark { color: var(--c-text-dark-muted); }

/* ── 4. LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section { padding: var(--sp-12) 0; }

/* All non-hero/footer sections are light now — these utilities kept for future use */
.section--dark    { background: var(--c-dark);    color: var(--c-text-inv); }
.section--dark2   { background: var(--c-dark-2);  color: var(--c-text-inv); }
.section--surface { background: var(--c-surface); }
.section--warm    { background: var(--c-bg); }
.section--warm2   { background: var(--c-surface); }

.section__header { margin-bottom: var(--sp-9); }

.section__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.section__label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-accent-deep);
  border-radius: 2px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── 5. BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  border-radius: var(--r-sm);      /* max 6px — per brand rules */
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition:
    background var(--dur-fast) var(--ease-standard),
    color var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard);
}

.btn:active { transform: scale(0.97); }

/* Primary — lavender bg, dark text */
.btn--primary {
  background: var(--c-accent);
  color: var(--c-text);
  border: 1px solid transparent;
}
.btn--primary:hover {
  background: var(--c-accent-hover);
  box-shadow: var(--glow);
}

/* Outline — for light backgrounds */
.btn--dark {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border);
}
.btn--dark:hover {
  border-color: var(--c-border-hover);
  background: rgba(26,26,26,0.04);
}

/* Ghost on light bg */
.btn--ghost-dark {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border);
}
.btn--ghost-dark:hover {
  border-color: var(--c-border-hover);
  background: rgba(26,26,26,0.04);
}

/* Ghost on light bg (identical to ghost-dark, alias kept for templates) */
.btn--ghost-light {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border);
}
.btn--ghost-light:hover {
  border-color: var(--c-border-hover);
  background: rgba(26,26,26,0.04);
}

/* Ghost on DARK bg (used inside hero section only) */
.btn--ghost-inv {
  background: transparent;
  color: var(--c-text-inv);
  border: 1px solid var(--c-border-inv);
}
.btn--ghost-inv:hover {
  border-color: var(--c-border-inv-hover);
  background: rgba(255,255,255,0.06);
}

.btn--lg {
  padding: 18px 36px;
  font-size: 16px;
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ── 6. BADGE / PILL ── */
/* Default badge: on light background */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  background: var(--c-surface);
}

/* Badge used inside the dark hero */
.hero .badge {
  border-color: var(--c-border-inv);
  color: var(--c-text-inv-muted);
  background: rgba(255,255,255,0.04);
}

.badge--dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent-deep);
  animation: pulse-dot 2.4s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ── 7. NAVIGATION ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 20px 0;
  transition:
    background var(--dur) var(--ease-standard),
    border-color var(--dur) var(--ease-standard),
    padding var(--dur) var(--ease-standard),
    box-shadow var(--dur) var(--ease-standard);
}

/* Unscrolled state: transparent, sits on top of dark hero — use light text */
.nav__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--c-text-inv);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  transition: color var(--dur) var(--ease-standard);
}

.nav__logo span { color: var(--c-accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-7);
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text-inv-muted);
  transition: color var(--dur-fast) var(--ease-standard);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}

.nav__link:hover { color: var(--c-text-inv); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--c-text-inv);
  border-radius: 2px;
  transition: all var(--dur-fast) var(--ease-standard), background var(--dur) var(--ease-standard);
}

/* Scrolled state: warm beige bg — switch to dark text */
.site-nav.scrolled {
  background: rgba(228, 226, 221, 0.94);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--c-border);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}

.site-nav.scrolled .nav__logo  { color: var(--c-text); }
.site-nav.scrolled .nav__link  { color: var(--c-text-muted); }
.site-nav.scrolled .nav__link:hover { color: var(--c-text); }
.site-nav.scrolled .nav__toggle span { background: var(--c-text); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

/* Nav CTA button: unscrolled = lavender on dark hero */
.nav__actions .btn--primary {
  background: var(--c-accent);
  color: var(--c-text);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu — stays dark (full-screen overlay) */
.nav__mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--c-dark);
  z-index: 800;
  padding: 100px var(--container-px) var(--sp-8);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease);
}

.nav__mobile.open { transform: translateX(0); }

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-text-inv);
  letter-spacing: -0.025em;
  border-bottom: 1px solid var(--c-border-inv);
  padding-bottom: var(--sp-5);
  transition: color var(--dur-fast);
}

.nav__mobile-link:hover { color: var(--c-accent); }

.nav__mobile-cta {
  margin-top: auto;
  padding-top: var(--sp-6);
}

/* ── 8. HERO ── */
/* Hero is the ONLY non-footer section with dark background */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-dark);
  padding: 120px 0 var(--sp-12);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero__eyebrow { margin-bottom: var(--sp-6); }

.hero__heading {
  font-size: clamp(54px, 9.5vw, 124px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--c-text-inv);
  margin-bottom: var(--sp-6);
}

.hero__heading .line { display: block; overflow: hidden; }
.hero__heading .word { display: inline-block; }

/* "ktorý predáva." in lavender — readable on dark bg */
.hero__heading .accent-text { color: var(--c-accent); }

.hero__subheading {
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--c-text-inv-muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: var(--sp-8);
  font-weight: 400;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-11);
}

/* Ghost button variant for dark hero */
.hero__actions .btn--ghost-dark {
  background: transparent;
  color: var(--c-text-inv);
  border: 1px solid var(--c-border-inv);
}
.hero__actions .btn--ghost-dark:hover {
  border-color: var(--c-border-inv-hover);
  background: rgba(255,255,255,0.06);
}

.hero__kpi-bar {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--c-border-inv);
  border-radius: var(--r-xl);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  padding: var(--sp-4) var(--sp-5);
  width: fit-content;
}

.hero__kpi {
  text-align: center;
  padding: 0 var(--sp-6);
}

.hero__kpi:not(:last-child) {
  border-right: 1px solid var(--c-border-inv);
}

.hero__kpi-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-text-inv);
}

.hero__kpi-label {
  display: block;
  font-size: 13px;
  color: var(--c-text-inv-muted);
  margin-top: 2px;
}

/* Hero background elements */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__gradient {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--c-accent-rgb), 0.18) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  filter: blur(60px);
}

.hero__gradient-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,160,220,0.08) 0%, transparent 70%);
  bottom: 0;
  left: 30%;
  filter: blur(80px);
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ── 9. SERVICES ── */
.services {
  background: var(--c-bg);
  padding: var(--sp-12) 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.service-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  overflow: hidden;
  cursor: default;
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--c-accent-rgb), 0.14) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  border-radius: inherit;
}

.service-card:hover {
  border-color: var(--c-border-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-sm);
  background: rgba(var(--c-accent-rgb), 0.35);
  border: 1px solid rgba(var(--c-accent-rgb), 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--c-text);
}

.service-card__num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-text);
  line-height: 1.2;
}

.service-card__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text-muted);
  flex-grow: 1;
}

.service-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: auto;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-border);
}

.service-card__feature {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 13px;
  color: var(--c-text-muted);
}

.service-card__feature::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-accent-deep);
  flex-shrink: 0;
}

.service-card__arrow {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--sp-4);
  transition:
    background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
  align-self: flex-end;
}

.service-card__arrow svg {
  width: 16px;
  height: 16px;
  color: var(--c-text-muted);
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.service-card:hover .service-card__arrow {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

.service-card:hover .service-card__arrow svg {
  color: var(--c-text);
  transform: translate(2px, -2px);
}

/* ── 10. PORTFOLIO ── */
.portfolio {
  background: var(--c-bg);
  padding: var(--sp-12) 0;
}

.portfolio__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: var(--sp-9);
}

.portfolio__header-text h2 { color: var(--c-text); }

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: var(--sp-4);
}

.portfolio-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--c-surface);
}

.portfolio-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
.portfolio-item:nth-child(2) { aspect-ratio: 3/4; }
.portfolio-item:nth-child(3) { aspect-ratio: 4/3; }
.portfolio-item:nth-child(4) { aspect-ratio: 4/3; }
.portfolio-item:nth-child(5) { grid-column: span 2; aspect-ratio: 16/9; }
.portfolio-item:nth-child(6) { grid-column: span 1; aspect-ratio: 4/3; }

.portfolio-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.portfolio-item__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  transition: transform var(--dur-slow) var(--ease);
}

.portfolio-item:hover .portfolio-item__img,
.portfolio-item:hover .portfolio-item__placeholder {
  transform: scale(1.04);
}

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,10,9,0.80) 0%, rgba(12,10,9,0.08) 50%, transparent 100%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-6);
}

.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }

.portfolio-item__info { color: white; }

.portfolio-item__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-1);
}

.portfolio-item__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Portfolio placeholder colors — neutral warm tones */
.placeholder-1 { background: #C4B8A8; }
.placeholder-2 { background: #B8A898; }
.placeholder-3 { background: #D4C8B8; }
.placeholder-4 { background: #C8BAA6; }
.placeholder-5 { background: #B4A896; }
.placeholder-6 { background: #D0C4B0; }

.placeholder-icon {
  width: 48px;
  height: 48px;
  opacity: 0.4;
  color: var(--c-text);
}

.placeholder-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text);
  opacity: 0.5;
}

/* ── 11. STATS ── */
.stats {
  background: var(--c-bg);
  padding: var(--sp-12) 0;
  position: relative;
  overflow: hidden;
}

/* Subtle decorative rings — adjusted for light bg */
.stats__bg-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  pointer-events: none;
}

.stats__bg-line-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  border: 1px solid rgba(26,26,26,0.04);
  pointer-events: none;
}

.stats__inner {
  position: relative;
  z-index: 2;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.stat-item {
  background: var(--c-bg);
  padding: var(--sp-10) var(--sp-9);
  text-align: center;
  position: relative;
}

.stat-item__num {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--c-text);
  line-height: 1.0;
  display: block;
}

/* The "+" accent glyph — rendered as lavender pill badge */
.stat-item__num .accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-accent);
  color: var(--c-text);
  font-size: 0.45em;
  font-weight: 700;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  vertical-align: super;
  line-height: 1;
  margin-left: 4px;
}

.stat-item__label {
  display: block;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--c-text-muted);
  margin-top: var(--sp-3);
  font-weight: 400;
}

.stat-item__sublabel {
  display: block;
  font-size: 12px;
  color: rgba(107,101,96,0.7);
  margin-top: var(--sp-2);
  font-style: italic;
}

.stats__bottom {
  margin-top: var(--sp-9);
  text-align: center;
}

.stats__cta-text {
  font-size: clamp(18px, 2.5vw, 28px);
  color: var(--c-text-muted);
  margin-bottom: var(--sp-6);
}

.stats__cta-text strong { color: var(--c-text); font-weight: 600; }

/* ── 12. ABOUT ── */
.about {
  background: var(--c-bg);
  padding: var(--sp-12) 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-11);
  align-items: center;
}

.about__heading {
  color: var(--c-text);
  margin-bottom: var(--sp-6);
}

.about__text {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-5);
}

.about__values {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin: var(--sp-7) 0;
}

.about__value {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.about__value-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(var(--c-accent-rgb), 0.4);
  border: 1px solid rgba(var(--c-accent-rgb), 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about__value-icon svg {
  width: 18px;
  height: 18px;
  color: var(--c-text);
}

.about__value-text h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 4px;
}

.about__value-text p {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.6;
}

.about__visual { position: relative; }

.about__card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-surface);
  aspect-ratio: 3/4;
  position: relative;
}

.about__card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #D4C8B8 0%, #B8A898 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-7);
}

.about__card-badge {
  background: white;
  border-radius: var(--r-sm);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: var(--shadow-md);
}

.about__card-badge-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-text);
  line-height: 1;
}

.about__card-badge-num span {
  background: var(--c-accent);
  color: var(--c-text);
  font-size: 0.5em;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  vertical-align: super;
}

.about__card-badge-label {
  font-size: 14px;
  color: var(--c-text-muted);
  margin-top: 4px;
}

/* Float badge: stays dark for contrast against the light about section */
.about__float-badge {
  position: absolute;
  top: var(--sp-6);
  right: calc(-1 * var(--sp-7));
  background: var(--c-dark);
  border: 1px solid var(--c-border-inv);
  border-radius: var(--r-xl);
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  backdrop-filter: blur(16px);
  animation: float-badge 3s ease-in-out infinite;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.about__float-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: rgba(var(--c-accent-rgb), 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about__float-badge-icon svg { width: 18px; height: 18px; color: var(--c-accent); }
.about__float-badge-text { font-size: 13px; color: var(--c-text-inv); font-weight: 500; }
.about__float-badge-sub  { font-size: 11px; color: var(--c-text-inv-muted); margin-top: 1px; }

/* ── 13. TESTIMONIALS ── */
.testimonials {
  background: var(--c-bg);
  padding: var(--sp-12) 0;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-9);
}

.testimonial-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.testimonial-card:hover {
  border-color: var(--c-border-hover);
  box-shadow: var(--shadow-md);
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
}

.testimonial-card__stars svg {
  width: 16px;
  height: 16px;
  color: var(--c-accent-deep);
}

.testimonial-card__quote {
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-text-muted);
  flex-grow: 1;
  font-style: italic;
}

.testimonial-card__quote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--c-accent-deep);
  line-height: 0;
  vertical-align: -18px;
  margin-right: 4px;
  opacity: 0.7;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-5);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(var(--c-accent-rgb), 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
}

.testimonial-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
}

.testimonial-card__role {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-top: 2px;
}

/* ── 14. CONTACT / FORM ── */
.contact {
  background: var(--c-bg);
  padding: var(--sp-12) 0;
  position: relative;
  overflow: hidden;
}

/* Subtle lavender blush in corner */
.contact::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--c-accent-rgb), 0.18) 0%, transparent 70%);
  bottom: -300px;
  right: -200px;
  filter: blur(80px);
  pointer-events: none;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--sp-11);
  align-items: start;
}

.contact__heading { margin-bottom: var(--sp-5); color: var(--c-text); }

.contact__text {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-7);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 15px;
  color: var(--c-text-muted);
}

.contact__detail svg {
  width: 18px;
  height: 18px;
  color: var(--c-accent-deep);
  flex-shrink: 0;
}

.contact__detail a {
  color: var(--c-text-muted);
  transition: color var(--dur-fast);
}

.contact__detail a:hover { color: var(--c-text); }

/* Form wrapper */
.contact__form-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

.form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-6);
}

/* CF7 form styling + native fallback */
.wpcf7-form,
.s93-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.s93-form-section {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.s93-form-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-text-muted);
  text-transform: uppercase;
}

.s93-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.s93-checkbox {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 14px;
  color: var(--c-text-muted);
  transition: all var(--dur-fast) var(--ease-standard);
  user-select: none;
}

.s93-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--c-text-muted);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  transition: all var(--dur-fast);
  accent-color: var(--c-accent-deep);
  flex-shrink: 0;
}

.s93-checkbox:hover {
  border-color: var(--c-border-hover);
  color: var(--c-text);
}

.s93-checkbox:has(input:checked) {
  border-color: rgba(var(--c-accent-rgb), 0.6);
  background: rgba(var(--c-accent-rgb), 0.25);
  color: var(--c-text);
}

.s93-input-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.s93-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.s93-input,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  color: var(--c-text);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  transition:
    border-color var(--dur-fast) var(--ease-standard),
    background var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard);
}

.s93-input::placeholder,
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: var(--c-text-muted);
  opacity: 0.7;
}

.s93-input:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: rgba(var(--c-accent-rgb), 0.7);
  background: var(--c-surface-2);
  box-shadow: 0 0 0 3px rgba(var(--c-accent-rgb), 0.25);
}

.s93-textarea,
.wpcf7-form textarea {
  resize: vertical;
  min-height: 120px;
}

.s93-submit,
.wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 16px 32px;
  background: var(--c-accent);
  color: var(--c-text);
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-standard),
    box-shadow var(--dur-fast) var(--ease-standard),
    transform var(--dur-fast) var(--ease-standard);
}

.s93-submit:hover,
.wpcf7-form input[type="submit"]:hover {
  background: var(--c-accent-hover);
  box-shadow: var(--glow);
}

.s93-submit:active,
.wpcf7-form input[type="submit"]:active {
  transform: scale(0.98);
}

/* CF7 response messages — updated for light background */
.wpcf7-response-output {
  margin-top: var(--sp-4) !important;
  padding: var(--sp-3) var(--sp-4) !important;
  border-radius: var(--r-sm) !important;
  font-size: 14px !important;
  border: 1px solid !important;
}

.wpcf7-mail-sent-ok {
  background: rgba(22, 163, 74, 0.08) !important;
  border-color: rgba(22, 163, 74, 0.25) !important;
  color: #166534 !important;
}

.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked {
  background: rgba(220, 38, 38, 0.08) !important;
  border-color: rgba(220, 38, 38, 0.25) !important;
  color: #991b1b !important;
}

.wpcf7-not-valid-tip {
  font-size: 12px !important;
  color: #991b1b !important;
  margin-top: 4px !important;
}

/* ── 15. FOOTER ── */
/* Footer stays dark — always use inv (light) text inside */
.site-footer {
  background: var(--c-dark);
  border-top: 1px solid var(--c-border-inv);
  padding: var(--sp-11) 0 var(--sp-7);
  color: var(--c-text-inv);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-9);
  margin-bottom: var(--sp-10);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid var(--c-border-inv);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--c-text-inv);
  letter-spacing: -0.03em;
}

.footer__logo span { color: var(--c-accent); }

.footer__tagline {
  font-size: 14px;
  color: var(--c-text-inv-muted);
  line-height: 1.65;
  max-width: 260px;
}

.footer__social {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border-inv);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-inv-muted);
  transition:
    border-color var(--dur-fast) var(--ease-standard),
    color var(--dur-fast) var(--ease-standard),
    background var(--dur-fast) var(--ease-standard);
}

.footer__social-link:hover {
  border-color: var(--c-accent);
  color: var(--c-text);
  background: var(--c-accent);
}

.footer__social-link svg { width: 18px; height: 18px; }

.footer__col-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-inv-muted);
  margin-bottom: var(--sp-4);
}

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

.footer__link {
  font-size: 14px;
  color: var(--c-text-inv-muted);
  transition: color var(--dur-fast);
}

.footer__link:hover { color: var(--c-text-inv); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.footer__copyright {
  font-size: 13px;
  color: var(--c-text-inv-muted);
}

.footer__legal {
  display: flex;
  gap: var(--sp-5);
}

.footer__legal a {
  font-size: 13px;
  color: var(--c-text-inv-muted);
  transition: color var(--dur-fast);
}

.footer__legal a:hover { color: var(--c-text-inv); }

/* ── 16. SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }
.reveal-delay-5 { transition-delay: 400ms; }

/* ── 17. UTILITY ── */
.text-center { text-align: center; }
.mt-auto     { margin-top: auto; }
.hidden      { display: none; }

:focus-visible {
  outline: 2px solid var(--c-accent-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── 18. RESPONSIVE ── */
@media (max-width: 1024px) {
  :root { --sp-12: 100px; }

  .nav__links { gap: var(--sp-5); }
  .services__grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .service-card { padding: var(--sp-7) var(--sp-6); }
  .about__inner { grid-template-columns: 1fr; gap: var(--sp-8); }
  .about__visual { display: none; }
  .contact__inner { grid-template-columns: 1fr; gap: var(--sp-7); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
}

@media (max-width: 768px) {
  :root {
    --sp-12: 80px;
    --container-px: 20px;
  }

  .nav__links,
  .nav__actions { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile { display: flex; }

  .hero { padding: 100px 0 80px; min-height: 100svh; }

  .hero__kpi-bar {
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--r-lg);
    padding: var(--sp-5);
    gap: var(--sp-4);
    width: 100%;
    max-width: 320px;
  }

  .hero__kpi { padding: 0; text-align: left; }
  .hero__kpi:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--c-border-inv);
    padding-bottom: var(--sp-4);
    width: 100%;
  }

  .services__grid { grid-template-columns: 1fr; }

  .portfolio__header { flex-direction: column; align-items: flex-start; }
  .portfolio__grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item:nth-child(1) { grid-column: span 2; }
  .portfolio-item:nth-child(5) { grid-column: span 2; }
  .portfolio-item:nth-child(3),
  .portfolio-item:nth-child(4),
  .portfolio-item:nth-child(6) { grid-column: span 1; }

  .stats__grid { grid-template-columns: 1fr; }

  .testimonials__grid { grid-template-columns: 1fr; }

  .s93-input-group { grid-template-columns: 1fr; }
  .s93-checkboxes  { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; justify-content: center; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio-item { grid-column: span 1 !important; aspect-ratio: 4/3 !important; }
}

/* ── 19. WP ADMIN BAR OFFSET ── */
.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-nav { top: 46px; }
}
