/* ============================================================
   Perfect Line Kitchens — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --navy:        #0f1d2e;
  --navy-mid:    #162c42;
  --navy-light:  #1e3a54;
  --gold:        #c8922d;
  --gold-hover:  #daa53a;
  --cream:       #f2ede4;
  --warm-white:  #faf8f4;
  --text-on-dark: #e8e2d6;
  --text-muted-dark: #9db3c8;
  --text-dark:   #0f1d2e;
  --text-muted:  #4d5f70;
  --border-light: rgba(200,146,45,0.18);
  --border-dark:  rgba(255,255,255,0.08);
  --radius:      4px;
  --shadow:      0 4px 24px rgba(15,29,46,0.12);
  --shadow-lg:   0 8px 40px rgba(15,29,46,0.18);
  --transition:  0.22s ease;
  --max-w:       1160px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: 'Inter', sans-serif; letter-spacing: 0.04em; text-transform: uppercase; }
p { text-wrap: pretty; }

/* ── Layout Helpers ─────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--dark {
  background: var(--navy);
  color: var(--text-on-dark);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark p,
.section--dark li { color: var(--text-on-dark); }
.section--mid {
  background: var(--navy-mid);
  color: var(--text-on-dark);
}
.section--mid h1,
.section--mid h2,
.section--mid h3 { color: #fff; }
.section--mid p,
.section--mid li { color: var(--text-on-dark); }
.section--cream { background: var(--cream); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.section--dark .eyebrow,
.section--mid .eyebrow { color: var(--gold-hover); }

.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem 0 2rem;
}
.gold-rule--center { margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
/* Primary CTA: navy text on gold — high contrast */
.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-1px);
}
/* On dark backgrounds: white outline */
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}
/* On light backgrounds: navy outline */
.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-dark:hover {
  background: var(--navy);
  color: #fff;
}
/* Gold-bordered ghost button for special use */
.btn--gold-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gold);
}
.btn--gold-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: var(--navy);
  padding: 0.85rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo img { height: 22px; width: auto; }
.nav__logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.nav__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color: #fff; }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__cta { margin-left: 1rem; }

/* Mobile nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  transition: transform var(--transition), opacity var(--transition);
}
@media (max-width: 1024px) {
  .nav__links { display: none; flex-direction: column; gap: 0; }
  .nav__links.open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
  .nav__links.open a { font-size: 1.1rem; }
  .nav__links .nav__cta { margin-left: 0; margin-top: 0.5rem; }
  .nav__hamburger { display: flex; z-index: 10; }
  .nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__hamburger.open span:nth-child(2) { opacity: 0; }
  .nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,29,46,0.78) 0%, rgba(22,44,66,0.65) 100%);
  z-index: 1;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/IMG_0490-1280w.webp');
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,146,45,0.15);
  border: 1px solid rgba(200,146,45,0.3);
  border-radius: 2px;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-hover);
  margin-bottom: 1.75rem;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-hover);
}
.hero__sub {
  font-size: 1.1rem;
  color: var(--text-on-dark);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__trust {
  margin-top: 3.5rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted-dark);
}
.hero__trust-item strong { color: #fff; font-size: 1rem; display: block; }

/* ── Intro / About Blurb ─────────────────────────────────── */
.intro { padding: clamp(4rem, 8vw, 7rem) 0; }
.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.intro__text p + p { margin-top: 1.25rem; }
.intro__text .lead {
  font-size: 1.15rem;
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.8;
}
.intro__callouts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.intro__callout {
  padding: 1.5rem;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.intro__callout strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}
.intro__callout p { font-size: 0.92rem; color: var(--text-muted); }

/* ── Services ────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.service-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card__img {
  height: 220px;
  overflow: hidden;
}
.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card__img img { transform: scale(1.04); }
.service-card__body { padding: 1.75rem; }
.service-card__body h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.service-card__body p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.service-card__list { display: flex; flex-direction: column; gap: 0.4rem; }
.service-card__list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}
.service-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

/* ── Why Choose Us ──────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
}
.why-item__icon {
  width: 36px; height: 36px;
  background: rgba(200,146,45,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold-hover);
  font-size: 1rem;
}
.why-item p { font-size: 0.92rem; line-height: 1.5; color: var(--text-on-dark); }
.why-item strong { display: block; color: #fff; margin-bottom: 0.2rem; font-size: 0.95rem; }

/* ── Process ─────────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 10%;
  width: 80%;
  height: 1px;
  background: var(--border-light);
}
.process-step { position: relative; text-align: center; padding: 0 1rem; }
.process-step__num {
  width: 56px; height: 56px;
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}
.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}
.process-step p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ── Our Work ────────────────────────────────────────────── */
.work-filter {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.work-filter__btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 2px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.work-filter__btn:hover,
.work-filter__btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.work-card {
  aspect-ratio: 4/3;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.work-card__lqip {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(15px);
  transform: scale(1.1);
  z-index: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.work-card.is-loaded .work-card__lqip { opacity: 0; }
.work-card > picture {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}
.work-card > img:not(.work-card__lqip) {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.work-card > picture img {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.work-card.is-loaded > img:not(.work-card__lqip),
.work-card.is-loaded > picture img { opacity: 1; }
.work-card__placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #d8d0c4 0%, #c9c0b2 100%);
}
.work-card__placeholder svg { opacity: 0.35; }
.work-card__placeholder span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a6f62;
}
.work-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(15,29,46,0.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.work-card:hover .work-card__overlay { opacity: 1; }
.work-card__overlay span {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.work-card__overlay .tag {
  font-size: 0.72rem;
  color: var(--gold-hover);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.work-cta { text-align: center; margin-top: 3rem; }
.work-cta p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 2rem;
}
.testimonial-card__stars {
  color: var(--gold-hover);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.testimonial-card blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-on-dark);
  margin-bottom: 1.25rem;
}
.testimonial-card cite {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted-dark);
}
.reviews-aggregate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.reviews-aggregate__stars {
  color: var(--gold-hover);
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.reviews-aggregate__score {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}
.reviews-aggregate__count {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.reviews-aggregate__link {
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.reviews-aggregate__link:hover { color: var(--gold-hover); }
.testimonials-extra {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.testimonials-extra[hidden] { display: none; }
.reviews-show-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── Licensed & Insured ──────────────────────────────────── */
.licensed__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.licensed__points { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 2rem; }
.licensed__point {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-on-dark);
}
.licensed__point::before {
  content: '✓';
  width: 22px; height: 22px;
  background: rgba(200,146,45,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-hover);
  flex-shrink: 0;
}
.licensed__img {
  aspect-ratio: 1;
  background: var(--navy-light);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.licensed__img img { width: 60%; opacity: 0.7; }

/* ── Contact Form ────────────────────────────────────────── */
.contact-form-section { background: var(--warm-white); }
.contact-form-wrap {
  max-width: 620px;
  margin: 0 auto;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.85rem 1rem;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,146,45,0.12);
}
.form-group input.is-error,
.form-group textarea.is-error {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.form-error {
  font-size: 0.75rem;
  color: #c0392b;
  font-weight: 500;
  margin-top: 0.2rem;
  display: block;
  min-height: 1em;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: #f0faf4;
  border: 1px solid #a8dfbe;
  border-radius: var(--radius);
  color: #1a5e35;
}
.form-success.visible { display: block; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: #080f18;
  color: var(--text-on-dark);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}
.footer__brand .nav__logo-text { font-size: 1.1rem; }
.footer__brand p {
  font-size: 0.88rem;
  color: #a8bfce;
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer__col h4 {
  font-size: 0.72rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col ul li a {
  font-size: 0.88rem;
  color: #a8bfce;
  transition: color var(--transition);
}
.footer__col ul li a:hover { color: #fff; }
.footer__contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.88rem;
  color: #a8bfce;
  margin-bottom: 0.75rem;
}
.footer__contact-item svg { color: #a8bfce; flex-shrink: 0; }
.footer__contact-item a { color: #a8bfce; transition: color var(--transition); }
.footer__contact-item a:hover { color: #fff; }
.footer__bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #7a96a8;
}
.footer__bottom a { color: #7a96a8; transition: color var(--transition); }
.footer__bottom a:hover { color: #a8bfce; }

/* ── Page Header ─────────────────────────────────────────── */
.page-header {
  background: var(--navy);
  background-size: cover;
  background-position: center;
  padding: 10rem 0 5.5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,18,28,0.88) 0%, rgba(15,29,46,0.78) 50%, rgba(22,44,66,0.68) 100%);
  z-index: -1;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 1;
}
.page-header .container { position: relative; }
.page-header h1 {
  color: #fff !important;
}
.page-header .eyebrow {
  color: #f0c96a;
}
.page-header .lead {
  color: rgb(157, 179, 200) !important;
  font-size: 1.1rem;
  max-width: 560px;
  margin-top: 1.25rem;
  opacity: 0.92;
}
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.75rem;
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.breadcrumb a:hover { color: #f0c96a; }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ── About page specific ─────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.value-card {
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.value-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ── Services page specific ──────────────────────────────── */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.service-detail__img img { width: 100%; height: 360px; object-fit: cover; }
.service-detail__text .gold-rule { margin-top: 0.75rem; }
.service-detail__list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.service-detail__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.service-detail__list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Contact page specific ───────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.contact-info__icon {
  width: 44px; height: 44px;
  background: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
}
.contact-info__text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.contact-info__text a, .contact-info__text span {
  font-size: 1rem;
  color: var(--text-dark);
}
.contact-info__text a:hover { color: var(--gold); }

/* ── Responsive utility grids (replaces inline styles) ── */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.grid-2col--start { align-items: start; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (max-width: 1024px) {
  .grid-2col, .grid-2col--start { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .intro__grid { grid-template-columns: 1fr; gap: 3rem; }
  .licensed__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .licensed__img { max-height: 260px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer__brand { grid-column: span 2; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .service-detail { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail.reverse { direction: ltr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-extra { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .values-grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

  /* Hero mobile */
  /* .hero {
    align-items: flex-start;
    padding-top: 6rem;
    padding-bottom: 3.5rem;
    min-height: 100svh;
  }
  .hero h1 br { display: none; }
  .hero__badge { margin-bottom: 1.25rem; }
  .hero__sub { font-size: 1rem; margin-bottom: 1.75rem; }
  .hero__actions { flex-direction: column; gap: 0.75rem; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .hero__trust { margin-top: 2.25rem; gap: 1.25rem; } */
  /* .hero__trust-item { font-size: 0.78rem; } */
}
@media (max-width: 480px) {
  .work-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .hero { padding-top: 5.5rem; }
  .hero__trust { flex-direction: column; gap: 1rem; }

  .nav__logo img { height: 17px !important; }
}
@media (max-width: 360px) {
  .nav__logo img { height: 14px !important; }
}

/* ── Utilities ───────────────────────────────────────────── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── Animations ──────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {

  /* Keyframes */
  @keyframes plkFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes plkFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }
  @keyframes plkRuleDraw {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }

  /* ── Hero entrance (staggered, above-fold) ── */
  .hero__badge   { animation: plkFadeUp 0.6s ease 0.15s both; }
  .hero h1       { animation: plkFadeUp 0.7s ease 0.30s both; }
  .hero__sub     { animation: plkFadeUp 0.6s ease 0.48s both; }
  .hero__actions { animation: plkFadeUp 0.6s ease 0.62s both; }
  .hero__trust   { animation: plkFadeUp 0.6s ease 0.78s both; }

  /* ── Page-header entrance (inner pages) ── */
  .page-header .breadcrumb { animation: plkFadeUp 0.5s ease 0.10s both; }
  .page-header .eyebrow    { animation: plkFadeUp 0.5s ease 0.22s both; }
  .page-header h1          { animation: plkFadeUp 0.65s ease 0.34s both; }
  .page-header .lead       { animation: plkFadeUp 0.55s ease 0.48s both; }

  /* ── Gold rule draw ── */
  .gold-rule {
    transform-origin: left center;
    animation: plkRuleDraw 0.55s ease 0.15s both;
  }
  .gold-rule--center { transform-origin: center; }

  /* ── Scroll-triggered fade-up ── */
  .anim-ready {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .anim-ready.anim-in {
    opacity: 1;
    transform: none;
  }

  /* Lighter lift for large block elements */
  .intro__text.anim-ready,
  .intro__callouts.anim-ready,
  .service-detail.anim-ready,
  .contact-layout > div.anim-ready,
  .grid-2col > div.anim-ready,
  .section .text-center.anim-ready {
    transform: translateY(16px);
  }
}

/* ── Footer brand logo ───────────────────────────────────── */
.footer__brand img {
  height: 18px;
  width: auto;
  margin-bottom: 1rem;
}

/* ── Licensed point — default inherits, dark override ─────── */
.licensed__point { color: var(--text-muted); }
.section--dark .licensed__point { color: var(--text-on-dark); }

/* ── Stat card (replaces inline styles in stats-grid) ─────── */
.stat-card {
  padding: 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  text-align: center;
}
.stat-card__value {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
}
.stat-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── Responsive page-header backgrounds ─────────────────── */
.page-header--about   { background-image: url('assets/pexels-karola-g-4977410-1280w.webp'); }
.page-header--services { background-image: url('assets/pexels-alex-qian-1180283-2343467-1280w.webp'); }
.page-header--contact  { background-image: url('assets/pexels-curtis-adams-1694007-16501257-1280w.webp'); }

@media (max-width: 768px) {
  .hero__bg              { background-image: url('assets/IMG_0490-640w.webp'); }
  .page-header--about    { background-image: url('assets/pexels-karola-g-4977410-640w.webp'); }
  .page-header--services { background-image: url('assets/pexels-alex-qian-1180283-2343467-640w.webp'); }
  .page-header--contact  { background-image: url('assets/pexels-curtis-adams-1694007-16501257-640w.webp'); }
}

/* ── Lightbox ────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,15,22,0.96);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox:not([hidden]) { opacity: 1; }
.lightbox[hidden] { display: none !important; }
.lightbox__img-wrap {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
  display: block;
}
.lightbox__close {
  position: fixed;
  top: 1.25rem; right: 1.5rem;
  background: none; border: none;
  color: #fff; font-size: 2.5rem;
  cursor: pointer; line-height: 1;
  opacity: 0.7; transition: opacity 0.15s;
  z-index: 1001;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 2.5rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
  z-index: 1001;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }
.lightbox__nav:disabled { opacity: 0.2; cursor: default; }
.lightbox__caption {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-align: center;
}
.work-card { cursor: zoom-in; }

/* ── Contact page extras ─────────────────────────────────── */
.response-time {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
}
.contact-info__divider {
  height: 1px;
  background: rgba(0,0,0,0.07);
  margin: 2rem 0;
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 1.5rem 0;
}
.faq-item:first-child { padding-top: 0; }
.faq-item h3 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}
.faq-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ── Scroll-to-top button ───────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(15,29,46,0.22);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  pointer-events: none;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top:hover { background: var(--gold-hover); }
.scroll-top:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .scroll-top { bottom: 1.25rem; right: 1.25rem; }
}
