:root {
  --navy: #071827;
  --navy-rgb: 7, 24, 39;
  --navy-2: #0b2238;
  --steel: #5d7183;
  --light-steel: #edf3f8;
  --orange: #f28c28;
  --orange-rgb: 242, 140, 40;
  --orange-hover: #a94f06;
  --blue: #176a9e;
  --blue-rgb: 23, 106, 158;
  --blue-hover: #0f527d;
  --white: #ffffff;
  --ink: #17212b;
  --muted: #5c6d7c;
  --border: rgba(7, 24, 39, 0.12);
  --shadow: 0 22px 60px rgba(7, 24, 39, 0.14);
  --footer-bg: #061421;
  --accent-contrast: var(--navy);
}
body.theme-trade-orange {
  --navy: #17212b;
  --navy-rgb: 23, 33, 43;
  --navy-2: #263645;
  --steel: #657380;
  --light-steel: #f8f1e8;
  --orange: #b45309;
  --orange-rgb: 180, 83, 9;
  --orange-hover: #92400e;
  --blue: #ad3f06;
  --blue-rgb: 173, 63, 6;
  --blue-hover: #873005;
  --ink: #202830;
  --muted: #626d76;
  --footer-bg: #111920;
  --accent-contrast: #ffffff;
}
body.theme-health-green {
  --navy: #10382b;
  --navy-rgb: 16, 56, 43;
  --navy-2: #174a39;
  --steel: #5f756b;
  --light-steel: #edf7f1;
  --orange: #946200;
  --orange-rgb: 148, 98, 0;
  --orange-hover: #744d00;
  --blue: #147a4a;
  --blue-rgb: 20, 122, 74;
  --blue-hover: #0f623a;
  --ink: #183029;
  --muted: #5d7169;
  --footer-bg: #0a2b21;
  --accent-contrast: #ffffff;
}
body.theme-luxury-dark {
  --navy: #171512;
  --navy-rgb: 23, 21, 18;
  --navy-2: #29251f;
  --steel: #716b61;
  --light-steel: #f5f1e8;
  --orange: #8b641c;
  --orange-rgb: 139, 100, 28;
  --orange-hover: #6f4f15;
  --blue: #775a1e;
  --blue-rgb: 119, 90, 30;
  --blue-hover: #5e4617;
  --ink: #28241f;
  --muted: #716b61;
  --footer-bg: #100f0d;
  --accent-contrast: #ffffff;
}
body.theme-warm-local {
  --navy: #3d1d24;
  --navy-rgb: 61, 29, 36;
  --navy-2: #582b35;
  --steel: #78666a;
  --light-steel: #fbf3ec;
  --orange: #965417;
  --orange-rgb: 150, 84, 23;
  --orange-hover: #743f11;
  --blue: #922f40;
  --blue-rgb: 146, 47, 64;
  --blue-hover: #742433;
  --ink: #34262a;
  --muted: #756469;
  --footer-bg: #30171d;
  --accent-contrast: #ffffff;
}
body.theme-modern-teal {
  --navy: #0b2630;
  --navy-rgb: 11, 38, 48;
  --navy-2: #103b47;
  --steel: #5c7379;
  --light-steel: #eaf6f6;
  --orange: #985700;
  --orange-rgb: 152, 87, 0;
  --orange-hover: #764300;
  --blue: #0b7285;
  --blue-rgb: 11, 114, 133;
  --blue-hover: #075968;
  --ink: #173239;
  --muted: #5b7278;
  --footer-bg: #071e26;
  --accent-contrast: #ffffff;
}
body.theme-royal-purple {
  --navy: #2a1747;
  --navy-rgb: 42, 23, 71;
  --navy-2: #3c235f;
  --steel: #746983;
  --light-steel: #f4effa;
  --orange: #8a4f00;
  --orange-rgb: 138, 79, 0;
  --orange-hover: #6f3f00;
  --blue: #6541a5;
  --blue-rgb: 101, 65, 165;
  --blue-hover: #503285;
  --ink: #2a2431;
  --muted: #6f6678;
  --footer-bg: #1b0f2d;
  --accent-contrast: #ffffff;
}
body.theme-coastal-aqua {
  --navy: #08353b;
  --navy-rgb: 8, 53, 59;
  --navy-2: #0d4b52;
  --steel: #5f7779;
  --light-steel: #ebf7f6;
  --orange: #9b4b0e;
  --orange-rgb: 155, 75, 14;
  --orange-hover: #773707;
  --blue: #087786;
  --blue-rgb: 8, 119, 134;
  --blue-hover: #075e69;
  --ink: #183238;
  --muted: #52686c;
  --footer-bg: #05272c;
  --accent-contrast: #ffffff;
}
body.theme-forest-earth {
  --navy: #233a2a;
  --navy-rgb: 35, 58, 42;
  --navy-2: #31503a;
  --steel: #68776c;
  --light-steel: #eff5ed;
  --orange: #884817;
  --orange-rgb: 136, 72, 23;
  --orange-hover: #67350f;
  --blue: #3f704a;
  --blue-rgb: 63, 112, 74;
  --blue-hover: #315a3b;
  --ink: #273129;
  --muted: #566158;
  --footer-bg: #18281d;
  --accent-contrast: #ffffff;
}
body.theme-sunset-coral {
  --navy: #40213a;
  --navy-rgb: 64, 33, 58;
  --navy-2: #5a2c4f;
  --steel: #806d78;
  --light-steel: #fff0ed;
  --orange: #a53f35;
  --orange-rgb: 165, 63, 53;
  --orange-hover: #822e27;
  --blue: #934265;
  --blue-rgb: 147, 66, 101;
  --blue-hover: #75344f;
  --ink: #392831;
  --muted: #67545e;
  --footer-bg: #2e172a;
  --accent-contrast: #ffffff;
}
body.theme-slate-gold {
  --navy: #252d35;
  --navy-rgb: 37, 45, 53;
  --navy-2: #35414c;
  --steel: #6a7580;
  --light-steel: #f4f1e8;
  --orange: #80620b;
  --orange-rgb: 128, 98, 11;
  --orange-hover: #674d06;
  --blue: #506c83;
  --blue-rgb: 80, 108, 131;
  --blue-hover: #3e566a;
  --ink: #293139;
  --muted: #5c6872;
  --footer-bg: #1a2026;
  --accent-contrast: #ffffff;
}
body.theme-midnight-indigo {
  --navy: #111936;
  --navy-rgb: 17, 25, 54;
  --navy-2: #1b2850;
  --steel: #66708d;
  --light-steel: #f0f2fb;
  --orange: #9a530b;
  --orange-rgb: 154, 83, 11;
  --orange-hover: #743d06;
  --blue: #3f51a5;
  --blue-rgb: 63, 81, 165;
  --blue-hover: #303f85;
  --ink: #202643;
  --muted: #626b83;
  --footer-bg: #0b1027;
  --accent-contrast: #ffffff;
}
body.theme-sage-clay {
  --navy: #26382f;
  --navy-rgb: 38, 56, 47;
  --navy-2: #364d41;
  --steel: #6e7c73;
  --light-steel: #f2f5ef;
  --orange: #9a4f32;
  --orange-rgb: 154, 79, 50;
  --orange-hover: #773b25;
  --blue: #496f5a;
  --blue-rgb: 73, 111, 90;
  --blue-hover: #375746;
  --ink: #29342e;
  --muted: #626f67;
  --footer-bg: #1a2921;
  --accent-contrast: #ffffff;
}
body.theme-crimson-red {
  --navy: #351820;
  --navy-rgb: 53, 24, 32;
  --navy-2: #51232d;
  --steel: #806b70;
  --light-steel: #fff1f3;
  --orange: #a2352f;
  --orange-rgb: 162, 53, 47;
  --orange-hover: #7f2824;
  --blue: #98233f;
  --blue-rgb: 152, 35, 63;
  --blue-hover: #761a31;
  --ink: #39252a;
  --muted: #735e64;
  --footer-bg: #281117;
  --accent-contrast: #ffffff;
}
body.theme-cobalt-blue {
  --navy: #102545;
  --navy-rgb: 16, 37, 69;
  --navy-2: #173963;
  --steel: #62748c;
  --light-steel: #edf4ff;
  --orange: #9a5700;
  --orange-rgb: 154, 87, 0;
  --orange-hover: #754100;
  --blue: #1759a6;
  --blue-rgb: 23, 89, 166;
  --blue-hover: #124886;
  --ink: #1b2d44;
  --muted: #5f6f82;
  --footer-bg: #0a1a32;
  --accent-contrast: #ffffff;
}
body.theme-plum-rose {
  --navy: #5b263a;
  --navy-rgb: 91, 38, 58;
  --navy-2: #7a304b;
  --steel: #8c6a77;
  --light-steel: #fff0f5;
  --orange: #b83a64;
  --orange-rgb: 184, 58, 100;
  --orange-hover: #8f2747;
  --blue: #c63e6b;
  --blue-rgb: 198, 62, 107;
  --blue-hover: #a92f56;
  --ink: #40242e;
  --muted: #775b66;
  --footer-bg: #4b1d2e;
  --accent-contrast: #ffffff;
}
body.theme-desert-sand {
  --navy: #413226;
  --navy-rgb: 65, 50, 38;
  --navy-2: #5b4735;
  --steel: #7d746b;
  --light-steel: #faf3e6;
  --orange: #946012;
  --orange-rgb: 148, 96, 18;
  --orange-hover: #704708;
  --blue: #376c70;
  --blue-rgb: 55, 108, 112;
  --blue-hover: #28565a;
  --ink: #362f28;
  --muted: #6b6259;
  --footer-bg: #2b2119;
  --accent-contrast: #ffffff;
}
body.theme-espresso-copper {
  --navy: #2a211e;
  --navy-rgb: 42, 33, 30;
  --navy-2: #43332d;
  --steel: #776b65;
  --light-steel: #f6eee9;
  --orange: #9a4d21;
  --orange-rgb: 154, 77, 33;
  --orange-hover: #763716;
  --blue: #765040;
  --blue-rgb: 118, 80, 64;
  --blue-hover: #5a3c30;
  --ink: #312824;
  --muted: #6d605b;
  --footer-bg: #1b1513;
  --accent-contrast: #ffffff;
}
body.theme-arctic-blue {
  --navy: #123447;
  --navy-rgb: 18, 52, 71;
  --navy-2: #1a4a60;
  --steel: #647b87;
  --light-steel: #ecf8fb;
  --orange: #8a4f6d;
  --orange-rgb: 138, 79, 109;
  --orange-hover: #6d3b55;
  --blue: #197087;
  --blue-rgb: 25, 112, 135;
  --blue-hover: #11596d;
  --ink: #18333f;
  --muted: #5e737c;
  --footer-bg: #0c2735;
  --accent-contrast: #ffffff;
}
body.theme-citrus-charcoal {
  --navy: #202426;
  --navy-rgb: 32, 36, 38;
  --navy-2: #33393b;
  --steel: #697174;
  --light-steel: #f4f6e9;
  --orange: #d0a900;
  --orange-rgb: 208, 169, 0;
  --orange-hover: #716200;
  --blue: #3f6a55;
  --blue-rgb: 63, 106, 85;
  --blue-hover: #305140;
  --ink: #292d2b;
  --muted: #646b61;
  --footer-bg: #15191a;
  --accent-contrast: #202426;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: #ffffff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.top-strip { background: var(--navy); color: rgba(255, 255, 255, 0.82); font-size: 0.88rem; padding: 0.45rem 0; }
.top-strip a { color: rgba(255, 255, 255, 0.9); }
.navbar { background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(7, 24, 39, 0.08); }
.navbar-brand { font-weight: 900; letter-spacing: 0.08em; color: var(--navy) !important; }
.navbar-brand .site-logo { display: block; width: 130px; height: auto; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.02; }
.brand-byline { margin-top: 0.25rem; color: var(--muted); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--blue)); display: inline-grid; place-items: center; color: var(--white); margin-right: 0.65rem; position: relative; overflow: hidden; }
.brand-mark::after { content: ""; width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, 0.72); border-radius: 50%; position: absolute; right: -3px; bottom: -3px; }
.nav-link { font-weight: 700; color: #27384a !important; margin: 0 0.2rem; }
.nav-link.active, .nav-link:hover { color: var(--blue) !important; }
.navbar .btn { border-radius: 999px; font-weight: 800; }
.btn-primary { --bs-btn-bg: var(--blue); --bs-btn-border-color: var(--blue); --bs-btn-hover-bg: var(--blue-hover); --bs-btn-hover-border-color: var(--blue-hover); border-radius: 999px; font-weight: 800; padding: 0.85rem 1.3rem; }
.btn-outline-light, .btn-outline-primary { border-radius: 999px; font-weight: 800; padding: 0.85rem 1.3rem; }
.btn-orange { background: var(--orange); color: var(--accent-contrast); border: 1px solid var(--orange); border-radius: 999px; font-weight: 900; padding: 0.85rem 1.3rem; }
.btn-orange:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: var(--white); }
.hero { min-height: 720px; position: relative; display: flex; align-items: center; color: var(--white); background-position: center; background-size: cover; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--navy-rgb), 0.95), rgba(var(--navy-rgb), 0.76) 46%, rgba(var(--navy-rgb), 0.25)), radial-gradient(circle at 20% 20%, rgba(var(--blue-rgb), 0.34), transparent 32%); }
.hero .container { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--orange-hover); background: rgba(var(--orange-rgb), 0.12); border: 1px solid rgba(var(--orange-rgb), 0.28); border-radius: 999px; padding: 0.5rem 0.8rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.78rem; }
.hero .eyebrow, .page-hero .eyebrow, .bg-navy .eyebrow { color: #ffffff; }
.hero h1, .page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.7rem); line-height: 0.96; font-weight: 900; letter-spacing: -0.06em; margin: 1.1rem 0 1rem; }
.hero p { max-width: 690px; font-size: 1.18rem; color: rgba(255, 255, 255, 0.86); }
.hero-card { background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(16px); border-radius: 26px; padding: 1.3rem; box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22); }
.hero-card .metric { border-bottom: 1px solid rgba(255, 255, 255, 0.16); padding: 1rem 0; }
.hero-card .metric:last-child { border-bottom: 0; }
.metric strong { display: block; font-size: 1.5rem; color: #ffffff; }
.metric span { color: rgba(255, 255, 255, 0.75); }
.section { padding: 6.5rem 0; }
.section-sm { padding: 4.5rem 0; }
.section-title { max-width: 780px; margin-bottom: 2.4rem; }
.section-title h2 { font-size: clamp(2.05rem, 4vw, 3.4rem); line-height: 1.05; font-weight: 900; letter-spacing: -0.04em; color: var(--navy); }
.section-title p { color: var(--muted); font-size: 1.08rem; margin-top: 1rem; }
.bg-soft { background: var(--light-steel); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy .section-title h2, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p, .bg-navy li { color: rgba(255, 255, 255, 0.78); }
.card-clean { border: 1px solid var(--border); border-radius: 26px; box-shadow: 0 18px 48px rgba(7, 24, 39, 0.08); overflow: hidden; height: 100%; background: var(--white); }
.card-clean .card-body { padding: 1.6rem; }
.card-clean h3, .card-clean h4 { color: var(--navy); font-weight: 900; letter-spacing: -0.02em; }
.icon-box { width: 52px; height: 52px; border-radius: 18px; display: inline-grid; place-items: center; background: rgba(var(--blue-rgb), 0.11); color: var(--blue); margin-bottom: 1rem; font-weight: 900; }
.icon-box.orange { background: rgba(var(--orange-rgb), 0.12); color: var(--orange-hover); }
.service-img { height: 240px; object-fit: cover; width: 100%; }
.split-image { border-radius: 32px; min-height: 520px; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; gap: 0.8rem; margin-bottom: 0.9rem; color: #34495b; }
.feature-list i { color: var(--orange-hover); margin-top: 0.22rem; font-style: normal; font-weight: 900; }
.bg-navy .feature-list i { color: #ffffff; }
.stat-panel { border-radius: 32px; background: var(--navy-2); color: var(--white); padding: 2rem; height: 100%; }
.stat-panel h3 { font-size: 3rem; font-weight: 900; letter-spacing: -0.05em; }
.stat-panel p { color: rgba(255, 255, 255, 0.78); }
.page-hero { position: relative; padding: 8rem 0 6rem; background-position: center; background-size: cover; color: var(--white); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--navy-rgb), 0.94), rgba(var(--navy-rgb), 0.7), rgba(var(--navy-rgb), 0.25)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero p { max-width: 760px; color: rgba(255, 255, 255, 0.85); font-size: 1.15rem; }
.contact-card { border-radius: 28px; background: #ffffff; border: 1px solid var(--border); box-shadow: 0 18px 48px rgba(7, 24, 39, 0.08); padding: 1.6rem; height: 100%; }
.contact-card h3 { color: var(--navy); font-weight: 900; }
.form-control, .form-select { border-radius: 16px; padding: 0.9rem 1rem; border-color: rgba(7, 24, 39, 0.16); }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 0.22rem rgba(var(--blue-rgb), 0.15); }
.legal-content { max-width: 940px; margin: 0 auto; }
.legal-content h2 { color: var(--navy); font-weight: 900; margin-top: 2.4rem; }
.legal-content p, .legal-content li { color: #405264; }
.section-heading { font-weight: 900; letter-spacing: -0.04em; color: var(--navy); }
.mission-card { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); }
.contact-item { display: flex; flex-direction: column; gap: 0.2rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.contact-item:last-child { border-bottom: 0; }
.contact-item strong { color: var(--navy); }
.contact-item a { color: var(--blue); font-weight: 800; }
.preview-contact-panel { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border-radius: 28px; border: 1px solid var(--border); background: var(--light-steel); padding: clamp(2rem, 5vw, 4rem); box-shadow: 0 18px 48px rgba(var(--navy-rgb), 0.08); }
.preview-contact-panel h2 { color: var(--navy); font-weight: 900; letter-spacing: -0.035em; margin: 1rem 0; }
.preview-contact-panel p { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.5rem; }
.contact-form-panel { border: 1px solid var(--border); border-radius: 28px; background: #fff; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 0 18px 48px rgba(var(--navy-rgb), .08); }
.contact-form-panel h2 { margin: 1rem 0 .35rem; color: var(--navy); font-weight: 900; letter-spacing: -.035em; }
.contact-form-panel > p { margin-bottom: 1.5rem; color: var(--muted); }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .4rem; color: var(--navy); font-size: .84rem; font-weight: 800; }
.contact-form-wide { grid-column: 1 / -1; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-submit-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.contact-submit-row small { max-width: 330px; color: var(--muted); line-height: 1.4; }
.human-check { max-width: 260px; }
.contact-form-honeypot { display: none !important; position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-success, .form-errors { margin-bottom: 1.25rem; padding: 1rem 1.1rem; border-radius: 14px; }
.form-success { display: grid; gap: .2rem; border: 1px solid #bce1cd; background: #eaf7f0; color: #1d6343; }
.form-errors { border: 1px solid #f0c7ce; background: #fff0f2; color: #87313a; }
.form-errors ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.footer { background: var(--footer-bg); color: rgba(255, 255, 255, 0.76); padding: 4.5rem 0 2rem; }
.footer h4, .footer h5 { color: #ffffff; font-weight: 900; }
.footer a { color: rgba(255, 255, 255, 0.76); }
.footer a:hover { color: #ffffff; }
.footer-logo { display: inline-flex; align-items: center; margin-bottom: 1.35rem; padding: 0.55rem 0.85rem; border-radius: 18px; background: #fff8fa; }
.footer-logo .site-logo { display: block; width: 140px; height: auto; }
.footer .brand-byline { color: rgba(255, 255, 255, 0.62); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 2.5rem; padding-top: 1.3rem; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.not-found-page { min-height: 66vh; display: flex; align-items: center; }
.not-found-card { max-width: 760px; background: #ffffff; border: 1px solid var(--border); border-radius: 32px; box-shadow: var(--shadow); padding: clamp(2rem, 5vw, 4rem); text-align: center; margin: 0 auto; }
.not-found-card h1 { color: var(--navy); font-weight: 900; letter-spacing: -0.05em; font-size: clamp(2.4rem, 5vw, 4.5rem); margin: 1rem 0; }
.not-found-card p { color: var(--muted); font-size: 1.15rem; }

/*
 * Layout templates use the same palette variables above. This keeps every
 * template compatible with every colour theme while giving each layout a
 * deliberately different shape, rhythm and typographic character.
 */

/* Bold: high contrast, large type, sharp geometry and image-forward cards. */
.template-bold .top-strip {
  background: var(--orange);
  color: var(--accent-contrast);
  font-weight: 800;
  padding: 0.6rem 0;
}
.template-bold .top-strip a { color: var(--accent-contrast); }
.template-bold .navbar {
  background: var(--navy);
  border-bottom: 4px solid var(--orange);
  backdrop-filter: none;
}
.template-bold .navbar-brand,
.template-bold .nav-link { color: var(--white) !important; }
.template-bold .nav-link.active,
.template-bold .nav-link:hover {
  color: var(--white) !important;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 0.18rem;
  text-underline-offset: 0.45rem;
}
.template-bold .navbar-toggler { filter: invert(1); }
.template-bold .brand-mark {
  border-radius: 0;
  background: var(--orange);
  color: var(--accent-contrast);
  transform: rotate(-3deg);
}
.template-bold .brand-mark::after { border-radius: 0; border-color: rgba(var(--navy-rgb), 0.55); }
.template-bold .navbar .btn,
.template-bold .btn,
.template-bold .eyebrow { border-radius: 0; }
.template-bold .hero {
  min-height: 790px;
  align-items: flex-end;
  padding: 9rem 0 7rem;
  background-position: center;
}
.template-bold .hero::before {
  background: linear-gradient(0deg, rgba(var(--navy-rgb), 0.98) 5%, rgba(var(--navy-rgb), 0.76) 58%, rgba(var(--navy-rgb), 0.12));
}
.template-bold .hero-content { max-width: 1020px; }
.template-bold .hero h1,
.template-bold .page-hero h1 {
  max-width: 1000px;
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}
.template-bold .hero p { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.template-bold .page-hero {
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding: 10rem 0 5rem;
}
.template-bold .page-hero::before {
  background: linear-gradient(0deg, rgba(var(--navy-rgb), 0.98), rgba(var(--navy-rgb), 0.32));
}
.template-bold .section { padding: 8rem 0; }
.template-bold .section-title h2,
.template-bold .section-heading {
  text-transform: uppercase;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 0.94;
}
.template-bold .card-clean,
.template-bold .contact-card,
.template-bold .preview-contact-panel,
.template-bold .stat-panel,
.template-bold .mission-card,
.template-bold .not-found-card,
.template-bold .split-image {
  border-radius: 0 !important;
}
.template-bold .card-clean {
  border: 0;
  border-bottom: 8px solid var(--blue);
  box-shadow: 12px 12px 0 rgba(var(--navy-rgb), 0.12);
}
.template-bold .card-clean .card-body { padding: 2rem; }
.template-bold .icon-box {
  width: 64px;
  height: 64px;
  border-radius: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 1.1rem;
}
.template-bold .icon-box.orange { background: var(--orange); color: var(--accent-contrast); }
.template-bold .service-img { height: 290px; }
.template-bold .split-image { min-height: 600px; box-shadow: 18px 18px 0 var(--orange); }

/* Minimal: quiet type, generous whitespace, fine rules and almost no shadow. */
.template-minimal { letter-spacing: 0.005em; }
.template-minimal .top-strip {
  background: var(--white);
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0;
}
.template-minimal .top-strip a { color: var(--blue); }
.template-minimal .navbar {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  backdrop-filter: none;
  padding: 1.1rem 0;
}
.template-minimal .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-size: 0.72rem;
}
.template-minimal .brand-mark::after { display: none; }
.template-minimal .navbar-brand { font-weight: 700; letter-spacing: 0.03em; }
.template-minimal .nav-link { font-weight: 600; }
.template-minimal .navbar .btn,
.template-minimal .btn { border-radius: 4px; }
.template-minimal .hero {
  min-height: 620px;
  margin: 1.5rem;
  color: var(--navy);
  background-position: 70% center;
}
.template-minimal .hero::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 8%, rgba(255, 255, 255, 0.92) 48%, rgba(255, 255, 255, 0.15));
}
.template-minimal .hero-content { max-width: 690px; }
.template-minimal .hero h1,
.template-minimal .page-hero h1 {
  color: var(--navy);
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.template-minimal .hero p { color: var(--muted); max-width: 620px; }
.template-minimal .hero .btn-light {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.template-minimal .eyebrow {
  color: var(--blue);
  background: transparent;
  border: 0;
  border-left: 2px solid var(--blue);
  border-radius: 0;
  padding: 0 0 0 0.75rem;
}
.template-minimal .page-hero {
  min-height: 460px;
  display: flex;
  align-items: center;
  margin: 1.5rem;
  padding: 6rem 0;
  color: var(--navy);
}
.template-minimal .page-hero::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.84) 55%, rgba(255, 255, 255, 0.15));
}
.template-minimal .page-hero p { color: var(--muted); }
.template-minimal .section { padding: 8rem 0; }
.template-minimal .bg-soft { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.template-minimal .section-title { margin-bottom: 3.5rem; }
.template-minimal .section-title h2,
.template-minimal .section-heading { font-weight: 700; letter-spacing: -0.045em; }
.template-minimal .card-clean {
  border: 0;
  border-top: 2px solid var(--navy);
  border-radius: 0;
  box-shadow: none;
}
.template-minimal .card-clean .card-body { padding: 1.6rem 0; }
.template-minimal .icon-box {
  width: auto;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  font-size: 0.8rem;
}
.template-minimal .icon-box.orange { background: transparent; color: var(--orange-hover); }
.template-minimal .service-img { height: 300px; }
.template-minimal .split-image {
  min-height: 560px;
  border-radius: 2px;
  box-shadow: none;
  filter: saturate(0.78);
}
.template-minimal .contact-card,
.template-minimal .preview-contact-panel,
.template-minimal .not-found-card {
  border-radius: 2px;
  box-shadow: none;
}
.template-minimal .mission-card { border-radius: 2px !important; }
.template-minimal .footer { padding-top: 6rem; }

/*
 * Editorial Heritage: a composed, print-inspired layout with serif headlines,
 * ruled details and image-led feature pages. It intentionally feels quieter
 * and more established than the modern card-based templates.
 */
.template-editorial {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--white);
}
.template-editorial .top-strip,
.template-editorial .navbar,
.template-editorial .eyebrow,
.template-editorial .btn,
.template-editorial .form-control,
.template-editorial .form-select,
.template-editorial .footer,
.template-editorial .icon-box {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.template-editorial .top-strip {
  background: var(--white);
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
  letter-spacing: 0.04em;
}
.template-editorial .top-strip a { color: var(--navy); font-weight: 700; }
.template-editorial .navbar {
  background: var(--white);
  border-bottom: 1px solid var(--navy);
  backdrop-filter: none;
  padding: 1rem 0;
}
.template-editorial .navbar-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.035em;
}
.template-editorial .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
  transform: rotate(45deg);
}
.template-editorial .brand-mark::after { display: none; }
.template-editorial .brand-mark + span { margin-left: 0.25rem; }
.template-editorial .brand-mark { font-size: 0; }
.template-editorial .brand-mark::before {
  content: "";
  width: 10px;
  height: 10px;
  display: block;
  background: var(--orange);
  transform: rotate(-45deg);
}
.template-editorial .nav-link {
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.template-editorial .navbar .btn,
.template-editorial .btn { border-radius: 0; }
.template-editorial .hero {
  min-height: 720px;
  color: var(--navy);
  background-position: center;
}
.template-editorial .hero::before {
  background: linear-gradient(90deg, var(--white) 0%, var(--white) 48%, rgba(255, 255, 255, 0.96) 56%, rgba(255, 255, 255, 0.2) 82%);
}
.template-editorial .hero-content { max-width: 660px; }
.template-editorial .hero h1,
.template-editorial .page-hero h1,
.template-editorial .section-title h2,
.template-editorial .section-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}
.template-editorial .hero h1,
.template-editorial .page-hero h1 {
  color: var(--navy);
  font-size: clamp(3.2rem, 6.5vw, 6.4rem);
  line-height: 0.98;
}
.template-editorial .hero p { color: var(--muted); font-size: 1.2rem; max-width: 580px; }
.template-editorial .hero .btn-light {
  color: var(--navy);
  background: transparent;
  border-color: var(--navy);
}
.template-editorial .eyebrow {
  color: var(--blue);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  border-radius: 0;
  padding: 0.45rem 0;
  letter-spacing: 0.14em;
}
.template-editorial .bg-navy .eyebrow { color: var(--white); border-color: rgba(255, 255, 255, 0.65); }
.template-editorial .page-hero {
  min-height: 530px;
  display: flex;
  align-items: center;
  color: var(--navy);
}
.template-editorial .page-hero::before {
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0.97) 48%, rgba(255, 255, 255, 0.22) 82%);
}
.template-editorial .page-hero p { color: var(--muted); max-width: 610px; }
.template-editorial .section { padding: 7.5rem 0; }
.template-editorial .section-title { max-width: 900px; margin-bottom: 3.25rem; }
.template-editorial .section-title h2,
.template-editorial .section-heading { font-size: clamp(2.4rem, 4.5vw, 4.2rem); line-height: 1.05; }
.template-editorial .bg-soft {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.template-editorial .card-clean {
  border: 0;
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
}
.template-editorial .card-clean .card-body { padding: 1.75rem 0 2rem; }
.template-editorial .card-clean h3,
.template-editorial .card-clean h4,
.template-editorial .contact-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.65rem;
}
.template-editorial .icon-box {
  width: auto;
  height: auto;
  display: block;
  border-radius: 0;
  background: transparent;
  color: var(--blue);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
}
.template-editorial .icon-box.orange { background: transparent; color: var(--orange-hover); }
.template-editorial .service-img { height: 330px; filter: saturate(0.82) contrast(1.04); }
.template-editorial .split-image {
  min-height: 610px;
  border-radius: 0;
  box-shadow: -18px 18px 0 var(--light-steel);
  filter: saturate(0.82) contrast(1.04);
}
.template-editorial .feature-list li {
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.85rem;
}
.template-editorial .contact-card,
.template-editorial .preview-contact-panel,
.template-editorial .not-found-card,
.template-editorial .mission-card,
.template-editorial .stat-panel {
  border-radius: 0 !important;
  box-shadow: none;
}
.template-editorial .contact-card,
.template-editorial .preview-contact-panel,
.template-editorial .not-found-card { border: 1px solid var(--navy); }
.template-editorial .footer { border-top: 5px solid var(--orange); }
.template-editorial .footer .brand-mark { border-color: var(--white); }

/*
 * Showcase Studio: an immersive, gallery-like option with a floating nav,
 * centered cinematic hero, soft layered cards and deliberately sculpted image
 * shapes. All decorative colour continues to come from the active palette.
 */
.template-showcase { background: var(--light-steel); }
.template-showcase .top-strip {
  background: var(--navy);
  text-align: center;
  padding: 0.6rem 1rem 1.25rem;
}
.template-showcase .top-strip .container { justify-content: center !important; gap: 1.5rem; }
.template-showcase .navbar {
  width: calc(100% - 2rem);
  margin: -0.7rem auto 0;
  top: 1rem;
  padding: 0.8rem 0;
  border: 1px solid rgba(var(--navy-rgb), 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(var(--navy-rgb), 0.15);
}
.template-showcase .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
}
.template-showcase .brand-mark::after { width: 14px; height: 14px; }
.template-showcase .nav-link { font-weight: 700; }
.template-showcase .hero {
  min-height: 790px;
  margin: 1rem;
  border-radius: 46px;
  text-align: center;
}
.template-showcase .hero::before {
  background: radial-gradient(circle at 50% 42%, rgba(var(--blue-rgb), 0.35), transparent 30%), linear-gradient(180deg, rgba(var(--navy-rgb), 0.38), rgba(var(--navy-rgb), 0.92));
}
.template-showcase .hero-content { max-width: 990px; margin: 0 auto; }
.template-showcase .hero h1,
.template-showcase .page-hero h1 {
  font-size: clamp(3.3rem, 7.8vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}
.template-showcase .hero p { max-width: 720px; margin-left: auto; margin-right: auto; }
.template-showcase .hero-content .d-flex { justify-content: center; }
.template-showcase .eyebrow {
  color: var(--blue);
  background: rgba(var(--blue-rgb), 0.1);
  border-color: rgba(var(--blue-rgb), 0.28);
  backdrop-filter: blur(8px);
}
.template-showcase .hero .eyebrow,
.template-showcase .page-hero .eyebrow,
.template-showcase .bg-navy .eyebrow {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}
.template-showcase .hero .btn,
.template-showcase .page-hero .btn { padding-left: 1.7rem; padding-right: 1.7rem; }
.template-showcase .page-hero {
  min-height: 570px;
  display: flex;
  align-items: flex-end;
  margin: 1rem;
  padding: 8rem 0 5rem;
  border-radius: 46px;
  text-align: center;
}
.template-showcase .page-hero::before {
  background: linear-gradient(180deg, rgba(var(--navy-rgb), 0.25), rgba(var(--navy-rgb), 0.94));
}
.template-showcase .page-hero p { margin-left: auto; margin-right: auto; }
.template-showcase .section { padding: 7.5rem 0; }
.template-showcase main > .section:not(.bg-navy) { background: var(--white); }
.template-showcase main > .section.bg-soft { background: var(--light-steel); }
.template-showcase .section-title { max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
.template-showcase .section-title h2 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.template-showcase .card-clean {
  border: 1px solid rgba(var(--navy-rgb), 0.08);
  border-radius: 38px;
  box-shadow: 0 25px 65px rgba(var(--navy-rgb), 0.12);
}
.template-showcase .card-clean .card-body { padding: 2rem; }
.template-showcase .card-clean h3,
.template-showcase .card-clean h4 { font-size: 1.45rem; }
.template-showcase .icon-box {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}
.template-showcase .icon-box.orange { background: var(--orange); color: var(--accent-contrast); }
.template-showcase .service-img { height: 290px; border-radius: 38px 38px 0 0; }
.template-showcase .split-image {
  min-height: 620px;
  border-radius: 45% 45% 28px 28px;
  box-shadow: 24px 24px 0 rgba(var(--blue-rgb), 0.16), -16px -16px 0 rgba(var(--orange-rgb), 0.14);
}
.template-showcase .feature-list li {
  background: var(--light-steel);
  border-radius: 999px;
  padding: 0.75rem 1rem;
}
.template-showcase .preview-contact-panel,
.template-showcase .contact-card,
.template-showcase .not-found-card {
  border-radius: 38px;
  box-shadow: 0 25px 65px rgba(var(--navy-rgb), 0.12);
}
.template-showcase .mission-card,
.template-showcase .stat-panel { border-radius: 38px !important; }
.template-showcase .bg-navy {
  margin: 0 1rem 1rem;
  border-radius: 46px;
  overflow: hidden;
}
.template-showcase .footer {
  border-radius: 46px 46px 0 0;
  margin: 1rem 1rem 0;
}

/*
 * Corporate Grid: precise, structured and information-led. A framed content
 * panel turns the photographic hero into a split composition, while square
 * cards, rules and restrained spacing give the pages a boardroom character.
 */
.template-corporate { background: #ffffff; }
.template-corporate .top-strip {
  background: var(--navy);
  border-bottom: 5px solid var(--blue);
  padding: 0.55rem 0;
  letter-spacing: 0.025em;
}
.template-corporate .navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  backdrop-filter: none;
  padding: 1rem 0;
}
.template-corporate .navbar-brand { letter-spacing: 0.12em; }
.template-corporate .brand-mark {
  border-radius: 0;
  background: var(--navy);
  box-shadow: inset -7px 0 0 var(--blue);
}
.template-corporate .brand-mark::after {
  width: 13px;
  height: 13px;
  right: 4px;
  bottom: 4px;
  border-width: 2px;
  border-radius: 0;
}
.template-corporate .nav-link {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.template-corporate .navbar .btn,
.template-corporate .btn,
.template-corporate .eyebrow { border-radius: 0; }
.template-corporate .hero {
  min-height: 750px;
  background-position: 68% center;
  border-bottom: 12px solid var(--navy);
}
.template-corporate .hero::before {
  background: linear-gradient(90deg, rgba(var(--navy-rgb), 0.35), rgba(var(--navy-rgb), 0.03) 68%);
}
.template-corporate .hero-content {
  max-width: 720px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.97);
  border-left: 9px solid var(--blue);
  padding: clamp(2rem, 5vw, 4.5rem);
  box-shadow: 24px 24px 0 rgba(var(--navy-rgb), 0.88);
}
.template-corporate .hero h1,
.template-corporate .page-hero h1 {
  color: var(--navy);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}
.template-corporate .hero p { color: var(--muted); }
.template-corporate .hero .btn-light {
  color: var(--navy);
  background: #ffffff;
  border-color: var(--navy);
}
.template-corporate .eyebrow {
  color: var(--navy);
  background: transparent;
  border: 0;
  border-bottom: 3px solid var(--orange);
  padding: 0 0 0.35rem;
}
.template-corporate .bg-navy .eyebrow { color: #ffffff; }
.template-corporate .page-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  border-bottom: 12px solid var(--navy);
}
.template-corporate .page-hero::before {
  background: linear-gradient(90deg, rgba(var(--navy-rgb), 0.24), rgba(var(--navy-rgb), 0.04));
}
.template-corporate .page-hero .container {
  width: calc(100% - 3rem);
  max-width: 760px;
  margin-left: clamp(1.5rem, 7vw, 8rem);
  margin-right: auto;
  background: rgba(255, 255, 255, 0.97);
  border-left: 9px solid var(--blue);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 20px 20px 0 rgba(var(--navy-rgb), 0.88);
}
.template-corporate .page-hero p { color: var(--muted); }
.template-corporate .section { padding: 7rem 0; }
.template-corporate .section-title {
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: 4rem;
  align-items: end;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}
.template-corporate .section-title .eyebrow { grid-column: 1 / -1; justify-self: start; }
.template-corporate .section-title h2 { margin: 0; }
.template-corporate .section-title p { margin: 0; }
.template-corporate .card-clean,
.template-corporate .contact-card,
.template-corporate .preview-contact-panel,
.template-corporate .not-found-card,
.template-corporate .mission-card,
.template-corporate .stat-panel,
.template-corporate .split-image {
  border-radius: 0 !important;
}
.template-corporate .card-clean {
  border: 1px solid var(--border);
  border-top: 6px solid var(--navy);
  box-shadow: none;
}
.template-corporate .card-clean .card-body { padding: 2rem; }
.template-corporate .icon-box {
  width: 46px;
  height: 46px;
  border-radius: 0;
  background: var(--navy);
  color: #ffffff;
}
.template-corporate .icon-box.orange { background: var(--navy); color: #ffffff; border-bottom: 5px solid var(--orange); }
.template-corporate .service-img { height: 270px; filter: saturate(0.84); }
.template-corporate .split-image {
  min-height: 590px;
  box-shadow: 18px 18px 0 var(--navy);
}
.template-corporate .feature-list li { border-bottom: 1px solid var(--border); padding: 0 0 0.8rem; }
.template-corporate .footer { border-top: 12px solid var(--blue); }

/*
 * Artisan Workshop: tactile paper-like panels, off-centre framing, stitched
 * rules and gently irregular corners make this feel handmade and personal.
 */
.template-artisan {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  background: var(--light-steel);
}
.template-artisan .top-strip {
  background: var(--orange);
  color: var(--accent-contrast);
  border-bottom: 2px dashed rgba(var(--navy-rgb), 0.45);
  font-weight: 700;
  padding: 0.65rem 0;
}
.template-artisan .top-strip a { color: var(--accent-contrast); }
.template-artisan .navbar {
  background: var(--light-steel);
  border-bottom: 2px dashed rgba(var(--navy-rgb), 0.28);
  backdrop-filter: none;
  padding: 1.15rem 0;
}
.template-artisan .navbar-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}
.template-artisan .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50% 44% 52% 42%;
  background: var(--navy);
  transform: rotate(-7deg);
}
.template-artisan .brand-mark::after { border-style: dashed; }
.template-artisan .nav-link { font-weight: 700; }
.template-artisan .navbar .btn,
.template-artisan .btn { border-radius: 7px 18px 8px 16px; }
.template-artisan .hero {
  min-height: 780px;
  color: var(--navy);
  background-position: center;
  padding: 7rem 0;
}
.template-artisan .hero::before {
  background: linear-gradient(90deg, rgba(var(--navy-rgb), 0.14), rgba(var(--navy-rgb), 0.03));
}
.template-artisan .hero-content {
  position: relative;
  max-width: 680px;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid var(--navy);
  border-radius: 8px 38px 10px 32px;
  padding: clamp(2rem, 5vw, 4.25rem);
  box-shadow: 15px 16px 0 var(--orange);
}
.template-artisan .hero-content::after {
  content: "";
  position: absolute;
  width: 86px;
  height: 24px;
  top: -12px;
  right: 56px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(var(--navy-rgb), 0.15);
  transform: rotate(3deg);
}
.template-artisan .hero h1,
.template-artisan .page-hero h1,
.template-artisan .section-title h2,
.template-artisan .section-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.template-artisan .hero h1,
.template-artisan .page-hero h1 {
  color: var(--navy);
  font-size: clamp(3.2rem, 6.2vw, 6rem);
  line-height: 0.98;
}
.template-artisan .hero p { color: var(--muted); }
.template-artisan .hero .btn-light {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.template-artisan .eyebrow {
  color: var(--navy);
  background: rgba(var(--orange-rgb), 0.13);
  border: 1px dashed var(--orange);
  border-radius: 7px 14px 8px 13px;
  transform: rotate(-1deg);
}
.template-artisan .bg-navy .eyebrow { color: #ffffff; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.55); }
.template-artisan .page-hero {
  min-height: 590px;
  display: flex;
  align-items: center;
  color: var(--navy);
}
.template-artisan .page-hero::before { background: rgba(255, 255, 255, 0.28); }
.template-artisan .page-hero .container {
  width: calc(100% - 3rem);
  max-width: 780px;
  margin-left: clamp(1.5rem, 7vw, 8rem);
  margin-right: auto;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid var(--navy);
  border-radius: 8px 38px 10px 32px;
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: 15px 16px 0 var(--orange);
}
.template-artisan .page-hero p { color: var(--muted); }
.template-artisan .section { padding: 7.5rem 0; }
.template-artisan main > .section:not(.bg-navy) { background: #ffffff; }
.template-artisan main > .section.bg-soft { background: var(--light-steel); }
.template-artisan .section-title { max-width: 860px; }
.template-artisan .section-title h2,
.template-artisan .section-heading { font-size: clamp(2.5rem, 4.8vw, 4.5rem); }
.template-artisan .card-clean {
  border: 2px solid var(--navy);
  border-radius: 9px 30px 10px 26px;
  box-shadow: 9px 10px 0 rgba(var(--orange-rgb), 0.55);
  overflow: hidden;
}
.template-artisan .row > [class*="col"]:nth-child(even) .card-clean {
  border-radius: 28px 8px 25px 10px;
  transform: translateY(18px) rotate(0.4deg);
}
.template-artisan .card-clean .card-body { padding: 1.9rem; }
.template-artisan .card-clean h3,
.template-artisan .card-clean h4,
.template-artisan .contact-card h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; }
.template-artisan .icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50% 40% 55% 42%;
  background: var(--navy);
  color: #ffffff;
  transform: rotate(-5deg);
}
.template-artisan .icon-box.orange { background: var(--orange); color: var(--accent-contrast); }
.template-artisan .service-img { height: 285px; filter: saturate(0.85) sepia(0.08); }
.template-artisan .split-image {
  min-height: 600px;
  border: 2px solid var(--navy);
  border-radius: 12px 48px 14px 42px;
  box-shadow: -14px 15px 0 var(--orange);
  filter: saturate(0.86) sepia(0.08);
}
.template-artisan .feature-list li { border-bottom: 2px dashed var(--border); padding-bottom: 0.85rem; }
.template-artisan .contact-card,
.template-artisan .preview-contact-panel,
.template-artisan .not-found-card,
.template-artisan .mission-card,
.template-artisan .stat-panel { border-radius: 10px 35px 12px 30px !important; }
.template-artisan .contact-card,
.template-artisan .preview-contact-panel,
.template-artisan .not-found-card { border: 2px solid var(--navy); box-shadow: 10px 10px 0 rgba(var(--orange-rgb), 0.5); }
.template-artisan .footer { border-top: 3px dashed rgba(255, 255, 255, 0.3); }

/*
 * Luxury Signature: a dark, spacious, monochromatic presentation with fine
 * metallic-colour rules, centered statements and understated serif details.
 */
.template-luxury {
  font-family: "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}
.template-luxury .top-strip {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  padding: 0.8rem 0;
  letter-spacing: 0.08em;
}
.template-luxury .top-strip .container { justify-content: center !important; gap: 2rem; }
.template-luxury .navbar {
  background: var(--navy);
  border-bottom: 1px solid rgba(var(--orange-rgb), 0.62);
  backdrop-filter: none;
  padding: 1.4rem 0;
}
.template-luxury .navbar-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: #ffffff !important;
  letter-spacing: 0.16em;
}
.template-luxury .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  background: transparent;
  border: 1px solid var(--orange);
}
.template-luxury .brand-mark::after { display: none; }
.template-luxury .nav-link {
  color: rgba(255, 255, 255, 0.74) !important;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.template-luxury .nav-link.active,
.template-luxury .nav-link:hover { color: #ffffff !important; }
.template-luxury .navbar-toggler { filter: invert(1); }
.template-luxury .navbar .btn,
.template-luxury .btn,
.template-luxury .eyebrow { border-radius: 0; }
.template-luxury .hero {
  min-height: 850px;
  text-align: center;
  border-bottom: 1px solid rgba(var(--orange-rgb), 0.55);
}
.template-luxury .hero::before {
  background: linear-gradient(180deg, rgba(var(--navy-rgb), 0.48), rgba(var(--navy-rgb), 0.94)), radial-gradient(circle at 50% 35%, rgba(var(--orange-rgb), 0.12), transparent 32%);
}
.template-luxury .hero-content { max-width: 980px; margin: 0 auto; }
.template-luxury .hero h1,
.template-luxury .page-hero h1,
.template-luxury .section-title h2,
.template-luxury .section-heading,
.template-luxury .legal-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.template-luxury .hero h1,
.template-luxury .page-hero h1 {
  color: #ffffff;
  font-size: clamp(3.5rem, 7.5vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}
.template-luxury .hero p { max-width: 700px; margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, 0.76); }
.template-luxury .hero-content .d-flex { justify-content: center; }
.template-luxury .eyebrow {
  color: #ffffff;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--orange);
  border-bottom: 1px solid var(--orange);
  padding: 0.55rem 0;
  letter-spacing: 0.2em;
}
.template-luxury .page-hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid rgba(var(--orange-rgb), 0.55);
}
.template-luxury .page-hero::before { background: rgba(var(--navy-rgb), 0.82); }
.template-luxury .page-hero p { margin-left: auto; margin-right: auto; color: rgba(255, 255, 255, 0.76); }
.template-luxury main { background: var(--navy); }
.template-luxury .section { padding: 9rem 0; background: var(--navy); color: rgba(255, 255, 255, 0.8); }
.template-luxury .section.bg-soft { background: var(--navy-2); }
.template-luxury .section-title { max-width: 940px; margin-left: auto; margin-right: auto; text-align: center; }
.template-luxury .section-title h2,
.template-luxury .section-heading,
.template-luxury .legal-content h2 { color: #ffffff; }
.template-luxury .section-title h2,
.template-luxury .section-heading { font-size: clamp(2.6rem, 5vw, 4.9rem); line-height: 1.04; }
.template-luxury .section-title p,
.template-luxury .feature-list li,
.template-luxury .legal-content p,
.template-luxury .legal-content li { color: rgba(255, 255, 255, 0.7); }
.template-luxury .text-secondary { color: rgba(255, 255, 255, 0.72) !important; }
.template-luxury .card-clean {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  box-shadow: none;
}
.template-luxury .card-clean .card-body { padding: 2.4rem; text-align: center; }
.template-luxury .card-clean h3,
.template-luxury .card-clean h4,
.template-luxury .contact-card h3 { color: #ffffff; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.template-luxury .card-clean p { color: rgba(255, 255, 255, 0.68); }
.template-luxury .icon-box,
.template-luxury .icon-box.orange {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--orange);
}
.template-luxury .service-img { height: 320px; filter: saturate(0.48) contrast(1.08); }
.template-luxury .split-image {
  min-height: 650px;
  border-radius: 0;
  border: 1px solid rgba(var(--orange-rgb), 0.62);
  box-shadow: 24px 24px 0 var(--navy-2);
  filter: saturate(0.48) contrast(1.08);
}
.template-luxury .feature-list i { color: #ffffff; }
.template-luxury .feature-list li { border-bottom: 1px solid rgba(255, 255, 255, 0.14); padding-bottom: 0.9rem; }
.template-luxury .contact-card,
.template-luxury .preview-contact-panel,
.template-luxury .not-found-card,
.template-luxury .mission-card,
.template-luxury .stat-panel {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0 !important;
  box-shadow: none;
}
.template-luxury .preview-contact-panel h2,
.template-luxury .not-found-card h1,
.template-luxury .contact-item strong { color: #ffffff; }
.template-luxury .preview-contact-panel p,
.template-luxury .not-found-card p { color: rgba(255, 255, 255, 0.7); }
.template-luxury .contact-item { border-color: rgba(255, 255, 255, 0.16); }
.template-luxury .contact-item a { color: #ffffff; text-decoration: underline; }
.template-luxury .form-control,
.template-luxury .form-select { border-radius: 0; background: #ffffff; color: var(--ink); }
.template-luxury .footer { background: var(--footer-bg); border-top: 1px solid rgba(var(--orange-rgb), 0.62); }

/*
 * Friendly Community: buoyant shapes, soft colour fields and an open,
 * conversational typographic rhythm create an approachable neighbourhood feel.
 */
.template-friendly {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  background: #ffffff;
}
.template-friendly .top-strip {
  background: var(--orange);
  color: var(--accent-contrast);
  padding: 0.7rem 0;
  font-weight: 700;
}
.template-friendly .top-strip a { color: var(--accent-contrast); }
.template-friendly .navbar {
  background: #ffffff;
  border-bottom: 0;
  box-shadow: 0 12px 35px rgba(var(--navy-rgb), 0.08);
  padding: 0.9rem 0;
}
.template-friendly .navbar-brand { letter-spacing: 0.035em; }
.template-friendly .brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 46% 54% 43% 57%;
  background: var(--navy);
  transform: rotate(-5deg);
}
.template-friendly .brand-mark::after { border-radius: 50%; }
.template-friendly .nav-link { border-radius: 999px; padding-left: 0.85rem !important; padding-right: 0.85rem !important; }
.template-friendly .nav-link.active,
.template-friendly .nav-link:hover { background: var(--light-steel); color: var(--navy) !important; }
.template-friendly .hero {
  min-height: 760px;
  color: var(--navy);
  background-position: 70% center;
}
.template-friendly .hero::before {
  background: radial-gradient(ellipse at 12% 50%, #ffffff 0%, rgba(255, 255, 255, 0.98) 30%, rgba(255, 255, 255, 0.88) 45%, rgba(255, 255, 255, 0.08) 67%), linear-gradient(90deg, rgba(255, 255, 255, 0.7), transparent);
}
.template-friendly .hero-content { max-width: 650px; }
.template-friendly .hero h1,
.template-friendly .page-hero h1 {
  color: var(--navy);
  font-size: clamp(3.1rem, 6.3vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.template-friendly .hero p { color: var(--muted); }
.template-friendly .hero .btn-light { color: var(--navy); border-color: var(--navy); }
.template-friendly .eyebrow {
  color: var(--navy);
  background: var(--light-steel);
  border: 0;
  border-radius: 999px;
  padding: 0.6rem 1rem;
}
.template-friendly .eyebrow::before { content: "•"; color: var(--orange); font-size: 1.4em; line-height: 0; }
.template-friendly .bg-navy .eyebrow { color: #ffffff; background: rgba(255, 255, 255, 0.12); }
.template-friendly .page-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  color: var(--navy);
  border-radius: 0 0 12% 12%;
}
.template-friendly .page-hero::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88) 48%, rgba(255, 255, 255, 0.12));
}
.template-friendly .page-hero p { color: var(--muted); }
.template-friendly .section { padding: 7rem 0; }
.template-friendly .bg-soft { background: var(--light-steel); }
.template-friendly .section-title { max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
.template-friendly .section-title h2,
.template-friendly .section-heading { font-size: clamp(2.4rem, 4.7vw, 4.5rem); line-height: 1.02; }
.template-friendly .card-clean {
  border: 0;
  border-radius: 34px 34px 34px 10px;
  box-shadow: 0 20px 55px rgba(var(--navy-rgb), 0.1);
}
.template-friendly .row > [class*="col"]:nth-child(even) .card-clean { border-radius: 34px 10px 34px 34px; }
.template-friendly .card-clean .card-body { padding: 2rem; }
.template-friendly .card-clean h3,
.template-friendly .card-clean h4 { font-size: 1.45rem; }
.template-friendly .icon-box,
.template-friendly .icon-box.orange {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--light-steel);
  color: var(--navy);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 2px var(--orange);
}
.template-friendly .service-img { height: 275px; border-radius: 34px 34px 44% 8%; }
.template-friendly .split-image {
  min-height: 590px;
  border-radius: 48% 52% 42% 58% / 38% 38% 62% 62%;
  border: 10px solid #ffffff;
  box-shadow: 0 0 0 3px var(--orange), 0 28px 65px rgba(var(--navy-rgb), 0.15);
}
.template-friendly .feature-list li {
  background: var(--light-steel);
  border-radius: 16px;
  padding: 0.8rem 1rem;
}
.template-friendly .preview-contact-panel,
.template-friendly .contact-card,
.template-friendly .not-found-card,
.template-friendly .mission-card,
.template-friendly .stat-panel { border-radius: 36px 36px 36px 12px !important; }
.template-friendly .footer { border-radius: 12% 12% 0 0; padding-top: 6rem; }

/*
 * Tech Edge: angular geometry, a subtle interface grid, compact mono labels
 * and luminous edge details create a contemporary product-led aesthetic.
 */
.template-tech { background: #ffffff; }
.template-tech .top-strip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: var(--navy-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  padding: 0.6rem 0;
}
.template-tech .navbar {
  background: var(--navy);
  border-bottom: 1px solid var(--blue);
  backdrop-filter: none;
  padding: 1rem 0;
}
.template-tech .navbar-brand,
.template-tech .nav-link { color: #ffffff !important; }
.template-tech .navbar-brand { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; letter-spacing: 0.06em; }
.template-tech .brand-mark {
  border-radius: 4px;
  background: transparent;
  border: 1px solid var(--blue);
  box-shadow: inset 0 0 18px rgba(var(--blue-rgb), 0.22), 0 0 18px rgba(var(--blue-rgb), 0.16);
}
.template-tech .brand-mark::after { border-radius: 0; border-color: var(--orange); }
.template-tech .nav-link {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.template-tech .nav-link.active,
.template-tech .nav-link:hover { color: #ffffff !important; border-bottom: 1px solid var(--orange); }
.template-tech .navbar-toggler { filter: invert(1); }
.template-tech .navbar .btn,
.template-tech .btn,
.template-tech .eyebrow { border-radius: 3px; }
.template-tech .hero {
  min-height: 800px;
  border-bottom: 1px solid var(--blue);
}
.template-tech .hero::before {
  background: linear-gradient(90deg, rgba(var(--navy-rgb), 0.98), rgba(var(--navy-rgb), 0.82) 54%, rgba(var(--navy-rgb), 0.34)), repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, 0.05) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, 0.05) 39px 40px);
}
.template-tech .hero::after,
.template-tech .page-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: clamp(120px, 18vw, 300px);
  height: clamp(120px, 18vw, 300px);
  background: linear-gradient(135deg, transparent 49.5%, var(--orange) 50% 50.8%, transparent 51%);
  pointer-events: none;
}
.template-tech .hero-content { max-width: 850px; }
.template-tech .hero h1,
.template-tech .page-hero h1 {
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}
.template-tech .hero p { font-size: 1.14rem; }
.template-tech .eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.36);
  padding: 0.5rem 0.75rem;
}
.template-tech .eyebrow::before { content: "["; color: #ffffff; }
.template-tech .eyebrow::after { content: "]"; color: #ffffff; }
.template-tech .section:not(.bg-navy) .eyebrow { color: var(--navy); border-color: var(--border); background: var(--light-steel); }
.template-tech .section:not(.bg-navy) .eyebrow::before,
.template-tech .section:not(.bg-navy) .eyebrow::after { color: var(--navy); }
.template-tech .page-hero {
  min-height: 610px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--blue);
}
.template-tech .page-hero::before {
  background: linear-gradient(90deg, rgba(var(--navy-rgb), 0.97), rgba(var(--navy-rgb), 0.67)), repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, 0.05) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, 0.05) 39px 40px);
}
.template-tech .section { padding: 7.5rem 0; }
.template-tech .section-title { position: relative; border-left: 4px solid var(--blue); padding-left: 1.5rem; }
.template-tech .section-title h2,
.template-tech .section-heading { font-size: clamp(2.5rem, 5vw, 4.7rem); text-transform: uppercase; line-height: 0.96; }
.template-tech .bg-soft {
  background-color: var(--light-steel);
  background-image: linear-gradient(rgba(var(--navy-rgb), 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--navy-rgb), 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
}
.template-tech .card-clean {
  position: relative;
  border: 1px solid rgba(var(--navy-rgb), 0.2);
  border-radius: 0;
  box-shadow: none;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}
.template-tech .card-clean::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  border-left: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
}
.template-tech .card-clean .card-body { padding: 2rem; }
.template-tech .icon-box,
.template-tech .icon-box.orange {
  width: 54px;
  height: 54px;
  border-radius: 2px;
  background: var(--navy);
  color: #ffffff;
  border: 1px solid var(--blue);
  box-shadow: 5px 5px 0 var(--orange);
}
.template-tech .service-img { height: 285px; filter: saturate(0.68) contrast(1.08); }
.template-tech .split-image {
  min-height: 620px;
  border-radius: 0;
  clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 10% 100%, 0 90%);
  box-shadow: none;
  filter: saturate(0.68) contrast(1.08);
}
.template-tech .feature-list li {
  border-left: 2px solid var(--blue);
  background: var(--light-steel);
  padding: 0.75rem 1rem;
}
.template-tech .preview-contact-panel,
.template-tech .contact-card,
.template-tech .not-found-card,
.template-tech .mission-card,
.template-tech .stat-panel { border-radius: 0 !important; box-shadow: none; }
.template-tech .preview-contact-panel,
.template-tech .contact-card,
.template-tech .not-found-card { border: 1px solid var(--blue); }
.template-tech .form-control,
.template-tech .form-select { border-radius: 2px; }
.template-tech .footer {
  background-color: var(--footer-bg);
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  border-top: 1px solid var(--blue);
}

/* Product catalog */
.catalog-hero {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background-position: center 42%;
}
.catalog-hero .container { padding-bottom: 4.5rem; }
.catalog-hero p { max-width: 690px; }
.catalog-section { background: #fffbfc; }
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.catalog-filter-wrap { width: min(100%, 320px); }
.catalog-filter-wrap label {
  display: block;
  margin-bottom: .45rem;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.catalog-filter { min-height: 48px; border-color: var(--border); border-radius: 12px; }
.catalog-count { margin: 1.25rem 0 2rem; color: var(--muted); font-size: .9rem; font-weight: 700; }
.product-card {
  overflow: hidden;
  border: 1px solid rgba(var(--navy-rgb), .09);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(var(--navy-rgb), .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(var(--navy-rgb), .12); }
.product-card-interactive { cursor: pointer; }
.product-card-interactive:focus-visible {
  outline: 3px solid rgba(var(--orange-rgb), .72);
  outline-offset: 5px;
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(var(--navy-rgb), .14);
}
.product-image-wrap { overflow: hidden; aspect-ratio: 1 / 1; background: var(--light-steel); }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-image { transform: scale(1.035); }
.product-body { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .55rem 1rem; padding: 1.35rem; }
.product-collection { grid-column: 1 / -1; margin: 0; color: var(--orange); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-name { margin: 0; color: var(--navy); font-size: 1.12rem; font-weight: 800; line-height: 1.3; }
.product-price { margin: 0; color: var(--navy); font-size: 1.1rem; font-weight: 900; white-space: nowrap; }
.product-description { grid-column: 1 / -1; margin: .35rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.catalog-item[hidden] { display: none !important; }
.catalog-empty { padding: 4rem 1.5rem; border: 1px dashed var(--border); border-radius: 24px; background: #fff; text-align: center; }
.product-dialog-open { overflow: hidden; }
.product-dialog {
  width: min(1180px, calc(100vw - 2rem));
  max-width: none;
  height: min(820px, calc(100dvh - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 35px 100px rgba(12, 16, 28, .38);
}
.product-dialog:not([open]) { display: none; }
.product-dialog::backdrop {
  background: rgba(15, 18, 30, .76);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.product-dialog-shell { position: relative; height: 100%; }
.product-dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  height: 100%;
}
.product-dialog-media {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  padding: clamp(1rem, 2.5vw, 2.25rem);
  background: linear-gradient(145deg, #f9f3f5, #eee5e9);
}
.product-dialog-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  border-radius: 18px;
}
.product-dialog-content {
  display: flex;
  min-width: 0;
  min-height: 0;
  padding: clamp(2rem, 5vw, 4.75rem);
  overflow-y: auto;
  background: #fff;
}
.product-dialog-copy { width: 100%; margin: auto 0; }
.product-dialog-collection {
  margin: 0 0 .9rem;
  color: var(--orange);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.product-dialog h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.product-dialog-price {
  margin: 1.1rem 0 0;
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 900;
}
.product-dialog-description {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  white-space: pre-line;
}
.product-dialog-sku {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .84rem;
}
.product-dialog-sku span {
  margin-right: .45rem;
  color: var(--navy);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.product-dialog-close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0 0 3px;
  border: 1px solid rgba(var(--navy-rgb), .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
  box-shadow: 0 8px 25px rgba(var(--navy-rgb), .14);
  font-size: 2rem;
  line-height: 1;
  transition: transform .2s ease, background-color .2s ease;
}
.product-dialog-close:hover { transform: scale(1.06); background: #fff; }
.product-dialog-close:focus-visible { outline: 3px solid rgba(var(--orange-rgb), .72); outline-offset: 3px; }

@media (max-width: 767px) {
  .product-dialog {
    width: calc(100vw - 1rem);
    height: calc(100dvh - 1rem);
    max-height: calc(100dvh - 1rem);
    border-radius: 22px;
  }
  .product-dialog-layout {
    display: block;
    height: 100%;
    overflow-y: auto;
  }
  .product-dialog-media {
    height: min(58vh, 520px);
    min-height: 320px;
    padding: .75rem;
  }
  .product-dialog-media img { border-radius: 15px 15px 8px 8px; }
  .product-dialog-content {
    display: block;
    padding: 2rem 1.35rem 2.5rem;
    overflow: visible;
  }
  .product-dialog h2 { padding-right: 2.5rem; font-size: clamp(2rem, 10vw, 3rem); }
  .product-dialog-close { position: fixed; top: 1rem; right: 1rem; }
}

@media (max-width: 991px) {
  .hero { min-height: auto; padding: 6.5rem 0; }
  .top-strip .d-flex { gap: 0.4rem; }
  .navbar-brand { min-width: 0; max-width: calc(100% - 54px); }
  .navbar-brand .site-logo { width: 145px; }
  .brand-mark { flex: 0 0 auto; }
  .navbar .btn { margin-top: 0.8rem; }
  .section { padding: 4.5rem 0; }
  .split-image { min-height: 360px; }
  .template-bold .hero { min-height: auto; padding: 7rem 0 5rem; }
  .template-bold .section,
  .template-minimal .section,
  .template-editorial .section,
  .template-showcase .section,
  .template-corporate .section,
  .template-artisan .section,
  .template-luxury .section,
  .template-friendly .section,
  .template-tech .section { padding: 5rem 0; }
  .template-bold .split-image,
  .template-minimal .split-image,
  .template-editorial .split-image,
  .template-showcase .split-image,
  .template-corporate .split-image,
  .template-artisan .split-image,
  .template-luxury .split-image,
  .template-friendly .split-image,
  .template-tech .split-image { min-height: 420px; }
  .template-minimal .hero,
  .template-minimal .page-hero { margin: 0; }
  .template-editorial .hero::before,
  .template-editorial .page-hero::before { background: rgba(255, 255, 255, 0.91); }
  .template-editorial .hero-content { max-width: 720px; }
  .template-showcase .navbar { border-radius: 28px; }
  .template-showcase .hero { min-height: 670px; }
  .template-corporate .hero,
  .template-artisan .hero,
  .template-luxury .hero,
  .template-friendly .hero,
  .template-tech .hero { min-height: auto; padding: 7rem 0; }
  .template-corporate .hero-content,
  .template-artisan .hero-content { max-width: 640px; }
  .template-corporate .section-title {
    display: block;
    padding-bottom: 1.5rem;
  }
  .template-corporate .section-title h2 { margin-top: 1rem; }
  .template-corporate .section-title p { margin-top: 1rem; }
  .template-artisan .row > [class*="col"]:nth-child(even) .card-clean { transform: none; }
  .template-luxury .hero { min-height: 700px; }
  .template-friendly .hero::before { background: rgba(255, 255, 255, 0.9); }
  .template-friendly .hero-content { max-width: 720px; }
  .template-tech .hero::before { background: linear-gradient(90deg, rgba(var(--navy-rgb), 0.96), rgba(var(--navy-rgb), 0.7)), repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, 0.05) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, 0.05) 39px 40px); }
}
@media (max-width: 575px) {
  .hero h1, .page-hero h1 { font-size: 2.55rem; }
  .top-strip { display: none; }
  .hero-card { margin-top: 2rem; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-form-wide { grid-column: auto; }
  .template-bold .hero h1,
  .template-bold .page-hero h1 { font-size: 3rem; }
  .template-minimal .hero,
  .template-minimal .page-hero { background-position: center; }
  .template-minimal .hero::before,
  .template-minimal .page-hero::before { background: rgba(255, 255, 255, 0.92); }
  .template-editorial .hero h1,
  .template-editorial .page-hero h1 { font-size: 3rem; }
  .template-showcase .navbar {
    width: calc(100% - 1rem);
    top: 0.5rem;
    margin-top: 0.5rem;
  }
  .navbar-brand .site-logo { width: 126px; }
  .template-showcase .hero,
  .template-showcase .page-hero,
  .template-showcase .bg-navy,
  .template-showcase .footer {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    border-radius: 28px;
  }
  .template-showcase .hero { min-height: auto; padding: 7rem 0; }
  .template-showcase .hero h1,
  .template-showcase .page-hero h1 { font-size: 3.15rem; }
  .template-showcase .split-image { border-radius: 160px 160px 24px 24px; }
  .template-corporate .hero { padding: 3rem 0 4.5rem; }
  .template-corporate .hero-content {
    padding: 1.6rem;
    border-left-width: 6px;
    box-shadow: 10px 10px 0 rgba(var(--navy-rgb), 0.88);
  }
  .template-corporate .hero h1,
  .template-corporate .page-hero h1 { font-size: 2.8rem; }
  .template-corporate .page-hero .container,
  .template-artisan .page-hero .container {
    width: calc(100% - 2rem);
    margin-left: 1rem;
    padding: 1.6rem;
  }
  .template-corporate .page-hero .container { box-shadow: 9px 9px 0 rgba(var(--navy-rgb), 0.88); }
  .template-artisan .hero { padding: 4rem 0 5rem; }
  .template-artisan .hero-content { padding: 1.6rem; box-shadow: 8px 9px 0 var(--orange); }
  .template-artisan .hero-content::after { right: 24px; width: 64px; }
  .template-artisan .hero h1,
  .template-artisan .page-hero h1 { font-size: 2.9rem; }
  .template-artisan .page-hero .container { box-shadow: 8px 9px 0 var(--orange); }
  .template-luxury .hero { min-height: auto; padding: 6rem 0; }
  .template-luxury .hero h1,
  .template-luxury .page-hero h1 { font-size: 3.1rem; }
  .template-luxury .hero-content .d-flex { justify-content: center; }
  .template-luxury .top-strip .container { gap: 0.5rem; }
  .template-friendly .hero { padding: 5.5rem 0; }
  .template-friendly .hero::before,
  .template-friendly .page-hero::before { background: rgba(255, 255, 255, 0.92); }
  .template-friendly .hero h1,
  .template-friendly .page-hero h1 { font-size: 3rem; }
  .template-friendly .page-hero { border-radius: 0 0 40px 40px; }
  .template-friendly .split-image { border-radius: 42% 58% 46% 54% / 38% 42% 58% 62%; }
  .template-friendly .footer { border-radius: 40px 40px 0 0; }
  .template-tech .hero { padding: 6rem 0; }
  .template-tech .hero h1,
  .template-tech .page-hero h1 { font-size: 2.85rem; }
  .template-tech .page-hero { min-height: 500px; padding-bottom: 3rem; }
  .template-tech .hero::after,
  .template-tech .page-hero::after { width: 100px; height: 100px; }
  .template-tech .section-title { padding-left: 1rem; }
  .catalog-hero { min-height: 450px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .catalog-filter-wrap { width: 100%; }
}
