﻿/* ==========================================================================
   SK Classic Curtains & Tailors — Design System
   Brand red on white, trust-first, rural-friendly readability
   ========================================================================== */

:root {
  /* Brand (royal purple theme) */
  --red: #B03A9C;
  --red-dark: #97307F;
  --red-deep: #7E2168;
  --red-soft: #F9EEF6;
  --red-tint: #FCF7FB;

  /* Neutrals */
  --ink: #1C1917;
  --ink-soft: #44403C;
  --muted: #57534E;
  --line: #E7E5E4;
  --bg: #FFFFFF;
  --bg-warm: #FAF8F7;

  /* Type */
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;

  /* Layout */
  --container: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.07);
  --shadow-md: 0 6px 24px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 16px 48px rgba(28, 25, 23, 0.12);
  --shadow-red: 0 8px 24px rgba(176, 58, 156, 0.25);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

p { max-width: 68ch; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--red); color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding-block: 88px; }
.section--warm { background: var(--bg-warm); }
.section--tint { background: var(--red-tint); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.section-head p { margin-top: 16px; font-size: 1.06rem; color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.section-head--center .eyebrow::after {
  content: "";
  width: 28px; height: 2px;
  background: var(--red);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  min-height: 52px;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn--whatsapp {
  background: #1FAF53;
  color: #fff;
  box-shadow: 0 8px 24px rgba(31, 175, 83, 0.25);
}
.btn--whatsapp:hover { background: #178A41; transform: translateY(-2px); }

.btn--outline {
  background: #fff;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn--outline:hover { background: var(--red-soft); }

.btn--ghost {
  color: var(--ink);
  padding: 15px 20px;
}
.btn--ghost:hover { color: var(--red); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--red-deep);
  color: #fff;
  font-size: 0.88rem;
  padding-block: 9px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar__group { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item svg { width: 15px; height: 15px; }

.topbar__social { display: inline-flex; align-items: center; gap: 4px; }
.topbar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 7px;
  color: #fff;
  transition: background-color 0.2s ease;
}
.topbar__social a:hover { background: rgba(255, 255, 255, 0.18); text-decoration: none; }
.topbar__social svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
/* The template-part wrapper is the full-page-height parent, so stickiness lives
   here (sticky on .header alone only travels within this short wrapper). */
.site-header-wrap {
  position: sticky;
  /* Pin with a negative offset equal to the contact bar's height: the top bar
     scrolls up out of view and the nav sits flush at the top. No height is
     animated, so there is no layout reflow / wiggle near the top. */
  top: calc(var(--topbar-h, 44px) * -1);
  z-index: 50;
}
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.28s ease, border-color 0.28s ease;
}
/* Floating state: JS adds .is-stuck to the wrap once the page is scrolled */
.site-header-wrap.is-stuck .header {
  border-bottom-color: transparent;
  box-shadow: 0 10px 30px -8px rgba(60, 20, 50, 0.18);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand svg { flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--red);
  letter-spacing: 0.01em;
}
.brand__sub {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--ink);
  letter-spacing: 0.06em;
}
.footer .brand__sub { color: #C9C4C0; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--ink-soft);
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav a:hover { color: var(--red); background: var(--red-soft); }
.nav a.is-active { color: var(--red); font-weight: 600; }

.nav__social { display: none; }

.header__cta { display: flex; align-items: center; gap: 12px; }
.header__cta .btn { padding: 12px 22px; min-height: 46px; font-size: 0.94rem; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 88% -10%, var(--red-soft) 0%, transparent 60%),
    var(--bg);
  padding-block: 84px 96px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "top art"
    "cta art";
  column-gap: 64px;
  row-gap: 30px;
  align-items: center;
}
.hero__top { grid-area: top; align-self: end; }
.hero__cta { grid-area: cta; align-self: start; }
.hero__art { grid-area: art; align-self: center; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 26px;
}
.hero__badge svg { width: 17px; height: 17px; color: var(--red); }

.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--red); }

.hero__sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 0;
  max-width: 33rem;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__trust-item {
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid var(--line);
}
.hero__trust-item:last-child { padding-right: 0; margin-right: 0; border-right: none; }
.hero__trust-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--red);
  line-height: 1.2;
}
.hero__trust-item span { font-size: 0.85rem; color: var(--muted); }

.hero__art {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__art svg { width: 100%; height: auto; }

/* ---------- Hero illustration animation ---------- */
.hero-drape { transform-box: fill-box; transform-origin: top center; }
.hero-drape--l { animation: heroSwayL 6s ease-in-out infinite; }
.hero-drape--r { animation: heroSwayR 7s ease-in-out infinite; }
@keyframes heroSwayL { 0%, 100% { transform: rotate(-0.7deg); } 50% { transform: rotate(1deg); } }
@keyframes heroSwayR { 0%, 100% { transform: rotate(0.7deg); } 50% { transform: rotate(-1deg); } }

.hero-net { opacity: 0.2; animation: heroNet 5.5s ease-in-out infinite; }
@keyframes heroNet { 0%, 100% { opacity: 0.14; } 50% { opacity: 0.3; } }

.hero-breeze { opacity: 0; }
.hero-breeze--1 { animation: heroBreeze 5s ease-in-out infinite; }
.hero-breeze--2 { animation: heroBreeze 5s ease-in-out infinite 1.7s; }
.hero-breeze--3 { animation: heroBreeze 5s ease-in-out infinite 3.2s; }
@keyframes heroBreeze {
  0% { opacity: 0; transform: translate(0, 0); }
  18% { opacity: 0.8; }
  72% { opacity: 0.4; }
  100% { opacity: 0; transform: translate(-46px, -30px); }
}

.hero-bug { transform-box: fill-box; transform-origin: center; animation: heroBug 6.5s ease-in-out infinite; }
@keyframes heroBug {
  0% { transform: translate(0, 0) rotate(0deg); }
  22% { transform: translate(9px, -7px) rotate(7deg); }
  46% { transform: translate(-8px, 6px) rotate(-6deg); }
  72% { transform: translate(6px, 9px) rotate(4deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
.hero-bug-wings { transform-box: fill-box; transform-origin: 100% 50%; animation: heroWings 0.45s ease-in-out infinite; }
@keyframes heroWings { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.55); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
a.card { cursor: pointer; }
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: #EBCCE3;
  transform: translateY(-4px);
}
.card__icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.98rem; color: var(--muted); }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--red);
}
.card__link svg { width: 17px; height: 17px; transition: transform 0.2s ease; }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- Feature list (why choose) ---------- */
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--red-soft);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 5px; }
.feature p { font-size: 0.95rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px 32px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -20px;
  left: 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: var(--shadow-red);
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.96rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stars { display: flex; gap: 3px; color: #F59E0B; }
.stars svg { width: 19px; height: 19px; }
.testimonial blockquote { font-size: 1rem; color: var(--ink-soft); }
.testimonial figcaption { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial figcaption strong { display: block; font-family: var(--font-head); font-size: 0.96rem; color: var(--ink); }
.testimonial figcaption span { font-size: 0.85rem; color: var(--muted); }

/* ---------- Service areas ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 22px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}
.chip svg { width: 16px; height: 16px; color: var(--red); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 14px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: background-color 0.2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--red-tint); }
.faq summary svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; transition: transform 0.25s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--muted); font-size: 0.98rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  border-radius: 24px;
  padding: 64px 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-red);
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.88); font-size: 1.05rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; }
.cta-band .btn--primary { background: #fff; color: var(--red); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--red-tint); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 380px at 90% -20%, var(--red-soft) 0%, transparent 60%),
    var(--bg-warm);
  padding-block: 64px 70px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--red); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb svg { width: 14px; height: 14px; }
.page-hero p { margin-top: 18px; font-size: 1.1rem; color: var(--muted); max-width: 720px; }
.page-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Article / prose ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose > * + * { margin-top: 22px; }
.prose h2 { margin-top: 48px; }
.prose h3 { margin-top: 36px; }
.prose ul, .prose ol { padding-left: 6px; display: grid; gap: 12px; }
.prose li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-soft);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 22px; height: 22px;
  background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B03A9C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-radius: 999px;
}
.prose ol { counter-reset: item; }
.prose ol li { counter-increment: item; }
.prose ol li::before {
  content: counter(item);
  position: absolute;
  left: 0; top: 2px;
  width: 24px; height: 24px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prose .lead { font-size: 1.15rem; color: var(--ink-soft); }

.callout {
  background: var(--red-tint);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 22px 26px;
}
.callout strong { color: var(--red-deep); }

/* ---------- Blog cards ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #EBCCE3; }
.post-card__media {
  height: 150px;
  background: linear-gradient(135deg, var(--red-soft), #fff 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  border-bottom: 1px solid var(--line);
}
.post-card__media svg { width: 52px; height: 52px; opacity: 0.85; }
.post-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post-card__tag {
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 999px;
  padding: 5px 13px;
}
.post-card h3 { font-size: 1.12rem; }
.post-card p { font-size: 0.94rem; color: var(--muted); }
.post-card .card__link { margin-top: auto; padding-top: 8px; }

/* ---------- Contact strip / footer ---------- */
.footer { background: #211D1B; color: #C9C4C0; font-size: 0.95rem; }
.footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-block: 64px;
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer__brand > svg {
  background: #fff;
  border-radius: 12px;
  padding: 7px;
  box-sizing: content-box;
}
.footer__social { display: flex; gap: 12px; margin-top: 14px; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.footer__social a:hover { background: var(--red); transform: translateY(-2px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__brand p { font-size: 0.92rem; }
.footer ul { display: grid; gap: 11px; }
.footer a { transition: color 0.2s ease; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: #E5A8D4; flex-shrink: 0; margin-top: 4px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 60px; height: 60px;
  border-radius: 999px;
  background: #1FAF53;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(31, 175, 83, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.float-wa:hover { transform: scale(1.08); background: #178A41; }
.float-wa svg { width: 30px; height: 30px; }

/* ---------- Mobile call bar ---------- */
.mobile-callbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(28, 25, 23, 0.1);
  padding: 10px 14px;
  gap: 10px;
}
.mobile-callbar .btn { flex: 1; min-height: 50px; padding: 12px; font-size: 0.95rem; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1340px) {
  .header__cta .btn--whatsapp { display: none; }
}

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .hero .container { gap: 44px; }
  .footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1060px) {
  .nav {
    position: fixed;
    inset: 0;
    top: 0;
    z-index: 70;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav.is-open { transform: none; }
  .nav a { font-size: 1.3rem; padding: 14px 28px; }
  .nav__close {
    position: absolute;
    top: 22px; right: 22px;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
  }
  .nav__close svg { width: 28px; height: 28px; }

  .nav__social { display: flex; gap: 14px; margin-top: 26px; }
  .nav__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px; height: 50px;
    border-radius: 13px;
    background: var(--red-soft);
    color: var(--red);
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  .nav__social a:hover { background: var(--red); color: #fff; }
  .nav__social svg { width: 24px; height: 24px; }

  .nav-toggle { display: flex; }
  .header__cta .btn--whatsapp { display: none; }
}

@media (max-width: 880px) {
  .section { padding-block: 64px; }

  .hero { padding-block: 56px 64px; }
  .hero .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "art"
      "cta";
    row-gap: 26px;
  }
  .hero__top, .hero__cta, .hero__art { align-self: auto; }
  .hero__trust { gap: 22px 28px; }
  .hero__trust-item { padding-right: 0; margin-right: 0; border-right: none; }

  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 44px 30px; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }

  .mobile-callbar { display: flex; }
  body { padding-bottom: 72px; }
  .float-wa { bottom: 86px; }
}

@media (max-width: 880px) {
  .float-wa { display: none; }
}

@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; gap: 36px; }
  .topbar__item--hide-sm { display: none; }
  .hero__actions .btn { width: 100%; }
  .page-hero__actions .btn { width: 100%; }

  .header .container { min-height: 70px; }
  .header__cta { gap: 8px; }
  .header__cta .btn--primary {
    width: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 999px;
  }
  .header__cta .btn__label { display: none; }
  .brand svg { width: 40px; height: 40px; }
  .brand__name { font-size: 1.25rem; }
  .brand__sub { font-size: 0.7rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   WordPress block-editor integration
   Keeps native Gutenberg block wrappers from altering the original layout.
   ========================================================================== */

/* Group blocks are plain containers — no injected width or spacing. */
.wp-block-group { margin-block: 0; }
main.wp-block-group { max-width: none; width: 100%; }

/* Our flow sections must not inherit core block-gap margins. */
.wp-block-post-content > *,
main > .wp-block-group > * { margin-block: 0; }

/* Section as a Group keeps its own vertical rhythm from .section. */
section.wp-block-group { width: 100%; }

/* Headings: drop the editor's default wp-block-heading spacing;
   the design system controls margins per component. */
.wp-block-heading { margin: 0; }

/* Grids built from Group blocks: neutralise core flex/flow gap so the
   .grid gap is the single source of truth. */
.grid.wp-block-group,
.wp-block-group.grid { display: grid; }

/* Buttons rendered through core blocks reuse the .btn look. */
.wp-block-button__link.btn { text-decoration: none; }

/* Editor canvas niceties so editing matches the front end. */
.editor-styles-wrapper { background: var(--bg); }

/* FAQ built from the native core/details block (editable, no inline SVG). */
.faq .wp-block-details { background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); overflow:hidden; }
.faq .wp-block-details + .wp-block-details { margin-top:14px; }
.faq .wp-block-details > summary {
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding:20px 24px; font-family:var(--font-head); font-weight:600; font-size:1.02rem;
  color:var(--ink); cursor:pointer; list-style:none; transition:background-color .2s ease;
}
.faq .wp-block-details > summary::-webkit-details-marker { display:none; }
.faq .wp-block-details > summary:hover { background:var(--red-tint); }
.faq .wp-block-details > summary::after {
  content:""; width:20px; height:20px; flex-shrink:0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B03A9C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s ease;
}
.faq .wp-block-details[open] > summary::after { transform: rotate(45deg); }
.faq .wp-block-details > *:not(summary) { padding:0 24px 22px; color:var(--muted); font-size:.98rem; margin:0; }

/* Testimonial copy authored as an editable paragraph. */
.testimonial p { font-size:1rem; color:var(--ink-soft); max-width:none; }
.testimonial .testimonial__foot { display:flex; align-items:center; gap:13px; margin-top:auto; }
.testimonial .testimonial__foot strong { display:block; font-family:var(--font-head); font-size:.96rem; color:var(--ink); }
.testimonial .testimonial__foot span { font-size:.85rem; color:var(--muted); }

/* Card built as a Group (div) rather than an anchor — keep the pointer + hover. */
.card.wp-block-group { display:block; }
.card .card__link { cursor:pointer; }

/* In the block editor canvas the scroll-reveal JS does not run, so force
   reveal elements visible there (front-end animation is unaffected). */
.editor-styles-wrapper .reveal { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   Homepage utility classes (replace the original inline styles 1:1)
   ========================================================================== */
.sk-intro { align-items: center; gap: 56px; }
.sk-intro-cards { gap: 18px; }
.card.sk-card-sm { padding: 24px; }
.card__icon.sk-icon-sm { width: 48px; height: 48px; margin-bottom: 14px; }
.sk-h3-sm { font-size: 1.02rem; }
.card p.sk-p-sm { font-size: 0.9rem; }
.sk-mt-18 { margin-top: 18px; }
.sk-mt-14 { margin-top: 14px; }
.sk-mt-24 { margin-top: 24px; }
.sk-gap-36 { gap: 36px; }

/* "Not sure what you need?" highlighted service card */
.card.sk-card-cta {
  background: var(--red);
  border-color: var(--red);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sk-white { color: #fff; }
.sk-white-80 { color: rgba(255,255,255,0.85); }
.sk-white-88 { color: rgba(255,255,255,0.88); }
.btn--primary.sk-btn-invert {
  background: #fff;
  color: var(--red);
  margin-top: 20px;
  box-shadow: none;
  align-self: flex-start;
}
.btn--primary.sk-btn-invert:hover { background: var(--red-tint); }

/* "Get Directions" CTA — secondary button that reads well on the dark band */
.btn--map { background: rgba(255,255,255,0.14); color: #fff; border: 1px solid rgba(255,255,255,0.55); }
.btn--map:hover { background: rgba(255,255,255,0.24); transform: translateY(-2px); }
/* Footer "View on Google Maps" sub-line reads slightly lighter. */
.footer__contact a br { line-height: 2; }

/* ==========================================================================
   Inner-page utility classes (About / service pages)
   ========================================================================== */
/* Soft highlighted card ("Free Fabric Samples", "Not Sure Which Type?") */
.card.sk-card-soft { background: var(--red-soft); border-color: #EBCCE3; }
.card.sk-card-soft .btn { margin-top: 18px; align-self: flex-start; }

/* Vertical-blinds light CTA band variant */
.cta-band.sk-band-light { background: #fff; box-shadow: var(--shadow-md); color: var(--ink); }
.cta-band.sk-band-light h2 { color: var(--ink); }
.cta-band.sk-band-light p { color: var(--muted); }

/* Stacked feature list inside two-column sections */
.sk-feature-stack { display: grid; gap: 22px; margin-top: 24px; }

.sk-gap-56 { gap: 56px; }

/* ==========================================================================
   Window-size price calculator
   ========================================================================== */
.calc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  max-width: 640px;
}
.calc__head h3 { font-size: 1.2rem; margin-bottom: 6px; }
.calc__head p { font-size: 0.95rem; color: var(--muted); margin-bottom: 22px; }
.calc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr;
  gap: 16px;
  margin-bottom: 22px;
}
.calc label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
}
.calc input,
.calc select {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  width: 100%;
  min-height: 48px;
}
.calc input:focus,
.calc select:focus { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.calc__field { display: flex; gap: 8px; }
.calc__field .calc__w { flex: 1; }
.calc__field .calc__unit { width: 96px; }

/* Multi-window rows */
.calc__rows { display: grid; gap: 12px; margin-bottom: 14px; }
.calc-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.7fr 1.2fr 44px;
  gap: 12px;
  align-items: end;
}
.calc-row .calc-cell { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.calc-lbl { font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; color: var(--muted); }
.calc-cell--sub { justify-content: flex-end; }
.calc__sub { font-family: var(--font-head); font-weight: 600; color: var(--red-deep); font-size: 0.95rem; padding: 12px 0; }
.calc__remove {
  align-self: end;
  width: 44px; min-height: 48px;
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm);
  color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.calc__remove:hover { background: var(--red-soft); color: var(--red); border-color: var(--red); }
.calc__add {
  font: inherit; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  color: var(--red); background: var(--red-soft); border: 1px dashed var(--red);
  border-radius: var(--radius-sm); padding: 12px 18px; cursor: pointer; margin-bottom: 18px;
  transition: background-color 0.2s ease;
}
.calc__add:hover { background: #fff; }
@media (max-width: 600px) {
  .calc-row {
    grid-template-columns: 1fr 1fr;
    position: relative;
    padding: 14px 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }
  .calc-cell--w, .calc-cell--sub { grid-column: 1 / -1; }
  .calc__remove { position: absolute; top: 10px; right: 10px; width: 32px; min-height: 32px; font-size: 1.2rem; }
}
.calc__result {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 18px 20px;
  background: var(--red-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.calc__result > div { font-size: 0.95rem; color: var(--muted); }
.calc__result strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--red-deep);
  line-height: 1.3;
}
.calc__note { font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; }
.calc__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.calc__actions .btn { flex: 1; min-width: 180px; }
@media (max-width: 560px) {
  .calc { padding: 24px 18px; }
  .calc__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Navigation dropdowns (grouped service menu)
   ========================================================================== */
.nav__item { position: relative; }
.nav__sub-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 500; font-size: 0.97rem;
  color: var(--ink-soft); padding: 10px 16px; border-radius: 999px;
  white-space: nowrap; cursor: pointer; background: none; border: none;
  transition: color .2s ease, background-color .2s ease;
}
.nav__sub-toggle:hover { color: var(--red); background: var(--red-soft); }
.nav__sub-toggle svg { width: 16px; height: 16px; transition: transform .2s ease; }
.nav__sub { display: none; }
.nav__sub a { white-space: nowrap; }

@media (min-width: 1061px) {
  .nav__sub {
    position: absolute; top: calc(100% + 8px); left: 0;
    min-width: 224px; flex-direction: column; gap: 2px;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
    padding: 8px; z-index: 80;
  }
  .nav__item--has-sub:hover .nav__sub,
  .nav__item--has-sub:focus-within .nav__sub,
  .nav__sub.is-open { display: flex; }
  .nav__item--has-sub:hover .nav__sub-toggle svg,
  .nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav__sub a {
    display: block; padding: 10px 14px; border-radius: 8px;
    font-size: 0.95rem; font-family: var(--font-head); font-weight: 500;
    color: var(--ink-soft);
  }
  .nav__sub a:hover { background: var(--red-soft); color: var(--red); }
}

@media (max-width: 1060px) {
  .nav__item--has-sub { width: 100%; display: flex; flex-direction: column; align-items: center; }
  .nav__sub-toggle { font-size: 1.3rem; padding: 14px 28px; }
  .nav__sub { flex-direction: column; align-items: center; gap: 6px; width: 100%; margin-bottom: 8px; }
  .nav__sub.is-open { display: flex; }
  .nav__sub a { font-size: 1.05rem; padding: 8px 20px; color: var(--muted); }
  .nav__sub a:hover { color: var(--red); }
  .nav__sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
}

/* ==========================================================================
   Image placeholders + gallery
   ========================================================================== */
.ph {
  background: linear-gradient(135deg, var(--red-soft), #fff 72%);
  border: 1px dashed #E3BEDA; border-radius: var(--radius);
  min-height: 210px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  color: var(--red); text-align: center; padding: 24px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
}
.ph svg { width: 42px; height: 42px; opacity: 0.75; }
.ph small { font-weight: 400; color: var(--muted); font-family: var(--font-body); }

.gallery-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.gallery-grid > .wp-block-image, .gallery-grid > .ph { flex: 0 1 calc(33.333% - 12px); margin: 0; }
.gallery-grid .ph { min-height: 240px; }
@media (max-width: 880px) { .gallery-grid > .wp-block-image, .gallery-grid > .ph { flex-basis: calc(50% - 9px); } }
@media (max-width: 560px) { .gallery-grid > .wp-block-image, .gallery-grid > .ph { flex-basis: 100%; } }

/* ==========================================================================
   Blog: post listing cards + single post
   ========================================================================== */
.post-card .wp-block-post-title { font-size: 1.12rem; margin: 0; }
.post-card .wp-block-post-title a { color: var(--ink); transition: color .2s ease; }
.post-card:hover .wp-block-post-title a { color: var(--red); }
.post-card .post-card__media { margin: 0; }
.post-card .post-card__media img { width: 100%; height: 190px; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.post-card .wp-block-post-excerpt { margin: 0; }
.post-card .wp-block-post-excerpt__excerpt { font-size: 0.94rem; color: var(--muted); }
.post-card__tag { align-self: flex-start; margin: 0; font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); background: var(--red-soft); border-radius: 999px; padding: 5px 13px; }
.post-card__tag a { color: inherit; }
.post-card__meta { margin-top: auto; padding-top: 8px; gap: 12px; align-items: center; justify-content: space-between; }
.post-card__date { font-size: 0.82rem; color: var(--muted); margin: 0; }
.post-card__link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--red); }
.post-card__link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.post-card:hover .post-card__link svg { transform: translateX(4px); }

.post-pagination { gap: 8px; margin-top: 44px; }
.post-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 600; color: var(--ink-soft); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.post-pagination .page-numbers:hover { border-color: var(--red); color: var(--red); }
.post-pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }

.post-hero { padding-block: 56px 40px; }
.post-hero__inner { max-width: 820px; }
.post-cat, .post-cat a { font-family: var(--font-head); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.post-cat { margin: 0 0 16px; }
.post-hero .wp-block-post-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0 0 20px; }
.post-meta { gap: 18px; align-items: center; color: var(--muted); font-size: 0.9rem; }
.post-meta__item, .post-meta .wp-block-post-date { position: relative; margin: 0; font-size: 0.9rem; color: var(--muted); }
.post-meta > *:not(:first-child)::before { content: ""; position: absolute; left: -11px; top: 50%; transform: translateY(-50%); width: 4px; height: 4px; border-radius: 999px; background: #C9B7C4; }
.post-meta__by { font-weight: 600; color: var(--ink-soft); }

.post-featured { margin: 0 auto 8px; max-width: 900px; }
.post-featured img { width: 100%; border-radius: var(--radius); display: block; }

.post-body { padding-top: 40px; }
.post-prose { max-width: 760px; margin-inline: auto; font-size: 1.08rem; }
.post-prose .wp-block-post-content > * { margin-block: 0; }
.post-prose .wp-block-post-content > * + * { margin-top: 24px; }
.post-prose .wp-block-post-content h2 { font-size: 1.6rem; margin-top: 48px; scroll-margin-top: 100px; }
.post-prose .wp-block-post-content h3 { font-size: 1.25rem; margin-top: 32px; scroll-margin-top: 100px; }
.post-prose .wp-block-post-content p { max-width: none; }
.post-prose .wp-block-post-content img { border-radius: var(--radius); }
.post-prose .wp-block-post-content blockquote { border-left: 4px solid var(--red); background: var(--red-tint); padding: 18px 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.post-prose .wp-block-post-content ul, .post-prose .wp-block-post-content ol { padding-left: 6px; display: grid; gap: 12px; }
.post-prose .wp-block-post-content li { position: relative; padding-left: 34px; }
.post-prose .wp-block-post-content ul li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 999px; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B03A9C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.post-prose .wp-block-post-content ol { counter-reset: item; }
.post-prose .wp-block-post-content ol li { counter-increment: item; }
.post-prose .wp-block-post-content ol li::before { content: counter(item); position: absolute; left: 0; top: 2px; width: 24px; height: 24px; background: var(--red); color: #fff; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; }

.toc { background: var(--bg-warm); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 8px; }
.toc__title { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin: 0 0 12px; font-size: 1rem; }
.toc__list { display: grid; gap: 9px; margin: 0; padding: 0; }
.toc__list li { padding-left: 0; }
.toc__list a { color: var(--ink-soft); font-size: 0.96rem; transition: color .2s ease; }
.toc__list a:hover { color: var(--red); }
.toc__list .toc--h3 { padding-left: 16px; font-size: 0.92rem; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.share__label { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.share__links { display: flex; flex-wrap: wrap; gap: 10px; }
.share__btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; border: 1px solid var(--line); color: var(--ink-soft); transition: all .2s ease; cursor: pointer; }
.share__btn svg { width: 17px; height: 17px; }
.share__wa:hover { background: #1FAF53; color: #fff; border-color: #1FAF53; }
.share__fb:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.share__cp:hover { background: var(--red-soft); color: var(--red); border-color: var(--red); }

.post-cta { max-width: 760px; margin: 48px auto 0; padding: 32px 30px; background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%); border-radius: var(--radius); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.post-cta h2 { color: #fff; font-size: 1.3rem; margin: 0 0 6px; }
.post-cta p { color: rgba(255,255,255,0.9); margin: 0; font-size: 0.98rem; }
.post-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.post-cta .btn--primary { background: #fff; color: var(--red); box-shadow: none; }
.post-more .section-head { margin-bottom: 36px; }

/* Force white body text inside the highlighted "Not Sure What You Need?" card */
.card.sk-card-cta p { color: #fff; }

/* Feature blocks: drop the injected block-gap so heading and text use design spacing */
.feature .wp-block-group { margin-block: 0; }
.feature .wp-block-group > * + * { margin-top: 0; }
.feature h3 { margin-bottom: 5px; }

/* Linked area chips */
a.chip { transition: border-color .2s ease, color .2s ease, background-color .2s ease; }
a.chip:hover { border-color: var(--red); color: var(--red); background: var(--red-soft); }

/* Real photos inside the gallery grid */
.gallery-grid .wp-block-image {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.gallery-grid .wp-block-image img {
  width: 100%; height: 260px; object-fit: cover; display: block;
  cursor: zoom-in;
  transition: transform 0.5s ease;
}
/* Subtle hover: the card lifts, the photo zooms gently, a magnifier hint fades in */
.gallery-grid .wp-block-image:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.gallery-grid .wp-block-image:hover img { transform: scale(1.07); }
.gallery-grid .wp-block-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(40, 16, 34, 0.28), rgba(40, 16, 34, 0) 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.gallery-grid .wp-block-image:hover::after { opacity: 1; }
@media (max-width: 560px) { .gallery-grid .wp-block-image img { height: 220px; } }

/* ==========================================================================
   Image lightbox (gallery viewer)
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 4vw;
  background: rgba(28, 12, 24, 0.93);
  opacity: 0; transition: opacity 0.25s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__stage {
  margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: 90vw;
}
.lightbox__img {
  max-width: 90vw; max-height: 82vh; width: auto; height: auto;
  border-radius: 8px; background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__cap { color: #fff; font-size: 0.95rem; text-align: center; max-width: 720px; opacity: 0.9; margin: 0; }
.lightbox__close {
  position: absolute; top: 18px; right: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: #fff; border: none; cursor: pointer;
  font-size: 1.7rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background-color 0.2s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox__nav {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: #fff; border: none; cursor: pointer;
  font-size: 2rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background-color 0.2s ease;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.26); }
@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox__nav { position: absolute; bottom: 18px; width: 46px; height: 46px; }
  .lightbox__prev { left: 22px; }
  .lightbox__next { right: 22px; }
  .lightbox__close { top: 12px; right: 12px; }
  .lightbox__img { max-height: 72vh; }
}

/* ==========================================================================
   Multi-item estimate builder
   ========================================================================== */
.estimate {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 28px; max-width: 920px; margin-inline: auto;
}
.est-cols { grid-template-columns: 1.5fr 0.9fr 0.9fr 0.6fr 1.3fr 40px; }
.est-head {
  display: grid; grid-template-columns: 1.5fr 0.9fr 0.9fr 0.6fr 1.3fr 40px; gap: 12px;
  padding: 0 4px 10px; font-family: var(--font-head); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.est-rows { display: grid; gap: 12px; margin-top: 14px; }
.est-row { display: grid; grid-template-columns: 1.5fr 0.9fr 0.9fr 0.6fr 1.3fr 40px; gap: 12px; align-items: center; }
.est-cell { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.est-lbl { display: none; font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; color: var(--muted); }
.estimate select, .estimate input {
  font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%; min-height: 46px;
}
.estimate select:focus, .estimate input:focus { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.est-sub { font-family: var(--font-head); font-weight: 600; color: var(--red-deep); font-size: 0.95rem; padding: 6px 0; }
.est-remove {
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-size: 1.2rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: all .2s ease; align-self: center;
}
.est-remove:hover { background: var(--red-soft); color: var(--red); border-color: var(--red); }
.est-add { margin-top: 16px; }
.est-total {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 20px; padding: 18px 22px; background: var(--red-soft); border-radius: var(--radius-sm);
}
.est-total > span { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.est-total strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--red-deep); line-height: 1.2; }
.est-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.est-actions .btn { flex: 1; min-width: 200px; }

@media (max-width: 720px) {
  .est-head { display: none; }
  .est-row {
    grid-template-columns: 1fr 1fr; gap: 12px;
    border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; position: relative;
  }
  .est-cell--type { grid-column: 1 / -1; }
  .est-cell--sub { grid-column: 1 / -1; }
  .est-lbl { display: block; }
  .est-remove { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; }
  .est-cell--type .est-lbl { padding-right: 40px; }
}

/* Nav WhatsApp button (replaces the old Estimate link) */
.nav__wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1FAF53; color: #fff; padding: 9px 18px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.94rem; white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
.nav__wa svg { width: 18px; height: 18px; }
.nav__wa:hover { background: #178A41; color: #fff; transform: translateY(-1px); }
/* In the mobile slide-in menu, make it a full, easy-tap button. */
@media (max-width: 1060px) { .nav__wa { font-size: 1.15rem; padding: 13px 26px; margin-top: 8px; } }
