/* Brand: triangulumsolut.help — Triangulum Solutions, LLC
   Managed IT / cybersecurity (b2b-it) · azure accent · Syne + Inter · light/glass
   Authored brand classes use the tri21- namespace. Colour/typography come from
   Site DNA tokens (var(--dna-*)) so the palette stays seeded + collision-free. */

:root {
    --nav-h: 74px;
    --maxw: 1180px;

    /* DNA fills these at runtime (data-dna-palette); fallbacks mirror the seed. */
    --dna-accent: hsl(215, 76%, 45%);
    --dna-accent-2: hsl(231, 71%, 51%);
    --dna-bg: hsl(228, 8%, 98%);
    --dna-surface: #ffffff;
    --dna-surface-2: hsl(228, 8%, 96%);
    --dna-ink: hsl(228, 24%, 12%);
    --dna-ink-soft: hsl(228, 14%, 38%);
    --dna-line: hsl(228, 14%, 88%);
    --dna-accent-ink: #ffffff;

    /* convenience aliases mapped onto DNA tokens */
    --ink: var(--dna-ink);
    --ink-soft: var(--dna-ink-soft);
    --line: var(--dna-line);
    --surface: var(--dna-surface-2);
    --white: var(--dna-surface);
    --navy: hsl(225, 38%, 13%);

    --radius: 18px;
    --radius-lg: 22px;
    --btn-radius: 18px;
    --section-pad: 96px;
    --shadow-sm: 0 1px 2px hsla(228, 30%, 20%, 0.06), 0 6px 18px hsla(228, 30%, 20%, 0.05);
    --shadow-md: 0 18px 48px hsla(228, 40%, 18%, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--dna-ink);
    background: var(--dna-bg);
    line-height: 1.65;
    font-size: 16.5px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Syne', system-ui, sans-serif;
    line-height: 1.1;
    letter-spacing: -0.018em;
    color: var(--dna-ink);
    font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); }
h3 { font-size: 1.22rem; }

p { color: var(--dna-ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--section-pad) 0; }

.kicker {
    font-family: 'Syne', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--dna-accent);
    margin-bottom: 14px;
}
.mono { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dna-ink-soft); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.tri21-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* ============ Scroll progress + reveal ============ */
.scroll-bar {
    position: fixed; top: 0; left: 0; height: 3px; width: 100%;
    transform: scaleX(0); transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--dna-accent), var(--dna-accent-2));
    z-index: 200; transition: transform 0.08s linear;
}
[data-reveal] {
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ============ Buttons ============ */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 24px; border-radius: var(--btn-radius);
    font-weight: 600; font-size: 0.92rem; cursor: pointer;
    border: 1.5px solid transparent; transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
    font-family: 'Inter', sans-serif;
}
.btn-solid {
    background: var(--dna-accent); color: var(--dna-accent-ink);
    box-shadow: 0 10px 24px hsla(215, 76%, 45%, 0.28);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 34px hsla(215, 76%, 45%, 0.34); }
.btn-line {
    background: transparent; color: var(--dna-ink); border-color: var(--dna-line);
}
.btn-line:hover { border-color: var(--dna-accent); color: var(--dna-accent); }
.btn-ghost { background: var(--dna-surface); color: var(--dna-ink); border-color: var(--dna-line); }
.btn-ghost:hover { border-color: var(--dna-accent); }

.link-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; color: var(--dna-accent); font-size: 0.92rem;
}
.link-arrow::after { content: '\2192'; transition: transform 0.2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ============ Header (centered DNA layout) ============ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    background: hsla(0, 0%, 100%, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.nav.is-stuck { border-color: var(--dna-line); box-shadow: var(--shadow-sm); background: hsla(0, 0%, 100%, 0.9); }
.nav-inner {
    max-width: var(--maxw); margin: 0 auto; height: 100%;
    padding: 0 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-icon { width: 38px; height: 38px; flex-shrink: 0; }
.brand-icon svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.06rem; letter-spacing: -0.01em; }
.brand-tag { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dna-ink-soft); }

.nav-menu { display: flex; gap: 30px; justify-content: center; }
.nav-menu a {
    font-size: 0.9rem; font-weight: 500; color: var(--dna-ink-soft);
    position: relative; padding: 6px 0; transition: color 0.2s;
}
.nav-menu a::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
    background: var(--dna-accent); transition: width 0.25s;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--dna-ink); }
.nav-menu a.active::after, .nav-menu a:hover::after { width: 100%; }
.nav-cta { justify-self: end; }

.burger { display: none; width: 44px; height: 44px; background: none; border: none; cursor: pointer; position: relative; justify-self: end; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--dna-ink); transition: transform 0.3s, opacity 0.2s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { bottom: 17px; }
.burger.active span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.active span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

.drawer {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
    background: var(--dna-surface); border-bottom: 1px solid var(--dna-line);
    padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 4px;
    transform: translateY(-120%); transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
    box-shadow: var(--shadow-md);
}
.drawer.open { transform: translateY(0); }
.drawer a { padding: 13px 4px; font-weight: 500; border-bottom: 1px solid var(--dna-line); }
.drawer a.btn { border: none; margin-top: 12px; justify-content: center; }

/* ============ Hero (split, image right) ============ */
.hero { position: relative; overflow: hidden; background: var(--dna-bg); }
.hero-grid-bg {
    position: absolute; inset: 0; opacity: 0.5;
    background-image:
        linear-gradient(var(--dna-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--dna-line) 1px, transparent 1px);
    background-size: 57px 57px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 0%, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 70% 0%, #000 30%, transparent 75%);
}
.hero-glow {
    position: absolute; top: -10%; right: -6%; width: 540px; height: 540px; border-radius: 50%;
    background: radial-gradient(circle, hsla(215,76%,55%,0.22), transparent 65%);
    filter: blur(8px); pointer-events: none;
}
.hero-inner {
    position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
    min-height: 594px;
    padding-top: calc(var(--nav-h) + 56px); padding-bottom: 64px;
}
.hero-copy { max-width: 580px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 span { color: var(--dna-accent); }
.hero-lead { font-size: 1.16rem; margin-bottom: 32px; max-width: 520px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong { font-family: 'Syne', sans-serif; font-size: 1.5rem; color: var(--dna-ink); }
.hero-stat span { font-size: 0.82rem; color: var(--dna-ink-soft); }

.hero-visual { position: relative; }
.hero-photo {
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--dna-line); box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3; background: var(--dna-surface-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
    position: absolute; bottom: -22px; left: -22px;
    background: var(--dna-surface); border: 1px solid var(--dna-line);
    border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-md);
}
.hero-badge strong { font-family: 'Syne', sans-serif; font-size: 1rem; display: block; }
.hero-badge .mono { margin-bottom: 3px; }

/* ============ Page hero (interior) ============ */
.page-hero {
    position: relative; overflow: hidden; background: var(--navy); color: #fff;
    padding: calc(var(--nav-h) + 72px) 0 72px;
}
.page-hero .hero-grid-bg { opacity: 0.16; -webkit-mask-image: none; mask-image: none; }
.page-hero .kicker { color: hsl(215, 80%, 72%); }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: hsla(0,0%,100%,0.78); max-width: 620px; margin-top: 16px; font-size: 1.08rem; }

/* ============ Cards ============ */
.tri21-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
    background: hsla(0,0%,100%,0.72); backdrop-filter: blur(12px);
    border: 1px solid hsla(0,0%,100%,0.6);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius); padding: 30px 26px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--dna-accent), var(--dna-accent-2));
    transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; margin-bottom: 16px; }
.service-icon {
    width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    background: hsla(215,76%,45%,0.1); color: var(--dna-accent);
}
.service-icon .dna-ic { width: 26px; height: 26px; }

/* ============ Case studies (authored) ============ */
.tri21-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.tri21-case {
    background: var(--dna-surface); border: 1px solid var(--dna-line);
    border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 14px;
}
.tri21-case-tag {
    font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--dna-accent);
}
.tri21-case h3 { font-size: 1.1rem; }
.tri21-case p { font-size: 0.95rem; }
.tri21-case-metric {
    margin-top: auto; padding-top: 16px; border-top: 1px solid var(--dna-line);
    display: flex; align-items: baseline; gap: 10px;
}
.tri21-case-metric b { font-family: 'Syne', sans-serif; font-size: 2rem; color: var(--dna-ink); line-height: 1; }
.tri21-case-metric span { font-size: 0.82rem; color: var(--dna-ink-soft); }

/* ============ About / split-image ============ */
.tri21-about { display: grid; grid-template-columns: 0.92fr 1fr; gap: 56px; align-items: center; }
.tri21-about-media { position: relative; }
.tri21-about-media img {
    width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--dna-line);
    box-shadow: var(--shadow-md); aspect-ratio: 5 / 6; object-fit: cover;
}
.tri21-about h2 { margin-bottom: 18px; }
.tri21-about p { margin-bottom: 16px; }
.tri21-founder { font-weight: 600; color: var(--dna-ink); }
.tri21-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; }
.tri21-pillar { display: flex; gap: 12px; align-items: flex-start; }
.tri21-pillar .dna-ic { color: var(--dna-accent); margin-top: 2px; }
.tri21-pillar strong { display: block; font-family: 'Syne', sans-serif; font-size: 0.98rem; }
.tri21-pillar span { font-size: 0.86rem; color: var(--dna-ink-soft); }

/* ============ Pricing ============ */
.tri21-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; align-items: stretch; }
.tri21-tier {
    background: var(--dna-surface); border: 1px solid var(--dna-line);
    border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
}
.tri21-tier.is-featured { border-color: var(--dna-accent); box-shadow: 0 22px 50px hsla(215,76%,45%,0.18); position: relative; }
.tri21-tier-flag {
    position: absolute; top: 18px; right: 18px; font-size: 0.66rem; letter-spacing: 0.14em;
    text-transform: uppercase; font-weight: 700; color: var(--dna-accent-ink);
    background: var(--dna-accent); padding: 5px 11px; border-radius: 100px;
}
.tri21-tier h3 { font-size: 1.25rem; margin-bottom: 6px; }
.tri21-tier-price { font-family: 'Syne', sans-serif; font-size: 2.1rem; color: var(--dna-ink); margin: 10px 0 4px; }
.tri21-tier-price small { font-size: 0.85rem; font-weight: 400; color: var(--dna-ink-soft); }
.tri21-tier-sub { font-size: 0.9rem; margin-bottom: 22px; }
.tri21-tier ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.tri21-tier li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--dna-ink-soft); align-items: flex-start; }
.tri21-tier li .dna-ic { color: var(--dna-accent); width: 1.1em; height: 1.1em; margin-top: 3px; flex-shrink: 0; }
.tri21-tier .btn { margin-top: auto; justify-content: center; }

/* ============ Process / steps ============ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.step-card {
    background: hsla(0,0%,100%,0.72); backdrop-filter: blur(12px);
    border: 1px solid hsla(0,0%,100%,0.6); box-shadow: var(--shadow-sm);
    border-radius: var(--radius); padding: 28px 24px;
}
.step-num { font-family: 'Syne', sans-serif; font-size: 0.78rem; letter-spacing: 0.12em; color: var(--dna-accent); margin-bottom: 12px; text-transform: uppercase; }
.step-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; }

/* ============ FAQ ============ */
.tri21-faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--dna-line); }
.faq-q {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 22px 40px 22px 0; font-family: 'Syne', sans-serif; font-weight: 600;
    font-size: 1.04rem; color: var(--dna-ink); position: relative;
}
.faq-q::after {
    content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    font-size: 1.5rem; color: var(--dna-accent); transition: transform 0.25s;
}
.faq-q[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding-bottom: 22px; font-size: 0.96rem; }

/* ============ Legal ============ */
.tri21-legal h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.tri21-legal h2:first-child { margin-top: 0; }
.tri21-legal p { margin-bottom: 8px; }
.tri21-legal a { color: var(--dna-accent); font-weight: 500; }

/* ============ Section tints ============ */
.tri21-tint { background: var(--dna-surface-2); }
.tri21-dark { background: var(--navy); color: #fff; }
.tri21-dark h2, .tri21-dark h3 { color: #fff; }
.tri21-dark p { color: hsla(0,0%,100%,0.76); }
.tri21-dark .step-card { background: hsla(0,0%,100%,0.05); border-color: hsla(0,0%,100%,0.12); backdrop-filter: none; }

/* ============ CTA band (bigcta footer style) ============ */
.cta-band {
    background: linear-gradient(135deg, var(--navy), hsl(218, 60%, 24%));
    color: #fff; text-align: center; padding: 84px 0; position: relative; overflow: hidden;
}
.cta-band::before {
    content: ''; position: absolute; inset: 0; opacity: 0.5;
    background: radial-gradient(circle at 80% 20%, hsla(215,76%,55%,0.35), transparent 55%);
}
.cta-band .container { position: relative; z-index: 1; max-width: 660px; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: hsla(0,0%,100%,0.82); margin-bottom: 28px; font-size: 1.08rem; }

/* ============ Services catalog (DNA tabs mode) ============ */
[data-services-catalog] { display: grid; gap: 22px; }
.service-detail {
    background: var(--dna-surface); border: 1px solid var(--dna-line);
    border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-sm);
}
.service-detail h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-detail > p { margin-bottom: 18px; }
.service-detail ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-detail li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--dna-ink-soft); align-items: flex-start; }
.service-detail li .dna-ic { color: var(--dna-accent); width: 1.1em; height: 1.1em; margin-top: 3px; flex-shrink: 0; }

/* ============ Contact ============ */
/* Our booking form is wide; DNA's split layouts (tuned for the narrow shared
   widget) otherwise drop it into the 320px track and crush it. Force the form
   into the large column on the booking-first (split-right) layout this domain
   seeds, and keep a safe fallback for the split-left variant. */
html.dna-contact-split-right [data-contact-root],
html.dna-contact-split-left [data-contact-root] {
    grid-template-columns: minmax(0, 1fr) minmax(248px, 300px);
}
html.dna-contact-split-right [data-contact-booking],
html.dna-contact-split-left [data-contact-booking] { order: -1; min-width: 0; }
html.dna-contact-split-right [data-contact-info],
html.dna-contact-split-left [data-contact-info] { order: 0; }
@media (max-width: 960px) {
    html.dna-contact-split-right [data-contact-root],
    html.dna-contact-split-left [data-contact-root] { grid-template-columns: 1fr; }
}

.contact-info {
    background: var(--dna-surface); border: 1px solid var(--dna-line);
    border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm);
}
.contact-info h3 { font-size: 1.12rem; margin-bottom: 20px; }
.contact-block { margin-bottom: 18px; }
.contact-block .mono { margin-bottom: 4px; }
.contact-block a { color: var(--dna-ink); font-weight: 500; }
.contact-block a:hover { color: var(--dna-accent); }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.hours-table td { padding: 4px 0; color: var(--dna-ink-soft); }
.hours-table td:last-child { text-align: right; color: var(--dna-ink); }

/* ============ Booking form (custom, data-booking-form) ============ */
.tri21-booking {
    background: var(--dna-surface); border: 1px solid var(--dna-line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden;
    display: grid; grid-template-columns: 232px minmax(0, 1fr); width: 100%;
}
.tri21-bk-side { background: var(--navy); color: #fff; padding: 30px 26px; }
.tri21-bk-side h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.tri21-bk-side > p { color: hsla(0,0%,100%,0.72); font-size: 0.88rem; margin-bottom: 26px; }
.tri21-bk-steps { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.tri21-bk-steps li {
    display: flex; gap: 12px; align-items: center; padding: 10px 0;
    font-size: 0.9rem; color: hsla(0,0%,100%,0.55); transition: color 0.2s;
}
.tri21-bk-steps li .n {
    width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 700; border: 1.5px solid hsla(0,0%,100%,0.25);
}
.tri21-bk-steps li.is-active { color: #fff; }
.tri21-bk-steps li.is-active .n { background: var(--dna-accent); border-color: var(--dna-accent); color: #fff; }
.tri21-bk-steps li.is-done .n { background: hsla(0,0%,100%,0.18); border-color: transparent; color: #fff; }
.tri21-bk-prov { margin-top: 28px; padding-top: 20px; border-top: 1px solid hsla(0,0%,100%,0.12); display: flex; gap: 12px; align-items: center; }
.tri21-bk-prov .av {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--dna-accent); color: #fff; font-family: 'Syne', sans-serif; font-weight: 700;
}
.tri21-bk-prov b { display: block; font-family: 'Syne', sans-serif; font-size: 0.92rem; }
.tri21-bk-prov span { font-size: 0.78rem; color: hsla(0,0%,100%,0.6); }

.tri21-bk-main { padding: 32px 30px; min-width: 0; }
.tri21-bk-panel { display: none; animation: triBkIn 0.3s ease; }
.tri21-bk-panel.is-active { display: block; }
@keyframes triBkIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tri21-bk-panel h4 { font-family: 'Syne', sans-serif; font-size: 1.18rem; margin-bottom: 4px; }
.tri21-bk-panel .lead { font-size: 0.9rem; color: var(--dna-ink-soft); margin-bottom: 22px; }

.tri21-opt {
    width: 100%; text-align: left; background: var(--dna-surface); cursor: pointer;
    border: 1.5px solid var(--dna-line); border-radius: var(--radius); padding: 16px 18px;
    margin-bottom: 12px; display: flex; gap: 14px; align-items: center; transition: border-color 0.2s, background 0.2s;
}
.tri21-opt:hover { border-color: var(--dna-accent); }
.tri21-opt.is-sel { border-color: var(--dna-accent); background: hsla(215,76%,45%,0.06); }
.tri21-opt .ic { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: hsla(215,76%,45%,0.1); color: var(--dna-accent); }
.tri21-opt .ic .dna-ic { width: 22px; height: 22px; }
.tri21-opt b { display: block; font-family: 'Syne', sans-serif; font-size: 0.98rem; }
.tri21-opt small { color: var(--dna-ink-soft); font-size: 0.84rem; }
.tri21-opt .dur { margin-left: auto; font-size: 0.78rem; font-weight: 600; color: var(--dna-accent); white-space: nowrap; }

.tri21-bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; margin-bottom: 18px; }
.tri21-chip {
    background: var(--dna-surface); border: 1.5px solid var(--dna-line); border-radius: 12px;
    padding: 10px 6px; text-align: center; cursor: pointer; font-size: 0.82rem; transition: border-color 0.2s, background 0.2s;
}
.tri21-chip:hover { border-color: var(--dna-accent); }
.tri21-chip.is-sel { border-color: var(--dna-accent); background: var(--dna-accent); color: #fff; }
.tri21-chip small { display: block; font-size: 0.68rem; opacity: 0.7; }

.tri21-field { margin-bottom: 16px; }
.tri21-field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 6px; color: var(--dna-ink); }
.tri21-field input, .tri21-field textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--dna-line); border-radius: 12px;
    font-family: inherit; font-size: 0.92rem; color: var(--dna-ink); background: var(--dna-surface); transition: border-color 0.2s;
}
.tri21-field input:focus, .tri21-field textarea:focus { outline: none; border-color: var(--dna-accent); }
.tri21-bk-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.tri21-bk-summary { background: var(--dna-surface-2); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: 0.86rem; }
.tri21-bk-summary span { color: var(--dna-ink-soft); }
.tri21-bk-summary b { color: var(--dna-ink); }
.tri21-bk-done { text-align: center; padding: 20px 0; }
.tri21-bk-done .tick { width: 64px; height: 64px; border-radius: 50%; background: hsla(215,76%,45%,0.12); color: var(--dna-accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.tri21-bk-done .tick .dna-ic { width: 32px; height: 32px; }

/* ============ Footer (bigcta) ============ */
.footer { background: var(--navy); color: hsla(0,0%,100%,0.7); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; font-size: 1.2rem; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 0.92rem; max-width: 320px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.92rem; color: hsla(0,0%,100%,0.7); transition: color 0.2s; }
.footer-links a:hover { color: var(--dna-accent); }
.footer-contact p { font-size: 0.92rem; margin-bottom: 8px; }
.footer-contact a { color: hsla(0,0%,100%,0.78); }
.footer-contact a:hover { color: var(--dna-accent); }
.footer-bottom {
    border-top: 1px solid hsla(0,0%,100%,0.12); padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
    font-size: 0.84rem; color: hsla(0,0%,100%,0.55); flex-wrap: wrap;
}
.footer-bottom a:hover { color: var(--dna-accent); }

/* ============ Responsive ============ */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; min-height: auto; }
    .hero-visual { order: -1; max-width: 480px; }
    .tri21-about { grid-template-columns: 1fr; gap: 36px; }
    .tri21-about-media img { aspect-ratio: 16 / 10; max-height: 360px; }
    .tri21-booking { grid-template-columns: 1fr; }
    .tri21-bk-side { display: flex; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    :root { --section-pad: 64px; }
    .nav-inner { grid-template-columns: auto 1fr; }
    .nav-menu, .nav-cta { display: none; }
    .burger { display: block; }
    .tri21-pillars { grid-template-columns: 1fr; }
    .service-detail ul { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero-badge { left: 0; }
}
