/* ==========================================================================
   LojiTech Media — site styles
   Built on Bootstrap 5.3. Sections:
   1. Tokens   2. Base   3. Buttons   4. Header   5. Hero   6. Sections
   7. Cards    8. Gallery & lightbox   9. Forms   10. Footer   11. Utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
    --navy: #101522;
    --navy-2: #151b2b;
    --charcoal: #202632;
    --charcoal-2: #2a313f;
    --gold: #D6AD60;
    --gold-light: #e6c88d;
    --gold-ink: #8a6a2b;          /* gold for text on light backgrounds (AA contrast) */
    --offwhite: #F5F6F8;
    --white: #ffffff;
    --text: #202632;
    --text-muted: #5b6474;
    --text-light: #c9ced8;
    --text-light-muted: #9aa3b2;
    --line-dark: rgba(255, 255, 255, .09);
    --line-light: #e3e6ec;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 18px 40px -18px rgba(16, 21, 34, .35);
    --font-head: 'Montserrat', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --header-h: 80px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--text);
    --bs-link-color-rgb: 138, 106, 43;
    --bs-link-hover-color-rgb: 16, 21, 34;
    --bs-border-radius: var(--radius-sm);
}

/* 2. Base ------------------------------------------------------------------ */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-family: var(--font-body); background: var(--offwhite); color: var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.01em; }
img { max-width: 100%; height: auto; }
::selection { background: var(--gold); color: var(--navy); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--gold); color: var(--navy); padding: .6rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 1rem; }

.eyebrow { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.text-center .eyebrow::after, .section-heading.text-center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--light .eyebrow, .eyebrow--dark { color: var(--gold-ink); }

/* Page loader */
.page-loader { position: fixed; inset: 0; z-index: 3000; background: var(--navy); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; animation: loader-out .5s 2.5s forwards; /* safety net if scripts fail */ }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
.page-loader__mark { width: 64px; height: 64px; color: var(--gold); animation: loader-pulse 1.4s ease-in-out infinite; }
.is-loaded .page-loader { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loader-pulse { 0%, 100% { opacity: .35; transform: scale(.94) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(30deg); } }

/* 3. Buttons --------------------------------------------------------------- */
.btn { font-family: var(--font-head); font-weight: 600; letter-spacing: .02em; border-radius: 999px; padding: .7rem 1.5rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.btn-lg { padding: .9rem 1.9rem; font-size: 1rem; }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold { background: var(--gold); color: var(--navy); border: 1px solid var(--gold); box-shadow: 0 10px 24px -12px rgba(214, 173, 96, .8); }
.btn-gold:hover, .btn-gold:focus-visible { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); }
.btn-outline-gold { color: var(--gold); border: 1px solid var(--gold); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }
.btn-outline-light { color: var(--offwhite); border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .03); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: var(--offwhite); color: var(--navy); border-color: var(--offwhite); }
.btn-navy { background: var(--navy); color: var(--offwhite); border: 1px solid var(--navy); }
.btn-navy:hover { background: var(--charcoal); color: var(--gold); }
.btn-outline-navy { color: var(--navy); border: 1px solid rgba(16, 21, 34, .35); }
.btn-outline-navy:hover { background: var(--navy); color: var(--offwhite); border-color: var(--navy); }
.btn-whatsapp { background: #1fa855; color: #fff; border: 1px solid #1fa855; }
.btn-whatsapp:hover { background: #178a45; color: #fff; }

.link-arrow { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--gold); text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }
.section--light .link-arrow { color: var(--gold-ink); }

/* 4. Header ---------------------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1030; transition: background-color .35s, box-shadow .35s, backdrop-filter .35s; }
.site-header .navbar { min-height: var(--header-h); padding: .6rem 0; }
.site-header.is-scrolled, .site-header.is-open { background: rgba(16, 21, 34, .94); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-dark); }

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--offwhite); }
.brand:hover { color: var(--offwhite); }
.brand__mark { width: 40px; height: 40px; color: var(--gold); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(60deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; }
.brand__sub { font-family: var(--font-head); font-weight: 500; font-size: .66rem; letter-spacing: .52em; text-transform: uppercase; color: var(--gold); margin-top: .3rem; }
.brand__img { max-height: 46px; width: auto; }

.site-header .nav-link { font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--text-light); padding: .5rem 1rem !important; position: relative; transition: color .25s; }
.site-header .nav-link::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .2rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--white); }
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }

.btn-icon { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 1.15rem; text-decoration: none; transition: transform .25s, background-color .25s; }
.btn-icon--wa { color: #fff; background: rgba(31, 168, 85, .9); }
.btn-icon--wa:hover { background: #1fa855; color: #fff; transform: translateY(-2px); }

.navbar-toggler { border: 1px solid var(--line-dark); width: 44px; height: 44px; border-radius: 50%; padding: 0; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-bar { width: 18px; height: 1.5px; background: var(--offwhite); transition: transform .3s, opacity .3s; }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 991.98px) {
    .navbar-collapse { order: 4; width: 100%; }
    .navbar-collapse .navbar-nav { padding: 1rem 0 .5rem; border-top: 1px solid var(--line-dark); margin-top: .75rem; }
    .site-header .nav-link { font-size: 1.05rem; padding: .8rem .25rem !important; }
    .site-header .nav-link::after { display: none; }
    .site-header .nav-link.active { color: var(--gold); }
    .navbar-mobile-cta { padding-bottom: 1rem; }
}

/* 5. Hero ------------------------------------------------------------------ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: var(--offwhite); background: var(--navy); overflow: hidden; padding: calc(var(--header-h) + 3rem) 0 6rem; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__img { animation: kenburns 24s ease-out both; }
.hero__video { opacity: 0; transition: opacity 1.2s; }
.hero__video.is-playing { opacity: 1; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero__overlay { position: absolute; inset: 0; background:
    linear-gradient(90deg, rgba(16, 21, 34, .92) 0%, rgba(16, 21, 34, .7) 45%, rgba(16, 21, 34, .35) 100%),
    linear-gradient(0deg, rgba(16, 21, 34, .95) 0%, rgba(16, 21, 34, 0) 35%); }
.hero--studio .hero__overlay { background: radial-gradient(ellipse at 70% 40%, transparent 0%, rgba(16, 21, 34, .55) 60%), linear-gradient(0deg, var(--navy) 0%, transparent 30%); }

/* Studio lighting composition used until a hero photo is uploaded */
.hero--studio .hero__bg { background: radial-gradient(1200px 600px at 75% 30%, #1f2840 0%, var(--navy) 60%); }
.hero__light { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.hero__light--1 { width: 520px; height: 520px; right: 4%; top: 8%; background: radial-gradient(circle, rgba(214, 173, 96, .55), transparent 65%); }
.hero__light--2 { width: 420px; height: 420px; right: 30%; bottom: -8%; background: radial-gradient(circle, rgba(70, 96, 160, .45), transparent 65%); animation-duration: 22s; }
.hero__light--3 { width: 260px; height: 260px; right: 18%; top: 48%; background: radial-gradient(circle, rgba(230, 200, 141, .35), transparent 70%); animation-duration: 15s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-40px, 30px, 0) scale(1.08); } }
.hero__rings { position: absolute; right: -6%; top: 50%; width: min(64vw, 820px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%;
    background: repeating-radial-gradient(circle, transparent 0 58px, rgba(214, 173, 96, .13) 59px 60px);
    -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%);
    animation: spin 120s linear infinite; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.hero__grain { position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.viewfinder { position: absolute; inset: calc(var(--header-h) + 1.25rem) 2rem 2rem; pointer-events: none; z-index: 0; }
.viewfinder__corner { position: absolute; width: 34px; height: 34px; border: 0 solid rgba(214, 173, 96, .55); }
.viewfinder__corner--tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.viewfinder__corner--tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.viewfinder__corner--bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.viewfinder__corner--br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.viewfinder__rec { position: absolute; top: 12px; right: 52px; font: 500 .72rem/1 var(--font-head); letter-spacing: .14em; color: rgba(245, 246, 248, .75); display: flex; align-items: center; gap: .5rem; }
.viewfinder__dot { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; animation: blink 1.6s steps(1) infinite; }
.viewfinder__tc { font-variant-numeric: tabular-nums; color: rgba(245, 246, 248, .55); }
@keyframes blink { 50% { opacity: 0; } }

.hero__content { position: relative; z-index: 1; }
.hero__eyebrow { margin-bottom: 1.5rem; }
.hero__title { font-size: clamp(2.3rem, 5.6vw, 4.7rem); font-weight: 800; line-height: 1.06; letter-spacing: -.025em; max-width: 14ch; margin-bottom: 1.6rem; }
.hero__line { display: block; opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .16s); }
.hero__line:nth-child(2) { color: var(--gold); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__text { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.75; color: var(--text-light); max-width: 600px; margin-bottom: 2.4rem; opacity: 0; animation: rise .9s var(--ease) .9s forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; opacity: 0; animation: rise .9s var(--ease) 1.05s forwards; }

.hero__scroll { position: absolute; left: 50%; bottom: 2rem; width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 14px; transform: translateX(-50%); z-index: 1; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scrolldot 2s ease-in-out infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Inner page banner */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: var(--offwhite); padding: calc(var(--header-h) + 4.5rem) 0 4.5rem; }
.page-hero__glow { position: absolute; inset: 0; background: radial-gradient(700px 340px at 85% 20%, rgba(214, 173, 96, .2), transparent 70%), radial-gradient(600px 300px at 10% 110%, rgba(70, 96, 160, .25), transparent 70%); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(214, 173, 96, .5), transparent); }
.page-hero__title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; margin-bottom: 1rem; }
.page-hero__lead { color: var(--text-light); font-size: 1.1rem; max-width: 640px; margin: 0; }
.crumbs { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; font-size: .82rem; color: var(--text-light-muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--gold); }
.crumbs a { color: var(--text-light); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* 6. Sections -------------------------------------------------------------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section--light { background: var(--offwhite); color: var(--text); }
.section--dark { background: var(--navy); color: var(--offwhite); }
.section--charcoal { background: var(--charcoal); color: var(--offwhite); }
.section-heading { margin-bottom: 3.25rem; }
.section-heading.text-center { max-width: 720px; margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 700; line-height: 1.15; margin-bottom: 1rem; }
.section-lead { font-size: 1.07rem; line-height: 1.75; color: var(--text-muted); margin-bottom: 0; max-width: 640px; }
.section-heading.text-center .section-lead { margin-left: auto; margin-right: auto; }
.section--dark .section-lead, .section--charcoal .section-lead { color: var(--text-light-muted); }
.text-muted-light { color: var(--text-light-muted); }
.lead-text { font-size: 1.12rem; line-height: 1.85; color: var(--text-muted); }

/* Features (why choose us) */
.feature { display: flex; gap: 1.1rem; padding: 1.5rem; border: 1px solid var(--line-dark); border-radius: var(--radius); height: 100%; background: linear-gradient(160deg, rgba(255, 255, 255, .035), transparent); transition: border-color .3s, transform .3s var(--ease); }
.feature:hover { border-color: rgba(214, 173, 96, .45); transform: translateY(-3px); }
.feature__icon { flex: 0 0 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; color: var(--gold); background: rgba(214, 173, 96, .1); }
.feature__title { font-size: 1.02rem; font-weight: 600; margin-bottom: .35rem; }
.feature__text { font-size: .93rem; color: var(--text-light-muted); margin: 0; line-height: 1.65; }

/* Steps (how it works) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); opacity: .6; }
.step { position: relative; text-align: center; padding: 0 .75rem; }
.step__num { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--navy); color: var(--gold); font: 700 1.15rem var(--font-head); border: 1px solid var(--gold); box-shadow: 0 0 0 8px var(--offwhite); margin-bottom: 1.4rem; transition: background-color .3s, color .3s; }
.step:hover .step__num { background: var(--gold); color: var(--navy); }
.step__title { font-size: 1.12rem; margin-bottom: .55rem; }
.step__text { color: var(--text-muted); font-size: .95rem; line-height: 1.65; margin: 0; }

/* Testimonials */
.testimonial { height: 100%; margin: 0; padding: 2rem; border-radius: var(--radius); background: var(--charcoal); border: 1px solid var(--line-dark); position: relative; }
.testimonial__mark { font-size: 2.4rem; color: var(--gold); line-height: 1; }
.testimonial__text { font-size: 1rem; line-height: 1.75; color: var(--text-light); margin: .75rem 0 1.5rem; }
.testimonial__author { display: flex; align-items: center; gap: .8rem; }
.testimonial__author img, .testimonial__initial { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial__initial { display: grid; place-items: center; background: rgba(214, 173, 96, .15); color: var(--gold); font: 700 1.1rem var(--font-head); }
.testimonial__author strong { display: block; font-family: var(--font-head); }
.testimonial__author span span { font-size: .85rem; color: var(--text-light-muted); }
.testimonial-empty { max-width: 560px; margin: 0 auto; text-align: center; padding: 2.75rem 2rem; border: 1px dashed rgba(214, 173, 96, .4); border-radius: var(--radius); color: var(--text-light-muted); }
.testimonial-empty i { font-size: 2rem; color: var(--gold); display: block; margin-bottom: .75rem; }
.testimonial-empty strong { color: var(--offwhite); }

/* Call to action */
.cta { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 8rem) 0; background: linear-gradient(135deg, var(--charcoal) 0%, var(--navy) 60%); color: var(--offwhite); }
.cta__glow { position: absolute; inset: -30%; background: radial-gradient(closest-side at 50% 50%, rgba(214, 173, 96, .22), transparent 70%); }
.cta::before { content: ""; position: absolute; inset: 1.5rem; border: 1px solid rgba(214, 173, 96, .18); border-radius: 20px; pointer-events: none; }
.cta__title { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; max-width: 18ch; margin: 0 auto 1.25rem; line-height: 1.12; }
.cta__text { font-size: 1.12rem; color: var(--text-light); max-width: 560px; margin: 0 auto 2.25rem; }

/* 7. Cards ----------------------------------------------------------------- */
.service-card { position: relative; height: 100%; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line-light), 0 10px 30px -22px rgba(16, 21, 34, .4); transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card__media { position: relative; aspect-ratio: 10 / 7; overflow: hidden; background: var(--navy); }
.service-card__media img, .service-card__media .media-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card__media img, .service-card:hover .service-card__media .media-placeholder { transform: scale(1.06); }
.service-card__icon { position: relative; z-index: 1; margin: calc(-2.1rem - 24px) 0 1.1rem; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-size: 1.25rem; box-shadow: 0 8px 18px -8px rgba(16, 21, 34, .6); }
.service-card__body { padding: 2.1rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card__title { font-size: 1.2rem; margin-bottom: .55rem; }
.service-card__text { color: var(--text-muted); font-size: .94rem; line-height: 1.65; flex: 1; }
.service-card .link-arrow { color: var(--gold-ink); }

/* Media placeholder (until real photos are uploaded) */
.media-placeholder { position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 220px; background: radial-gradient(circle at 70% 30%, #26304a, var(--navy) 70%); color: var(--gold); overflow: hidden; }
.media-placeholder::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 22px, rgba(214, 173, 96, .12) 23px 24px); }
.media-placeholder__frame { position: absolute; inset: 14px; border: 1px solid rgba(214, 173, 96, .25); border-radius: 6px; }
.media-placeholder__icon { position: relative; font-size: 2.6rem; opacity: .9; }
.media-placeholder__note { position: absolute; top: 24px; right: 26px; font: 600 .62rem var(--font-head); letter-spacing: .2em; text-transform: uppercase; color: var(--text-light-muted); white-space: nowrap; }

/* Services page */
.service-tabs { position: sticky; top: var(--header-h); z-index: 20; background: rgba(245, 246, 248, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-light); }
.service-tabs__list { list-style: none; margin: 0; padding: .75rem 0; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.service-tabs__list::-webkit-scrollbar { display: none; }
.service-tabs__list a { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; padding: .5rem 1rem; border-radius: 999px; font: 500 .86rem var(--font-head); color: var(--text); text-decoration: none; border: 1px solid var(--line-light); background: var(--white); transition: all .25s; }
.service-tabs__list a:hover, .service-tabs__list a.is-active { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.service-detail { padding: 4rem 0; border-bottom: 1px solid var(--line-light); }
.service-detail:last-child { border-bottom: 0; }
.service-detail__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 7; box-shadow: var(--shadow); background: var(--navy); }
.service-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.service-detail__title { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: 1.25rem; }
.service-detail p { color: var(--text-muted); line-height: 1.8; }
.mini-title { font: 600 .78rem var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin-bottom: .85rem; }
.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-list li { padding: .3rem .75rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line-light); font-size: .84rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; font-size: .93rem; }
.check-list li::before { content: "\F26E"; font-family: bootstrap-icons; position: absolute; left: 0; top: 0; color: var(--gold-ink); font-size: 1.05rem; line-height: 1.3; }
.service-detail__footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); }
.price-tag { font: 600 .95rem var(--font-head); color: var(--navy); display: inline-flex; align-items: center; gap: .45rem; }
.price-tag i { color: var(--gold-ink); }

/* About page */
.about-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--navy); position: relative; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(214, 173, 96, .35); border-radius: 10px; pointer-events: none; }
.statement { height: 100%; padding: 2.5rem; border-radius: var(--radius); background: linear-gradient(160deg, var(--charcoal), var(--navy-2)); border: 1px solid var(--line-dark); }
.statement__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(214, 173, 96, .12); color: var(--gold); font-size: 1.4rem; margin-bottom: 1.25rem; }
.statement__title { font-size: 1.5rem; margin-bottom: .85rem; }
.statement p { color: var(--text-light); line-height: 1.8; }
.value-card { height: 100%; padding: 2rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line-light); transition: transform .3s var(--ease), box-shadow .3s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card i { font-size: 1.6rem; color: var(--gold-ink); }
.value-card h3 { font-size: 1.12rem; margin: 1rem 0 .5rem; }
.value-card p { color: var(--text-muted); font-size: .94rem; margin: 0; line-height: 1.65; }
.approach-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.approach-list li { display: flex; gap: 1.25rem; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .02); }
.approach-list__num { flex: 0 0 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font: 700 1rem var(--font-head); }
.approach-list h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.approach-list p { margin: 0; color: var(--text-light-muted); font-size: .95rem; }
.capabilities { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.capability { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line-light); text-decoration: none; color: var(--text); font: 600 .98rem var(--font-head); transition: all .3s var(--ease); }
.capability i { font-size: 1.4rem; color: var(--gold-ink); transition: color .3s; }
.capability:hover { background: var(--navy); color: var(--offwhite); border-color: var(--navy); transform: translateY(-3px); }
.capability:hover i { color: var(--gold); }

/* 8. Gallery & lightbox ---------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.25rem; }
.chip { font: 500 .86rem var(--font-head); padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-dark); background: transparent; color: var(--text-light); text-decoration: none; transition: all .25s; cursor: pointer; }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.portfolio-filters { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.portfolio-filters .filter-bar { margin-bottom: 0; }
.type-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); }
.type-toggle__btn { font: 500 .84rem var(--font-head); padding: .45rem 1rem; border-radius: 999px; color: var(--text-light-muted); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; transition: all .25s; }
.type-toggle__btn:hover { color: var(--offwhite); }
.type-toggle__btn.is-active { background: var(--charcoal-2); color: var(--gold); }
.gallery-status { text-align: center; color: var(--text-light-muted); font-size: .85rem; margin-bottom: 2rem; }

.gallery { transition: opacity .3s; }
.gallery.is-loading { opacity: .35; pointer-events: none; }
.gallery--masonry { columns: 3 300px; column-gap: 1.25rem; }
.g-item { break-inside: avoid; margin: 0 0 1.25rem; }
.g-item.is-hidden { display: none; }
.g-item__btn { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: zoom-in; position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--charcoal); }
.g-item__btn[data-type="video"] { cursor: pointer; }
.g-item__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.g-item__frame { display: block; position: relative; overflow: hidden; }
.g-item__frame img, .g-item__frame .media-placeholder { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.g-item__btn:hover img { transform: scale(1.05); filter: brightness(.8); }
.g-item__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; color: var(--navy); background: rgba(214, 173, 96, .92); box-shadow: 0 0 0 10px rgba(214, 173, 96, .2); transition: transform .3s var(--ease); }
.g-item__btn:hover .g-item__play { transform: scale(1.1); }
.g-item__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem 1rem; background: linear-gradient(0deg, rgba(16, 21, 34, .92), transparent); color: var(--offwhite); display: flex; flex-direction: column; gap: .15rem; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); }
.g-item__btn:hover .g-item__caption, .g-item__btn:focus-visible .g-item__caption { opacity: 1; transform: none; }
.g-item__title { font: 600 .95rem var(--font-head); }
.g-item__meta { font-size: .78rem; color: var(--gold-light); }
@media (hover: none) { .g-item__caption { opacity: 1; transform: none; } }
.gallery-empty { text-align: center; padding: 3rem 1rem; color: var(--text-light-muted); }
.gallery-empty i { font-size: 2.2rem; color: var(--gold); display: block; margin-bottom: .75rem; }

.lightbox { position: fixed; inset: 0; z-index: 2500; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(8, 11, 19, .96); animation: fade .3s; }
.lightbox__stage { position: relative; margin: 0; max-width: min(92vw, 1400px); width: 100%; padding: 0 4.5rem; display: flex; flex-direction: column; align-items: center; animation: zoom-in .35s var(--ease); }
.lightbox__media { width: 100%; display: flex; justify-content: center; touch-action: pan-y; }
.lightbox__media img { max-width: 100%; max-height: 78vh; width: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px -20px #000; }
.lightbox__media .lb-video { width: 100%; max-width: 1200px; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.lightbox__media iframe, .lightbox__media video { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__caption { text-align: center; color: var(--offwhite); margin-top: 1.1rem; max-width: 720px; }
.lightbox__title { display: block; font-family: var(--font-head); font-weight: 600; }
.lightbox__meta { font-size: .87rem; color: var(--text-light-muted); }
.lightbox__toolbar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; color: var(--text-light-muted); font: 500 .85rem var(--font-head); }
.lightbox__btn, .lightbox__nav { border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: var(--offwhite); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; transition: background-color .25s, color .25s; }
.lightbox__btn:hover, .lightbox__nav:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__nav[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.96); } }
body.lb-open { overflow: hidden; }

/* 9. Forms ----------------------------------------------------------------- */
.form-card { background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: 0 1px 0 var(--line-light), 0 20px 50px -30px rgba(16, 21, 34, .35); }
.form-card__title { font-size: 1.5rem; margin-bottom: 1.5rem; }
.form-legend { font: 600 .8rem var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin: 1.75rem 0 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line-light); width: 100%; }
fieldset:first-of-type .form-legend { margin-top: .5rem; }
.form-label { font-weight: 500; font-size: .92rem; margin-bottom: .4rem; color: var(--navy); }
.form-label .req, .req { color: #b4232a; margin-left: .15rem; }
.form-label .opt { color: var(--text-muted); font-weight: 400; font-size: .8rem; margin-left: .3rem; }
.form-control, .form-select { padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1px solid #cfd4dc; background-color: #fcfcfd; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .22rem rgba(214, 173, 96, .25); background-color: #fff; }
.form-control::placeholder { color: #98a0ad; }
.form-text { color: var(--text-muted); font-size: .82rem; }
.invalid-feedback { font-size: .84rem; }
.consent { margin: 1.75rem 0 0; padding: 1rem 1rem 1rem 2.6rem; background: var(--offwhite); border-radius: var(--radius-sm); font-size: .9rem; }
.consent .form-check-input { margin-left: -1.6rem; margin-top: .2rem; }
.form-check-input:checked { background-color: var(--navy); border-color: var(--navy); }
.form-check-input:focus { box-shadow: 0 0 0 .22rem rgba(214, 173, 96, .3); border-color: var(--gold); }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: .85rem; padding: 1rem 1.15rem; border-radius: var(--radius-sm); background: #fbf6ea; border: 1px solid #ecdcb5; color: #5c4718; font-size: .92rem; margin-bottom: 1.5rem; }
.notice i { color: var(--gold-ink); font-size: 1.15rem; line-height: 1.3; }
.side-card { background: var(--white); border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--line-light); margin-bottom: 1.25rem; }
.side-card--dark { background: var(--navy); color: var(--offwhite); border-color: var(--navy); }
.side-card--dark p { color: var(--text-light); }
.side-card__title { font-size: 1.15rem; margin-bottom: 1rem; }
.next-steps { padding-left: 1.2rem; margin: 0; }
.next-steps li { margin-bottom: .8rem; color: var(--text-muted); font-size: .93rem; }
.next-steps li::marker { color: var(--gold-ink); font-weight: 700; }
.next-steps strong { color: var(--navy); }
@media (min-width: 992px) { aside .side-card:first-child { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

.success-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: rgba(214, 173, 96, .15); color: var(--gold-ink); font-size: 2.4rem; margin-bottom: 1rem; }
.reference { font: 700 1.6rem var(--font-head); letter-spacing: .06em; color: var(--navy); margin-bottom: 1.5rem; }
.summary { margin: 0; border-top: 1px solid var(--line-light); }
.summary div { display: flex; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line-light); }
.summary dt { flex: 0 0 140px; font-weight: 500; color: var(--text-muted); font-size: .9rem; }
.summary dd { margin: 0; font-size: .95rem; }

.contact-cards { display: grid; gap: .85rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.25rem; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line-light); color: var(--text); text-decoration: none; transition: all .3s var(--ease); }
a.contact-card:hover { border-color: var(--gold); transform: translateX(4px); color: var(--text); }
.contact-card__icon { flex: 0 0 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 1.2rem; }
.contact-card--wa .contact-card__icon { background: #1fa855; color: #fff; }
.contact-card__label { display: block; font: 600 .72rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.contact-card__value { display: block; font-weight: 500; font-size: 1.02rem; word-break: break-word; }
.contact-card__sub { display: block; font-size: .85rem; color: var(--text-muted); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.4) contrast(1.05); }

/* Privacy / long text */
.prose h2 { font-size: 1.35rem; margin: 2.5rem 0 .9rem; }
.prose p, .prose li { color: var(--text-muted); line-height: 1.85; }
.prose ul { padding-left: 1.2rem; }
.prose strong { color: var(--navy); }

/* 10. Footer --------------------------------------------------------------- */
.site-footer { background: #0b0f18; color: var(--text-light-muted); padding: 5rem 0 0; font-size: .93rem; border-top: 1px solid rgba(214, 173, 96, .2); }
.site-footer__about { line-height: 1.8; max-width: 340px; }
.site-footer__title { font: 600 .78rem var(--font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--offwhite); margin-bottom: 1.25rem; }
.site-footer__links, .contact-list { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin-bottom: .6rem; }
.site-footer a { color: var(--text-light-muted); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.contact-list li { display: flex; gap: .7rem; margin-bottom: .75rem; align-items: flex-start; }
.contact-list i { color: var(--gold); margin-top: .1rem; }
.social-links { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; gap: .5rem; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--text-light); transition: all .25s; }
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.social-links--dark a { border-color: var(--line-light); color: var(--navy); }
.site-footer__bottom { margin-top: 4rem; padding: 1.5rem 0; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.site-footer__legal { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.5rem; }

.whatsapp-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1020; height: 56px; min-width: 56px; padding: 0 1rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; background: #1fa855; color: #fff; text-decoration: none; font: 600 .9rem var(--font-head); box-shadow: 0 12px 30px -10px rgba(31, 168, 85, .7); transition: transform .3s var(--ease), background-color .3s; }
.whatsapp-float i { font-size: 1.5rem; }
.whatsapp-float:hover { color: #fff; background: #178a45; transform: translateY(-3px); }
.whatsapp-float__label { display: none; }
@media (min-width: 768px) { .whatsapp-float__label { display: inline; } }

.error-page { min-height: 80vh; display: flex; align-items: center; padding: calc(var(--header-h) + 3rem) 0 4rem; background: radial-gradient(700px 400px at 50% 30%, rgba(214, 173, 96, .14), transparent 70%), var(--navy); color: var(--offwhite); }
.error-page__code { font: 800 clamp(5rem, 16vw, 9rem) / 1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin-bottom: 1rem; }
.error-page .section-lead { color: var(--text-light); }

/* 11. Reveal animation & responsive --------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 991.98px) {
    :root { --header-h: 70px; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
    .steps::before { display: none; }
    .viewfinder { inset: calc(var(--header-h) + .75rem) 1rem 1rem; }
    .service-detail { padding: 3rem 0; }
}
@media (max-width: 575.98px) {
    .steps { grid-template-columns: 1fr; text-align: left; }
    .step { display: grid; grid-template-columns: 68px 1fr; column-gap: 1.25rem; text-align: left; padding: 0; }
    .step__num { grid-row: span 2; margin-bottom: 0; }
    .hero { padding-bottom: 5rem; }
    .hero__actions .btn { width: 100%; }
    .viewfinder__rec { right: 44px; font-size: .64rem; }
    .lightbox__stage { padding: 0 .5rem; }
    .lightbox__nav { top: auto; bottom: 1rem; transform: none; }
    .lightbox__nav--prev { left: calc(50% - 60px); }
    .lightbox__nav--next { right: calc(50% - 60px); }
    .lightbox__media img { max-height: 70vh; }
    .summary div { flex-direction: column; gap: .15rem; }
    .summary dt { flex: none; }
    .form-actions .btn { width: 100%; }
    .site-footer__bottom { flex-direction: column; }
    .cta::before { inset: .75rem; }
    .brand__name { font-size: 1.05rem; }
    .brand__mark { width: 36px; height: 36px; }
}
@media (orientation: landscape) and (max-height: 500px) {
    .hero { min-height: auto; padding-top: calc(var(--header-h) + 2rem); padding-bottom: 4rem; }
    .viewfinder, .hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal, .hero__line, .hero__text, .hero__actions { opacity: 1; transform: none; }
    .hero__video { display: none; }
}

@media print {
    .site-header, .whatsapp-float, .page-loader, .cta, .site-footer { display: none !important; }
    .page-hero { padding: 1rem 0; background: none; color: #000; }
}

/* Mobile side gutters: 16px */
@media (max-width: 575.98px) {
    .container { --bs-gutter-x: 2rem; }
}

/* Tutorials (YouTube) ------------------------------------------------------ */
.btn-youtube { background: #e62117; color: #fff; border: 1px solid #e62117; }
.btn-youtube:hover, .btn-youtube:focus-visible { background: #c4170f; border-color: #c4170f; color: #fff; }
.page-hero--compact { padding-bottom: 1.5rem; }
.yt-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 30px 60px -30px #000; }
.yt-player img, .yt-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.yt-player img { transition: transform .8s var(--ease), filter .4s; }
.yt-player:hover img { transform: scale(1.03); filter: brightness(.85); }
.yt-player__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 0; display: grid; place-items: center; font-size: 2.6rem; color: var(--navy); background: rgba(214, 173, 96, .95); box-shadow: 0 0 0 12px rgba(214, 173, 96, .22); cursor: pointer; transition: transform .3s var(--ease); }
.yt-player__play i { margin-left: 4px; }
.yt-player:hover .yt-player__play { transform: scale(1.08); }
.yt-player__fallback { position: absolute; left: 1rem; bottom: 1rem; color: #fff; }
.tutorial-feature { margin-bottom: 4rem; padding-bottom: 4rem; border-bottom: 1px solid var(--line-dark); }
.tutorial-feature__title { font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.25; margin-bottom: 1rem; }
.tutorial-feature__title a, .tutorial-card__title a { color: inherit; text-decoration: none; }
.tutorial-feature__title a:hover, .tutorial-card__title a:hover { color: var(--gold); }
.tutorial-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-size: .86rem; color: var(--text-light-muted); margin-bottom: 1rem; }
.badge-soft { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: rgba(214, 173, 96, .12); color: var(--gold); font: 600 .72rem var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.tutorial-card { position: relative; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--charcoal); border: 1px solid var(--line-dark); transition: transform .35s var(--ease), border-color .35s; }
.tutorial-card:hover { transform: translateY(-5px); border-color: rgba(214, 173, 96, .45); }
.tutorial-card__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.tutorial-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tutorial-card:hover .tutorial-card__thumb img { transform: scale(1.06); }
.tutorial-card__play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: var(--navy); background: rgba(214, 173, 96, .92); }
.tutorial-card__body { padding: 1.25rem 1.35rem 1.4rem; }
.tutorial-card__title { font-size: 1.02rem; line-height: 1.4; margin: .6rem 0 .4rem; color: var(--offwhite); }
.tutorial-card__date { font-size: .82rem; color: var(--text-light-muted); margin: 0; }
.tutorial-body { margin-top: 2rem; }
.tutorial-body__title { font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.2; margin-bottom: 1rem; }
.tutorial-body__text { color: var(--text-light); line-height: 1.85; max-width: 820px; overflow-wrap: anywhere; }
.pager { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 3rem; }
.pager__info { color: var(--text-light-muted); font-size: .9rem; }

/* Six nav items: tighten spacing on mid-size screens */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-header .nav-link { padding: .5rem .6rem !important; font-size: .88rem; }
    .site-header .nav-link::after { left: .6rem; right: .6rem; }
}

/* Short adverts (YouTube Shorts, vertical 9:16) ---------------------------- */
.shorts__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.25rem; margin-bottom: 2.25rem; }
.shorts__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.shorts__rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.yt-player--short { aspect-ratio: 9 / 16; }
.short-card__title { font-size: .95rem; line-height: 1.4; margin: .85rem 0 0; }
.short-card__title a { color: var(--offwhite); text-decoration: none; }
.short-card__title a:hover { color: var(--gold); }
.short-placeholder { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); border: 1.5px dashed rgba(214, 173, 96, .45); background: radial-gradient(circle at 50% 35%, rgba(214, 173, 96, .1), transparent 65%), rgba(255, 255, 255, .02); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.25rem; color: var(--text-light-muted); }
.short-placeholder__frame { position: absolute; inset: 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .05); pointer-events: none; }
.short-placeholder__icon { font-size: 2.2rem; color: var(--gold); margin-bottom: .9rem; }
.short-placeholder__label { font: 600 .66rem var(--font-head); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.short-placeholder__text { font: 600 1rem/1.4 var(--font-head); color: var(--offwhite); margin-bottom: 1rem; }
.short-placeholder__link { position: relative; font-size: .82rem; color: var(--text-light); }
.short-placeholder__link:hover { color: var(--gold); }
.shorts__cta { margin: 2rem 0 0; color: var(--text-light-muted); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.section--dark .tutorial-body .yt-player--short, .col-xl-10 > .yt-player--short { max-width: 380px; margin: 0 auto; }

@media (max-width: 991.98px) {
    /* Swipeable row of adverts on tablets and phones */
    .shorts__rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: .75rem; margin-right: calc(var(--bs-gutter-x) * -.5); padding-right: calc(var(--bs-gutter-x) * .5); scrollbar-width: thin; }
    .shorts__slot { flex: 0 0 min(62vw, 260px); scroll-snap-align: start; }
}

/* Client galleries -------------------------------------------------------- */
.gallery-hero { padding-bottom: 3rem; }
.client-gallery .g-item { position: relative; }
.client-gallery .g-item__btn { cursor: zoom-in; }
.g-item__download { position: absolute; right: .6rem; top: .6rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(16, 21, 34, .75); color: var(--offwhite); text-decoration: none; opacity: 0; transition: opacity .25s, background-color .25s; }
.g-item:hover .g-item__download, .g-item__download:focus-visible { opacity: 1; }
.g-item__download:hover { background: var(--gold); color: var(--navy); }
@media (hover: none) { .g-item__download { opacity: 1; } }
.is-view-only .client-gallery img, .is-view-only .lightbox__media img { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.notice--dark { background: rgba(214, 173, 96, .08); border-color: rgba(214, 173, 96, .3); color: var(--text-light); }
.notice--dark i { color: var(--gold); }
.lightbox__download { text-decoration: none; }
.lightbox__toolbar { gap: .5rem; }
.lightbox__btn[hidden] { display: none; }

/* Vertical videos (Facebook Reels, phone videos) in the viewer */
.lightbox__media .lb-video--portrait { aspect-ratio: 9 / 16; width: auto; height: min(78vh, 900px); max-width: 100%; }
@media (max-width: 575.98px) { .lightbox__media .lb-video--portrait { height: 70vh; } }

.map-embed { position: relative; }
.map-embed__btn { position: absolute; left: 1.25rem; top: 1.25rem; box-shadow: var(--shadow); }
