/* ==========================================================================
   Yong Quan Roller Shutter Engineering — Corporate Design System v2
   Bright corporate: brand red + white + navy, gold accent. Static, no framework.
   --------------------------------------------------------------------------
   1 Tokens · 2 Base · 3 Type · 4 Layout · 5 Buttons · 6 Top bar & header
   7 Hero slider · 8 Page banner · 9 Home sections · 10 Cards · 11 Inner pages
   12 Gallery & lightbox · 13 FAQ · 14 Forms & contact · 15 CTA & footer
   16 Floating actions · 17 Animations · 18 Utilities
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
    --red: #C8161D;
    --red-dark: #A0101A;
    --red-deep: #7E0C12;
    --red-soft: #FDF0F0;
    --navy: #14294A;
    --navy-dark: #0E1F3A;
    --gold: #D4A537;
    --gold-soft: #FBF5E6;
    --text: #1E2733;
    --muted: #5B6573;
    --line: #E4E7EC;
    --bg: #FFFFFF;
    --bg-soft: #F5F6F8;
    --bg-warm: #FAF7F2;
    --wa: #25D366;

    --color-primary: var(--red);
    --color-accent: var(--gold);
    --color-bg: var(--bg);
    --color-surface: #fff;
    --color-text: var(--text);
    --color-muted: var(--muted);
    --color-border: var(--line);

    --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

    --shadow-sm: 0 2px 8px rgba(20, 41, 74, .06);
    --shadow: 0 10px 30px rgba(20, 41, 74, .10);
    --shadow-lg: 0 24px 50px rgba(20, 41, 74, .16);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --container-width: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --section-y: clamp(64px, 7vw, 110px);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. BASE =================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--red); color: #fff; padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

/* 3. TYPE =================================================================== */
h1, h2, h3, h4, .h1, .h2, .h3 { font-family: var(--font-head); color: var(--navy); font-weight: 700; line-height: 1.22; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); }
h2, .h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); color: var(--muted); }
.muted { color: var(--muted); }
.text-red { color: var(--red); }
.prose p + p { margin-top: 1em; }
.prose { color: var(--muted); }
.prose strong { color: var(--text); }

.subtitle { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.subtitle::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--red) 60%, var(--gold) 60%); }
.sec-title { margin-bottom: clamp(36px, 4vw, 56px); display: grid; gap: 14px; }
.sec-title h2 { max-width: 22ch; }
.sec-title .lead { max-width: 62ch; }
.sec-title--center { text-align: center; justify-items: center; }
.sec-title--center h2 { max-width: 26ch; }
.sec-title--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 960px) { .sec-title--split { grid-template-columns: 1.1fr 1fr; gap: 40px; } }
.on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .lead, .on-dark p { color: rgba(255, 255, 255, .82); }
.on-dark .subtitle { color: #fff; }

/* 4. LAYOUT ================================================================= */
.container { width: 100%; max-width: calc(var(--container-width) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }
.section--tight { padding-block: calc(var(--section-y) * .65); }
.grid-2 { display: grid; gap: clamp(32px, 5vw, 70px); align-items: center; }
@media (min-width: 960px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.with-sidebar { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .with-sidebar { grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; } }

/* 5. BUTTONS ================================================================ */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .01em; border: 2px solid transparent; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s; white-space: nowrap; }
.btn .i { font-size: 1.15em; transition: transform .3s var(--ease); }
.btn:hover .i--arrow { transform: translateX(4px); }
.btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none; }
.btn:hover::after { left: 130%; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(200, 22, 29, .6); }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn--outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--outline-white { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--red); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1DB954; transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--red); }
.link-more .i { transition: transform .3s var(--ease); }
.link-more:hover .i { transform: translateX(5px); }

/* 6. TOP BAR & HEADER ======================================================= */
.topbar { background: var(--red); color: #fff; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; }
.topbar ul { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; opacity: .95; }
.topbar a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.topbar .i { font-size: 15px; color: #FFE3A3; }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a { width: 30px; height: 30px; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.topbar__social a:hover { background: #fff; color: var(--red); text-decoration: none; }
.topbar__social .i { color: inherit; }
@media (max-width: 959px) { .topbar__addr { display: none !important; } .topbar__social { display: none !important; } .topbar ul { justify-content: center; width: 100%; } }
@media (max-width: 480px) { .topbar__mail { display: none !important; } }

.site-header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(20, 41, 74, .10); }
.site-header .container { display: flex; align-items: center; gap: 18px; height: 86px; transition: height .3s var(--ease); }
.site-header.is-scrolled .container { height: 72px; }
.logo { display: block; margin-right: auto; flex: none; }
.logo img { height: 44px; width: auto; transition: height .3s var(--ease); }
.site-header.is-scrolled .logo img { height: 38px; }
@media (min-width: 1200px) and (max-width: 1399px) { .logo img { height: 38px; } .site-header.is-scrolled .logo img { height: 34px; } }
@media (max-width: 480px) { .logo img { height: 36px; } .site-header .container { height: 70px; } }

.nav { display: none; }
@media (min-width: 1200px) { .nav { display: flex; align-items: center; height: 100%; } }
.nav__item { position: relative; height: 100%; display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 11px; font-family: var(--font-head); font-weight: 500; font-size: .93rem; color: var(--navy); position: relative; white-space: nowrap; }
@media (min-width: 1400px) { .nav__link { padding: 8px 14px; font-size: .96rem; } }
.nav__link::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__link:hover, .nav__item.is-current > .nav__link, .nav__link[aria-current="page"] { color: var(--red); }
.nav__link:hover::after, .nav__item.is-current > .nav__link::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link .i { font-size: 13px; transition: transform .3s; }
.nav__item.is-open .nav__link .i { transform: rotate(180deg); }
@media (hover: hover) { .nav__item:hover .nav__link .i { transform: rotate(180deg); } }
.dropdown { position: absolute; top: calc(100% - 12px); left: 0; min-width: 280px; background: #fff; border-radius: var(--radius-md); border-top: 3px solid var(--red); box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
.nav__item.is-open .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) { .nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; } }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: .93rem; font-weight: 500; color: var(--text); }
.dropdown a .i { color: var(--red); font-size: 16px; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--red-soft); color: var(--red); }
.dropdown__head { display: block; padding: 8px 12px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dropdown--mega { width: 580px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.dropdown--mega .dropdown__all { grid-column: 1 / -1; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0; padding-top: 14px; color: var(--red); font-weight: 600; }

.header-call { display: none; align-items: center; gap: 12px; }
/* The header phone block is not shown in the header (the phone is already in the red top bar);
   the class is reused elsewhere with an inline display. */
.site-header .header-call { display: none !important; }
.header-call strong, .header-call small { white-space: nowrap; }
.header-call__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-size: 20px; }
.header-call small { display: block; font-size: .75rem; color: var(--muted); line-height: 1.2; }
.header-call strong { font-family: var(--font-head); font-size: 1rem; color: var(--navy); line-height: 1.3; }
.header-cta { display: none; flex: none; }
.site-header .btn, .menu-toggle { flex-shrink: 0; }
@media (min-width: 720px) { .header-cta { display: inline-flex; } }

.menu-toggle { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--red); color: #fff; display: grid; place-items: center; }
.menu-toggle .i { font-size: 22px; }
@media (min-width: 1200px) { .menu-toggle { display: none; } }

.mobile-nav { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s .4s; }
.mobile-nav__backdrop { position: absolute; inset: 0; background: rgba(14, 31, 58, .55); opacity: 0; transition: opacity .35s; }
.mobile-nav__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; overflow-y: auto; }
body.menu-open .mobile-nav { visibility: visible; transition-delay: 0s; }
body.menu-open .mobile-nav__backdrop { opacity: 1; }
body.menu-open .mobile-nav__panel { transform: none; }
body.menu-open { overflow: hidden; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 3px solid var(--red); }
.mobile-nav__head img { height: 32px; width: auto; }
.mobile-nav__close { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-size: 20px; color: var(--navy); }
.mobile-nav .mobile-nav__list { padding: 10px 22px; }
.mobile-nav__list > li { border-bottom: 1px solid var(--line); }
.mobile-nav__link { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--navy); text-align: left; }
.mobile-nav__link .i { color: var(--red); transition: transform .3s; }
.mobile-nav__link[aria-expanded="true"] .i { transform: rotate(180deg); }
.mobile-nav__sub { padding: 0 0 12px 12px; display: grid; gap: 2px; }
.mobile-nav__sub[hidden] { display: none; }
.mobile-nav__sub a { padding: 8px 12px; border-left: 3px solid var(--line); color: var(--muted); font-size: .95rem; }
.mobile-nav__sub a:hover { border-color: var(--red); color: var(--red); }
.mobile-nav__foot { margin-top: auto; padding: 20px; background: var(--bg-soft); display: grid; gap: 12px; font-size: .92rem; }
.mobile-nav__foot a { display: flex; align-items: center; gap: 10px; }
.mobile-nav__foot .i { color: var(--red); }

/* 7. HERO SLIDER ============================================================ */
.hero { position: relative; height: clamp(560px, 84vh, 800px); overflow: hidden; background: var(--navy-dark); color: #fff; }
@media (max-width: 700px) { .hero { height: 640px; } }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease), visibility 0s; z-index: 1; }
.hero__slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-active > img { animation: kenburns 8s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(14, 31, 58, .93) 0%, rgba(14, 31, 58, .74) 42%, rgba(14, 31, 58, .12) 80%), linear-gradient(0deg, rgba(14, 31, 58, .55), transparent 35%); }
@media (max-width: 700px) { .hero__slide::after { background: linear-gradient(180deg, rgba(14, 31, 58, .45), rgba(14, 31, 58, .9) 58%); } }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-bottom: 60px; }
@media (max-width: 700px) { .hero__content { align-items: flex-end; padding-bottom: 110px; } }
.hero__inner { max-width: 680px; }
.hero__tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 40px; background: var(--red); font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
.hero__tag .i { color: #FFE3A3; }
.hero__title { margin-top: 20px; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.75rem); line-height: 1.14; color: #fff; letter-spacing: -.015em; }
.hero__title span { color: #FFD479; }
.hero__text { margin-top: 18px; font-size: clamp(1rem, .95rem + .3vw, 1.2rem); color: rgba(255, 255, 255, .88); max-width: 54ch; }
.hero .btn-row { margin-top: 32px; }
.hero__slide .hero__tag, .hero__slide .hero__title, .hero__slide .hero__text, .hero__slide .btn-row { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero__slide.is-active .hero__tag { opacity: 1; transform: none; transition-delay: .3s; }
.hero__slide.is-active .hero__title { opacity: 1; transform: none; transition-delay: .45s; }
.hero__slide.is-active .hero__text { opacity: 1; transform: none; transition-delay: .6s; }
.hero__slide.is-active .btn-row { opacity: 1; transform: none; transition-delay: .75s; }
.hero__controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 96px; }
@media (max-width: 700px) { .hero__controls { bottom: 60px; } }
.hero__controls .container { display: flex; align-items: center; gap: 18px; }
.hero__dots { display: flex; gap: 10px; }
.hero__dot { width: 12px; height: 12px; border-radius: 12px; background: rgba(255, 255, 255, .45); transition: width .4s var(--ease), background .3s; }
.hero__dot[aria-current="true"] { width: 36px; background: var(--red); }
.hero__arrows { display: flex; gap: 8px; margin-left: auto; }
.hero__arrow { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); display: grid; place-items: center; color: #fff; font-size: 20px; transition: background .3s, border-color .3s; }
.hero__arrow:hover { background: var(--red); border-color: var(--red); }
.hero__progress { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; z-index: 5; background: rgba(255, 255, 255, .15); }
.hero__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--gold)); }
.hero__progress.is-running span { animation: heroprogress 6.5s linear forwards; }
@keyframes heroprogress { to { width: 100%; } }
@media (max-width: 700px) { .hero__arrows { display: none; } }

/* Feature boxes overlapping the hero */
.features-bar { position: relative; z-index: 6; margin-top: -70px; }
@media (max-width: 700px) { .features-bar { margin-top: -36px; } }
.features-bar__grid { display: grid; grid-template-columns: repeat(2, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
@media (min-width: 960px) { .features-bar__grid { grid-template-columns: repeat(4, 1fr); } }
.fbox { padding: clamp(18px, 2.4vw, 30px); display: flex; gap: 16px; align-items: flex-start; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; position: relative; }
.fbox::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.fbox:hover { background: var(--red-soft); }
.fbox:hover::before { transform: scaleX(1); }
.fbox__icon { width: 56px; height: 56px; flex: none; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; font-size: 26px; box-shadow: 0 8px 16px -6px rgba(200, 22, 29, .55); }
.fbox h3 { font-size: 1.05rem; margin-bottom: 4px; }
.fbox p { font-size: .88rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 520px) { .fbox { flex-direction: column; gap: 10px; } .fbox__icon { width: 46px; height: 46px; font-size: 22px; } .fbox h3 { font-size: .98rem; } .fbox p { font-size: .83rem; } }

/* 8. PAGE BANNER ============================================================ */
.banner { position: relative; overflow: hidden; background: var(--navy-dark); color: #fff; padding: clamp(64px, 8vw, 120px) 0 clamp(56px, 7vw, 96px); isolation: isolate; }
.banner picture { position: absolute; inset: 0; z-index: -2; }
.banner picture img { width: 100%; height: 100%; object-fit: cover; animation: bannerzoom 9s var(--ease) forwards; }
@keyframes bannerzoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14, 31, 58, .93) 0%, rgba(14, 31, 58, .76) 50%, rgba(160, 16, 26, .5) 100%); }
.banner h1 { color: #fff; max-width: 24ch; }
.banner .lead { color: rgba(255, 255, 255, .88); margin-top: 14px; max-width: 62ch; }
.banner .btn-row { margin-top: 26px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: #FFD479; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--gold); }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }

/* 9. HOME SECTIONS ========================================================== */
.about-media { position: relative; padding: 0 0 60px 0; }
@media (min-width: 960px) { .about-media { padding: 0 60px 60px 0; } }
.about-media__main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.1; }
.about-media__main img { width: 100%; height: 100%; object-fit: cover; }
.about-media__sub { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: var(--radius-md); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 1; }
.about-media__sub img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; left: 12px; bottom: 90px; background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; border-radius: var(--radius-md); padding: 18px 22px; box-shadow: var(--shadow-lg); text-align: center; min-width: 150px; }
@media (min-width: 1200px) { .about-badge { left: -28px; } }
.about-badge strong { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.about-badge strong sup { font-size: .5em; color: #FFD479; }
.about-badge > span { font-size: .85rem; line-height: 1.3; display: block; margin-top: 6px; }
.checks { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 600px) { .checks--2 { grid-template-columns: 1fr 1fr; } }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks .tick { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 13px; margin-top: 2px; }

/* Stats band */
.stats { position: relative; color: #fff; isolation: isolate; padding-block: clamp(56px, 6vw, 90px); overflow: hidden; }
.stats > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.stats::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(160, 16, 26, .95), rgba(200, 22, 29, .88) 50%, rgba(126, 12, 18, .93)); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
@media (min-width: 960px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 10px; position: relative; }
@media (min-width: 960px) { .stat + .stat::before { content: ""; position: absolute; left: -10px; top: 15%; height: 70%; width: 1px; background: rgba(255, 255, 255, .25); } }
.stat__icon { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); display: grid; place-items: center; font-size: 26px; color: #FFD479; }
.stat__num { font-family: var(--font-head); font-size: clamp(2.3rem, 1.8rem + 2vw, 3.3rem); font-weight: 700; line-height: 1; }
.stat__num sup { font-size: .5em; color: #FFD479; }
.stat__label { margin-top: 8px; font-size: .95rem; color: rgba(255, 255, 255, .9); }

/* Why us */
.why-list { display: grid; gap: 22px; margin-top: 32px; }
@media (min-width: 600px) { .why-list { grid-template-columns: 1fr 1fr; } }
.why-item { display: flex; gap: 16px; }
.why-item__icon { width: 54px; height: 54px; flex: none; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 24px; transition: background .3s, color .3s, transform .5s var(--ease); }
.why-item:hover .why-item__icon { background: var(--red); color: #fff; transform: rotateY(180deg); }
.why-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.why-item p { color: var(--muted); font-size: .92rem; line-height: 1.6; }
.why-media { position: relative; isolation: isolate; margin-right: 18px; }
.why-media__img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; }
.why-media__img img { width: 100%; height: 100%; object-fit: cover; }
.why-media::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; border: 3px solid var(--red); border-radius: var(--radius-lg); z-index: -1; }
.why-media__card { position: absolute; left: 12px; bottom: 30px; background: #fff; border-radius: var(--radius-md); padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; max-width: 300px; }
@media (min-width: 1200px) { .why-media__card { left: -40px; } }
.why-media__card .i { font-size: 34px; color: var(--red); }
.why-media__card strong { display: block; font-family: var(--font-head); color: var(--navy); line-height: 1.3; }
.why-media__card span { font-size: .85rem; color: var(--muted); }

/* Process */
.process { display: grid; gap: 30px; }
@media (min-width: 700px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(6, 1fr); gap: 18px; } }
.step { position: relative; text-align: center; padding: 0 6px; }
.step__num { position: relative; z-index: 1; width: 78px; height: 78px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 2px dashed rgba(200, 22, 29, .5); display: grid; place-items: center; }
.step__num span { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; font-size: 24px; transition: transform .4s var(--ease); }
.step:hover .step__num span { transform: scale(1.1); }
.step__n { display: block; font-family: var(--font-head); font-weight: 700; color: var(--red); font-size: .85rem; letter-spacing: .06em; margin-bottom: 4px; }
@media (min-width: 1100px) { .step:not(:last-child)::after { content: ""; position: absolute; top: 39px; left: calc(50% + 46px); width: calc(100% - 74px); border-top: 2px dashed #DCC7C7; } }
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* 10. CARDS ================================================================= */
.cards { display: grid; gap: 26px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.08); }
.pcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(160, 16, 26, .55)); opacity: 0; transition: opacity .4s; }
.pcard:hover .pcard__img::after { opacity: 1; }
.pcard__badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .75rem; padding: 5px 12px; border-radius: 30px; }
.pcard__badge--navy { background: var(--navy); }
.pcard__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__body h3 { font-size: 1.15rem; transition: color .3s; }
.pcard:hover .pcard__body h3 { color: var(--red); }
.pcard__body p { font-size: .92rem; color: var(--muted); line-height: 1.6; }
.pcard__body .link-more { margin-top: auto; padding-top: 6px; }
.pcard__cover::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.pcard--help { background: linear-gradient(150deg, var(--navy), var(--navy-dark)); color: #fff; justify-content: center; padding: 30px; border: 0; }
.pcard--help h3 { color: #fff; font-size: 1.35rem; }
.pcard--help p { color: rgba(255, 255, 255, .82); margin: 10px 0 22px; font-size: .95rem; }
.pcard--help .i--big { font-size: 44px; color: #FFD479; margin-bottom: 14px; }
.pcard--help .btn + .btn { margin-top: 10px; }

.tiles { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 960px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; isolation: isolate; color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 31, 58, .05) 30%, rgba(14, 31, 58, .9)); transition: opacity .4s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(160, 16, 26, .2), rgba(160, 16, 26, .92)); opacity: 0; transition: opacity .4s; }
.tile:hover img { transform: scale(1.08); }
.tile:hover::before { opacity: 1; }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(14px, 2vw, 24px); }
.tile__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--red); display: grid; place-items: center; font-size: 22px; margin-bottom: 10px; transition: background .3s, color .3s; }
.tile:hover .tile__icon { background: #fff; color: var(--red); }
.tile h3 { color: #fff; font-size: clamp(.98rem, .9rem + .4vw, 1.2rem); }
.tile p { font-size: .85rem; color: rgba(255, 255, 255, .88); margin-top: 4px; display: none; }
@media (min-width: 700px) { .tile p { display: block; } }

.svc-cards { display: grid; gap: 26px; }
@media (min-width: 1024px) { .svc-cards { grid-template-columns: 1fr 1fr; } }
.svc-card { display: grid; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .svc-card { grid-template-columns: .9fr 1.1fr; } }
.svc-card__img { position: relative; min-height: 240px; overflow: hidden; }
.svc-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-card:hover .svc-card__img img { transform: scale(1.06); }
.svc-card__body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.svc-card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 28px; }
.svc-card__body p { color: var(--muted); font-size: .94rem; }
.svc-card__body .checks { font-size: .9rem; gap: 8px; }
.svc-card__body .checks .tick { width: 20px; height: 20px; font-size: 11px; }

/* 11. INNER PAGES =========================================================== */
.intro-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.intro-media img { width: 100%; height: 100%; object-fit: cover; }
.intro-media__tag { position: absolute; left: 16px; bottom: 16px; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: 7px 14px; border-radius: 30px; }
.keyfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 26px 0; }
.keyfact { background: var(--bg-soft); border-radius: var(--radius-md); padding: 14px 18px; border-left: 4px solid var(--red); }
.keyfact dt { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.keyfact dd { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.02rem; margin-top: 2px; }
.block { margin-top: clamp(44px, 5vw, 64px); }
.block > h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.block > h2::before { content: ""; width: 6px; height: 1.1em; border-radius: 4px; background: linear-gradient(180deg, var(--red) 65%, var(--gold) 65%); flex: none; }
.block > .lead { margin: -8px 0 20px; font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 40px; background: var(--red-soft); color: var(--red-dark); font-weight: 600; font-size: .9rem; }
.spec { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); font-size: .95rem; }
.spec th, .spec td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 30%; background: var(--bg-soft); font-family: var(--font-head); font-weight: 600; color: var(--navy); border-right: 1px solid var(--line); }
.spec tr:nth-child(even) td { background: #FCFCFD; }
.spec .mono { font-weight: 700; color: var(--red-dark); white-space: nowrap; }
.spec .note { color: var(--muted); font-style: italic; }
@media (max-width: 600px) { .spec th, .spec td { display: block; width: 100%; border-right: 0; } .spec th { border-bottom: 0; padding-bottom: 6px; } }
.drawings { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.drawing { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 14px; display: grid; gap: 10px; cursor: zoom-in; text-align: center; transition: box-shadow .3s, border-color .3s, transform .3s var(--ease); }
.drawing:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-4px); }
.drawing img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.drawing figcaption { font-size: .85rem; font-weight: 600; color: var(--navy); }
.feature-list { display: grid; gap: 16px; }
@media (min-width: 700px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature__icon { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 22px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .92rem; line-height: 1.6; }
.series { display: grid; gap: 18px; }
@media (min-width: 700px) { .series { grid-template-columns: 1fr 1fr; } }
.series__card { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: start; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); transition: box-shadow .3s; }
.series__card:hover { box-shadow: var(--shadow); }
.series__card img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--bg-soft); border-radius: var(--radius-sm); }
.series__card h3 { font-size: 1.05rem; }
.series__card .chips { margin: 8px 0; gap: 6px; }
.series__card .chips li { font-size: .76rem; padding: 4px 10px; }
.series__card p { font-size: .88rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 420px) { .series__card { grid-template-columns: 1fr; } .series__card img { max-width: 160px; } }
.videos { display: grid; gap: 18px; }
@media (min-width: 700px) { .videos { grid-template-columns: 1fr 1fr; } }
.videos video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-md); }
.videos figcaption { margin-top: 8px; font-size: .88rem; color: var(--muted); }
.stepper { display: grid; gap: 14px; }
.stepper__stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); }
.stepper__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.stepper__stage img.is-active { opacity: 1; }
.stepper__readout { position: absolute; left: 14px; top: 14px; z-index: 2; background: var(--red); color: #fff; padding: 6px 14px; border-radius: 30px; font-family: var(--font-head); font-weight: 600; font-size: .85rem; }
.stepper__controls { display: flex; gap: 8px; flex-wrap: wrap; }
.stepper__controls button { flex: 1; min-width: 60px; min-height: 46px; border-radius: var(--radius-sm); border: 2px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--navy); transition: all .3s; }
.stepper__controls button:hover { border-color: var(--red); color: var(--red); }
.stepper__controls button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }

.sidebar { display: grid; gap: 24px; }
@media (min-width: 1024px) { .sidebar { position: sticky; top: 100px; } }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.side-box__head { background: var(--navy); color: #fff; padding: 16px 22px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; border-bottom: 3px solid var(--red); }
.side-links { padding: 8px; }
.side-links a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--radius-sm); font-weight: 500; font-size: .94rem; transition: background .25s, color .25s, padding .25s; }
.side-links a .i { color: var(--muted); font-size: 16px; }
.side-links a:hover { background: var(--red-soft); color: var(--red); padding-left: 18px; }
.side-links a[aria-current="page"] { background: var(--red); color: #fff; }
.side-links a[aria-current="page"] .i { color: #fff; }
.side-help { background: linear-gradient(150deg, var(--red), var(--red-deep)); color: #fff; border-radius: var(--radius-lg); padding: 28px 24px; text-align: center; position: relative; overflow: hidden; }
.side-help::after { content: ""; position: absolute; right: -24px; bottom: -20px; width: 150px; height: 88px; background: url("../images/brand/yong-quan-seal-white.png") center / contain no-repeat; opacity: .13; }
.side-help .i--big { font-size: 40px; color: #FFD479; margin: 0 auto 12px; }
.side-help h3 { color: #fff; font-size: 1.2rem; }
.side-help p { color: rgba(255, 255, 255, .9); font-size: .92rem; margin: 8px 0 14px; }
.side-help .phone { display: block; font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.side-help .btn { width: 100%; position: relative; z-index: 1; }
.side-help .btn + .btn { margin-top: 10px; }

.related { display: grid; gap: 20px; }
@media (min-width: 640px) { .related { grid-template-columns: repeat(3, 1fr); } }
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.compare { width: 100%; min-width: 880px; border-collapse: collapse; font-size: .93rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .9rem; }
.compare thead th:first-child { background: var(--red); }
.compare tbody th { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.compare tbody th a:hover { color: var(--red); }
.compare td { color: var(--muted); }
.compare tbody tr:nth-child(even) { background: var(--bg-soft); }
.note { font-size: .88rem; color: var(--muted); }

.sector { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(40px, 5vw, 70px); border-bottom: 1px solid var(--line); }
.sector:last-child { border-bottom: 0; }
@media (min-width: 960px) { .sector { grid-template-columns: 1fr 1fr; } .sector:nth-child(even) .sector__media { order: 2; } }
.sector__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.sector__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sector__media:hover img { transform: scale(1.05); }
.sector__num { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--red); color: #fff; font-size: 26px; margin-bottom: 14px; }
.sector h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-bottom: 18px; }
.sector__rows { display: grid; gap: 12px; margin-bottom: 20px; }
.sector__rows div { background: var(--bg-soft); border-radius: var(--radius-md); padding: 12px 16px; }
.sector__rows dt { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.sector__rows dd { color: var(--text); font-size: .95rem; margin-top: 2px; }
.sector__rows a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.jump a { padding: 10px 18px; border-radius: 40px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--navy); box-shadow: var(--shadow-sm); transition: all .3s; }
.jump a:hover { background: var(--red); color: #fff; border-color: var(--red); }

.timeline { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.timeline li { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm); }
.timeline__icon { width: 50px; height: 50px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; display: grid; place-items: center; font-size: 22px; }
.timeline small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--red); }
.timeline h3 { font-size: 1.08rem; margin: 2px 0 4px; }
.timeline p { color: var(--muted); font-size: .93rem; }

.values { display: grid; gap: 20px; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { background: #fff; border-radius: var(--radius-lg); padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm); border-bottom: 4px solid var(--red); transition: transform .4s var(--ease), box-shadow .4s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value__icon { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; background: var(--gold-soft); color: var(--red); display: grid; place-items: center; font-size: 30px; }
.value p { color: var(--muted); font-size: .92rem; margin-top: 6px; }

.partners { display: grid; gap: 20px; }
@media (min-width: 800px) { .partners { grid-template-columns: repeat(3, 1fr); } }
.partner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); border-top: 4px solid var(--red); }
.partner__years { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--red); line-height: 1; }
.partner__years sup { font-size: .5em; color: var(--gold); }
.partner h3 { margin: 10px 0 6px; }
.partner p { color: var(--muted); font-size: .93rem; }

/* 12. GALLERY & LIGHTBOX ==================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter { padding: 10px 20px; border-radius: 40px; border: 1px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--navy); transition: all .3s; }
.filter:hover { border-color: var(--red); color: var(--red); }
.filter[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 8px 18px -8px rgba(200, 22, 29, .7); }
.filter sup { margin-left: 3px; font-size: .7em; }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gallery--4 { grid-template-columns: repeat(4, 1fr); } }
.g-item { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-md); cursor: zoom-in; background: var(--bg-soft); text-align: left; }
.g-item[hidden] { display: none; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(160, 16, 26, .1), rgba(160, 16, 26, .82)); opacity: 0; transition: opacity .4s; }
.g-item:hover img { transform: scale(1.1); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item__zoom { position: absolute; top: 50%; left: 50%; z-index: 2; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; font-size: 22px; transform: scale(0); transition: transform .4s var(--ease); }
.g-item:hover .g-item__zoom, .g-item:focus-visible .g-item__zoom { transform: scale(1); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px; color: #fff; font-size: .88rem; font-weight: 600; line-height: 1.35; transform: translateY(110%); transition: transform .4s var(--ease); }
.g-item:hover figcaption, .g-item:focus-visible figcaption { transform: none; }
.g-item figcaption small { display: block; color: #FFD479; font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10, 18, 34, .94); display: grid; place-items: center; padding: 60px 16px 70px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox__cap { position: absolute; bottom: 22px; left: 70px; right: 70px; text-align: center; color: rgba(255, 255, 255, .88); font-size: .92rem; }
.lightbox__btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; font-size: 22px; transition: background .3s; }
.lightbox__btn:hover { background: var(--red); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; margin-top: -25px; }
.lightbox__next { right: 14px; top: 50%; margin-top: -25px; }

/* 13. FAQ =================================================================== */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1rem; transition: background .3s, color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq details[open] summary { background: var(--red); color: #fff; }
.faq__icon { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 15px; transition: transform .3s, background .3s; }
.faq details[open] .faq__icon { transform: rotate(45deg); background: #fff; }
.faq__body { padding: 18px 22px 20px; color: var(--muted); }
.faq__body a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* 14. FORMS & CONTACT ======================================================= */
.quote-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border-top: 5px solid var(--red); }
.quote-card__head { padding: 26px 28px 0; }
.quote-card__head h3 { font-size: 1.4rem; }
.quote-card__head p { color: var(--muted); font-size: .93rem; margin-top: 4px; }
.form { display: grid; gap: 16px; padding: 22px 28px 28px; }
.form__row { display: grid; gap: 16px; }
.form__row--2 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.field .req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid #D5DAE1; border-radius: var(--radius-sm); background: #FBFCFD; font-size: 1rem; transition: border-color .25s, box-shadow .25s, background .25s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C8161D' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(200, 22, 29, .1); }
.field__hint { font-size: .8rem; color: var(--muted); }
.form__error { color: var(--red); font-weight: 600; font-size: .92rem; }
.form__error:empty { display: none; }
.form__actions { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.form__note { display: flex; gap: 8px; font-size: .82rem; color: var(--muted); }
.form__note .i { margin-top: 3px; color: var(--red); }
.form__note a { text-decoration: underline; }

.contact-cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.ccard { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 30px 22px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.ccard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ccard__icon { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 30px; transition: background .3s, color .3s; }
.ccard:hover .ccard__icon { background: var(--red); color: #fff; }
.ccard--wa .ccard__icon { background: #E8F9EF; color: #1DA851; }
.ccard--wa:hover .ccard__icon { background: var(--wa); color: #fff; }
.ccard h3 { font-size: 1.1rem; }
.ccard p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.ccard strong { display: block; margin-top: 6px; color: var(--navy); font-family: var(--font-head); font-size: .98rem; overflow-wrap: anywhere; }
.ccard a::after { content: ""; position: absolute; inset: 0; }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; height: 100%; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.info-list { display: grid; gap: 18px; margin-top: 26px; padding: 0; list-style: none; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico { width: 50px; height: 50px; flex: none; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 22px; }
.info-list small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.info-list strong, .info-list a { font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.info-list a:hover { color: var(--red); }

/* 15. CTA & FOOTER ========================================================== */
.cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(56px, 6vw, 84px); }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(160, 16, 26, .96) 0%, rgba(200, 22, 29, .9) 55%, rgba(14, 31, 58, .86) 100%); }
.cta__inner { display: grid; gap: 26px; align-items: center; }
@media (min-width: 960px) { .cta__inner { grid-template-columns: 1.4fr 1fr; } }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .92); margin-top: 10px; font-size: 1.05rem; }
.cta .btn-row { justify-content: flex-start; }
@media (min-width: 960px) { .cta .btn-row { justify-content: flex-end; } }
.cta__phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 16px; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: #fff; }
.cta__phone .i { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #FFD479; }

.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .8); font-size: .94rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 70%, var(--gold) 70%); }
.footer-main { display: grid; gap: 40px; padding-block: clamp(56px, 6vw, 80px); }
@media (min-width: 700px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; background: #fff; padding: 10px 14px; border-radius: var(--radius-md); }
.footer-brand img { height: 40px; width: auto; }
.footer-about { margin-top: 18px; max-width: 38ch; }
.site-footer h2 { font-size: 1.1rem; color: #fff; margin-bottom: 20px; padding-bottom: 12px; position: relative; }
.site-footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--red); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; transition: color .25s, transform .25s; }
.footer-links a .i { color: var(--red); font-size: 13px; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-contact { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact .i { color: #FFD479; font-size: 18px; margin-top: 4px; }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; font-size: 18px; transition: background .3s, transform .3s; }
.social a:hover { background: var(--red); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; padding-right: 88px; /* keeps the credit clear of the floating WhatsApp button */ display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .86rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a:hover { color: #fff; }

/* 16. FLOATING ACTIONS ====================================================== */
.float-wa { position: fixed; right: 20px; bottom: 24px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; font-size: 30px; box-shadow: 0 10px 24px -6px rgba(37, 211, 102, .7); transition: transform .3s var(--ease); }
.float-wa:hover { transform: scale(1.08); }
.float-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.float-wa__label { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); background: #fff; color: var(--text); font-size: .85rem; font-weight: 600; padding: 7px 12px; border-radius: 6px; box-shadow: var(--shadow); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s; }
.float-wa:hover .float-wa__label { opacity: 1; }
.to-top { position: fixed; right: 26px; bottom: 96px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 20px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility 0s .3s, background .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--navy); }
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; box-shadow: 0 -6px 20px rgba(20, 41, 74, .12); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; font-size: .78rem; font-weight: 600; color: var(--navy); }
.mobile-bar .i { font-size: 21px; color: var(--red); }
.mobile-bar__wa .i { color: #1DA851; }
.mobile-bar a.mobile-bar__quote { background: var(--red); color: #fff; }
.mobile-bar__quote .i { color: #FFD479; }
@media (min-width: 960px) { .mobile-bar { display: none; } }
@media (max-width: 959px) { body { padding-bottom: 60px; } .float-wa { bottom: 76px; right: 14px; width: 52px; height: 52px; font-size: 26px; } .to-top { display: none; } }

/* 404 */
.notfound { text-align: center; padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-soft); }
.notfound__code { font-family: var(--font-head); font-size: clamp(6rem, 4rem + 8vw, 11rem); font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--red), var(--red-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { margin-top: 10px; }
.notfound p { color: var(--muted); margin: 14px auto 28px; max-width: 50ch; }
.notfound .btn-row { justify-content: center; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.legal p { color: var(--muted); }
.legal a { color: var(--red); text-decoration: underline; }

/* 17. ANIMATIONS (IntersectionObserver adds .is-in; content visible without JS) */
.js [data-anim] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-anim="up"] { transform: translateY(40px); }
.js [data-anim="left"] { transform: translateX(-50px); }
.js [data-anim="right"] { transform: translateX(50px); }
.js [data-anim="zoom"] { transform: scale(.92); }
.js [data-anim].is-in { opacity: 1; transform: none; }

/* Reduced motion: keep gentle fades & slide cross-fades, remove movement */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js [data-anim] { transform: none !important; transition: opacity .6s ease; }
    .hero__slide.is-active > img, .banner picture img { animation: none; transform: none; }
    .hero__slide > img { transform: none; }
    .hero__slide .hero__tag, .hero__slide .hero__title, .hero__slide .hero__text, .hero__slide .btn-row { transform: none; }
    .float-wa::before { animation: none; }
    .pcard:hover, .svc-card:hover, .value:hover, .ccard:hover { transform: none; }
}

/* 18. UTILITIES ============================================================= */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 32px; } .mt-4 { margin-top: 48px; }
.mb-2 { margin-bottom: 20px; }
.center-row { display: flex; justify-content: center; }

@media print {
    .topbar, .site-header, .mobile-bar, .float-wa, .to-top, .cta, .map, .hero__controls { display: none !important; }
    body { padding: 0; }
}
