/* YR Exports — ZHENJIANG YURONG IMP&EXP CO LTD
   Shared stylesheet for all static pages.
   Layout language inspired by The7 "FSE Company" (licensed theme), in YuRong brand blue. */

/* Instrument Sans — SIL Open Font License 1.1 (see ../fonts/OFL.txt). Self-hosted: no request to Google. */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/instrument-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/instrument-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/instrument-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/instrument-sans-latin-700-normal.woff2) format("woff2"); }

:root {
  /* brand blue scale (from the YURONG logo) */
  --primary: #1f4fa3;
  --primary-700: #183f85;
  --primary-800: #12306b;
  --primary-900: #0b1f47;
  --primary-950: #07142f;
  --sky: #27a9e1;
  --sky-100: #e3f3fb;
  /* cool neutrals */
  --ink: #1c2a35;
  --body: #475a68;
  --muted: #6a7d8a;
  --line: #dce5eb;
  --soft: #f3f7fa;
  --white: #fff;
  --overlay: linear-gradient(90deg, rgba(7,20,47,.9) 0%, rgba(7,20,47,.68) 55%, rgba(7,20,47,.45) 100%);
  --radius: 0px;
  --gutter: 16px;
  --container: 1240px;
  --header-h: 76px;
  --font: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --header-h: 88px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--body); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sky); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .55em; color: var(--ink); font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); line-height: 1.06; letter-spacing: -.025em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary-900); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 15px 26px; border: 1.5px solid transparent; border-radius: var(--radius);
  font: 600 15px/1.2 var(--font); letter-spacing: .01em; cursor: pointer; text-align: center;
  transition: background .2s, color .2s, border-color .2s;
}
.btn::after { content: "→"; font-weight: 500; transition: transform .2s; }
.btn:hover::after { transform: translateX(3px); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-700); color: #fff; }
.btn--dark { background: var(--primary-900); color: #fff; }
.btn--dark:hover { background: var(--primary); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--primary-900); }
.btn--outline { border-color: var(--primary); color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: background .25s, border-color .25s, box-shadow .25s; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand img { height: 34px; width: auto; transition: filter .25s; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav ul { list-style: none; display: flex; gap: 30px; }
.nav a { color: var(--ink); font-weight: 500; font-size: 15.5px; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: currentColor; transition: right .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--primary); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { padding: 11px 20px; }
.nav a.btn, .nav a.btn:hover { color: #fff; } /* beat `.nav a` (dark text) so the button stays white-on-blue */
.nav .btn::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

/* Home: header floats transparent over the photo hero, turns solid on scroll (main.js adds .is-solid) */
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: rgba(255,255,255,.14); }
.has-hero .site-header:not(.is-solid) .brand img { filter: brightness(0) invert(1); }
.has-hero .site-header:not(.is-solid) .nav > ul a { color: #fff; }
.has-hero .site-header:not(.is-solid) .nav-toggle { color: #fff; }
.has-hero .site-header:not(.is-solid) .nav .btn { background: var(--primary); border-color: var(--primary); }
.has-hero .site-header:not(.is-solid) .nav .btn:hover { background: #fff; border-color: #fff; color: var(--primary-900); }
.has-hero .site-header.is-solid { background: #fff; border-color: var(--line); box-shadow: 0 6px 24px rgba(7,20,47,.06); }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(7,20,47,.15);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a, .has-hero .site-header:not(.is-solid) .nav > ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a::after { display: none; }
  .nav .btn, .has-hero .site-header:not(.is-solid) .nav .btn { margin-top: 16px; background: var(--primary); border-color: var(--primary); }
}

/* ---------- Home hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--primary-950); min-height: min(100vh, 960px); display: flex; align-items: flex-end; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,47,.9) 0%, rgba(7,20,47,.7) 55%, rgba(7,20,47,.45) 100%), linear-gradient(180deg, rgba(7,20,47,.4) 0%, transparent 30%, rgba(7,20,47,.6) 100%); }
.hero .container { position: relative; padding-top: calc(var(--header-h) + 72px); padding-bottom: 72px; }
@media (min-width: 960px) { .hero .container { padding-bottom: 110px; } }
.hero__inner { max-width: 880px; }
.hero h1 { color: #fff; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 40em; }
.hero .eyebrow { color: var(--sky); }
.hero__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 1.4em 0 0; }
.hero__list li { display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.9); font-weight: 500; }
.hero__list li::before { content: ""; width: 8px; height: 8px; background: var(--sky); flex: none; }

.eyebrow { display: inline-block; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 600; color: var(--primary); margin-bottom: .8em; }
.eyebrow a { color: inherit; }

/* ---------- Sub-page hero (photo background) ---------- */
.page-hero { position: relative; color: #fff; background: var(--primary-950); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after, .page-hero--center::before { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.page-hero--center { background: var(--primary-950) url(../images/sewing-workshop.jpg) center/cover; }
.page-hero--center::before { background: rgba(7,20,47,.8); }
.page-hero .container { padding-top: 88px; padding-bottom: 88px; }
@media (min-width: 960px) { .page-hero .container { padding-top: 130px; padding-bottom: 120px; } }
.page-hero .container > div:not(.page-hero__media) { max-width: 820px; position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: var(--sky); }
.page-hero .lead { font-size: 1.25rem; font-weight: 500; color: #fff; }
.page-hero p { color: rgba(255,255,255,.82); font-size: 1.08rem; }
.page-hero p strong { color: #fff; }
.page-hero--center .container > div { margin: 0 auto; text-align: center; }
.page-hero .breadcrumb, .page-hero .breadcrumb a, .page-hero .post-meta, .page-hero .post-meta a { color: rgba(255,255,255,.75); }
.page-hero .post-meta a:hover, .page-hero .breadcrumb a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.section--soft { background: var(--soft); }
.section--navy { background: var(--primary-900); color: rgba(255,255,255,.82); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--sky); }
.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section--navy .section-head p { color: rgba(255,255,255,.75); }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split--reverse > :first-child { order: 2; } }
.split__media img { width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split__media--contain img { object-fit: contain; background: #fff; }
.split__media--tall img { aspect-ratio: 4/5; }

.checklist { list-style: none; display: grid; margin: 1.4em 0; border-top: 1px solid var(--line); }
.checklist li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 19px; width: 18px; height: 18px; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.6'%3E%3Cpath d='M5 10.5l3 3 7-7'/%3E%3C/svg%3E") center/13px no-repeat; }

/* Numbered list ("why work with us") */
.numlist { list-style: none; display: grid; border-top: 1px solid var(--line); counter-reset: n; }
.numlist li { counter-increment: n; display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.numlist li::before { content: counter(n, decimal-leading-zero); font-weight: 600; color: var(--primary); font-size: 1.05rem; padding-top: 3px; }
.numlist h3 { margin: 0 0 .3em; font-size: 1.35rem; }
.numlist p { margin: 0; }
@media (min-width: 900px) { .numlist h3 { font-size: 1.6rem; } }

.cta-box { background: var(--primary-900); color: rgba(255,255,255,.8); padding: 36px 32px; margin-top: 24px; }
.cta-box h3 { color: #fff; font-size: 1.6rem; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); padding: 32px 28px; transition: border-color .2s, transform .25s; }
.card:hover { border-color: var(--primary); }
.card p { color: var(--muted); margin-bottom: 0; }
.card__num { font-size: 1rem; font-weight: 600; color: var(--primary); margin-bottom: 14px; display: block; }
.card__icon { width: 48px; height: 48px; background: var(--sky-100); color: var(--primary); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 24px; height: 24px; }
.card--media { padding: 0; overflow: hidden; }
.card--media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s; }
.card--media:hover img { transform: scale(1.04); }
.card--media .card__body { padding: 22px 24px 26px; }
.card--media h3 { font-size: 1.15rem; margin: 0; }
a.card { color: inherit; display: block; }
a.card:hover h3 { color: var(--primary); }

/* Service image cards (home) */
.services { display: grid; gap: 2px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .services { grid-template-columns: repeat(4, 1fr); } }
.svc { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; padding: 32px 28px; color: rgba(255,255,255,.85); overflow: hidden; isolation: isolate; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,20,47,.15) 0%, rgba(7,20,47,.88) 70%); transition: background .3s; }
.svc:hover img { transform: scale(1.05); }
.svc:hover { color: #fff; }
.svc:hover::before { background: linear-gradient(180deg, rgba(31,79,163,.45) 0%, rgba(7,20,47,.92) 70%); }
.svc h3 { color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.svc p { font-size: .98rem; }
.svc__more { margin-top: 10px; font-weight: 600; color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.tag { font-size: .78rem; font-weight: 600; padding: 4px 10px; border: 1px solid rgba(255,255,255,.4); color: #fff; }

/* Stats */
.stats { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { padding: 28px 24px; border-left: 1px solid rgba(255,255,255,.15); }
.stat__num { display: block; font-size: clamp(2.6rem, 5.5vw, 4rem); font-weight: 600; color: #fff; line-height: 1.05; letter-spacing: -.02em; }
.stat__num span + span { color: var(--sky); }
.stat__label { color: rgba(255,255,255,.72); font-weight: 500; text-transform: capitalize; }

/* Logos */
.logos { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 760px) { .logos { grid-template-columns: repeat(5, 1fr); } }
.logos > * { display: grid; place-items: center; padding: 34px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos img { height: 44px; width: auto; filter: grayscale(1); opacity: .65; transition: .25s; }
.logos > *:hover img { filter: none; opacity: 1; }

/* Process steps */
.steps { display: grid; gap: 0 40px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { border-top: 2px solid var(--line); padding: 28px 0 36px; position: relative; }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--primary); }
.step__no { display: block; font-size: 2.6rem; font-weight: 600; color: var(--primary); line-height: 1; margin-bottom: 16px; }
.step__no::before { content: "0"; }
.step p { color: var(--muted); font-size: .98rem; margin-bottom: .6em; }
.step h4 { font-size: .98rem; margin: .9em 0 .2em; color: var(--ink); }

/* Gallery */
.gallery { display: grid; gap: 2px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--soft); }
.gallery a { display: block; color: inherit; }
.gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.05); }
.gallery figcaption { padding: 12px 14px; font-size: .88rem; color: var(--muted); background: #fff; line-height: 1.4; }
.gallery--tall img { aspect-ratio: 3/4; }
.gallery--overlay figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(7,20,47,.88)); color: rgba(255,255,255,.85); padding: 48px 20px 18px; font-size: .95rem; }
.gallery--overlay figcaption strong { display: block; font-size: 1.25rem; color: #fff; font-weight: 600; }

.quote { border-left: 2px solid var(--primary); padding: 4px 0 4px 22px; color: var(--muted); font-size: 1.1rem; }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 56px 24px 0; font-weight: 600; font-size: 1.12rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.7rem; font-weight: 400; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--primary); }
.faq details p { padding: 0 0 24px; margin: 0; color: var(--muted); max-width: 70ch; }
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 1fr 1.6fr; gap: 80px; } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }

/* CTA band */
.cta-band { background: var(--primary-900); color: #fff; padding: 48px 32px; display: grid; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border: 40px solid rgba(39,169,225,.12); border-radius: 50%; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; padding: 64px 64px; } }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: rgba(255,255,255,.78); margin: 0; }

/* Blog */
.post-card { display: grid; background: #fff; border: 1px solid var(--line); overflow: hidden; }
@media (min-width: 760px) { .post-card { grid-template-columns: 1fr 1.2fr; } }
.post-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.post-card__body { padding: 30px; }
.post-card__body p { color: var(--muted); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: var(--muted); margin-bottom: 1em; }
.post-meta a { color: var(--primary); }
.layout-sidebar { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .layout-sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; } }
.prose { font-size: 1.08rem; color: var(--body); }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose h2 + h3 { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.1em; }
.prose li { margin-bottom: .45em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { margin: 0 0 1.8em; width: 100%; }
.prose .form-card a, .prose .btn { text-decoration: none; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px; }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--soft); color: var(--ink); font-weight: 600; }
.table-wrap tr:last-child td { border-bottom: 0; }
.widget { border: 1px solid var(--line); padding: 26px; margin-bottom: 20px; }
.widget h3 { font-size: 1.05rem; }
.widget ul { list-style: none; display: grid; gap: 10px; }
.widget--dark { background: var(--primary-900); border-color: var(--primary-900); color: rgba(255,255,255,.8); }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

/* ---------- Forms ---------- */
.form-card { background: #fff; padding: 28px 20px; border: 1px solid var(--line); }
@media (min-width: 640px) { .form-card { padding: 44px; } }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: #c62828; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1px solid #c9d5de; border-radius: 0; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31,79,163,.15); }
.hp-field { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.ok { color: #1a7f45; }
.form-status.err { color: #c62828; }

.contact-info { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .card__icon { margin: 0; flex: none; }
.contact-item strong { display: block; color: var(--ink); }
.contact-item span, .contact-item a { color: var(--muted); }
.contact-item a:hover { color: var(--primary); }
.section--navy .contact-item strong { color: #fff; }
.section--navy .contact-item span, .section--navy .contact-item a { color: rgba(255,255,255,.75); }
.section--navy .contact-item a:hover { color: #fff; }
.section--navy .card__icon { background: rgba(255,255,255,.08); color: var(--sky); }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary-950); color: rgba(255,255,255,.7); padding: 80px 0 0; font-size: .97rem; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 64px; } }
.footer-logo { display: inline-block; background: #fff; padding: 10px 14px; margin-bottom: 20px; }
.footer-logo img { height: 46px; width: auto; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1em; }
.site-footer ul { list-style: none; display: grid; gap: 11px; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 64px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .87rem; color: rgba(255,255,255,.5); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,12,30,.94); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__cap { position: absolute; left: 16px; right: 16px; bottom: 14px; text-align: center; color: rgba(255,255,255,.85); font-size: .92rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 46px; height: 46px; font-size: 1.4rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* 404 */
.notfound { text-align: center; padding: 140px 0 110px; }
.notfound img { margin: 0 auto 24px; width: min(420px, 100%); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* Markdown tables in blog posts (no wrapper element): scroll horizontally on small screens */
.prose table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0 0 1.4em; border: 1px solid var(--line); }
.prose th, .prose td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 9em; }
.prose th { background: var(--soft); color: var(--ink); font-weight: 600; }
.prose tr:last-child td { border-bottom: 0; }
