/* =========================================================
   Tawoos Al Noor — public site
   Palette taken from the logo: navy, peacock teal, emerald, gold, cream
   ========================================================= */
:root {
    --navy: #13294b;
    --navy-deep: #0b1a33;
    --teal: #0b6e8f;
    --green: #1e8f5a;
    --gold: #c9a24d;
    --gold-light: #e2c47e;
    --cream: #fbf7ee;
    --cream-dark: #f3ecdc;
    --white: #ffffff;
    --ink: #1c2434;
    --muted: #5d6676;
    --line: #e8e1d1;
    --wa: #25d366;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 10px 30px rgba(19, 41, 75, .10);
    --shadow-lg: 0 24px 60px rgba(11, 26, 51, .28);
    --ease: cubic-bezier(.2, .7, .2, 1);

    --font-display: 'Cinzel', Georgia, serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
[x-cloak] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .85em 1.6em;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 700; font-size: .95rem; letter-spacing: .01em;
    transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .55em 1.2em; font-size: .88rem; }
.btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-deep); box-shadow: 0 8px 20px rgba(201, 162, 77, .35); }
.btn--gold:hover { box-shadow: 0 12px 26px rgba(201, 162, 77, .5); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--teal); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1ebe5b; }

/* ---------- Shared bits ---------- */
.eyebrow {
    margin: 0 0 .6rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
    color: var(--teal);
}
.eyebrow--light { color: var(--gold-light); }
.divider {
    display: flex; align-items: center; justify-content: center; gap: .7rem;
    color: var(--gold); font-size: .7rem;
    max-width: 240px; margin: .9rem auto 1.4rem;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 2px; }
.divider::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider--left { margin-left: 0; max-width: 200px; }
.divider--left::before { flex: 0 0 0; }
.tag {
    display: inline-block;
    padding: .2em .75em;
    border-radius: 999px;
    background: rgba(11, 110, 143, .1);
    color: var(--teal);
    font-size: .75rem; font-weight: 700; letter-spacing: .02em;
    align-self: flex-start;
}
.badge {
    position: absolute; top: 12px;
    display: inline-flex; align-items: center; gap: .35em;
    padding: .3em .7em; border-radius: 999px;
    font-size: .72rem; font-weight: 700;
}
.badge--gold { left: 12px; background: var(--gold); color: var(--navy-deep); }
.badge--dark { right: 12px; background: rgba(11, 26, 51, .7); color: #fff; }

/* ---------- Navigation ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    transition: background .3s, box-shadow .3s, padding .3s;
    padding: 14px 0;
}
.nav--solid { background: rgba(11, 26, 51, .96); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); padding: 8px 0; backdrop-filter: blur(8px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--white); }
.brand img { width: 44px; height: 44px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .3)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: .04em; color: var(--white); }
.brand__tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a:not(.btn) { color: rgba(255, 255, 255, .85); font-weight: 600; font-size: .95rem; position: relative; }
.nav__links a:not(.btn)::after {
    content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px;
    background: var(--gold); transition: right .25s var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--white); }
.nav__links a:not(.btn):hover::after { right: 0; }
.nav__toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.4rem; padding: 6px 8px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    min-height: min(92vh, 820px);
    display: flex; align-items: center;
    padding: 130px 0 90px;
    color: var(--white);
    background:
        radial-gradient(ellipse at 85% 20%, rgba(30, 143, 90, .35), transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(11, 110, 143, .45), transparent 55%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero--image {
    background:
        linear-gradient(100deg, rgba(11, 26, 51, .95) 0%, rgba(19, 41, 75, .82) 45%, rgba(19, 41, 75, .45) 100%),
        var(--hero-image) center / cover no-repeat;
}
.hero::after { /* thin gold line at the bottom */
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero__emblem {
    position: absolute; right: -4%; top: 50%; transform: translateY(-46%);
    width: min(46vw, 560px); opacity: .22;
    filter: drop-shadow(0 0 40px rgba(201, 162, 77, .25));
    pointer-events: none;
    animation: float 9s ease-in-out infinite;
}
.hero--image .hero__emblem { opacity: .12; }
.hero__inner { position: relative; z-index: 1; }
.hero__title {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(2.1rem, 5.2vw, 3.9rem);
    max-width: 14ch; margin-bottom: 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .25);
}
.hero__subtitle { max-width: 54ch; font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255, 255, 255, .85); margin: 0 0 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__stats {
    display: flex; gap: 2.5rem; margin: 3rem 0 0; padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, .15); max-width: 520px;
}
.hero__stats div { display: flex; flex-direction: column-reverse; }
.hero__stats dt { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold-light); font-weight: 700; line-height: 1.1; }
.hero__stats dd { margin: 0; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }

@keyframes float { 0%, 100% { transform: translateY(-46%); } 50% { transform: translateY(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--navy {
    color: var(--white);
    background:
        radial-gradient(ellipse at 0% 0%, rgba(11, 110, 143, .35), transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(30, 143, 90, .25), transparent 50%),
        var(--navy);
}
.section__head { text-align: center; margin-bottom: 3rem; }
.section__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--navy); margin: 0; }
.section__title--light { color: var(--white); }
.section__lead { max-width: 60ch; margin: 0 auto; color: rgba(255, 255, 255, .8); }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.cat-card {
    display: flex; flex-direction: column;
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); color: var(--ink);
    box-shadow: var(--shadow);
    transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.cat-card__media {
    aspect-ratio: 16 / 9; overflow: hidden;
    display: grid; place-items: center;
    background: radial-gradient(circle at 50% 40%, #fff, var(--cream-dark));
}
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__media .cat-card__emblem { width: 96px; height: 96px; object-fit: contain; }
.cat-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.cat-card__body h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); }
.cat-card__body p { color: var(--muted); font-size: .92rem; margin: 0 0 1rem; }
.cat-card__count { margin-top: auto; font-weight: 700; font-size: .85rem; color: var(--teal); }
.cat-card__count i { transition: transform .2s; }
.cat-card:hover .cat-card__count i { transform: translateX(4px); }

/* ---------- Featured ---------- */
.featured-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.featured-card {
    text-align: left; color: var(--white);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(226, 196, 126, .25);
    border-radius: var(--radius); padding: 12px 12px 18px;
    display: flex; flex-direction: column; gap: .3rem;
    transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.featured-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .1); border-color: var(--gold); }
.featured-card__media { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--cream); display: grid; place-items: center; margin-bottom: .6rem; }
.featured-card__media img { width: 100%; height: 100%; object-fit: cover; }
.featured-card__cat { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); padding: 0 4px; }
.featured-card__name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; padding: 0 4px; }
.featured-card__link { font-size: .85rem; font-weight: 700; color: var(--gold-light); padding: 0 4px; margin-top: .3rem; }

.placeholder-emblem { width: 45% !important; height: auto !important; object-fit: contain !important; opacity: .85; }

/* ---------- Product toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
    border: 1.5px solid var(--line); background: var(--white); color: var(--navy);
    padding: .5em 1.05em; border-radius: 999px; font-weight: 600; font-size: .9rem;
    transition: all .2s;
}
.pill span { display: inline-block; min-width: 1.6em; margin-left: .3em; padding: 0 .45em; border-radius: 999px; background: var(--cream-dark); font-size: .75rem; }
.pill:hover { border-color: var(--gold); }
.pill.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pill.is-active span { background: var(--gold); color: var(--navy-deep); }
.search {
    display: flex; align-items: center; gap: .6rem;
    border: 1.5px solid var(--line); border-radius: 999px;
    padding: .55em 1.1em; min-width: min(300px, 100%);
    background: var(--white); color: var(--muted);
    transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 77, .18); }
.search input { border: 0; outline: 0; font: inherit; width: 100%; background: transparent; color: var(--ink); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.6rem; }
.product-card {
    display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: 0 2px 10px rgba(19, 41, 75, .05);
    transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.product-card__media {
    position: relative; display: grid; place-items: center;
    aspect-ratio: 1; padding: 0; border: 0; overflow: hidden;
    background: radial-gradient(circle at 50% 40%, #fff, var(--cream));
}
.product-card__media > img:not(.placeholder-emblem) { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card__media > img { transform: scale(1.05); }
.product-card__body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-card__name { font-size: 1.08rem; font-weight: 700; color: var(--navy); margin: .55rem 0 .35rem; }
.product-card__text {
    color: var(--muted); font-size: .9rem; margin: 0 0 1rem;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: .9rem; border-top: 1px dashed var(--line); }
.link-btn { background: none; border: 0; padding: 0; color: var(--teal); font-weight: 700; font-size: .9rem; }
.link-btn i { transition: transform .2s; }
.link-btn:hover i { transform: translateX(4px); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; transition: transform .2s; }
.icon-btn:hover { transform: scale(1.1); }
.icon-btn--wa { background: rgba(37, 211, 102, .12); color: #128c4a; }

.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty i { font-size: 2.4rem; color: var(--gold); margin-bottom: .6rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.about__text p { color: var(--muted); }
.about__text .btn { margin-top: 1rem; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.feature {
    background: var(--white); border-radius: var(--radius); padding: 1.6rem;
    border: 1px solid var(--line); box-shadow: var(--shadow);
    transition: transform .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--gold); }
.feature:nth-child(even) { transform: translateY(24px); }
.feature:nth-child(even):hover { transform: translateY(20px); }
.feature__icon {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--teal), var(--green)); color: #fff; font-size: 1.25rem;
    margin-bottom: 1rem; box-shadow: 0 8px 18px rgba(11, 110, 143, .3);
}
.feature h3 { font-size: 1.05rem; color: var(--navy); }
.feature p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Founders ---------- */
.founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 2rem; }
.founder {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 2.2rem 1.8rem; text-align: center;
    transition: transform .3s var(--ease), border-color .3s;
}
.founder:hover { transform: translateY(-6px); border-color: var(--gold); }
.founder__avatar {
    width: 120px; height: 120px; margin: 0 auto 1.2rem; border-radius: 50%; overflow: hidden;
    display: grid; place-items: center; padding: 4px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 10px 24px rgba(201, 162, 77, .35);
}
.founder__avatar img, .founder__avatar span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.founder__avatar span {
    display: grid; place-items: center; background: var(--navy); color: var(--gold-light);
    font-family: var(--font-display); font-size: 2.2rem; font-weight: 600;
}
.founder__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--navy); margin: 0 0 .25rem; }
.founder__role { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 700; margin: 0 0 1rem; }
.founder__bio { color: var(--muted); font-size: .92rem; margin: 0; }
.founder__link {
    display: inline-grid; place-items: center; width: 38px; height: 38px; margin-top: 1.2rem; border-radius: 50%;
    background: var(--cream-dark); color: var(--navy); transition: background .3s, color .3s;
}
.founder__link:hover { background: var(--navy); color: var(--gold-light); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: stretch; }
.contact--no-map { grid-template-columns: 1fr; max-width: 760px; margin: 0 auto; }
.contact--no-map .contact__cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact__cards { display: grid; gap: 1rem; align-content: start; }
.contact-card {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1.2rem 1.3rem; border-radius: var(--radius);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(226, 196, 126, .22);
    color: var(--white); transition: background .2s, border-color .2s, transform .2s;
}
a.contact-card:hover { background: rgba(255, 255, 255, .11); border-color: var(--gold); transform: translateX(4px); }
.contact-card > i {
    flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(201, 162, 77, .16); color: var(--gold-light); font-size: 1.1rem;
}
.contact-card--wa > i { background: var(--wa); color: #fff; font-size: 1.35rem; }
.contact-card span { display: flex; flex-direction: column; color: rgba(255, 255, 255, .85); font-size: .95rem; word-break: break-word; }
.contact-card strong { color: var(--white); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .15rem; }
.contact__map { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(226, 196, 126, .3); min-height: 340px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: saturate(.9); }
.muted-light { color: rgba(255, 255, 255, .7); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .75); border-top: 3px solid var(--gold); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.footer__brand { display: flex; align-items: center; gap: .9rem; }
.footer__brand > div { display: flex; flex-direction: column; }
.footer__tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__links a { color: rgba(255, 255, 255, .75); font-weight: 600; font-size: .92rem; }
.footer__links a:hover { color: var(--gold-light); }
.footer__social { display: flex; gap: .6rem; }
.footer__social a {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid rgba(226, 196, 126, .4); color: var(--gold-light); transition: all .2s;
}
.footer__social a:hover { background: var(--gold); color: var(--navy-deep); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.1rem 0; font-size: .82rem; text-align: center; }

.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 40;
    width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--wa); color: #fff; font-size: 1.85rem;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
    transition: transform .2s;
}
.wa-float::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid var(--wa); animation: pulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Product modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11, 26, 51, .72); backdrop-filter: blur(4px); }
.modal__panel {
    position: relative; width: min(1040px, 100%); max-height: calc(100vh - 48px);
    display: grid; grid-template-columns: 1.05fr 1fr;
    background: var(--white); border-radius: 18px; overflow: hidden;
    box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold);
    animation: pop .35s var(--ease);
}
@keyframes pop { from { transform: translateY(20px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__close {
    position: absolute; top: 12px; right: 12px; z-index: 3;
    width: 42px; height: 42px; border-radius: 50%; border: 0;
    background: var(--white); color: var(--navy); font-size: 1.2rem; box-shadow: var(--shadow);
}
.modal__close:hover { background: var(--navy); color: #fff; }
.modal__gallery { background: var(--cream); display: flex; flex-direction: column; min-height: 0; }
.gallery__main { position: relative; flex: 1; display: grid; place-items: center; min-height: 320px; overflow: hidden; }
.gallery__main > img { width: 100%; height: 100%; max-height: 72vh; object-fit: contain; }
.gallery__main > .placeholder-emblem { max-width: 220px; margin: 32px auto; }
.gallery__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .9); color: var(--navy); box-shadow: var(--shadow);
}
.gallery__nav:hover { background: var(--gold); }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__thumbs { display: flex; gap: .5rem; padding: .8rem; overflow-x: auto; background: var(--cream-dark); }
.gallery__thumb { flex: 0 0 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #fff; opacity: .65; transition: all .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { border-color: var(--gold); opacity: 1; }
.modal__info { padding: 2.2rem 2.2rem 1.8rem; overflow-y: auto; }
.modal__title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--navy); margin: .7rem 2.5rem .3rem 0; }
.modal__code { color: var(--muted); font-size: .88rem; margin: 0 0 .6rem; }
.modal__short { font-size: 1.02rem; color: var(--ink); }
.modal__heading {
    font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
    margin: 1.6rem 0 .7rem; display: flex; align-items: center; gap: .6rem;
}
.modal__heading::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.specs { width: 100%; border-collapse: collapse; font-size: .92rem; border-radius: var(--radius-sm); overflow: hidden; }
.specs th, .specs td { padding: .6rem .85rem; text-align: left; vertical-align: top; }
.specs th { width: 40%; color: var(--navy); font-weight: 700; }
.specs tr:nth-child(odd) { background: var(--cream); }
.rich-text { color: var(--muted); font-size: .95rem; }
.rich-text :is(h3, h4, h5) { color: var(--navy); font-size: 1rem; margin-top: 1rem; }
.rich-text ul, .rich-text ol { padding-left: 1.2rem; }
.rich-text table { width: 100%; border-collapse: collapse; }
.rich-text td, .rich-text th { border: 1px solid var(--line); padding: .4rem .6rem; }
.applications { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1rem; font-size: .93rem; }
.applications i { color: var(--green); margin-right: .35rem; }
.modal__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.feature:nth-child(even)[data-reveal].is-visible { transform: translateY(24px); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .about { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact { grid-template-columns: 1fr; }
    .modal__panel { grid-template-columns: 1fr; overflow-y: auto; }
    .modal__info { overflow: visible; }
    .gallery__main { min-height: 260px; }
    .gallery__main > img { max-height: 50vh; }
}
@media (max-width: 820px) {
    .nav__toggle { display: block; }
    .nav__links {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: rgba(11, 26, 51, .98); padding: .5rem 20px 1.2rem;
        border-top: 1px solid rgba(226, 196, 126, .25);
        display: none;
    }
    .nav__links.is-open { display: flex; }
    .nav__links a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .nav__links a:not(.btn)::after { display: none; }
    .nav__links .btn { margin-top: 1rem; }
    .hero__emblem { width: 80vw; right: -25%; opacity: .14; }
}
@media (max-width: 600px) {
    .section { padding: 68px 0; }
    .container { padding: 0 16px; }
    .brand__tag { display: none; }
    .hero { padding: 110px 0 70px; min-height: auto; }
    .hero__actions .btn { flex: 1 1 100%; }
    .hero__stats { gap: 1.6rem; }
    .toolbar { flex-direction: column; align-items: stretch; }
    .pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
    .pill { flex: 0 0 auto; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: .9rem; }
    .product-card__body { padding: .8rem .85rem .9rem; }
    .product-card__name { font-size: .95rem; }
    .product-card__text { display: none; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature:nth-child(even), .feature:nth-child(even)[data-reveal].is-visible { transform: none; }
    .modal { padding: 0; align-items: end; }
    .modal__panel { max-height: 94vh; border-radius: 18px 18px 0 0; }
    .modal__info { padding: 1.5rem 1.2rem 1.6rem; }
    .applications { grid-template-columns: 1fr; }
    .modal__actions .btn { flex: 1 1 100%; }
    .footer__inner { flex-direction: column; text-align: center; }
    .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
