/* ===== Premium polish layer (loads after style.css and themes.css) ===== */
/* ===== Theme-aware dark sections (overridden per theme in themes.css) ===== */
:root {
  --dk-bg: var(--dk-bg);
  --dk-card1: var(--dk-card1);
  --dk-card2: var(--dk-card2);
  --dk-border: var(--dk-border);
  --dk-text: var(--dk-text);
  --dk-accent: #2f6bff;
  --dk-accent2: #6d8cff;
  --dk-accent-soft: #c9d6ff;
  --dk-light: var(--dk-light);
  --footer-bg: var(--footer-bg);
}


/* Typography */
body { font-feature-settings: "kern" 1, "liga" 1; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { letter-spacing: -0.01em; }
h2 { font-weight: 700; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: 2.5px; font-size: 12px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px;
}

/* Hero: subtle grid texture and glow */
.hero, .page-banner { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .page-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.25;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(77,140,255,0.35), transparent 65%);
  z-index: -1; pointer-events: none;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.12; }
.page-banner { padding: 84px 0; }
.page-banner .hero-tags span { border-color: rgba(201,209,220,0.3); }

/* Buttons: depth and motion */
.btn { box-shadow: 0 6px 18px rgba(0,0,0,0.16); }
.btn:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.22); }

/* Header: slight glass effect and gold underline on active */
.header { background: rgba(10, 22, 40, 0.94); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Cards: layered depth */
.card {
  border-top: 0; position: relative; overflow: hidden;
  box-shadow: 0 1px 2px rgba(10,22,40,0.06), 0 12px 32px rgba(10,22,40,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}
.card:hover { box-shadow: 0 2px 4px rgba(10,22,40,0.08), 0 22px 44px rgba(10,22,40,0.14); }
.card .icon {
  background: linear-gradient(145deg, var(--navy-2), var(--navy));
  box-shadow: 0 6px 16px rgba(10,22,40,0.25);
}
.card ul { margin-top: 12px; }
.card ul li { margin-bottom: 6px; }
.card .more { color: var(--blue); }

/* Sections: softer rhythm */
section { padding: 84px 0; }
.section-alt { background: linear-gradient(180deg, #ffffff, #f7f9fd); }

/* Split images */
img.panel { border: 1px solid rgba(10,22,40,0.06); }

/* Table */
th { letter-spacing: 0.3px; }
tbody tr:hover td { background: #f4f8ff; }

/* Steps (How we work) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; counter-reset: none; }
.step {
  background: #ffffff; border-radius: 16px; padding: 26px 22px;
  box-shadow: 0 12px 30px rgba(10,22,40,0.07); position: relative;
}
.step span {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* FAQ accordion */
.faq {
  background: #ffffff; border-radius: 14px; padding: 18px 22px; margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(10,22,40,0.06); border-left: 4px solid var(--blue);
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; position: relative; padding-right: 26px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; color: var(--blue); }
.faq[open] summary::after { content: "\2212"; }
.faq p { margin-top: 10px; color: var(--muted); }

/* Reference cards */
.ref-card {
  display: block; background: #ffffff; border-radius: 16px; padding: 30px;
  box-shadow: 0 12px 30px rgba(10,22,40,0.08); color: inherit; transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid #e4e9f2;
}
.ref-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(10,22,40,0.14); }
.ref-card h3 { margin: 8px 0; }
.ref-card p { color: var(--muted); margin-bottom: 14px; }
.ref-card .tag { color: var(--blue); }
.ref-card .more { color: var(--blue); font-weight: 700; }

/* Stats band: richer */
.stats { position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 0%, rgba(255,255,255,0.08), transparent 50%);
}
.stats .grid { position: relative; }
.stats > .container { padding: 14px 0; }
.stats .grid > div { padding: 18px 10px; border-right: 1px solid rgba(255,255,255,0.08); }
.stats .grid > div:last-child { border-right: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; width: 380px; height: 380px; left: -120px; bottom: -180px;
  background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 65%);
}

/* Footer */
.footer { border-top: 4px solid var(--gold); }

/* Mobile tweaks */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero::after { display: none; }
  .stats .grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 560px) {
  section { padding: 52px 0; }
  .page-banner { padding: 60px 0; }
}

/* ===== Circular brand mark ===== */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold); box-shadow: 0 4px 14px rgba(0,0,0,0.3); background: #fff;
}
.brand-text { font-weight: 800; font-size: 20px; color: #ffffff; line-height: 1; letter-spacing: 0.5px; }
.brand-text small { display: block; margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: 3px; color: var(--silver); text-transform: uppercase; }
html[data-theme="light"] .brand-text { color: var(--navy); }
html[data-theme="light"] .brand-text small { color: var(--muted); }

.round-logo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto; border: 4px solid var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,0.3); background: #fff; }
.round-logo.big { width: 240px; height: 240px; }
.round-logo.footer-logo { width: 64px; height: 64px; border-width: 2px; margin: 0 0 14px 0; }
.hero-logo .round-logo { width: 200px; height: 200px; }

/* ===== Home hero refresh ===== */
.hero { padding: 120px 0 110px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.hero h1 span { background: linear-gradient(90deg, var(--gold), #fff3c4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-logo { background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.12); padding: 40px 30px; }
.hero-logo .round-logo { width: 220px; height: 220px; }
.hero-tagline { color: var(--silver); margin: 20px 0 6px; font-size: 14px; letter-spacing: 1px; }
.hero-call { color: var(--gold); font-weight: 700; font-size: 1.2rem; }
.btn-outline-dark { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }

/* ===== Bottom-left colour theme picker ===== */
.theme-picker { position: fixed; left: 22px; bottom: 22px; z-index: 300; }
.theme-fab {
  width: 56px; height: 56px; border-radius: 50%; border: 3px solid #ffffff; cursor: pointer;
  background: conic-gradient(#1f5fd6 0 25%, #c9962b 0 50%, #17875d 0 75%, #f4f6fa 0);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25); transition: transform 0.2s ease;
  display: grid; place-items: center;
}
.theme-fab:hover { transform: scale(1.06); }
.theme-fab-dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(0,0,0,0.12); }
.theme-panel {
  position: absolute; left: 0; bottom: 70px; min-width: 210px; background: #ffffff; color: #1d2535;
  border-radius: 14px; padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  display: none; flex-direction: column; gap: 4px;
}
.theme-panel.open { display: flex; }
.theme-panel button {
  display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: transparent;
  padding: 10px 12px; border-radius: 10px; cursor: pointer; font: inherit; font-size: 14px; color: #1d2535; text-align: left;
}
.theme-panel button:hover { background: #f0f4fb; }
.theme-panel button.active { background: #e6eefc; font-weight: 700; }
.swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #ffffff; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); flex: none; }
@media (max-width: 560px) { .theme-picker { left: 14px; bottom: 14px; } .wa-float { right: 14px; bottom: 14px; } }

/* ===== 15-second contact pop-up ===== */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(5,12,24,0.6); z-index: 400;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.popup-overlay.open { display: flex; animation: fadeIn 0.25s ease; }
.popup-box {
  background: #ffffff; color: #1d2535; border-radius: 20px; padding: 34px 30px; width: min(440px, 100%);
  position: relative; box-shadow: 0 30px 80px rgba(0,0,0,0.35); border-top: 5px solid var(--gold);
  animation: popIn 0.3s ease;
}
.popup-box h3 { margin: 6px 0 8px; color: var(--navy); font-size: 1.35rem; }
.popup-box p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.popup-close {
  position: absolute; right: 14px; top: 10px; background: none; border: 0; font-size: 30px;
  color: var(--muted); cursor: pointer; line-height: 1;
}
.popup-form { display: grid; gap: 10px; }
.popup-form input, .popup-form select {
  width: 100%; padding: 12px 14px; border: 1px solid #cfd7e4; border-radius: 10px; font: inherit; background: #fbfcfe;
}
.popup-form .form-msg { color: var(--blue); font-weight: 600; margin: 0; font-size: 14px; }
.popup-alt { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.popup-alt .btn { flex: 1; text-align: center; padding: 11px 14px; font-size: 14px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { transform: translateY(20px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }

/* ===== Project thumbnails (no image needed) ===== */
.thumb {
  height: 210px; display: flex; align-items: flex-end; padding: 20px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 15%, rgba(255,255,255,0.25), transparent 45%); }
.thumb span { position: relative; font-weight: 800; font-size: 20px; letter-spacing: 0.3px; text-shadow: 0 2px 10px rgba(0,0,0,0.25); }
.thumb.t-restaurant { background: linear-gradient(135deg, #b45309, #7c2d12); }
.thumb.t-hotel { background: linear-gradient(135deg, #0f766e, #134e4a); }
.thumb.t-pickle { background: linear-gradient(135deg, #4d7c0f, #365314); }
.thumb.t-super { background: linear-gradient(135deg, #15803d, #14532d); }
.thumb.t-shop { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.thumb.t-health { background: linear-gradient(135deg, #0891b2, #164e63); }
.thumb.t-app { background: linear-gradient(135deg, #1f5fd6, #0a1628); }
.project .thumb + .body { padding-top: 20px; }

/* ===== Home: "Projects We Have Built" collage ===== */
.proj-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.proj-collage div {
  border-radius: 16px; padding: 18px 14px; color: #fff; font-weight: 700; font-size: 14px; min-height: 96px;
  display: flex; align-items: flex-end; box-shadow: 0 12px 26px rgba(10,22,40,0.15);
  transition: transform 0.25s ease;
}
.proj-collage div:hover { transform: translateY(-4px) scale(1.02); }
.proj-collage .big { grid-column: span 2; grid-row: span 2; min-height: 220px; font-size: 20px; padding: 26px; background: linear-gradient(135deg, var(--blue), var(--navy)) !important; }
.proj-collage .c1 { background: linear-gradient(135deg, #b45309, #7c2d12); }
.proj-collage .c2 { background: linear-gradient(135deg, #0f766e, #134e4a); }
.proj-collage .c3 { background: linear-gradient(135deg, #4d7c0f, #365314); }
.proj-collage .c4 { background: linear-gradient(135deg, #15803d, #14532d); }
.proj-collage .c5 { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.proj-collage .c6 { background: linear-gradient(135deg, #0891b2, #164e63); }
.proj-collage .c7 { background: linear-gradient(135deg, #db2777, #831843); }
.proj-collage .c8 { background: linear-gradient(135deg, #334155, #0f172a); }
@media (max-width: 560px) { .proj-collage { grid-template-columns: repeat(2, 1fr); } .proj-collage .big { grid-column: span 2; grid-row: auto; } }

/* ===== Card reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== TDL section (Tally page) ===== */
.tdl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.tdl-card {
  background: #ffffff; border-radius: 18px; padding: 26px; position: relative; overflow: hidden;
  box-shadow: 0 14px 34px rgba(10,22,40,0.08); border: 1px solid #e6ecf5; transition: transform 0.25s, box-shadow 0.25s;
}
.tdl-card:hover { transform: translateY(-5px); box-shadow: 0 24px 46px rgba(10,22,40,0.14); }
.tdl-card .tdl-tag {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--navy); color: var(--gold); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.tdl-card h3 { margin-bottom: 8px; }
.tdl-card p { color: var(--muted); font-size: 15px; }
.tdl-card ul { margin: 12px 0 0 18px; color: var(--muted); font-size: 14px; }
.tdl-card ul li { margin-bottom: 5px; }
.tdl-card.featured { background: linear-gradient(145deg, var(--navy), var(--navy-2)); color: #e8edf7; border: 0; }
.tdl-card.featured h3 { color: #ffffff; }
.tdl-card.featured p, .tdl-card.featured ul { color: var(--silver); }
.tdl-card.featured .tdl-tag { background: var(--gold); color: var(--navy); }

/* Glass-style hero card and gradient section heads */
.section-head .eyebrow { background: linear-gradient(90deg, var(--gold), #fff3c4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head .eyebrow::before { background: var(--gold); }
.card { background: linear-gradient(180deg, #ffffff, #fbfcfe); }
/* Readable eyebrows on light sections */
.section-head .eyebrow { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--blue); }
.section-head .eyebrow::before { background: var(--blue); }
html[data-theme="gold"] .section-head .eyebrow, html[data-theme="gold"] .section-head .eyebrow::before { color: #a87a1a; background: none; }

/* ===== Collage tiles are links now ===== */
.proj-collage > a { text-decoration: none; color: #fff; }
.proj-collage > a:hover { color: #fff; }

/* ===== Theme button: clean icon instead of the pie ===== */
.theme-fab {
  background: var(--navy) !important;
  border: 2px solid var(--gold) !important;
  box-shadow: 0 8px 22px rgba(10,22,40,0.35) !important;
}
.theme-fab svg { width: 26px; height: 26px; fill: none; stroke: #ffffff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Floating call button above WhatsApp ===== */
.call-float {
  position: fixed; right: 22px; bottom: 92px; z-index: 200;
  background: var(--blue); color: #fff; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  text-decoration: none;
}
.call-float:hover { transform: scale(1.06); }
@media (max-width: 560px) { .call-float { right: 14px; bottom: 80px; } }

/* ===== Dark process section (home) ===== */
.process-section {
  position: relative; overflow: hidden; background: var(--dk-bg); color: #e6ecf7; padding: 96px 0;
  background-image: radial-gradient(ellipse at 20% 0%, rgba(47,107,255,0.18), transparent 55%);
}
.process-section::before {
  content: ""; position: absolute; inset: 0; opacity: 0.35; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='400'><g stroke='%232f6bff' stroke-opacity='0.35' fill='none'><path d='M40 60 L140 110 L260 40 L380 130 L520 70'/><path d='M140 110 L200 230 L330 260 L380 130'/><path d='M260 40 L300 170 L380 130'/></g><g fill='%238fb0ff'><circle cx='40' cy='60' r='3'/><circle cx='140' cy='110' r='3'/><circle cx='260' cy='40' r='3'/><circle cx='380' cy='130' r='3'/><circle cx='520' cy='70' r='3'/><circle cx='200' cy='230' r='3'/><circle cx='330' cy='260' r='3'/></g></svg>");
  background-size: 600px 400px;
}
.process-section > .container { position: relative; }
.process-section h2 { color: #ffffff; }
.process-section .lead { color: var(--dk-text); }
.process-section .eyebrow { color: var(--dk-light); background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.process-section .eyebrow::before { background: var(--dk-light); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.pstep {
  background: linear-gradient(180deg, var(--dk-card1), var(--dk-card2)); border: 1px solid var(--dk-border); border-radius: 18px;
  padding: 28px 22px; text-align: center; color: var(--dk-text); position: relative;
}
.pstep:not(:last-child)::after {
  content: "\2192"; position: absolute; right: -15px; top: 50%; transform: translateY(-50%); color: var(--dk-light); font-size: 20px; z-index: 2;
}
.pnum {
  width: 54px; height: 54px; border-radius: 14px; display: inline-grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--dk-accent), var(--dk-accent-soft)); color: #ffffff; font-weight: 800; font-size: 20px;
  box-shadow: 0 10px 24px rgba(47,107,255,0.35);
}
.pstep h3 { color: #ffffff; }
.pstep p { font-size: 14px; line-height: 1.6; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } .pstep:not(:last-child)::after { display: none; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ===== Dark CTA card ===== */
.cta-wrap { background: var(--dk-bg); padding: 0 0 96px; }
.cta-card {
  background: linear-gradient(120deg, var(--dk-card1), var(--dk-bg)); border: 1px solid var(--dk-border); border-radius: 22px;
  padding: 38px 42px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(47,107,255,0.25), transparent 65%); }
.cta-card h3 { color: #ffffff; font-size: 1.55rem; margin-bottom: 6px; }
.cta-card p { color: var(--dk-text); }
.cta-card > div { position: relative; z-index: 1; }
.btn-grad {
  position: relative; z-index: 1; background: linear-gradient(135deg, var(--dk-accent), var(--dk-accent2)); color: #ffffff;
  padding: 15px 28px; border-radius: 12px; font-weight: 700; box-shadow: 0 12px 26px rgba(47,107,255,0.35);
}
.btn-grad:hover { color: #ffffff; transform: translateY(-2px); }

/* ===== Footer (matches new design) ===== */
.footer { background: var(--footer-bg); color: var(--dk-text); }
.footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr 1.3fr; gap: 40px; }
.fbrand-name { color: #ffffff; font-weight: 800; font-size: 20px; }
.fbrand-name span { color: var(--dk-light); font-weight: 600; }
.fbrand p { margin-top: 10px; color: var(--dk-text); }
.footer h4 { text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; color: var(--dk-text); }
.footer li { margin-bottom: 10px; }
.ficons li { display: flex; gap: 10px; align-items: flex-start; }
.ficons li span { width: 18px; color: #e74c8c; flex: none; text-align: center; }
.footer-legal { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; border-top: 1px solid var(--dk-border); margin-top: 34px; padding-top: 20px; font-size: 14px; }
.footer-legal a { color: var(--dk-text); }
.footer-bottom { border-top: 1px solid var(--dk-border); margin-top: 16px; }

/* ===== Legal pages ===== */
.legal { background: var(--bg); }
.legal-wrap { max-width: 860px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 10px; color: var(--navy); }
.legal p { color: var(--text); margin-bottom: 12px; }
.legal a { color: var(--blue); font-weight: 600; }
.legal-intro { font-size: 1.05rem; color: var(--text); }
.back-link { display: inline-block; margin-bottom: 18px; font-weight: 600; }
.legal-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 18px 0 6px; }
.legal-meta div { background: var(--section-tint, #f4f7fc); border-radius: 12px; padding: 14px 16px; font-weight: 700; color: var(--navy); }
.legal-meta span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.legal-item { background: #f7f9fd; border: 1px solid #e6ecf5; border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.legal-item strong { color: var(--navy); }
.legal-item p { margin: 4px 0 0; font-size: 15px; }
.legal-note { font-size: 14px; color: var(--muted); background: #fff8e6; border-left: 4px solid var(--gold); padding: 10px 14px; border-radius: 8px; }
.legal-contact { margin-top: 34px; background: var(--navy); color: #ffffff; border-radius: 16px; padding: 26px; }
.legal-contact strong { color: #ffffff; font-size: 1.1rem; }
.legal-contact p { color: #c9d6ea; margin: 6px 0 16px; }
.legal-contact a.btn-primary { margin-right: 8px; }
.legal-contact .btn-outline-dark { border-color: #ffffff; color: #ffffff; }
.legal-contact .btn-outline-dark:hover { background: #ffffff; color: var(--navy); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .cta-card { padding: 28px 24px; } }

/* ===== Services page ===== */
.svc-chips { padding: 26px 0; background: var(--bg); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips a { background: var(--white); border: 1px solid var(--blue); color: var(--blue); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.chips a:hover { background: var(--blue); color: #fff; }
.svc-head { margin-bottom: 30px; }
.svc-head .lead { margin-top: 8px; }
.svc-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.svc-list { columns: 1; }
.svc-list li { margin-bottom: 12px; font-size: 15.5px; }
.svc-side { background: var(--white); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.svc-note { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.svc-note a { color: var(--blue); font-weight: 600; }
.svc-side .btn { margin-top: 6px; }
@media (max-width: 900px) { .svc-body { grid-template-columns: 1fr; } }

/* ===== Home: services grid ===== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.svc-card { display: block; color: inherit; background: var(--white); border-radius: 18px; padding: 28px 24px; box-shadow: 0 12px 30px rgba(10,22,40,0.08); border-top: 4px solid var(--blue); transition: transform 0.25s, box-shadow 0.25s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(10,22,40,0.14); color: inherit; }
.svc-card .icon { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(145deg, var(--navy-2), var(--navy)); color: var(--gold); display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.svc-card h3 { color: var(--navy); margin-bottom: 8px; }
.svc-card p { color: var(--muted); font-size: 15px; }
.svc-card .more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--blue); }

/* ===== Sample demo sites: top bar ===== */
.sample-bar { background: #0a1628; color: #c9d1dc; font-size: 13px; padding: 8px 0; }
.sample-bar .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sample-bar a { color: #ffffff; font-weight: 600; }

/* Theme picker: keep the list usable with many themes */
.theme-panel { max-height: 62vh; overflow-y: auto; min-width: 230px; }

/* ===== Home: photo portfolio collage ===== */
.pc-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; gap: 14px; }
.pc { position: relative; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; box-shadow: 0 14px 30px rgba(10,22,40,.16); background: linear-gradient(135deg, var(--navy), var(--blue)); transition: transform .3s ease, box-shadow .3s ease; }
.pc:hover { transform: translateY(-4px); box-shadow: 0 22px 40px rgba(10,22,40,.22); color: #fff; }
.pc img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(5,12,24,.88)); }
.pc-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; z-index: 2; }
.pc-cap strong { display: block; font-size: 16px; line-height: 1.2; }
.pc-cap small { display: block; font-size: 12.5px; opacity: .85; margin-top: 2px; }
.pc-tag { display: inline-block; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; background: var(--gold); color: var(--navy); padding: 3px 8px; border-radius: 999px; font-weight: 800; margin-bottom: 6px; }
.pc-big { grid-column: span 2; grid-row: span 2; }
.pc-plain { display: flex; align-items: flex-end; }
.pc-plain::after { display: none; }
.pc-plain .pc-cap { position: relative; }
.c-hotel { background: linear-gradient(135deg, #0f766e, #134e4a); }
.c-pickle { background: linear-gradient(135deg, #b45309, #7c2d12); }
.c-clinic { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.c-clinic2 { background: linear-gradient(135deg, #15803d, #14532d); }
@media (max-width: 900px) { .pc-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; } }
@media (max-width: 560px) { .pc-grid { grid-template-columns: 1fr; grid-auto-rows: 180px; } .pc-big { grid-column: auto; grid-row: auto; } }

/* Anti-spam honeypot: hidden from people and screen readers */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
