/* ==========================================================================
   Your Light: public website stylesheet (clean, modern, light + dark mode)
   Admin portal keeps its own stylesheet: css/style.css
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --brand: #7a1f35;
  --brand-2: #9b2c45;
  --brand-3: #c9607a;
  --brand-ink: #5c1426;
  --brand-soft: #f9eaee;
  --grad: linear-gradient(135deg, #7a1f35 0%, #c9607a 100%);
  --grad-soft: linear-gradient(160deg, #fbeff2 0%, #ffffff 100%);

  --bg: #fbf5f2;
  --surface: #ffffff;
  --surface-2: #fdf8f6;
  --ink: #2b1a1f;
  --ink-2: #5a464c;
  --muted: #8a7277;
  --line: rgba(92,20,38, .10);
  --line-strong: rgba(92,20,38, .18);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(29, 16, 32, .04), 0 2px 8px rgba(92,20,38, .05);
  --shadow: 0 10px 30px -12px rgba(92,20,38, .18), 0 2px 6px rgba(29, 16, 32, .04);
  --shadow-lg: 0 30px 60px -20px rgba(92,20,38, .30);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 76px;
}

[data-theme="dark"] {
  --bg: #140c0f;
  --surface: #1e1217;
  --surface-2: #26171d;
  --ink: #f7ecef;
  --ink-2: #e2cfd4;
  --muted: #b39aa1;
  --line: rgba(201,96,122, .14);
  --line-strong: rgba(201,96,122, .26);
  --brand-soft: #2e1a21;
  --grad-soft: linear-gradient(160deg, #2a1a20 0%, #1e1217 100%);
  --shadow: 0 14px 34px -14px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-ink); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.18; letter-spacing: -.02em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em; }
h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-2); }
:focus-visible { outline: 3px solid rgba(122,31,53, .45); outline-offset: 3px; border-radius: 8px; }
.hidden { display: none !important; }

/* Soft background glow */
.bg-blobs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-blobs span {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,96,122, .22), transparent 65%);
  filter: blur(10px); opacity: .9;
}
.bg-blobs span:first-child { top: -180px; left: -160px; }
.bg-blobs span:last-child { bottom: -220px; right: -180px; background: radial-gradient(circle, rgba(122,31,53, .16), transparent 65%); }
[data-theme="dark"] .bg-blobs span { opacity: .35; }

.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
main section { padding: 84px 0 0; }
main section:last-of-type { padding-bottom: 96px; }

/* ---------- 3. Navigation ---------- */
.navbar {
  position: sticky; top: 14px; z-index: 50;
  width: min(1200px, calc(100% - 32px)); margin: 14px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 12px 10px 18px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand .logo-img { width: 44px; height: 44px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.brand-text small { font-size: .74rem; color: var(--muted); }
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 999px;
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-links a:hover { background: var(--brand-soft); color: var(--brand); }
.nav-links a.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--surface); color: var(--ink-2); border: 1px solid var(--line-strong);
  cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s;
}
.icon-btn:hover { transform: translateY(-1px); color: var(--brand); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: .93rem; font-weight: 600; letter-spacing: .005em;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .22s, color .22s, border-color .22s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -10px rgba(122,31,53, .65); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 32px -12px rgba(122,31,53, .75); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--brand); border-color: var(--brand-3); }
.btn-wa { background: #16a34a; color: #fff; box-shadow: 0 12px 26px -12px rgba(22, 163, 74, .7); }
.btn-wa:hover { color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .84rem; }
.nav-cta { padding: 11px 20px; }

.inquire-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 11px 16px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); border: 1px solid var(--line-strong);
  font-size: .88rem; font-weight: 600; text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s, transform .2s var(--ease);
}
.inquire-btn svg { width: 16px; height: 16px; }
.inquire-btn:hover { background: #25d366; border-color: #25d366; color: #fff; transform: translateY(-1px); }

.cta-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px;
  background: #25d366; color: #fff; font-weight: 600; font-size: .92rem;
  box-shadow: 0 14px 28px -12px rgba(37, 211, 102, .7); text-decoration: none;
}
.cta-pill svg { width: 20px; height: 20px; }
.cta-pill:hover { color: #fff; transform: translateY(-2px); }

/* ---------- 5. Shared pieces ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--brand);
  font-size: .78rem; font-weight: 600; letter-spacing: .02em; box-shadow: var(--shadow-sm);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

.glass {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.chip {
  display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-ink); border: 1px solid var(--line);
  font-size: .72rem; font-weight: 600; letter-spacing: .01em;
}
[data-theme="dark"] .chip { color: #e8a5b5; }
.price { font-size: 1.05rem; font-weight: 700; color: var(--brand); }
.section-title { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-title h2 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-title p { color: var(--muted); font-size: 1rem; margin: 0; }

.page-hero { padding: 64px 0 24px; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 16px 0 10px; }
.page-hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { color: var(--muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

.loading, .empty {
  grid-column: 1 / -1; text-align: center; padding: 56px 20px; color: var(--muted);
  border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--surface-2);
}
.loader-dots::after { content: "…"; animation: dots 1.2s steps(4, end) infinite; }
@keyframes dots { 0%, 20% { content: ""; } 40% { content: "."; } 60% { content: ".."; } 80%, 100% { content: "..."; } }

.reveal { opacity: 1; transform: none; }
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 20px); z-index: 300;
  padding: 13px 20px; border-radius: 14px; background: var(--ink); color: var(--bg);
  font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: #b91c1c; color: #fff; }
body.leaving main { opacity: .0; transition: opacity .22s ease; }

/* ---------- 6. Home: hero ---------- */
.hero { padding-top: 56px !important; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0 18px; }
.hero h1 .line2 { display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 520px; line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .9rem; color: var(--muted); }
.hero-stats strong { color: var(--brand); font-weight: 700; }

/* Right side: stacked cards with the slideshow */
.mockup { position: relative; min-height: 440px; display: grid; place-items: center; }
.mockup .sparkle { position: absolute; color: var(--brand-3); font-size: 1.4rem; animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.12); } }
#hero-mock-cards { position: relative; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; }
.mock-card {
  position: absolute; inset: 0; border-radius: 26px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.mock-card img { width: 100%; height: 100%; object-fit: cover; }
.mock-card:nth-child(1) { transform: rotate(-3deg); }
.mock-card:nth-child(2) { transform: translate(40px, 30px) rotate(3deg); animation-delay: -1.5s; z-index: -1; }
.mock-card:nth-child(3) { transform: translate(-30px, 60px) rotate(-4deg); animation-delay: -3s; z-index: -2; }
.mock-card:nth-child(n+4) { display: none; }
.mock-card.swap-in { animation: fadeIn .6s var(--ease) both, float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes fadeIn { from { opacity: 0; scale: .97; } to { opacity: 1; scale: 1; } }

/* Banner carousel (one large image at a time) */
.hero-carousel { position: relative; width: 100%; max-width: 440px; }
.hero-window { overflow: hidden; border-radius: 26px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--surface); }
.hero-track { display: flex; transition: transform .9s var(--ease); }
.hero-slide { flex: 0 0 100%; aspect-ratio: 4 / 5; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.hero-dots span { width: 8px; height: 8px; border-radius: 99px; background: var(--line-strong); transition: width .3s var(--ease), background .3s; }
.hero-dots span.on { width: 26px; background: var(--brand); }

/* Strip of highlights under the hero */
.features-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 6px;
  border-radius: 999px; overflow: hidden;
}
.features-bar > div {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 12px; font-size: .9rem; font-weight: 600; color: var(--ink-2);
}
.features-bar > div + div { border-left: 1px solid var(--line); }
.features-bar svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; }
.stats-strip { margin-top: 56px; }

/* ---------- 7. Design cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }

.design-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 0;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.design-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.design-media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in;
  background: var(--grad-soft); border-bottom: 1px solid var(--line);
}
.design-media img, .design-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.design-media video { position: absolute; inset: 0; background: #000; }
.design-card:hover .design-media img, .design-card:hover .design-media video { transform: scale(1.05); }
.design-media .ph { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.4rem; color: var(--brand-3); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 11px; border-radius: 999px; font-size: .7rem; font-weight: 600;
  background: rgba(29, 16, 32, .72); color: #fff; backdrop-filter: blur(6px);
}
.badge.free { left: auto; right: 12px; background: #16a34a; }

.design-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; flex: 1; }
.design-body .chip { align-self: flex-start; }
.design-body h3 {
  margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em;
}
.design-body .price { font-size: .9rem; color: var(--muted); font-weight: 600; }
.design-actions { margin-top: auto; padding-top: 6px; }

/* Work cards (previous works page) */
.work-card { overflow: hidden; position: relative; padding: 0; border-radius: var(--radius-lg); background: var(--surface); }
.work-card .design-media { aspect-ratio: 1 / 1; }
.work-card .overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 18px;
  background: linear-gradient(transparent 35%, rgba(20, 8, 16, .92)); color: #fff; opacity: 0; transition: opacity .35s var(--ease);
}
.work-card:hover .overlay, .work-card:focus-within .overlay { opacity: 1; }
.work-card .overlay h3 { color: #fff; font-size: 1.02rem; margin: 0; }
.work-card:hover .design-media img { transform: scale(1.06); }
@media (hover: none) { .work-card .overlay { opacity: 1; background: linear-gradient(transparent 45%, rgba(20, 8, 16, .85)); } }

/* ---------- 8. Filters ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 40px; }
.filter-btn {
  padding: 9px 18px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .88rem; font-weight: 500;
  background: var(--surface); color: var(--ink-2); border: 1px solid var(--line-strong);
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.filter-btn:hover { color: var(--brand); border-color: var(--brand-3); transform: translateY(-1px); }
.filter-btn.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -10px rgba(122,31,53, .7); }

/* ---------- 9. Category and service tiles ---------- */
#cat-overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-bottom: 44px; }
.cat-tile {
  position: relative; display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px;
  text-align: left; cursor: pointer; font: inherit; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.cat-tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(120% 90% at 100% 0%, rgba(201,96,122, .22), transparent 60%);
}
.cat-tile:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.cat-tile:hover::before { opacity: 1; }
.cat-tile .tile-icon {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: var(--grad); box-shadow: 0 10px 20px -10px rgba(122,31,53, .6);
  transition: transform .3s var(--ease);
}
.cat-tile:hover .tile-icon { transform: rotate(-6deg) scale(1.05); }
.tile-icon svg { width: 24px; height: 24px; }
.cat-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.cat-tile h3 { margin: 0; font-size: .98rem; font-weight: 600; }
.cat-tile small { font-size: .82rem; font-weight: 600; color: var(--brand); }
.cat-arrow {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  color: var(--brand); background: var(--brand-soft); font-size: 1rem;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.cat-tile:hover .cat-arrow { transform: translateX(3px); background: var(--brand); color: #fff; }
.cat-tile.soon { opacity: .7; }
.cat-tile.soon small { color: var(--muted); }

.service-tile { padding: 28px 22px; text-align: center; text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.service-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.service-tile .tile-icon { width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 16px; }
.service-tile h3 { margin: 0; font-size: .98rem; font-weight: 600; }
.count-pill { display: inline-block; min-width: 28px; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--brand); background: var(--brand-soft); }

/* Why choose us cards */
.why-card { padding: 30px 26px; transition: transform .3s var(--ease), box-shadow .3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad); color: #fff; box-shadow: 0 12px 22px -12px rgba(122,31,53, .7);
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { margin: 0; font-size: .95rem; }

/* Testimonials */
.testimonial { padding: 30px 28px; display: flex; flex-direction: column; gap: 16px; }
.testimonial .quote { font-size: 3rem; line-height: .6; color: var(--brand-3); font-family: Georgia, serif; }
.testimonial .text { margin: 0; font-style: italic; color: var(--ink-2); }
.who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.who strong { display: block; color: var(--ink); font-size: .95rem; }
.who small { color: var(--muted); font-size: .8rem; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--grad); color: #fff; font-weight: 700;
}

/* ---------- 10. Modal & lightbox ---------- */
.modal, .lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px;
  background: rgba(20, 8, 16, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.modal.open, .lightbox.open { display: flex; animation: fadeIn .25s var(--ease); }
.modal-card {
  position: relative; width: min(980px, 100%); max-height: 90vh; overflow: auto; padding: 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  animation: pop .35s var(--ease) both;
}
@keyframes pop { from { transform: scale(.96) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; }
.modal-main {
  width: 100%; max-height: 72vh; height: auto; aspect-ratio: auto; object-fit: contain;
  border-radius: var(--radius); background: var(--grad-soft); border: 1px solid var(--line);
}
video.modal-main { background: #000; }
.modal-main[controls] { display: block; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs img {
  width: 70px; height: 70px; object-fit: cover; border-radius: 12px; cursor: pointer; flex-shrink: 0;
  opacity: .55; border: 2px solid transparent; transition: opacity .2s, border-color .2s;
}
.thumbs img:hover { opacity: .9; }
.thumbs img.active { opacity: 1; border-color: var(--brand); }
.modal-info { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.modal-info h2 { font-size: 1.6rem; margin: 6px 0 0; }
.modal-info .dims { color: var(--muted); font-size: .86rem; margin: 0; }
.modal-info .desc { color: var(--ink-2); font-size: .97rem; line-height: 1.7; margin: 4px 0 8px; white-space: pre-line; }

/* ---------- 34. Design details popup: product-page layout ---------- */
.modal-info { gap: 14px; padding-top: 6px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag-soft { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 600; background: #fde9c8; color: #7a4a10; }
.tag-soft.free { background: #dcfce7; color: #166534; }
.modal-info h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.12; margin: 2px 0 0; }
.detail-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.detail-price .price { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2.1rem; font-weight: 600; color: var(--brand); }
.detail-price small { color: var(--muted); font-size: .85rem; }
.detail-points { list-style: none; padding: 0; margin: 4px 0 6px; display: grid; gap: 10px; }
.detail-points li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
.detail-points li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a1f35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.modal-actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.modal-actions .btn { flex: 1 1 auto; width: auto; height: auto; min-height: 0; padding: 13px 20px; white-space: nowrap; }
.detail-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.detail-trust span { padding: 7px 12px; border-radius: 12px; font-size: .78rem; font-weight: 600; color: var(--brand-ink); background: var(--surface-2); border: 1px solid var(--line); }
@media (max-width: 640px) { .modal-actions { flex-direction: column; } .modal-actions .btn { width: 100%; } }
.modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.modal-actions .btn { width: 100%; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 1.4rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.lightbox img { max-width: min(1100px, 100%); max-height: 88vh; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox .modal-close { position: fixed; top: 18px; right: 18px; }

/* ---------- 11. Chatbot and WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 120; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8); transition: transform .25s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-tip {
  position: absolute; right: 70px; white-space: nowrap; padding: 7px 12px; border-radius: 10px;
  background: var(--ink); color: var(--bg); font-size: .8rem; opacity: 0; transform: translateX(6px);
  transition: opacity .2s, transform .2s var(--ease); pointer-events: none;
}
.wa-float:hover .wa-tip { opacity: 1; transform: none; }

.chat-launcher {
  position: fixed; left: 24px; bottom: 24px; z-index: 120; display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 20px; border: none; border-radius: 999px; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 600;
  background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(122,31,53, .75);
  transition: transform .25s var(--ease);
}
.chat-launcher svg { width: 20px; height: 20px; }
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .35); }
.chat-panel {
  position: fixed; left: 24px; bottom: 88px; z-index: 130; width: min(370px, calc(100vw - 32px)); height: 520px;
  display: none; flex-direction: column; overflow: hidden; padding: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg);
}
.chat-panel.open { display: flex; animation: pop .3s var(--ease) both; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px; background: var(--grad); color: #fff; }
.chat-head strong { display: block; font-size: .95rem; color: #fff; }
.chat-head small { font-size: .75rem; opacity: .9; }
.chat-head .icon-btn { margin-left: auto; width: 34px; height: 34px; background: rgba(255, 255, 255, .18); border-color: transparent; color: #fff; }
.bot-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; flex-shrink: 0; }
.bot-avatar svg { width: 20px; height: 20px; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--surface-2); }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.5; white-space: pre-line; }
.msg.bot { align-self: flex-start; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.user { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.msg.error { align-self: center; background: #fee2e2; color: #991b1b; font-size: .82rem; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: var(--surface); border-radius: 16px; border: 1px solid var(--line); }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.quick-replies { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.quick-replies:empty { display: none; }
.quick-replies button {
  padding: 7px 12px; border-radius: 999px; font: inherit; font-size: .8rem; cursor: pointer;
  background: var(--brand-soft); color: var(--brand-ink); border: 1px solid var(--line-strong);
}
[data-theme="dark"] .quick-replies button { color: #e8a5b5; }
.chat-form { display: flex; gap: 8px; align-items: center; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-form input {
  flex: 1; min-width: 0; padding: 11px 14px; border-radius: 999px; font: inherit; font-size: .9rem;
  background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-strong);
}
.chat-form input:focus { outline: none; border-color: var(--brand-3); }
.chat-form .icon-btn { background: var(--grad); color: #fff; border: none; width: 42px; height: 42px; }
.chat-form .icon-btn svg { width: 18px; height: 18px; }

/* ---------- 12. Forms and contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; align-items: start; }
.contact-form { padding: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea, .form-grid input, .form-grid select, .form-grid textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); font: inherit; font-size: .95rem;
  background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-strong);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea, .form-grid textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: none; border-color: var(--brand-3); box-shadow: 0 0 0 4px rgba(201,96,122, .18); background: var(--surface);
}
.form-grid button[type="submit"], .contact-form .btn { margin-top: 6px; }
.form-msg { margin: 6px 0 0; font-size: .92rem; color: var(--ink-2); }
.form-msg.err { color: #b91c1c; }
.form-msg.ok { color: #15803d; }

.info-list { display: flex; flex-direction: column; gap: 14px; }
.info-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px; }
.info-item .i {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--grad); color: #fff; box-shadow: 0 10px 20px -12px rgba(122,31,53, .7);
}
.info-item .i svg { width: 20px; height: 20px; }
.info-item strong { display: block; color: var(--ink); font-size: .95rem; }
.info-item p, .info-item a { margin: 2px 0 0; font-size: .92rem; color: var(--ink-2); }
.info-item a:hover { color: var(--brand); }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); color: var(--ink-2); border: 1px solid var(--line-strong); transition: all .2s var(--ease);
}
.social a:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }

/* ---------- 13. About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.about-card { padding: 30px; }
.about-card h3 { color: var(--brand); font-size: 1.05rem; text-transform: none; }
.about-card ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.about-card ul li { margin-bottom: 6px; }
.tool-card { display: flex; align-items: flex-start; gap: 16px; padding: 22px; }
.tool-card .i { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); flex-shrink: 0; }
.tool-card .i img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.tool-card strong { display: block; color: var(--ink); margin-bottom: 4px; }
.tool-card p { margin: 0; font-size: .92rem; }
.signature { font-style: italic; color: var(--brand); font-weight: 600; }

/* ---------- 14. Footer ---------- */
.site-footer { margin-top: 40px; padding: 72px 0 28px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-cta {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 26px 30px;
  border-radius: var(--radius-xl); background: var(--grad); color: #fff; margin-bottom: 52px; box-shadow: var(--shadow-lg);
}
.footer-cta strong { font-size: 1.2rem; color: #fff; font-weight: 700; max-width: 560px; }
.footer-cta .cta-pill { background: #fff; color: #15803d; box-shadow: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { margin-bottom: 16px; }
.footer-grid > div > a:not(.brand):not(.f-link) { display: block; padding: 4px 0; color: var(--ink-2); font-size: .94rem; }
.footer-grid > div > a:not(.brand):not(.f-link):hover { color: var(--brand); }
.f-link { display: flex; align-items: center; gap: 12px; padding: 6px 0; color: var(--ink-2); font-size: .94rem; }
.f-link:hover { color: var(--brand); }
.f-ico {
  width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--brand-soft); color: var(--brand);
}
.f-ico svg { width: 17px; height: 17px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; text-align: center; }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mockup { min-height: 0; }
  #hero-mock-cards, .hero-carousel { margin: 0 auto; }
  .modal-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch;
    padding: 12px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .menu-toggle { display: inline-grid; }
  .navbar { position: sticky; }
  .nav-cta { display: none; }
  .features-bar { grid-template-columns: repeat(2, 1fr); border-radius: 26px; }
  .features-bar > div:nth-child(3) { border-left: none; }
  .features-bar > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  main section { padding-top: 60px; }
  .container { width: calc(100% - 28px); }
  .navbar { top: 10px; width: calc(100% - 20px); padding: 8px 8px 8px 14px; }
  .brand .logo-img { width: 38px; height: 38px; }
  .brand-text small { display: none; }
  .hero { padding-top: 36px !important; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .design-body { padding: 14px 14px 16px; }
  .design-body h3 { font-size: .92rem; }
  .design-actions .inquire-btn { font-size: .8rem; padding: 9px 10px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; scrollbar-width: none; }
  .filters .filter-btn { flex-shrink: 0; }
  .modal { padding: 12px; }
  .modal-card { padding: 18px; border-radius: 22px; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .wa-tip { display: none; }
  .chat-launcher { left: 16px; bottom: 16px; padding: 12px 16px; }
  .chat-panel { left: 12px; bottom: 80px; height: min(480px, 70vh); }
  .features-bar > div { font-size: .82rem; padding: 12px 8px; }
  .footer-cta { padding: 22px; }
  .mock-card:nth-child(n+2) { display: none; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .cat-tile { padding: 14px; }
  .hero-cta .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 16. Reviews, honeypot, legal pages ---------- */
.stars { color: var(--brand-3); font-size: 1.05rem; letter-spacing: 2px; line-height: 1; }
.stars span { color: var(--line-strong); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.review-form { max-width: 720px; margin: 0 auto; }
.legal-note { margin: 14px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }
.legal-note a { color: var(--brand); }
.legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 14px; }
.legal-links a { color: var(--ink-2); font-size: .88rem; font-weight: 500; }
.legal-links a:hover { color: var(--brand); }

/* Terms and privacy pages */
.legal-page { padding: 56px 0 96px; }
.legal-doc { max-width: 820px; margin: 0 auto; padding: 44px 48px; }
.legal-doc .updated { color: var(--muted); font-size: .9rem; margin-bottom: 26px; }
.legal-doc h2 { font-size: 1.35rem; margin: 34px 0 10px; padding-top: 4px; }
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc p, .legal-doc li { color: var(--ink-2); line-height: 1.75; }
.legal-doc ul { padding-left: 22px; margin: 0 0 1em; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc .notice { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--brand-soft); color: var(--brand-ink); font-size: .92rem; margin-bottom: 24px; }
[data-theme="dark"] .legal-doc .notice { color: #ffc27a; }
.legal-doc a {
  color: var(--brand); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(201, 96, 122, .45); padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.legal-doc a:hover { color: var(--brand-ink); border-bottom-color: var(--brand); }
@media (max-width: 640px) { .legal-doc { padding: 26px 20px; } }

/* Terms and privacy pages: soft textured background behind the page */
body[data-page="legal"] {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, .82) 0%, rgba(255, 250, 244, .9) 100%),
    url('/img/legal-bg.png') center / cover fixed no-repeat;
}
body[data-page="legal"] .bg-blobs { display: none; }
[data-theme="dark"] body[data-page="legal"] {
  background:
    linear-gradient(180deg, rgba(15, 14, 20, .9) 0%, rgba(15, 14, 20, .94) 100%),
    url('/img/legal-bg.png') center / cover fixed no-repeat;
}
body[data-page="legal"] .legal-doc { background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); }
[data-theme="dark"] body[data-page="legal"] .legal-doc { background: rgba(24, 22, 32, .92); }

/* ---------- 17. Gift-style refresh: wine and rose palette with serif headings ---------- */
h1, h2 { font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
.hero h1 .line2 { font-style: italic; }
.section-title p { font-size: 1.02rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.btn-primary { border-radius: 14px; }
.btn { border-radius: 14px; }
.btn-primary { background: linear-gradient(135deg, #6b1a2e 0%, #a93a55 100%); }
.design-card, .cat-tile, .glass { border-radius: 18px; }
.design-media { border-bottom: none; }
.design-body h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.22rem; font-weight: 600; }
.chip { text-transform: uppercase; letter-spacing: .08em; font-size: .66rem; }
.site-footer { background: #fbf5f2; }
[data-theme="dark"] .site-footer { background: #140c0f; }
.navbar { border-radius: 18px; }
.nav-links a.active { font-weight: 600; }

/* ---------- 18. Contact page: enquiry form first, contact cards below it ---------- */
.contact-grid { grid-template-columns: 1fr; gap: 34px; max-width: 900px; }
.contact-grid .contact-form { order: -1; }
.contact-grid .info-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.contact-grid .info-item { flex-direction: column; align-items: flex-start; padding: 26px 24px; border-radius: 18px; }
.contact-grid .info-item .i { width: 54px; height: 54px; border-radius: 16px; }
.contact-grid .info-item strong { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.25rem; font-weight: 600; }
.contact-form { border-radius: 18px; }
.brand-text strong { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.22rem; font-weight: 700; letter-spacing: .01em; }

.contact-grid .info-item > div { min-width: 0; width: 100%; font-size: .98rem; color: var(--ink); word-break: break-word; overflow-wrap: anywhere; }
.contact-grid .info-item > div small { display: block; margin-bottom: 4px; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.contact-grid .info-item .social a { display: grid; }

/* ---------- 19. About page: cleaner cards, icon badges, check list ---------- */
.about-grid { gap: 26px; }
.about-card { padding: 34px 34px 36px; }
.about-card h3 { display: flex; align-items: center; gap: 14px; font-size: 1.2rem; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.about-card h3 .card-ico {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 16px; display: inline-grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: 0 12px 22px -12px rgba(122, 31, 53, .7);
}
.about-card h3 .card-ico svg { width: 22px; height: 22px; }
.about-card p { font-size: 1.02rem; line-height: 1.85; margin: 0; }
.about-grid > .about-card:first-child p {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.5rem; line-height: 1.5; color: var(--ink); font-style: italic;
}
.about-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.about-card li { position: relative; padding-left: 34px; color: var(--ink-2); line-height: 1.7; }
.about-card li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a1f35' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
#about-tools { margin-top: 24px; }
.tool-card { padding: 26px; align-items: center; border-radius: 18px; }
.tool-card .i { width: 66px; height: 66px; border-radius: 18px; }
.tool-card strong { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.3rem; font-weight: 600; }
.tool-card p { font-size: .93rem; line-height: 1.6; }
.signature { text-align: center; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.35rem; font-style: italic; margin-top: 36px; }
@media (max-width: 860px) { .about-card { padding: 26px; } }

.about-tools-wrap { padding-top: 84px !important; }

/* ---------- 20. Services page: category tiles with gradient icons ---------- */
#service-tiles { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; margin-bottom: 52px; }
.service-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 190px;
  padding: 30px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.service-tile .tile-icon {
  width: 62px; height: 62px; margin: 0 0 18px; border-radius: 18px; display: grid; place-items: center; color: #fff;
  background: var(--grad); box-shadow: 0 12px 22px -12px rgba(122, 31, 53, .7);
}
.service-tile .tile-icon svg { width: 26px; height: 26px; }
.service-tile h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.28rem; font-weight: 600; margin: 0; line-height: 1.25; }
.service-tile:hover .tile-icon { transform: rotate(-6deg) scale(1.05); }
.service-tile .tile-icon { transition: transform .3s var(--ease); }
@media (max-width: 480px) { #service-tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; } .service-tile { min-height: 160px; padding: 22px 14px; } }

/* ---------- 21. Categories page: same look as the Services tiles ---------- */
#cat-overview { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; margin-bottom: 52px; }
.cat-tile {
  flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 210px; padding: 30px 22px; border-radius: 20px; gap: 0;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.cat-tile .tile-icon { width: 62px; height: 62px; margin: 0 0 18px; border-radius: 18px; }
.cat-tile .cat-text { align-items: center; gap: 8px; flex: none; }
.cat-tile h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.28rem; font-weight: 600; margin: 0; line-height: 1.25; }
.cat-tile small { display: inline-block; margin-top: 2px; padding: 3px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: .78rem; font-weight: 600; }
[data-theme="dark"] .cat-tile small { color: #e8a5b5; }
.cat-tile .cat-arrow { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; font-size: .95rem; opacity: 0; transform: translateY(-4px); }
.cat-tile:hover .cat-arrow { opacity: 1; transform: none; }
.cat-tile.soon small { background: transparent; border: 1px dashed var(--line-strong); color: var(--muted); }
.filter-btn { font-family: 'Poppins', sans-serif; }
.filter-btn.active { background: linear-gradient(135deg, #6b1a2e 0%, #a93a55 100%); }
@media (max-width: 480px) { #cat-overview { grid-template-columns: repeat(2, 1fr); gap: 12px; } .cat-tile { min-height: 170px; padding: 22px 12px; } }

/* ---------- 22. Whole-site polish: one consistent look ---------- */
body { background: radial-gradient(1200px 600px at 10% -10%, rgba(201, 96, 122, .10), transparent 60%), radial-gradient(900px 500px at 100% 0%, rgba(122, 31, 53, .06), transparent 60%), var(--bg); }
main section { padding-top: 96px; }
.section-title { margin-bottom: 52px; }
.section-title h2 { margin-bottom: .3em; }
.eyebrow { background: transparent; }
.design-card { border-radius: 20px; }
.design-body { gap: 8px; padding: 18px 18px 20px; }
.design-body .price { font-family: 'Poppins', sans-serif; font-size: .86rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.inquire-btn { background: transparent; border: 1px solid var(--line-strong); color: var(--brand); border-radius: 12px; }
.inquire-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.badge { border-radius: 8px; background: rgba(29, 16, 32, .78); }
.badge.free { background: #15803d; }
.filters { gap: 8px; }
.filter-btn { border-radius: 12px; padding: 9px 16px; }
.filter-btn.active { background: linear-gradient(135deg, #6b1a2e 0%, #a93a55 100%); color: #fff; }
.nav-links a.active { color: var(--brand); background: var(--brand-soft); }
.navbar { box-shadow: 0 12px 30px -18px rgba(92, 20, 38, .35); }
.btn { letter-spacing: .01em; }
.btn-primary { box-shadow: 0 12px 24px -12px rgba(92, 20, 38, .6); }
.btn-primary:hover { box-shadow: 0 16px 30px -12px rgba(92, 20, 38, .7); }
.footer-cta { background: linear-gradient(135deg, #5c1426 0%, #a93a55 100%); }
.site-footer h4 { font-family: 'Poppins', sans-serif; }
.footer-grid > div > a:not(.brand):not(.f-link) { font-size: .95rem; }
.footer-bottom { font-size: .84rem; }
.modal-card { border-radius: 24px; }
.modal-info .price { font-family: 'Poppins', sans-serif; font-size: .95rem; color: var(--muted); font-weight: 600; }
.modal-info h2 { font-size: 2.1rem; }
.chat-launcher { background: linear-gradient(135deg, #5c1426 0%, #a93a55 100%); box-shadow: 0 14px 30px -12px rgba(92, 20, 38, .7); }
.wa-float { box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6); }
.testimonial .text { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.2rem; line-height: 1.6; }
.why-icon { border-radius: 16px; }
.why-card h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.35rem; font-weight: 600; }
.cta-pill { background: #25d366; }
.form-grid input, .form-grid select, .form-grid textarea { border-radius: 12px; }
.loading, .empty { border-radius: 18px; }
@media (max-width: 860px) {
  main section { padding-top: 64px; }
  .section-title { margin-bottom: 36px; }
  .nav-links { border-radius: 18px; }
}
@media (max-width: 640px) {
  main section { padding-top: 52px; }
  .page-hero { padding-top: 44px; }
  .hero h1 { font-size: 2.6rem; }
  .design-body h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.08rem; }
}

/* ---------- 23. Phone fixes: nothing wider than the screen ---------- */
html, body { max-width: 100%; overflow-x: hidden; }
.hero-grid > *, .navbar > *, .container > * { min-width: 0; }
.navbar { max-width: 100%; }
.brand { flex: 1 1 auto; overflow: hidden; }
.brand-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-actions { flex-shrink: 0; }
.hero-cta .btn { white-space: normal; text-align: center; }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } #hero-mock-cards, .hero-carousel { max-width: 380px; } }
@media (max-width: 640px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { font-size: .84rem; gap: 6px 16px; }
  .mockup { overflow: hidden; }
  #hero-mock-cards { max-width: 300px; }
  .navbar { padding: 8px 8px 8px 12px; }
}

/* ---------- 24. WhatsApp buttons in the site's wine theme ---------- */
.wa-float { background: linear-gradient(135deg, #5c1426 0%, #a93a55 100%); color: #fff; box-shadow: 0 14px 30px -10px rgba(92, 20, 38, .65); border: 2px solid rgba(255, 255, 255, .85); }
.wa-float:hover { color: #fff; }
.wa-tip { background: #fff; color: #5c1426; border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-weight: 600; }
.inquire-btn:hover { background: linear-gradient(135deg, #5c1426 0%, #a93a55 100%); border-color: transparent; color: #fff; }
.cta-pill { background: #fff; color: #5c1426; box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .35); }
.cta-pill svg { color: #a93a55; }
.cta-pill:hover { color: #5c1426; }
.footer-cta .cta-pill { background: #fff; color: #5c1426; }

/* ---------- 25. Home: How it works steps and final call-to-action ---------- */
.step-card { position: relative; padding: 34px 28px 30px; border-radius: 20px; }
.step-card .step-no { display: inline-block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--brand-3); margin-bottom: 14px; }
.step-card h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.4rem; font-weight: 600; margin-bottom: 8px; }
.step-card p { margin: 0; font-size: .95rem; }
.cta-banner {
  position: relative; overflow: hidden; text-align: center; padding: 64px 32px; border-radius: 28px;
  background: linear-gradient(135deg, #5c1426 0%, #a93a55 100%); color: #fff; box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 12px; }
.cta-banner h2 span { color: #f8d4dc; font-style: italic; }
.cta-banner p { color: rgba(255, 255, 255, .85); max-width: 560px; margin: 0 auto 26px; }
.cta-banner .eyebrow { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; }
.cta-banner .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-banner .btn-ghost:hover { color: #fff; border-color: #fff; }
.cta-banner .btn-primary { background: #fff; color: #5c1426; box-shadow: none; }
.cta-banner .btn-primary:hover { color: #5c1426; }
@media (max-width: 640px) { .cta-banner { padding: 44px 22px; border-radius: 22px; } }

/* ---------- 26. Home hero: soft lantern background, kept light with a cream veil ---------- */
body[data-page="home"] .hero {
  background:
    linear-gradient(180deg, rgba(255, 244, 236, .62) 0%, rgba(255, 240, 230, .86) 55%, rgba(251, 245, 242, 1) 100%),
    url('/img/lantern-bg.png') center top / cover no-repeat;
  border-radius: 0 0 40px 40px;
}
[data-theme="dark"] body[data-page="home"] .hero {
  background:
    linear-gradient(180deg, rgba(20, 12, 15, .72) 0%, rgba(20, 12, 15, .9) 60%, rgba(20, 12, 15, 1) 100%),
    url('/img/lantern-bg.png') center top / cover no-repeat;
}

/* ---------- 27. Site background: brown damask pattern (faint in light mode, rich in dark mode) ---------- */
body {
  background:
    linear-gradient(180deg, rgba(251, 245, 240, .84) 0%, rgba(251, 245, 240, .9) 100%),
    url('/img/damask-bg.png') center top / 540px auto repeat;
  background-attachment: scroll;
}
[data-theme="dark"] body {
  background:
    linear-gradient(180deg, rgba(20, 12, 15, .55) 0%, rgba(20, 12, 15, .7) 100%),
    url('/img/damask-bg.png') center top / 540px auto repeat;
}
body[data-page="legal"] { background: linear-gradient(180deg, rgba(251, 245, 240, .93), rgba(251, 245, 240, .96)), url('/img/damask-bg.png') center top / 540px auto repeat; }
[data-theme="dark"] body[data-page="legal"] { background: linear-gradient(180deg, rgba(20, 12, 15, .55), rgba(20, 12, 15, .7)), url('/img/damask-bg.png') center top / 540px auto repeat; }

/* ---------- 28. Background fix: remove the grey lantern veil; damask shows clearly ---------- */
body[data-page="home"] .hero {
  background: radial-gradient(900px 480px at 15% 20%, rgba(255, 236, 224, .55), transparent 70%);
  border-radius: 0;
}
[data-theme="dark"] body[data-page="home"] .hero { background: none; }
body {
  background:
    linear-gradient(180deg, rgba(251, 245, 240, .72) 0%, rgba(251, 245, 240, .8) 100%),
    url('/img/damask-bg.png') center top / 540px auto repeat;
}

/* ---------- 29. Site background: pastel bokeh leaves (replaces the damask) ---------- */
body, body[data-page="legal"] {
  background:
    linear-gradient(180deg, rgba(255, 250, 252, .58) 0%, rgba(255, 250, 252, .7) 100%),
    var(--site-bg) center center / cover fixed no-repeat;
}
[data-theme="dark"] body, [data-theme="dark"] body[data-page="legal"] {
  background:
    linear-gradient(180deg, rgba(20, 12, 15, .72) 0%, rgba(20, 12, 15, .82) 100%),
    var(--site-bg) center center / cover fixed no-repeat;
}

/* ---------- 30. Footer background: soft gold mandala ---------- */
.site-footer {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, .86) 0%, rgba(255, 250, 244, .92) 100%),
    url('/img/footer-mandala-bg.png') center bottom / cover no-repeat;
}
[data-theme="dark"] .site-footer {
  background:
    linear-gradient(180deg, rgba(20, 12, 15, .86) 0%, rgba(20, 12, 15, .93) 100%),
    url('/img/footer-mandala-bg.png') center bottom / cover no-repeat;
}

/* ---------- 31. Site background variable (set from the admin; default is the bokeh image) ---------- */
:root { --site-bg: url('/img/bokeh-leaves-bg.png'); }

/* Video thumbnails in the details popup */
.thumbs video {
  width: 70px; height: 70px; object-fit: cover; border-radius: 12px; cursor: pointer; flex-shrink: 0;
  background: #000; opacity: .55; border: 2px solid transparent; transition: opacity .2s, border-color .2s;
}
.thumbs video:hover { opacity: .9; }
.thumbs video.active { opacity: 1; border-color: var(--brand); }

/* ==========================================================================
   33. Admin portal in the same style as the website
   (the admin page loads this file, so it matches the public pages)
   ========================================================================== */
.admin-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; min-height: 100vh; padding: 20px; box-sizing: border-box; align-items: start; }
.admin-shell.hidden { display: none !important; }
.admin-main { min-width: 0; padding-bottom: 40px; }

.sidebar {
  position: sticky; top: 20px; display: flex; flex-direction: column; gap: 4px; padding: 18px;
  border-radius: 22px; max-height: calc(100vh - 40px); overflow-y: auto;
}
.sidebar .brand { margin-bottom: 14px; }
.sidebar .spacer { flex: 1; min-height: 14px; }
.nav-item {
  display: block; width: 100%; text-align: left; padding: 11px 14px; border-radius: 12px; border: none;
  background: transparent; color: var(--ink-2); font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-item:hover { background: var(--brand-soft); color: var(--brand); }
.nav-item.active { background: linear-gradient(135deg, #6b1a2e 0%, #a93a55 100%); color: #fff; box-shadow: 0 10px 20px -12px rgba(92, 20, 38, .7); }
.nav-item .tag { margin-left: 6px; }

.admin-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-top h1 { font-size: clamp(2rem, 3.6vw, 2.7rem); margin: 0 0 4px; }
.admin-top p { margin: 0; color: var(--muted); }
.admin-top .row-actions { align-self: center; }

.panel { padding: 26px; border-radius: 20px; margin-bottom: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.panel h2 { font-size: 1.6rem; margin-top: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stat strong { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 2.3rem; font-weight: 600; color: var(--brand); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .86rem; }

/* Form controls inside the admin */
.admin-body input:not([type="checkbox"]):not([type="file"]):not([type="radio"]),
.admin-body select,
.admin-body textarea {
  width: 100%; padding: 11px 14px; border-radius: 12px; font: inherit; font-size: .92rem;
  background: var(--surface-2); color: var(--ink); border: 1px solid var(--line-strong);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.admin-body textarea { min-height: 96px; resize: vertical; }
.admin-body input:focus, .admin-body select:focus, .admin-body textarea:focus {
  outline: none; border-color: var(--brand-3); box-shadow: 0 0 0 4px rgba(201, 96, 122, .18); background: var(--surface);
}
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar input:not([type="checkbox"]):not([type="file"]), .toolbar select { width: auto; flex: 0 1 auto; }
.field label, .panel label { font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.checks { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 6px 0; }
.checks label { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.checks input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brand); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th {
  text-align: left; padding: 13px 14px; font-size: .7rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap;
}
td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink-2); }
tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(201, 96, 122, .04); }
img.thumb, video.thumb { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; background: var(--grad-soft); display: block; }
.message-body { max-width: 380px; white-space: pre-line; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Status tags */
.tag { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 600; background: var(--brand-soft); color: var(--brand-ink); white-space: nowrap; }
.tag.off { background: rgba(120, 110, 115, .12); color: var(--muted); }
.tag.unread { background: #fde9c8; color: #7a4a10; }
.tag.free { background: #dcfce7; color: #166534; }
.tag.hidden { display: none; }
[data-theme="dark"] .tag.unread { background: #3d2a12; color: #fcd9a0; }
[data-theme="dark"] .tag.free { background: #123222; color: #a7f3c4; }

/* Image and video previews */
.preview-row, .existing-imgs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pimg { position: relative; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--grad-soft); border: 1px solid var(--line); }
.pimg img, .pimg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.del-img {
  position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; border: none;
  background: rgba(20, 8, 16, .78); color: #fff; cursor: pointer; font-size: 14px; line-height: 1;
}
.del-img:hover { background: #b91c1c; }
.dropzone {
  display: block; padding: 26px; text-align: center; cursor: pointer; border-radius: 18px;
  border: 2px dashed var(--line-strong); background: var(--surface-2); color: var(--muted); transition: border-color .2s, background .2s;
}
.dropzone:hover { border-color: var(--brand-3); background: var(--brand-soft); }
.dropzone strong { color: var(--ink); }
.dropzone input { display: none; }

/* Empty states and loading */
.empty, .loading {
  padding: 40px 20px; text-align: center; color: var(--muted); border-radius: 18px;
  border: 1px dashed var(--line-strong); background: var(--surface-2);
}

/* Modal used for add/edit forms */
.modal-card.admin-modal { max-width: 760px; }

/* Login screen */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; box-sizing: border-box; }
.login-wrap.hidden { display: none !important; }
.login-card { width: min(440px, 100%); padding: 38px 34px; border-radius: 26px; background: var(--surface); }
.login-card .brand { justify-content: center; margin-bottom: 18px; }
.login-card h1 { font-size: 2.1rem; text-align: center; margin: 0 0 6px; }
.login-card p { text-align: center; color: var(--muted); margin-bottom: 22px; }
.login-card .btn { width: 100%; }

@media (max-width: 860px) {
  .admin-shell { grid-template-columns: 1fr; padding: 12px; gap: 16px; }
  .sidebar { position: static; max-height: none; flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 12px; }
  .sidebar .brand { width: 100%; margin-bottom: 4px; }
  .sidebar .nav-item { width: auto; padding: 8px 12px; font-size: .84rem; }
  .sidebar .spacer { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
}

/* ---------- 35. Popup polish: equal corners on all four sides, one button style ---------- */
.modal-card { border-radius: 24px; overflow-y: auto; }
.modal-card .modal-grid { border-radius: 0; }
.modal-main, .modal-main[controls] { border-radius: 18px; }
.modal-card .modal-close { top: 16px; right: 16px; }
.modal-actions .btn-wa { background: linear-gradient(135deg, #5c1426 0%, #a93a55 100%); color: #fff; box-shadow: 0 12px 24px -12px rgba(92, 20, 38, .7); }
.modal-actions .btn-wa:hover { color: #fff; box-shadow: 0 16px 30px -12px rgba(92, 20, 38, .8); }
.modal-actions .btn-ghost { border-radius: 14px; }
