/* ═══════════════════════════════════════════════
   NORDLJUS ELSERVICE – Shared Stylesheet
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --navy:       #0D1F3C;
  --navy-light: #1A3255;
  --gold:       #D4A017;
  --gold-light: #F0C040;
  --white:      #FFFFFF;
  --bg:         #F7F9FC;
  --bg-alt:     #EEF2F7;
  --text:       #0D1F3C;
  --text-muted: #5A6B84;
  --border:     #D8E2EE;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 8px rgba(13,31,60,.08);
  --shadow-md:  0 6px 24px rgba(13,31,60,.12);
  --shadow-lg:  0 16px 48px rgba(13,31,60,.16);
  --t:          .22s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior:smooth; font-size:16px; }
body { font-family:'Inter',sans-serif; background:var(--bg); color:var(--text); line-height:1.6; -webkit-font-smoothing:antialiased; }
h1,h2,h3,h4 { line-height:1.2; }
h1 { font-size:clamp(2.2rem,5vw,3.6rem); font-weight:800; }
h2 { font-size:clamp(1.7rem,3.5vw,2.6rem); font-weight:700; }
h3 { font-size:1.25rem; font-weight:600; }
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; }
ul { list-style:none; }

.container { max-width:1180px; margin:0 auto; padding:0 24px; }

/* ── BUTTONS ─────────────────────────── */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 28px; border-radius:8px; font-weight:600;
  font-size:.95rem; cursor:pointer; border:none; font-family:'Inter',sans-serif;
  transition:transform var(--t),box-shadow var(--t),background var(--t);
  white-space:nowrap;
}
.btn:focus-visible { outline:3px solid var(--gold); outline-offset:2px; }
.btn:hover { transform:translateY(-2px); }
.btn-primary { background:var(--gold); color:var(--navy); box-shadow:0 4px 16px rgba(212,160,23,.35); }
.btn-primary:hover { background:var(--gold-light); box-shadow:0 8px 24px rgba(212,160,23,.45); }
.btn-outline { background:transparent; color:var(--white); border:2px solid rgba(255,255,255,.6); }
.btn-outline:hover { background:rgba(255,255,255,.12); border-color:var(--white); }
.btn-navy { background:var(--navy); color:var(--white); box-shadow:var(--shadow-md); }
.btn-navy:hover { background:var(--navy-light); }
.btn-white { background:var(--white); color:var(--navy); box-shadow:0 4px 16px rgba(0,0,0,.15); }
.btn-white:hover { background:#F0F4F8; }
.btn-dark { background:var(--navy); color:var(--white); }
.btn-dark:hover { background:var(--navy-light); }

/* ── HEADER ──────────────────────────── */
header {
  position:sticky; top:0; z-index:100;
  background:rgba(13,31,60,.97); backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(255,255,255,.08);
  transition:box-shadow var(--t);
}
header.scrolled { box-shadow:var(--shadow-lg); }
.header-inner { display:flex; align-items:center; justify-content:space-between; height:72px; }

.logo { display:flex; align-items:center; gap:10px; font-weight:800; font-size:1.2rem; color:var(--white); }
.logo-icon { width:40px; height:40px; background:var(--gold); border-radius:8px; display:flex; align-items:center; justify-content:center; }
.logo-icon svg { width:22px; height:22px; fill:var(--navy); }
.logo span { color:var(--gold); }

nav { display:flex; gap:28px; }
nav a { color:rgba(255,255,255,.75); font-size:.9rem; font-weight:500; transition:color var(--t); position:relative; padding:4px 0; }
nav a::after { content:''; position:absolute; bottom:-4px; left:0; right:0; height:2px; background:var(--gold); border-radius:2px; transform:scaleX(0); transition:transform var(--t); }
nav a:hover,nav a.active { color:var(--white); }
nav a:hover::after,nav a.active::after { transform:scaleX(1); }

.header-cta { display:flex; align-items:center; gap:16px; }
.header-phone { color:rgba(255,255,255,.75); font-size:.85rem; font-weight:500; }
.header-phone strong { color:var(--gold); display:block; font-size:.95rem; }
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:6px; background:none; border:none; }
.hamburger span { display:block; width:24px; height:2px; background:var(--white); border-radius:2px; transition:var(--t); }

/* ── MOBILE MENU ─────────────────────── */
.mob-menu {
  display:none; position:fixed; top:72px; left:0; right:0; bottom:0;
  background:var(--navy); z-index:99; padding:32px 24px; flex-direction:column; gap:4px;
  overflow-y:auto;
}
.mob-menu.open { display:flex; }
.mob-menu a { color:rgba(255,255,255,.85); font-size:1.2rem; font-weight:600; padding:14px 0; border-bottom:1px solid rgba(255,255,255,.08); }
.mob-menu .mob-phone { color:var(--gold); margin-top:16px; font-size:1.1rem; border-bottom:none; }
.mob-menu .btn { margin-top:12px; justify-content:center; border-bottom:none; }

/* ── PAGE HERO (inner pages) ─────────── */
.page-hero {
  padding:80px 0 64px;
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, var(--navy) 100%);
  position:relative; overflow:hidden;
}
.page-hero::before {
  content:''; position:absolute; inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-orb {
  position:absolute; border-radius:50%; filter:blur(80px); pointer-events:none;
  width:500px; height:500px; right:-100px; top:-100px;
  background:radial-gradient(circle,rgba(212,160,23,.12) 0%,transparent 70%);
}
.page-hero-inner { position:relative; display:flex; align-items:center; gap:48px; }
.page-hero-content { flex:1; }
.page-hero-breadcrumb {
  display:flex; align-items:center; gap:8px; margin-bottom:20px;
  font-size:.82rem; color:rgba(255,255,255,.5);
}
.page-hero-breadcrumb a { color:var(--gold); }
.page-hero-breadcrumb span { color:rgba(255,255,255,.35); }
.page-hero h1 { color:var(--white); margin-bottom:16px; }
.page-hero h1 span { color:var(--gold); }
.page-hero-sub { color:rgba(255,255,255,.7); font-size:1.1rem; line-height:1.7; max-width:560px; }
.page-hero-img {
  width:420px; flex-shrink:0;
  border-radius:var(--radius-lg);
  overflow:hidden; aspect-ratio:4/3;
  border:2px solid rgba(212,160,23,.2);
  box-shadow:var(--shadow-lg);
}
.page-hero-img img { width:100%; height:100%; object-fit:cover; }

/* ── SECTIONS ────────────────────────── */
.section { padding:96px 0; }
.section-alt { background:var(--white); }

.section-label {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.75rem; font-weight:700; letter-spacing:.1em;
  text-transform:uppercase; color:var(--gold); margin-bottom:12px;
}
.section-label::before { content:''; display:block; width:24px; height:2px; background:var(--gold); border-radius:2px; }
.section-title { margin-bottom:16px; }
.section-sub { color:var(--text-muted); font-size:1.05rem; max-width:560px; line-height:1.7; }
.section-header { margin-bottom:60px; }
.section-header.centered { text-align:center; }
.section-header.centered .section-label { justify-content:center; }
.section-header.centered .section-sub { margin:0 auto; }

/* ── TRUST BAR ───────────────────────── */
.trust-bar { background:var(--white); border-bottom:1px solid var(--border); }
.trust-bar-inner { display:grid; grid-template-columns:repeat(4,1fr); padding:32px 0; }
.trust-item { display:flex; align-items:center; gap:16px; padding:0 24px; border-right:1px solid var(--border); }
.trust-item:last-child { border-right:none; }
.trust-icon { width:48px; height:48px; border-radius:10px; flex-shrink:0; background:linear-gradient(135deg,var(--navy),var(--navy-light)); display:flex; align-items:center; justify-content:center; }
.trust-icon svg { width:24px; height:24px; stroke:var(--gold); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.trust-item-text strong { font-size:.9rem; font-weight:600; }
.trust-item-text span { font-size:.8rem; color:var(--text-muted); display:block; }

/* ── SERVICE CARDS ───────────────────── */
.services-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.service-card { background:var(--white); border-radius:var(--radius-lg); padding:32px 28px; border:1px solid var(--border); box-shadow:var(--shadow-sm); transition:transform var(--t),box-shadow var(--t),border-color var(--t); cursor:default; position:relative; overflow:hidden; }
.service-card::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(13,31,60,.03) 0%,transparent 60%); pointer-events:none; }
.service-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:rgba(212,160,23,.4); }
.service-icon { width:56px; height:56px; border-radius:14px; background:linear-gradient(135deg,var(--navy),var(--navy-light)); display:flex; align-items:center; justify-content:center; margin-bottom:20px; transition:transform var(--t); }
.service-card:hover .service-icon { transform:scale(1.08); }
.service-icon svg { width:26px; height:26px; stroke:var(--gold); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.service-card h3 { margin-bottom:10px; }
.service-card p { color:var(--text-muted); font-size:.88rem; line-height:1.7; }
.service-link { display:inline-flex; align-items:center; gap:6px; margin-top:20px; font-size:.85rem; font-weight:600; color:var(--navy); transition:gap var(--t),color var(--t); }
.service-link:hover { color:var(--gold); gap:10px; }
.service-link svg { width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }

/* ── GALLERY ─────────────────────────── */
.gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); grid-template-rows:auto auto; gap:16px; }
.gallery-item { position:relative; overflow:hidden; border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); cursor:pointer; }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .5s cubic-bezier(.4,0,.2,1); display:block; }
.gallery-item:hover img { transform:scale(1.07); }
.gallery-item-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(13,31,60,.72) 0%,transparent 55%); opacity:0; transition:opacity var(--t); display:flex; align-items:flex-end; padding:20px; }
.gallery-item:hover .gallery-item-overlay { opacity:1; }
.gallery-item-label { color:var(--white); font-size:.85rem; font-weight:600; display:flex; align-items:center; gap:8px; }
.gallery-item-label svg { width:16px; height:16px; stroke:var(--gold); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.gallery-item-tall { grid-row:span 2; min-height:380px; }
.gallery-item-wide { grid-column:span 2; }
.gallery-item-std { aspect-ratio:4/3; }

/* ── TESTIMONIALS ────────────────────── */
.testimonials-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.testimonial-card { background:var(--white); border-radius:var(--radius-lg); padding:32px; border:1px solid var(--border); box-shadow:var(--shadow-sm); transition:transform var(--t),box-shadow var(--t); position:relative; }
.testimonial-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.testimonial-quote { font-size:3rem; line-height:1; color:var(--gold); opacity:.4; font-family:Georgia,serif; margin-bottom:12px; }
.testimonial-text { color:var(--text); font-size:.92rem; line-height:1.75; font-style:italic; margin-bottom:24px; }
.testimonial-stars { display:flex; gap:4px; margin-bottom:16px; }
.testimonial-stars svg { width:16px; height:16px; fill:var(--gold); }
.testimonial-author { display:flex; align-items:center; gap:12px; }
.author-avatar { width:44px; height:44px; border-radius:50%; background:linear-gradient(135deg,var(--navy),var(--navy-light)); display:flex; align-items:center; justify-content:center; font-weight:700; color:var(--gold); font-size:.9rem; flex-shrink:0; }
.author-name { font-weight:600; font-size:.88rem; }
.author-meta { font-size:.78rem; color:var(--text-muted); }

/* ── PROCESS ─────────────────────────── */
.process-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; position:relative; }
.process-steps::before { content:''; position:absolute; top:36px; left:calc(16.66% + 16px); right:calc(16.66% + 16px); height:2px; background:linear-gradient(90deg,var(--gold) 0%,rgba(212,160,23,.2) 100%); z-index:0; }
.process-step { text-align:center; position:relative; z-index:1; }
.process-num { width:72px; height:72px; border-radius:50%; margin:0 auto 24px; background:var(--navy); border:3px solid var(--gold); display:flex; align-items:center; justify-content:center; font-size:1.5rem; font-weight:800; color:var(--gold); box-shadow:0 0 0 6px rgba(212,160,23,.12); transition:transform var(--t),box-shadow var(--t); }
.process-step:hover .process-num { transform:scale(1.1); box-shadow:0 0 0 10px rgba(212,160,23,.15); }
.process-step h3 { margin-bottom:10px; }
.process-step p { color:var(--text-muted); font-size:.88rem; line-height:1.7; max-width:280px; margin:0 auto; }

/* ── CERT SECTION ────────────────────── */
.cert-section { background:var(--navy); color:var(--white); }
.cert-inner { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.cert-section .section-label { color:var(--gold-light); }
.cert-section h2 { color:var(--white); }
.cert-section .section-sub { color:rgba(255,255,255,.65); }
.cert-badges { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:32px; }
.cert-badge { background:rgba(255,255,255,.06); border:1px solid rgba(212,160,23,.2); border-radius:var(--radius); padding:20px; display:flex; align-items:center; gap:14px; transition:background var(--t),border-color var(--t); }
.cert-badge:hover { background:rgba(212,160,23,.08); border-color:rgba(212,160,23,.4); }
.cert-badge svg { width:28px; height:28px; stroke:var(--gold); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.cert-badge-text strong { font-size:.85rem; font-weight:600; color:var(--white); display:block; }
.cert-badge-text span { font-size:.75rem; color:rgba(255,255,255,.5); }
.cert-visual { display:flex; flex-direction:column; gap:16px; }
.cert-stat-card { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:var(--radius-lg); padding:28px; display:flex; align-items:center; gap:20px; transition:transform var(--t); }
.cert-stat-card:hover { transform:translateX(6px); }
.cert-stat-num { font-size:2.2rem; font-weight:800; color:var(--gold); line-height:1; white-space:nowrap; }
.cert-stat-label { font-size:.85rem; color:rgba(255,255,255,.6); margin-top:4px; }

/* ── MID CTA ─────────────────────────── */
.cta-mid { background:linear-gradient(135deg,rgba(212,160,23,.93) 0%,rgba(200,144,10,.95) 100%); padding:64px 0; }
.cta-mid-inner { display:flex; align-items:center; justify-content:space-between; gap:40px; }
.cta-mid h2 { color:var(--navy); font-size:clamp(1.5rem,3vw,2.2rem); }
.cta-mid p { color:rgba(13,31,60,.7); margin-top:8px; font-size:1rem; }
.cta-mid-actions { display:flex; gap:16px; flex-shrink:0; }

/* ── CONTACT ─────────────────────────── */
.contact-inner { display:grid; grid-template-columns:1fr 1.4fr; gap:80px; }
.contact-info h3 { margin-bottom:8px; font-size:1.4rem; }
.contact-info>p { color:var(--text-muted); font-size:.95rem; line-height:1.7; margin-bottom:36px; }
.contact-detail { display:flex; align-items:flex-start; gap:14px; padding:16px 0; border-bottom:1px solid var(--border); }
.contact-detail:last-of-type { border-bottom:none; }
.contact-detail-icon { width:40px; height:40px; border-radius:10px; flex-shrink:0; background:rgba(13,31,60,.07); display:flex; align-items:center; justify-content:center; }
.contact-detail-icon svg { width:18px; height:18px; stroke:var(--navy); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.contact-detail strong { font-size:.85rem; font-weight:600; display:block; }
.contact-detail span { font-size:.82rem; color:var(--text-muted); }
.contact-form { background:var(--white); border-radius:var(--radius-lg); padding:40px; border:1px solid var(--border); box-shadow:var(--shadow-md); }
.contact-form h3 { margin-bottom:8px; }
.contact-form>p { color:var(--text-muted); font-size:.9rem; margin-bottom:28px; }

/* ── FORM ────────────────────────────── */
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { margin-bottom:18px; }
.form-group label { display:block; font-size:.82rem; font-weight:600; color:var(--text); margin-bottom:6px; }
.form-group label span { color:#DC2626; }
.form-group input,.form-group select,.form-group textarea { width:100%; padding:12px 14px; border:1.5px solid var(--border); border-radius:8px; font-family:'Inter',sans-serif; font-size:.9rem; color:var(--text); background:var(--bg); transition:border-color var(--t),box-shadow var(--t); outline:none; appearance:none; }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color:var(--navy); box-shadow:0 0 0 3px rgba(13,31,60,.12); }
.form-group textarea { resize:vertical; min-height:120px; }
.form-submit { width:100%; padding:15px; font-size:1rem; }

/* ── FOOTER ──────────────────────────── */
footer { background:var(--navy); color:var(--white); padding:64px 0 0; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand .logo { margin-bottom:16px; }
.footer-brand p { color:rgba(255,255,255,.55); font-size:.85rem; line-height:1.7; max-width:280px; }
.footer-social { display:flex; gap:12px; margin-top:20px; }
.footer-social a { width:36px; height:36px; border-radius:8px; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; transition:background var(--t); }
.footer-social a:hover { background:rgba(212,160,23,.25); }
.footer-social svg { width:16px; height:16px; fill:rgba(255,255,255,.6); }
.footer-col h4 { font-size:.9rem; font-weight:600; color:var(--gold-light); margin-bottom:20px; }
.footer-col ul { display:flex; flex-direction:column; gap:10px; }
.footer-col ul a { font-size:.83rem; color:rgba(255,255,255,.55); transition:color var(--t); }
.footer-col ul a:hover { color:var(--white); }
.footer-bottom { padding:20px 0; display:flex; align-items:center; justify-content:space-between; }
.footer-bottom p { font-size:.78rem; color:rgba(255,255,255,.35); }
.footer-bottom a { color:rgba(255,255,255,.5); transition:color var(--t); }
.footer-bottom a:hover { color:var(--white); }

/* ── PAGE HERO WITH PHOTO (inner pages) ─ */
.page-hero[style*="background-image"] {
  background-size: cover;
  background-position: center;
  padding: 120px 0 80px;
}
.page-hero[style*="background-image"]::before {
  background: rgba(13,31,60,.65);
}
.page-hero-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-hero-desc {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 560px;
  margin-top: 12px;
}
.page-hero-content { max-width: 1100px; margin: 0 auto; padding: 0 24px; position: relative; }

/* ── FAQ ACCORDION ───────────────────── */
.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid #e8e4da;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .2s;
}
.faq-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.faq-q {
  padding: 20px 24px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  user-select: none;
}
.faq-arrow { font-size: 1.2rem; transition: transform .3s; color: var(--gold); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  color: #555; font-size: 0.95rem; line-height: 1.75;
  padding: 0 24px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* ── SCROLL REVEAL ───────────────────── */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .6s ease,transform .6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:.1s; }
.reveal-delay-2 { transition-delay:.2s; }
.reveal-delay-3 { transition-delay:.3s; }

/* ── RESPONSIVE ──────────────────────── */
@media(max-width:1024px) {
  .page-hero-img { display:none; }
  .cert-inner { grid-template-columns:1fr; gap:40px; }
  .contact-inner { grid-template-columns:1fr; gap:40px; }
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
  .cta-mid-inner { flex-direction:column; align-items:flex-start; }
  .gallery-grid { grid-template-columns:repeat(2,1fr); }
  .gallery-item-tall { grid-row:span 1; min-height:auto; }
  .gallery-item-wide { grid-column:span 2; }
  .gallery-item-std { aspect-ratio:4/3; }
}
@media(max-width:768px) {
  .section { padding:64px 0; }
  nav { display:none; }
  .hamburger { display:flex; }
  .header-phone { display:none; }
  .trust-bar-inner { grid-template-columns:1fr 1fr; gap:0; }
  .trust-item { border-right:none; border-bottom:1px solid var(--border); padding:16px 20px; }
  .trust-item:nth-child(odd) { border-right:1px solid var(--border); }
  .trust-item:last-child,.trust-item:nth-last-child(2) { border-bottom:none; }
  .services-grid { grid-template-columns:1fr; }
  .testimonials-grid { grid-template-columns:1fr; }
  .process-steps { grid-template-columns:1fr; gap:40px; }
  .process-steps::before { display:none; }
  .cert-badges { grid-template-columns:1fr; }
  .form-row { grid-template-columns:1fr; }
  .hero-stats { gap:24px; flex-wrap:wrap; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; gap:8px; text-align:center; }
  .cta-mid-actions { flex-direction:column; width:100%; }
  .cta-mid-actions .btn { justify-content:center; }
}
@media(max-width:480px) {
  .gallery-grid { grid-template-columns:1fr; }
  .gallery-item-tall,.gallery-item-wide { grid-row:span 1; grid-column:span 1; min-height:auto; }
  .gallery-item-std,.gallery-item-tall,.gallery-item-wide { aspect-ratio:16/10; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
