/* =========================================================================
   pracownia S. — Kwiaty i Dekoracje
   Design system + components
   Palette: ink / orchid / wine / lilac / blush / eucalyptus / paper
   Type: Fraunces (display) + Figtree (body/ui)
   ========================================================================= */

/* ----- Tokens -------------------------------------------------------- */
:root {
  /* ---- Art-direction palette — warm ivory / soft rose / sage / dark + purple accent ----
     Distribution target across the site: ~70% ivory, ~15% rose, ~10% sage, ~5% dark/accent.
     Photography stays the main source of colour. */
  --bg-main:    #F7F3EE;  /* warm ivory — page bg + default section (~70%) */
  --bg-rose:    #EFE3E7;  /* soft powder rose — romantic accent (~15%) */
  --bg-sage:    #E8EBE3;  /* light sage — natural floristry accent (~10%) */
  --bg-dark:    #352D32;  /* warm dark — single strongest-contrast CTA (~5%) */
  --text-main:  #292428;  /* primary text */
  --text-light: #F8F3EE;  /* cream type on dark */
  --accent:     #8B4B91;  /* purple — links, hover, eyebrows, hairlines, focus, small details */

  /* Footer sits on a slightly deeper warm cream so it grounds the page without going dark */
  --footer-bg:  #F0E8DE;

  /* ---- Back-compat aliases (existing component references map onto the new system) ---- */
  --bg-soft-rose: var(--bg-rose);   /* legacy name -> rose */
  --dark-section: var(--bg-dark);
  --cream-text:   var(--text-light);
  --ink:        var(--text-main);
  --ink-soft:   #6A5E62;    /* warm secondary text */
  --orchid:     var(--accent);
  --orchid-dk:  #6F3A73;
  --wine:       #7A1F3D;
  --lilac:      var(--bg-rose);    /* legacy alias -> rose */
  --lilac-dk:   #E3D4D8;
  --blush:      #EAD3D9;    /* soft rose accent (eyebrow on dark) */
  --eucalyptus: #8C9A82;
  --eucalyptus-dk: #6E7C64;
  --paper:      var(--bg-main);    /* = ivory, no pure white as page bg */
  --paper-2:    var(--bg-rose);    /* legacy alias -> rose */
  --white:      #FFFFFF;
  --card:       #FCF9F5;    /* warm near-white for cards */
  --line:       #E6DBCF;    /* warm hairline */

  --shadow-sm: 0 1px 4px rgba(56, 46, 53, 0.05);
  --shadow-md: 0 8px 24px rgba(56, 46, 53, 0.08);
  --shadow-lg: 0 18px 44px rgba(56, 46, 53, 0.10);

  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --container: 1480px;      /* main sections */
  --container-wide: 1620px; /* hero, galleries, editorial media */
  --measure: 900px;         /* text-led blocks */
  --gutter: clamp(2rem, 4vw, 3rem); /* 32–48px safe margin */
  --radius: 3px;
  --radius-lg: 6px;

  --header-h: 96px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----- Reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2.5px solid var(--orchid); outline-offset: 3px; border-radius: 2px; }

/* ----- Typography ---------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 460;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 560; letter-spacing: 0; }
p { max-width: 62ch; }
strong { font-weight: 620; }

.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 640;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--orchid);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--center { justify-content: center; }

/* Restrained emphasis on key words — serif italic, no decoration */
.ink-mark {
  font-style: italic;
  color: var(--wine);
}

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; }

/* ----- Layout helpers ------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: 820px; }
/* Keep prose readable even inside wide containers */
.measure { max-width: var(--measure); }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
/* Section background system (warm ivory / soft rose / sage / dark) */
.section--ivory  { background: var(--bg-main); }
.section--blush  { background: var(--bg-soft-rose); }
.section--sage   { background: var(--bg-sage); }
.section--paper2 { background: var(--bg-soft-rose); } /* legacy alias */
.section--lilac  { background: var(--bg-sage); }      /* legacy alias */
.section--ink,
.section--dark   { background: var(--dark-section); color: var(--cream-text); }
.section--ink h1, .section--ink h2, .section--ink h3,
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cream-text); }

.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head p { margin-top: 1rem; color: var(--ink-soft); }
.section-head--center p { margin-inline: auto; }

/* Botanical stem divider (signature motif) */
.stem {
  border: 0;
  height: 26px;
  margin: 0 auto;
  width: 100%;
  max-width: 220px;
  background: no-repeat center/contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='26' viewBox='0 0 220 26' fill='none' stroke='%238A2E7B' stroke-width='1.2'><path d='M10 13h90'/><path d='M120 13h90'/><path d='M110 4c-4 4-4 6 0 9 4-3 4-5 0-9z' fill='%238A2E7B' stroke='none'/><path d='M102 13c3-4 8-5 12-3-3 4-8 5-12 3z' fill='%238C9A82' stroke='none'/><path d='M118 13c-3 5-8 6-12 4 3-4 8-5 12-4z' fill='%238C9A82' stroke='none'/></svg>");
}

/* ----- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  line-height: 1;
}
.btn--primary { background: var(--orchid); color: var(--white); }
.btn--primary:hover { background: var(--orchid-dk); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--white); }
.btn--outline-light { border-color: rgba(251,248,245,0.45); color: var(--paper); }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn .ico { width: 1.05em; height: 1.05em; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 620;
  color: var(--orchid);
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.textlink:hover { border-color: var(--orchid); gap: 0.85rem; }
.textlink .ico { width: 1em; height: 1em; }

/* ----- Header / nav -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 238, 0.82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(247,243,238,0.95); }
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo { display: inline-flex; align-items: center; }
.nav__logo img { height: 72px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav__link {
  font-size: 0.98rem;
  font-weight: 540;
  color: var(--ink);
  position: relative;
  padding: 0.35rem 0;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--orchid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--orchid); }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__cta { padding: 0.7rem 1.35rem; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  position: relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: "";
  position: absolute;
  width: 20px; height: 2px;
  background: var(--ink);
  left: 50%; margin-left: -10px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ----- Hero ---------------------------------------------------------- */
.hero { position: relative; padding-top: clamp(1rem, 2.5vw, 2rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100vh - var(--header-h) - 4rem);
  max-height: 860px;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(1.5rem, 4vw, 3rem);
}
.hero__copy .eyebrow { margin-bottom: 1.5rem; }
.hero__title { margin-bottom: 1.6rem; letter-spacing: -0.02em; }
.hero__title em { font-style: italic; color: var(--wine); }
.hero__lead { max-width: 42ch; margin-bottom: 2.4rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ----- Offer / editorial rows --------------------------------------- */
.offer-list { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.offer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
}
.offer:nth-child(even) .offer__media { order: 2; }
.offer__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.offer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.offer:hover .offer__media img { transform: scale(1.04); }
.offer__num {
  font-family: var(--ff-body);
  font-size: 0.76rem;
  font-weight: 640;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orchid);
  margin-bottom: 1rem;
  display: block;
}
.offer h3 { margin-bottom: 0.9rem; }
.offer p { color: var(--ink-soft); margin-bottom: 1.5rem; }

/* Editorial service list (replaces pill tags) */
.svc-list { display: grid; gap: 0.55rem; margin-bottom: 1.8rem; }
.svc-list.svc-list--cols { grid-template-columns: 1fr 1fr; gap: 0.55rem 1.5rem; }
.svc-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.5;
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 7px;
  border: 1px solid var(--orchid);
  border-radius: 50%;
}

/* ----- Editorial steps / values (no boxes, no icons) ----------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.feature { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.feature__num {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 460;
  color: var(--orchid);
  display: block;
  margin-bottom: 0.7rem;
}
.feature h4 { margin-bottom: 0.5rem; font-size: 1.25rem; font-family: var(--ff-display); font-weight: 500; }
.feature p { font-size: 0.98rem; color: var(--ink-soft); }

/* ----- Gallery: masonry (portfolio) ---------------------------------- */
.masonry { columns: 3; column-gap: 1.1rem; }
.masonry__item {
  break-inside: avoid;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}
.masonry__item img { width: 100%; transition: transform 0.7s var(--ease); }
.masonry__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,34,48,0.32), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.masonry__item:hover img { transform: scale(1.05); }
.masonry__item:hover::after { opacity: 1; }
.masonry__cap {
  position: absolute; left: 14px; bottom: 12px;
  color: #fff; font-size: 0.85rem; font-weight: 560;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 2;
}
.masonry__item:hover .masonry__cap { opacity: 1; transform: translateY(0); }

/* ----- Gallery: fixed grid (category pages) -------------------------- */
.grid-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.grid-gallery--4 { grid-template-columns: repeat(4, 1fr); }
.gitem {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}
.gitem--wide { aspect-ratio: 3 / 2; grid-column: span 2; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gitem:hover img { transform: scale(1.06); }

/* ----- Filter chips -------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.4rem; }
.chip {
  padding: 0.55rem 1.15rem;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 560;
  color: var(--ink-soft);
  transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--orchid); color: var(--orchid); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ----- About split --------------------------------------------------- */
.about-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-split__media { position: relative; }
.about-split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.signature-line { font-family: var(--ff-display); font-style: italic; font-size: 1.35rem; color: var(--wine); margin-top: 1.6rem; }

/* ----- Contact band -------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { color: rgba(251,248,245,0.78); margin-bottom: 1.8rem; }
.cta-band .hero__actions .btn--outline-light { }
.cta-band__aside { text-align: left; }
.contact-line { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(251,248,245,0.14); }
.contact-line:last-child { border-bottom: 0; }
.contact-line svg { width: 20px; height: 20px; color: var(--blush); flex: none; }
.contact-line b { display: block; font-weight: 600; }
.contact-line span { font-size: 0.86rem; color: rgba(251,248,245,0.6); }

/* ----- Forms --------------------------------------------------------- */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: 0.9rem; font-weight: 620; margin-bottom: 0.45rem; }
.field .req { color: var(--orchid); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--orchid);
  box-shadow: 0 0 0 3px rgba(138,46,123,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.5rem; }

.contact-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  background: var(--lilac);
  color: var(--orchid-dk);
  font-weight: 560;
  border: 1px solid var(--lilac-dk);
}
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

/* Info panel next to form */
.info-list { display: grid; gap: 1.4rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item__ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(140, 76, 145, 0.10); display: grid; place-items: center; flex: none; }
.info-item__ico svg { width: 22px; height: 22px; color: var(--orchid); }
.info-item h4 { margin-bottom: 0.2rem; }
.info-item p { color: var(--ink-soft); font-size: 0.98rem; }

/* Placeholder marker for un-filled real facts */
[data-placeholder] { border-bottom: 1px dashed var(--eucalyptus); }

/* ----- Pricing: price list ------------------------------------------ */
.pricing { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.price-list { display: grid; gap: 0; }
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.price-row:first-child { padding-top: 0; }
.price-row__name { font-family: var(--ff-display); font-size: 1.25rem; font-weight: 500; }
.price-row__name span { display: block; font-family: var(--ff-body); font-size: 0.9rem; font-weight: 400; color: var(--ink-soft); margin-top: 0.15rem; }
.price-row__val { font-weight: 620; color: var(--orchid-dk); white-space: nowrap; font-size: 1.05rem; }

/* Flowerbox spec table */
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec-table caption { text-align: left; font-family: var(--ff-display); font-size: 1.35rem; margin-bottom: 1rem; color: var(--ink); }
.spec-table th, .spec-table td { text-align: left; padding: 0.85rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table thead th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); font-weight: 640; }
.spec-table tbody th { font-family: var(--ff-display); font-size: 1.15rem; font-weight: 500; color: var(--orchid-dk); width: 3.5rem; }
.spec-table td:last-child { font-weight: 620; color: var(--ink); white-space: nowrap; }
.spec-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 1rem; }

/* ----- Page hero (subpages) ----------------------------------------- */
.page-hero { background: var(--bg-soft-rose); padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); position: relative; }
.page-hero--ivory { background: var(--bg-main); }
.page-hero--sage { background: var(--bg-sage); }
.page-hero .breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.page-hero .breadcrumb a:hover { color: var(--orchid); }
.page-hero h1 { max-width: 16ch; }
.page-hero p { margin-top: 1.1rem; color: var(--ink-soft); }

/* ----- Footer (warm cream — the dark CTA above is the single strong contrast) ------ */
.site-footer { background: var(--footer-bg); color: var(--ink-soft); padding-block: clamp(3rem, 6vw, 5rem) 2rem; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.footer__brand img { height: 66px; opacity: 0.95; margin-bottom: 1.1rem; }
.footer__brand p { font-size: 0.95rem; color: var(--ink-soft); max-width: 34ch; }
.footer__col h4 { color: var(--ink); font-family: var(--ff-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1.1rem; font-weight: 640; }
.footer__col a, .footer__col li { display: block; padding: 0.35rem 0; color: var(--ink-soft); font-size: 0.96rem; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__contact { font-style: normal; }
.footer__contact address { font-style: normal; }
.footer__contact p { margin: 0 0 0.9rem; color: var(--ink-soft); font-size: 0.96rem; line-height: 1.5; }
.footer__contact a { color: var(--ink); border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease); }
.footer__contact a:hover { border-color: var(--accent); color: var(--accent); }
.footer__contact .lbl { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); opacity: 0.75; margin-bottom: 0.15rem; }
.footer__social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; padding: 0; color: var(--ink-soft); transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease); }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer__social a.footer__social--text { width: auto; padding: 0 0.9rem; border-radius: 100px; font-size: 0.8rem; font-weight: 560; }
.footer__social svg { width: 17px; height: 17px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; font-size: 0.85rem; color: var(--ink-soft); opacity: 0.85; }

/* ----- Lightbox ------------------------------------------------------ */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(30, 24, 34, 0.92); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lightbox.is-open { display: flex; animation: fade 0.3s var(--ease); }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(251,248,245,0.12); border: 1px solid rgba(251,248,245,0.25); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background 0.2s var(--ease); }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--orchid); border-color: var(--orchid); }
.lightbox__close { top: 4vw; right: 4vw; }
.lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__nav--prev { left: 3vw; }
.lightbox__nav--next { right: 3vw; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ----- Reveal on scroll --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ----- Utilities ----------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1.2rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.8rem 1.2rem; z-index: 300; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 1024px) {
  :root { --header-h: 84px; }
  .nav__logo img { height: 62px; }
  .hero__grid { grid-template-columns: 1fr; max-height: none; min-height: 0; gap: 2rem; }
  .hero__copy { padding: clamp(1.5rem, 5vw, 3rem) 0 0; order: 2; }
  .hero__media { order: 1; aspect-ratio: 16 / 10; }
  .masonry { columns: 2; }
  .pricing { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.4rem 1.5rem; }
  .footer__brand { grid-column: 1 / -1; }
  .cta-band__inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .site-header.nav-open .nav__menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    padding: 1.5rem var(--gutter);
    overflow-y: auto;
    animation: fade 0.25s var(--ease);
  }
  .site-header.nav-open .nav__menu .nav__link { font-size: 1.4rem; font-family: var(--ff-display); padding: 1rem 0; border-bottom: 1px solid var(--line); width: 100%; }
  .site-header.nav-open .nav__cta { display: inline-flex; margin-top: 1.5rem; align-self: flex-start; padding: 0.95rem 1.7rem; }
  .offer, .offer:nth-child(even) .offer__media { grid-template-columns: 1fr; }
  .offer:nth-child(even) .offer__media { order: 0; }
  .offer__media { order: 0; }
  .about-split { grid-template-columns: 1fr; }
  .about-split__media { max-width: 460px; margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr; gap: 0; }
  .feature { padding-block: 1.4rem; }
  .svc-list.svc-list--cols { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .masonry { columns: 1; }
  .grid-gallery, .grid-gallery--4 { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .gitem--wide { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .hero__actions .btn, .cta-band .btn { flex: 1 1 auto; }
  .price-row { flex-wrap: wrap; gap: 0.25rem; }
  .price-row__val { font-size: 1rem; }
  .spec-table { font-size: 0.88rem; }
  .spec-table th, .spec-table td { padding: 0.7rem 0.5rem; }
  .spec-table tbody th { width: 2.6rem; }
  .lightbox__nav { width: 44px; height: 44px; }
  .lightbox__nav--prev { left: 2vw; }
  .lightbox__nav--next { right: 2vw; }
}

@media (max-width: 430px) {
  :root { --gutter: 1.25rem; }
  .nav__logo img { height: 52px; }
  h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .page-hero h1 { hyphens: auto; }
}

/* ----- Reduced motion ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
