/*
Theme Name: Shadow Curtains
Theme URI: https://shadowcurtains.com
Author: Shadow Curtains Trading LLC
Author URI: https://shadowcurtains.com
Description: Premium, fully dynamic WordPress theme for Shadow Curtains Trading LLC — soft-furnishing specialists in Sharjah, UAE. Converted from the bespoke static site: 3D velvet-curtain hero, service/gallery/team custom post types, and site-wide contact details managed from the Customizer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shadow
Tags: business, portfolio, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, translation-ready
*/

/* =====================================================================
   SHADOW CURTAINS TRADING LLC — Website Stylesheet
   Brand: deep maroon + black + cream, premium soft-furnishing feel
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --maroon:        #8b1a1a;
  --maroon-dark:   #6d1414;
  --maroon-deep:   #4f0f0f;
  --ink:           #161213;
  --ink-soft:      #2a2323;
  --gold:          #e0b23c;
  --cream:         #ffffff;
  --cream-2:       #f4f1ec;
  --paper:         #e5d2d21f;
  --text:          #241f20;
  --muted:         #6b6260;
  --line:          #e7ded6;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body:    "Poppins", "Segoe UI", system-ui, sans-serif;

  --shadow-sm: 0 4px 14px rgba(30, 15, 15, .08);
  --shadow-md: 0 14px 40px rgba(40, 15, 15, .12);
  --shadow-lg: 0 30px 70px rgba(40, 15, 15, .20);

  --radius:    0;
  --radius-lg: 0;
  --container: 1200px;
  --nav-h:     78px;
  --ease:      cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: clip;   /* stop side-scroll without breaking position:fixed (unlike overflow:hidden) */
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: .5px; }
.display {
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  line-height: .98;
}
.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: .78rem;
  letter-spacing: 3.5px; text-transform: uppercase; color: var(--maroon);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--maroon); display: inline-block; }
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--gold); }
.eyebrow.light::before { background: var(--gold); }

/* ---------- Layout ---------- */
.container { width: min(100% - 44px, var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); color: var(--ink); margin: 16px 0 0; }
.section-title .accent { color: var(--maroon); }
.lead { font-size: 1.06rem; color: var(--muted); margin-top: 18px; font-weight: 300; }

.bg-cream  { background: var(--cream); }
.bg-cream2 { background: var(--cream-2); }
.bg-paper  { background: var(--paper); }
.bg-ink    { background: var(--ink); color: #efe9e6; }
.bg-maroon { background: var(--maroon); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 0;
  font-family: var(--font-body); font-weight: 600; font-size: .9rem;
  letter-spacing: .4px; transition: all .35s var(--ease);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn-primary { background: var(--maroon); color: #fff; box-shadow: 0 12px 26px rgba(139,26,26,.30); }
.btn-primary:hover { background: var(--maroon-dark); transform: translateY(-3px); box-shadow: 0 18px 36px rgba(139,26,26,.42); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { border: 1.6px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--maroon); transform: translateY(-3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-3px); }
.btn-outline { border: 1.6px solid var(--maroon); color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: #fff; transform: translateY(-3px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 1000;
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 56px; width: auto; transition: height .4s var(--ease), filter .4s var(--ease); }
.nav-logo .logo-pill {
  background: transparent; padding: 0; line-height: 0; box-shadow: none;
}
/* Over the dark hero the transparent logo renders white; on light navs it keeps its brand colours. */
.nav .nav-logo img { filter: brightness(0) invert(1); }
.nav.scrolled .nav-logo img, .nav.solid .nav-logo img { filter: none; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px; font-size: .92rem; font-weight: 400; color: #f4efe9;
  border-radius: 0; position: relative; transition: color .3s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after,
.nav-links li.current-menu-item > a::after { transform: scaleX(1); }
.nav-links a.active, .nav-links li.current-menu-item > a { color: #fff; }
.nav-cta { margin-left: 10px; padding: 11px 22px; font-size: .85rem; }

/* scrolled state */
.nav.scrolled { background: rgba(255,255,255,.94); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); height: 66px; }
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav.scrolled .nav-links a.active, .nav.scrolled .nav-links li.current-menu-item > a { color: var(--maroon); }
.nav.scrolled .nav-logo .logo-pill { box-shadow: none; background: transparent; padding: 0; }
.nav.scrolled .nav-logo img { height: 48px; }
.nav.scrolled .nav-toggle span { background: var(--ink); }

/* pages that always have a solid nav (non-hero pages) */
.nav.solid { background: rgba(255,255,255,.96); backdrop-filter: blur(14px); box-shadow: var(--shadow-sm); }
.nav.solid .nav-links a { color: var(--ink-soft); }
.nav.solid .nav-links a.active, .nav.solid .nav-links li.current-menu-item > a { color: var(--maroon); }
.nav.solid .nav-logo .logo-pill { box-shadow: none; background: transparent; padding: 0; }
.nav.solid .nav-toggle span { background: var(--ink); }

/* The maroon "Get a Quote" button keeps white text in every nav state
   (otherwise the scrolled/solid nav link colour overrides it → unreadable). */
.nav .nav-links a.nav-cta,
.nav.scrolled .nav-links a.nav-cta,
.nav.solid .nav-links a.nav-cta { color: #fff; }
.nav .nav-links a.nav-cta:hover { color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.nav-toggle span { width: 26px; height: 2.4px; background: #fff; border-radius: 0; transition: all .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8.4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8.4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
#curtain-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.hero-fallback {
  position: absolute; inset: 0; z-index: 1;
  background: var(--hero-fallback, url("images/banner.webp")) center/cover no-repeat;
}
.hero-fallback::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,15,15,.72), rgba(20,15,15,.30)); }
.hero-inner { position: relative; z-index: 5; width: min(100% - 44px, var(--container)); margin-inline: auto; color: #fff; padding-top: var(--nav-h); }
.hero-inner .eyebrow { color: var(--gold); }
.hero-inner .eyebrow::before { background: var(--gold); }
.hero h1 { font-size: clamp(2.9rem, 8vw, 6.4rem); text-transform: uppercase; margin: 20px 0 8px; letter-spacing: 1px; text-shadow: 0 8px 40px rgba(0,0,0,.4); }
.hero h1 .line2 { color: var(--maroon); display: block; }
.hero p { max-width: 540px; font-size: 1.12rem; color: #ece5e2; margin-bottom: 34px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 5; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .7rem; letter-spacing: 2px; text-transform: uppercase; opacity: .85; }
.hero-scroll .mouse { width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.6); border-radius: 0; position: relative; }
.hero-scroll .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; background: #fff; border-radius: 0; transform: translateX(-50%); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }

/* page hero (interior pages) */
.page-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 40px) 0 54px; background: var(--ink); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--img) center/cover; opacity: .38; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,18,19,.5), rgba(22,18,19,.86)); }
.page-hero .container { position: relative; z-index: 2; color: #fff; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); text-transform: uppercase; color: #fff; }
.page-hero .crumbs { color: #d9c9c9; font-size: .85rem; margin-top: 14px; letter-spacing: .5px; }
.page-hero .crumbs a:hover { color: var(--gold); }
.page-hero .crumbs span { color: var(--gold); }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 10px; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--maroon); line-height: 1; }
.stat .lbl { font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 8px; font-weight: 500; }
.bg-ink .stat .num { color: var(--gold); }
.bg-ink .stat .lbl { color: #c7bdbb; }

/* ---------- About / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: 0; box-shadow: var(--shadow-lg); width: 100%; height: 100%; object-fit: cover; }
.split-media .badge {
  position: absolute; bottom: -26px; left: -26px; background: var(--maroon); color: #fff;
  padding: 22px 26px; border-radius: 0; box-shadow: var(--shadow-md);
}
.split-media .badge b { font-family: var(--font-display); font-size: 2.2rem; display: block; line-height: 1; }
.split-media .badge span { font-size: .74rem; letter-spacing: 1.5px; text-transform: uppercase; opacity: .85; }
.vm-list { margin-top: 30px; display: grid; gap: 22px; }
.vm-item { display: flex; gap: 18px; }
.vm-item .ic { flex: none; width: 52px; height: 52px; border-radius: 0; background: var(--cream-2); display: grid; place-items: center; color: var(--maroon); }
.bg-ink .vm-item .ic { background: rgba(255,255,255,.07); color: var(--gold); }
.vm-item .ic svg { width: 24px; height: 24px; }
.vm-item h4 { font-size: 1.25rem; color: inherit; margin-bottom: 4px; letter-spacing: 1px; text-transform: uppercase; }
.vm-item p { color: var(--muted); font-size: .96rem; }
.bg-ink .vm-item p { color: #c3b9b7; }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc-card {
  position: relative; border-radius: 0; overflow: hidden; min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  box-shadow: var(--shadow-md); isolation: isolate; background: var(--ink);
}
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,15,15,0) 30%, rgba(20,15,15,.55) 62%, rgba(60,10,10,.92)); transition: background .5s; }
.svc-card:hover img { transform: scale(1.08); }
.svc-card:hover::after { background: linear-gradient(180deg, rgba(20,15,15,.1) 20%, rgba(90,12,12,.6) 55%, rgba(90,12,12,.96)); }
.svc-body { position: relative; padding: 28px; }
.svc-body h3 { font-size: 1.7rem; text-transform: uppercase; letter-spacing: 1px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; max-height: 0; overflow: hidden; opacity: 0; transition: all .5s var(--ease); }
.svc-card:hover .svc-tags { max-height: 200px; opacity: 1; margin-top: 16px; }
.svc-tags span { font-size: .74rem; padding: 5px 12px; border-radius: 0; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); font-weight: 400; }
.svc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; font-size: .85rem; color: var(--gold); }

/* detailed service rows (services page) */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(40px,6vw,70px) 0; border-bottom: 1px solid var(--line); }
.svc-row:last-child { border-bottom: none; }
.svc-row.reverse .svc-row-media { order: 2; }
.svc-row-media { border-radius: 0; overflow: hidden; box-shadow: var(--shadow-lg); }
.svc-row-media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; transition: transform .8s var(--ease); }
.svc-row-media:hover img { transform: scale(1.05); }
.svc-row h3 { font-size: clamp(1.8rem, 4vw, 2.7rem); color: var(--ink); text-transform: uppercase; }
.svc-row .num-tag { font-family: var(--font-display); font-size: 1rem; color: var(--maroon); letter-spacing: 2px; }

/* Service Highlight band (shadow/service-highlight) */
.shadow-highlight .hl-media { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.shadow-highlight .hl-media .svc-row-media img { aspect-ratio: 16 / 9; }
.shadow-highlight .hl-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
/* On the dark variant the type flips to light, with a gold accent. */
.shadow-highlight.bg-ink .section-title { color: #fff; }
.shadow-highlight.bg-ink .section-title .accent { color: var(--gold); }
.shadow-highlight.bg-ink .lead { color: #c9bebc; }
.shadow-highlight.bg-ink .feature-list li { color: #efe9e6; }
.feature-list { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: .96rem; color: var(--text); font-weight: 400; }
.feature-list li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--maroon); transform: rotate(45deg); }

/* ---------- Gallery ---------- */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.gallery-filter button {
  padding: 10px 22px; border-radius: 0; font-weight: 500; font-size: .88rem; color: var(--muted);
  border: 1.4px solid var(--line); background: #fff; transition: all .3s var(--ease);
}
.gallery-filter button.active, .gallery-filter button:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.gallery-grid { columns: 3; column-gap: 20px; }
.gallery-item { break-inside: avoid; margin-bottom: 20px; border-radius: 0; overflow: hidden; position: relative; box-shadow: var(--shadow-sm); cursor: pointer; }
.gallery-item img { width: 100%; transition: transform .8s var(--ease); }
.gallery-item::after { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px; color: #fff; font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 1px; text-transform: uppercase; background: linear-gradient(180deg, transparent 45%, rgba(70,10,10,.85)); opacity: 0; transition: opacity .4s; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover img { transform: scale(1.07); }

/* Square variant — used by the Recent Work block. The masonry columns above
   are replaced by an even 1:1 grid; the lightbox still shows the original. */
.gallery-grid.is-square { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid.is-square .gallery-item { margin-bottom: 0; }
.gallery-grid.is-square .gallery-item img { display: block; width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.shadow-recent-work .section-head { margin-bottom: 44px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(15,8,8,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox .lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; }
.lightbox img { max-width: 90vw; max-height: 82vh; width: auto; height: auto; border-radius: 0; box-shadow: var(--shadow-lg); }
.lightbox .lb-caption { font-family: var(--font-display); font-size: 1rem; letter-spacing: 2px; text-transform: uppercase; color: #f2e6e6; text-align: center; }
.lightbox .lb-close {
  position: absolute; top: 24px; right: 30px; color: #fff; font-size: 2.4rem; line-height: 1;
  background: none; border: 0; cursor: pointer; padding: 0 8px; transition: color .3s var(--ease);
}
.lightbox .lb-close:hover { color: var(--gold); }
.lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 54px; height: 54px; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.lightbox .lb-nav:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.lightbox .lb-nav svg { width: 24px; height: 24px; }
.lightbox .lb-prev { left: 24px; }
.lightbox .lb-next { right: 24px; }
.lightbox .lb-count { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); color: #c9bcbc; font-size: .8rem; letter-spacing: 2px; }
@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox .lb-nav { width: 42px; height: 42px; }
  .lightbox .lb-prev { left: 8px; }
  .lightbox .lb-next { right: 8px; }
}

/* ---------- Clients ---------- */
.clients-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.client { background: #fff; border: 1px solid var(--line); border-radius: 0; min-height: 118px; display: grid; place-items: center; text-align: center; padding: 20px; transition: all .4s var(--ease); }
.client:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); border-color: transparent; }
.client .cn { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); letter-spacing: 1px; text-transform: uppercase; }
.client .cs { display: block; font-family: var(--font-body); font-size: .64rem; letter-spacing: 2px; color: var(--muted); margin-top: 4px; font-weight: 500; }
.client .client-logo {
  display: block; width: auto; max-width: 100%; max-height: 78px; margin: 0 auto;
  object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .4s var(--ease), opacity .4s var(--ease);
}
.client:hover .client-logo { filter: grayscale(0); opacity: 1; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--maroon-deep), var(--maroon)); color: #fff; text-align: center; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; }
.cta-band p { max-width: 560px; margin: 16px auto 30px; color: #f2dede; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 0; background: rgba(255,255,255,.05); }
.cta-band::before { width: 380px; height: 380px; top: -160px; right: -80px; }
.cta-band::after { width: 300px; height: 300px; bottom: -170px; left: -60px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 60px); }
.contact-info { display: grid; gap: 20px; align-content: start; }
.info-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); padding: 22px; border-radius: 0; transition: all .35s var(--ease); }
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.info-card .ic { flex: none; width: 50px; height: 50px; border-radius: 0; background: var(--maroon); color: #fff; display: grid; place-items: center; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h4 { font-size: 1.05rem; color: var(--ink); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.info-card p, .info-card a { color: var(--muted); font-size: .94rem; }
/* Stacked variant used by the "Why Choose Us" band. */
.info-card.is-centered { flex-direction: column; align-items: center; text-align: center; padding: 36px 26px; }
.info-card.is-centered h4 { margin-top: 16px; }
.info-card a:hover { color: var(--maroon); }

.form-card { background: #fff; border-radius: 0; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .82rem; font-weight: 500; letter-spacing: .5px; margin-bottom: 8px; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1.4px solid var(--line); border-radius: 0;
  font-family: inherit; font-size: .96rem; color: var(--text); background: var(--cream); transition: all .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--maroon); background: #fff; box-shadow: 0 0 0 4px rgba(139,26,26,.08); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.form-msg { padding: 14px 18px; border-radius: 0; font-size: .92rem; margin-bottom: 20px; display: none; }
.form-msg.show { display: block; }
.form-msg.ok { background: #e8f5e9; color: #1b5e20; border: 1px solid #a5d6a7; }
.form-msg.err { background: #fdecea; color: #b71c1c; border: 1px solid #f5b5b0; }
.map-wrap { border-radius: 0; overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 50px; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cbc0be; padding: 70px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .f-logo { background: transparent; padding: 0; display: inline-block; margin-bottom: 18px; line-height: 0; }
.footer .f-logo img { height: 56px; filter: brightness(0) invert(1); }
.footer p { font-size: .92rem; line-height: 1.7; }
.footer h5 { font-family: var(--font-display); color: #fff; font-size: 1.15rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.footer ul li { margin-bottom: 11px; }
.footer ul a, .footer .f-contact li { font-size: .92rem; transition: color .3s; }
.footer ul a:hover { color: var(--gold); padding-left: 4px; }
.footer .f-contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer .f-contact svg { flex: none; width: 18px; height: 18px; color: var(--maroon); margin-top: 3px; }
.footer .f-contact a:hover { color: var(--gold); }
.f-social { display: flex; gap: 12px; margin-top: 20px; }
.f-social a { width: 40px; height: 40px; border-radius: 0; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: all .35s var(--ease); }
.f-social a:hover { background: var(--maroon); transform: translateY(-3px); }
.f-social svg { width: 18px; height: 18px; }
.footer-bottom { text-align: center; padding: 24px 0; font-size: .84rem; color: #8f8583; }
.footer-bottom .accent { color: var(--gold); }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="right"] { transform: translateX(-44px); }
[data-reveal="left"]  { transform: translateX(44px); }
[data-reveal="scale"] { transform: scale(.92); }
[data-delay="1"] { transition-delay: .12s; }
[data-delay="2"] { transition-delay: .24s; }
[data-delay="3"] { transition-delay: .36s; }
[data-delay="4"] { transition-delay: .48s; }

/* loader */
#loader { position: fixed; inset: 0; z-index: 3000; background: var(--ink); display: grid; place-items: center; transition: opacity .6s ease, visibility .6s; }
#loader.hide { opacity: 0; visibility: hidden; }
#loader .l-logo { background: transparent; padding: 0; line-height: 0; }
#loader .l-logo img { height: 64px; filter: brightness(0) invert(1); }
#loader .l-bar { position: absolute; bottom: 34%; width: 180px; height: 3px; background: rgba(255,255,255,.15); border-radius: 0; overflow: hidden; }
#loader .l-bar i { position: absolute; inset: 0; width: 40%; background: var(--gold); border-radius: 0; animation: load 1.1s infinite; }
@keyframes load { 0% { left: -40%; } 100% { left: 100%; } }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 2; }
  .gallery-grid.is-square { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 820px) {
  /* The mobile drawer itself lives in one consolidated block further down. */
  .split, .contact-grid, .svc-row, .svc-row.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media, .svc-row.reverse .svc-row-media { order: 0; }
  .split-media .badge { left: 20px; bottom: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
}
@media (max-width: 560px) {
  :root { --nav-h: 66px; }
  .svc-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .gallery-grid.is-square { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1; justify-content: center; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  #curtain-canvas { display: none; }
  .hero-fallback { z-index: 1; }
}

/* =====================================================================
   ENHANCEMENTS — WhatsApp CTA, hero buttons, service-based animations
   ===================================================================== */

/* ---------- WhatsApp button variant (hero + inline) ---------- */
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 12px 26px rgba(37,211,102,.30); }
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-3px); box-shadow: 0 18px 36px rgba(37,211,102,.42); }
.btn-whatsapp svg { width: 18px; height: 18px; }

/* ---------- Sticky-header quick call ---------- */
.nav-tel-link { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: #fff; }
.nav-tel-link svg { width: 16px; height: 16px; color: var(--gold); transition: transform .3s var(--ease); }
.nav-tel-link:hover svg { transform: rotate(-8deg) scale(1.1); }
.nav.scrolled .nav-tel-link, .nav.solid .nav-tel-link { color: var(--ink-soft); }
.nav.scrolled .nav-tel-link svg, .nav.solid .nav-tel-link svg { color: var(--maroon); }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 1400;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 34px rgba(37,211,102,.45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  opacity: 1;                 /* always fully visible (no fade-in that could stick at 0) */
}
.wa-float:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 20px 44px rgba(37,211,102,.55); }
.wa-float svg { width: 32px; height: 32px; position: relative; z-index: 2; }
/* pulsing ring that draws the eye */
.wa-pulse { position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: 1; animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 70% { transform: scale(1.85); opacity: 0; } 100% { opacity: 0; } }
@keyframes waIn { from { opacity: 0; } to { opacity: 1; } }
/* hover tooltip (desktop) */
.wa-tip {
  position: absolute; right: 74px; white-space: nowrap;
  background: #fff; color: var(--ink); font-size: .82rem; font-weight: 500;
  padding: 9px 15px; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateX(8px); pointer-events: none; transition: all .3s var(--ease);
}
.wa-tip::after { content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: #fff; }
.wa-float:hover .wa-tip { opacity: 1; transform: translateX(0); }
@media (max-width: 560px) { .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; } .wa-float svg { width: 28px; height: 28px; } .wa-tip { display: none; } }

/* ---------- Service-based reveal animations ---------- */
.svc-body { z-index: 2; }
.svc-cover { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }

/* Curtains — two pleated panels part like a stage curtain */
.svc-cover--curtain i {
  position: absolute; top: 0; bottom: 0; width: 51%;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.22) 0 1px, rgba(255,255,255,.05) 3px 22px),
    linear-gradient(90deg, #4f0f0f, #8b1a1a 45%, #a5322f 50%, #8b1a1a 55%, #4f0f0f);
  transition: transform 1.25s var(--ease);
}
.svc-cover--curtain i.l { left: 0;  box-shadow: inset -22px 0 34px rgba(0,0,0,.4); }
.svc-cover--curtain i.r { right: 0; box-shadow: inset  22px 0 34px rgba(0,0,0,.4); }
.svc-card.in .svc-cover--curtain i.l, .svc-card:hover .svc-cover--curtain i.l { transform: translateX(-102%); }
.svc-card.in .svc-cover--curtain i.r, .svc-card:hover .svc-cover--curtain i.r { transform: translateX(102%); }

/* Blinds / Awnings — horizontal slats lift upward */
.svc-cover--blinds {
  transform-origin: top; transition: transform 1s var(--ease), opacity 1s var(--ease);
  background: repeating-linear-gradient(180deg, #8b1a1a 0 15px, #6d1414 15px 17px);
}
.svc-card.in .svc-cover--blinds, .svc-card:hover .svc-cover--blinds { transform: scaleY(0); opacity: .2; }

/* Upholstery / Wallpapers / Flooring — woven fabric texture fades out */
.svc-cover--fabric {
  transition: opacity 1.15s var(--ease), transform 1.15s var(--ease);
  background:
    radial-gradient(circle at 30% 20%, rgba(224,178,60,.12), transparent 60%),
    repeating-linear-gradient(45deg, rgba(0,0,0,.10) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 7px),
    linear-gradient(135deg, #6d1414, #8b1a1a);
}
.svc-card.in .svc-cover--fabric, .svc-card:hover .svc-cover--fabric { opacity: 0; transform: scale(1.06); }

/* offset for in-page anchor under the fixed nav */
[id] { scroll-margin-top: 90px; }

/* keep animations tasteful for users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .svc-cover { opacity: 0; }
  .wa-pulse { animation: none; opacity: 0; }
  .wa-float { animation: none; }
}

/* ---------- Nav dropdown (About → Our Team) ---------- */
.nav-links .has-drop { position: relative; }
.has-drop > a { display: inline-flex; align-items: center; gap: 6px; }
.has-drop .caret { width: 12px; height: 12px; transition: transform .3s var(--ease); }
/* Hover-only, so a tap on a touch screen does not leave the caret stuck
   pointing "open" while the drawer's own tap-to-expand says otherwise. */
@media (hover: hover) {
  .has-drop:hover .caret { transform: rotate(180deg); }
}
.has-drop:focus-within .caret { transform: rotate(180deg); }
.drop {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; box-shadow: var(--shadow-md); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  z-index: 1200;
}
@media (hover: hover) {
  .has-drop:hover .drop { opacity: 1; visibility: visible; transform: translateY(0); }
}
.has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop li { margin: 0; }
.drop li a { display: block; padding: 11px 20px; color: var(--ink-soft) !important; font-size: .9rem; font-weight: 400; white-space: nowrap; transition: all .25s var(--ease); }
.drop li a::after { display: none !important; }
.drop li a:hover, .drop li a.active { background: var(--cream-2); color: var(--maroon) !important; padding-left: 24px; }

/* Mobile nav rules are consolidated in the drawer block below. */

/* ---------- Team page ---------- */
.prose { max-width: 100%; }
.prose p { color: var(--muted); font-size: 1.05rem; margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tm-card {
  background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease);
}
.tm-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.tm-photo {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep)); color: #fff;
}
.tm-photo::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 11px); }
.tm-photo .mono { position: relative; z-index: 1; font-family: var(--font-display); font-size: 3rem; letter-spacing: 2px; }
.tm-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; transition: transform .7s var(--ease); }
.tm-card:hover .tm-photo img { transform: scale(1.07); }
.tm-info { padding: 24px 22px 28px; text-align: center; }
.tm-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); text-transform: uppercase; letter-spacing: .5px; }
.tm-role { color: var(--maroon); font-weight: 600; font-size: .76rem; letter-spacing: 2.5px; text-transform: uppercase; margin-top: 5px; }
.tm-desc { color: var(--muted); font-size: .92rem; margin-top: 12px; }
@media (max-width: 992px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tm-info { padding: 16px 12px 20px; }
  .tm-name { font-size: 1.02rem; }
  .tm-role { font-size: .64rem; letter-spacing: 1.5px; }
  .tm-desc { font-size: .8rem; margin-top: 8px; }
  .tm-photo .mono { font-size: 2.1rem; }
}
@media (max-width: 360px) { .tm-desc { display: none; } }

/* ---------- Mobile menu UX: dim backdrop + roomier drawer ---------- */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(15,8,8,.5); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.nav-backdrop.show { opacity: 1; visibility: visible; }

@media (max-width: 1024px) and (min-width: 821px) { .nav-tel { display: none; } }

/* ---------- Always-visible "Call Now" button in the mobile top bar ---------- */
.nav-call-mobile { display: none; }
@media (max-width: 820px) {
  .nav-call-mobile {
    display: inline-flex; align-items: center; gap: 7px;
    margin-left: auto; margin-right: 14px;
    background: var(--maroon); color: #fff;
    padding: 9px 15px; font-weight: 600; font-size: .82rem; letter-spacing: .3px;
    box-shadow: 0 8px 18px rgba(139,26,26,.28);
  }
  .nav-call-mobile svg { width: 16px; height: 16px; }
  .nav-call-mobile:active { transform: translateY(1px); }
}
@media (max-width: 360px) {
  .nav-call-mobile { padding: 9px; margin-right: 10px; }
  .nav-call-mobile .lbl { display: none; }
}

/* ---------- Mobile navigation drawer ----------
   Every mobile nav rule lives here. It used to be spread over four separate
   820px blocks that overrode each other (slide vs. clip-path reveal, two
   different paddings, two `order` values for the phone row). */
@media (max-width: 820px) {
  .nav-toggle { display: flex; z-index: 1100; }
  .nav-toggle.open span { background: #fff !important; }

  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    height: 100vh; height: 100dvh;
    width: min(86vw, 340px);
    background: var(--ink);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0;
    padding: calc(var(--nav-h) + 22px) 28px 34px;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-lg);
    clip-path: inset(0 0 0 100%);
    transition: clip-path .42s var(--ease);
    pointer-events: none;
  }
  .nav-links.open { clip-path: inset(0 0 0 0); pointer-events: auto; }
  .nav-links a::after { display: none; }

  /* Rows. The `display: flex` is what makes the spacing even: an inline <a>
     paints its vertical padding but adds no height, so plain links (Home,
     Gallery, Contact) sat tighter than the ones carrying a dropdown. */
  .nav-links > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links > li:last-child { border-bottom: none; }
  .nav-links > li > a,
  .nav-tel-link {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    width: 100%; min-height: 52px; padding: 14px 4px;
    font-size: 1.06rem; color: #f4efe9 !important;
  }

  /* Sub-menus: tap the row to expand. */
  .nav-links .has-drop { flex-direction: column; align-items: stretch; }
  .has-drop .caret { display: inline-block; flex: none; }
  .has-drop.sub-open > a .caret { transform: rotate(180deg); }
  .drop {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: transparent;
    min-width: 0; /* the desktop 200px could push the drawer wide */
    max-height: 0; overflow: hidden; padding: 0 0 0 14px;
    transition: max-height .35s var(--ease);
  }
  .has-drop.sub-open .drop { max-height: 620px; padding-bottom: 8px; }
  .drop li a {
    display: flex; align-items: center; min-height: 44px; padding: 9px 8px;
    color: #f4efe9 !important; font-size: .98rem; opacity: .85;
    white-space: normal; /* long names ("Interior & Renovation") wrap, not overflow */
  }
  .drop li a:hover, .drop li a.active { background: transparent; opacity: 1; padding-left: 12px; }

  /* Phone row, then the quote button pinned under it. */
  .nav-tel { order: 0; }
  .nav-tel-link { justify-content: flex-start; }
  .nav-links > li > a.nav-cta {
    justify-content: center; margin: 22px 0 0; padding: 16px;
    font-size: .98rem; min-height: 0;
  }
}

/* ---------- WP admin bar + generic content niceties ---------- */
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .nav { top: 46px; } }
.entry-content h2 { color: var(--ink); margin: 30px 0 14px; }
.entry-content h3 { color: var(--ink); margin: 26px 0 12px; }
.entry-content p { color: var(--muted); margin-bottom: 16px; }
.entry-content ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; color: var(--muted); }
.entry-content a { color: var(--maroon); text-decoration: underline; }
