/* EMS International Trading — "Mediterranean light"
   Whitewashed walls, Tunisian tile blue and the orange of the EMS globe.
   Signature: an eight-point-star zellige tile pattern, soft rounded cards and a bento product grid. */

:root {
  --white: #ffffff;
  --shell: #f7f4ee;
  --sand: #f1eadf;
  --ink: #0f2742;
  --ink-2: #3c5068;
  --ink-3: #6b7b8f;
  --blue: #1d4f91;
  --blue-deep: #12325c;
  --sky: #dbe7f5;
  --orange: #ef7d1f;
  --orange-deep: #c9600d;
  --red: #d4352b;
  --line: rgba(15, 39, 66, .1);
  --line-strong: rgba(15, 39, 66, .2);
  --r: 22px;
  --r-lg: 32px;
  --shadow: 0 1px 2px rgba(15,39,66,.05), 0 18px 40px -20px rgba(15,39,66,.28);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.55' stroke-width='1.2'%3E%3Cpath d='M28 6l6.4 15.6L50 28l-15.6 6.4L28 50l-6.4-15.6L6 28l15.6-6.4z'/%3E%3Cpath d='M28 14l9.9 4.1L42 28l-4.1 9.9L28 42l-9.9-4.1L14 28l4.1-9.9z'/%3E%3Ccircle cx='28' cy='28' r='3'/%3E%3Cpath d='M0 0l6 6M56 0l-6 6M0 56l6-6M56 56l-6-6'/%3E%3C/g%3E%3C/svg%3E");
  color-scheme: light;
}
html[lang="ja"] {
  --display: "Zen Maru Gothic", "Fraunces", "Hiragino Maru Gothic ProN", sans-serif;
  --body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.02rem/1.72 var(--body); -webkit-font-smoothing: antialiased; }
html[lang="ja"] .display, html[lang="ja"] .h2, html[lang="ja"] .mission-quote { word-break: auto-phrase; }
html[lang="ja"] body { line-height: 1.95; letter-spacing: .02em; font-size: 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-deep); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; }
address { font-style: normal; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue-deep); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.small { font-size: .86rem; }
.muted { color: var(--ink-3); }
.note { color: var(--ink-3); font-size: .92rem; margin-top: 28px; }

/* type */
.display { font-family: var(--display); font-weight: 600; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; font-variation-settings: "opsz" 120; }
html[lang="ja"] .display { font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.35; letter-spacing: .02em; }
.display-md { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
html[lang="ja"] .display-md { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.12; letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
html[lang="ja"] .h2 { font-weight: 700; font-size: clamp(1.45rem, 2.6vw, 2.05rem); line-height: 1.5; letter-spacing: .02em; }
.h3 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.25; color: var(--ink); }
html[lang="ja"] .h3 { font-weight: 700; font-size: 1.18rem; line-height: 1.55; }
.h4 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; line-height: 1.4; }
.eyebrow { display: inline-block; margin: 0 0 1rem; font: 700 .78rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange-deep); }
html[lang="ja"] .eyebrow { letter-spacing: .1em; }
.eyebrow-light { color: #ffc48a; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 36em; margin-top: 1.4rem; }
.lead-sm { color: var(--ink-2); max-width: 40em; margin: 0 auto; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 1.5em; border-radius: 999px; border: 1.5px solid transparent; font: 600 .96rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 1.15em; font-size: .9rem; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 24px -14px rgba(29,79,145,.9); }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-deep); color: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; }
.link-arrow .ico { transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.ico { width: 22px; height: 22px; flex: none; }
.ico-sm { width: 18px; height: 18px; }
.ico-xs { width: 14px; height: 14px; }

/* tile pattern */
.tile { background-color: var(--blue); background-image: var(--tile); background-size: 56px 56px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(15,39,66,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo { width: 112px; height: 34px; flex: none; }
.brand-sub { font-size: .72rem; line-height: 1.3; color: var(--ink-3); max-width: 9.5em; letter-spacing: .02em; }
html[lang="ja"] .brand-sub { max-width: 16em; font-size: .68rem; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; gap: 2px; }
.nav-list a { display: block; padding: 8px 14px; border-radius: 999px; font-size: .94rem; font-weight: 500; color: var(--ink); text-decoration: none; transition: background .2s, color .2s; }
.nav-list a:hover { background: var(--shell); color: var(--blue); }
.nav-list a[aria-current="page"] { background: var(--sky); color: var(--blue-deep); }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--shell); }
.lang a { padding: 6px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; color: var(--ink-2); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--white); color: var(--blue-deep); box-shadow: 0 1px 3px rgba(15,39,66,.15); }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--shell); color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn .menu-close { display: none; }
.menu-btn[aria-expanded="true"] .menu-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-close { display: inline; }
@media (max-width: 1040px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 18px; padding: 16px var(--gutter) 28px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(15,39,66,.35); max-height: calc(100vh - 78px); overflow: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; gap: 4px; }
  .nav-list a { padding: 13px 16px; font-size: 1.05rem; border-radius: 14px; }
  .lang, .nav-cta { align-self: flex-start; }
}
@media (max-width: 420px) { .brand-sub { display: none; } }

/* hero */
.hero { padding: clamp(28px, 5vw, 72px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2rem; }
.cert { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--shell); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.cert .ico { color: #2f8a4a; }
.hero-art { position: relative; aspect-ratio: 1 / 1.02; }
.tile-hero { position: absolute; inset: 6% 0 0 12%; border-radius: var(--r-lg); }
.hero-photo { position: absolute; inset: 0 14% 14% 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-photo img { object-position: 40% 50%; }
.hero-chip { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--white); box-shadow: var(--shadow); background: var(--white); }
.hero-chip-a { right: 0; bottom: 0; }
.hero-chip-b { right: 8%; top: 4%; width: 24%; }
.cover { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 520px; width: 100%; margin: 0 auto; } }

/* sections */
.section { padding: clamp(60px, 8vw, 112px) 0; }
.section-flush { padding-top: 8px; }
.section-sand { background: var(--shell); }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head-row { max-width: none; text-align: left; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; }

/* mission */
.section-mission { padding: clamp(56px, 7vw, 96px) 0; }
.mission { text-align: center; max-width: 900px; }
.mission-quote { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.25; color: var(--blue-deep); margin: 0 0 1.4rem; font-style: italic; text-wrap: balance; }
html[lang="ja"] .mission-quote { font-style: normal; font-weight: 700; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.6; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bento-item { grid-column: span 3; }
.bento-item:nth-child(1), .bento-item:nth-child(2) { grid-column: span 6; }
.bento-item a { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(15,39,66,.05); transition: transform .35s var(--ease), box-shadow .35s; }
.bento-item a:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.bento-media { aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.bento-item:nth-child(1) .bento-media, .bento-item:nth-child(2) .bento-media { aspect-ratio: 16 / 8.5; }
.bento-media img { transition: transform .8s var(--ease); }
.bento-item a:hover .bento-media img { transform: scale(1.05); }
.bento-body { padding: 20px 22px 24px; }
.bento-body .h3 { margin-bottom: .3rem; }
.bento-body p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .bento-item, .bento-item:nth-child(1), .bento-item:nth-child(2) { grid-column: span 1; } .bento-item:nth-child(1) .bento-media, .bento-item:nth-child(2) .bento-media { aspect-ratio: 16 / 10; } }
@media (max-width: 540px) { .bento { grid-template-columns: 1fr; } }

/* services row */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 36px; }
.svc-item { padding: 28px 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.svc-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sky); color: var(--blue); margin-bottom: 18px; }
.svc-item:nth-child(2n) .svc-ico { background: #fde7d3; color: var(--orange-deep); }
.svc-item .h4 { margin-bottom: .4rem; }
.svc-item p { margin: 0; color: var(--ink-2); font-size: .94rem; }
@media (max-width: 960px) { .svc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .svc { grid-template-columns: 1fr; } }

/* brand strip */
.brand-strip { background: var(--blue-deep); background-image: var(--tile); background-size: 56px 56px; background-blend-mode: soft-light; color: #fff; padding: 44px 0; text-align: center; }
.brand-strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; }
.brand-strip li { font: 600 clamp(1.15rem, 2vw, 1.5rem)/1.3 "Fraunces", Georgia, serif; }

/* story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-photo { aspect-ratio: 4 / 3.4; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.quote { margin: 0 0 1.6rem; }
.quote p { font-family: var(--display); font-size: clamp(1.3rem, 2.3vw, 1.8rem); line-height: 1.45; color: var(--ink); }
html[lang="ja"] .quote p { font-size: clamp(1.1rem, 1.9vw, 1.4rem); line-height: 1.9; font-weight: 500; }
.quote footer { display: flex; flex-direction: column; color: var(--ink-3); font-size: .9rem; }
.quote footer strong { color: var(--ink); font-size: 1rem; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } }

/* CTA */
.cta-card { position: relative; display: grid; grid-template-columns: .35fr 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--blue-deep); color: #fff; }
.tile-cta { min-height: 100%; background-color: var(--orange); }
.cta-body { padding: clamp(32px, 5vw, 64px); }
.cta-body .h2 { color: #fff; }
.cta-body p { color: rgba(255,255,255,.8); margin-top: 1rem; max-width: 34em; }
@media (max-width: 700px) { .cta-card { grid-template-columns: 1fr; } .tile-cta { min-height: 90px; } }

/* page head */
.page-head { padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); background: linear-gradient(180deg, var(--shell), var(--white)); }
.page-head-inner { max-width: 900px; }
.crumbs { display: flex; gap: 8px; font-size: .84rem; color: var(--ink-3); margin-bottom: 1.6rem; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.wide-photo { aspect-ratio: 16 / 6; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 640px) { .wide-photo { aspect-ratio: 4 / 3; } }

/* about */
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.prose { color: var(--ink-2); font-size: 1.05rem; }
.prose-narrow { max-width: 820px; }
.prose .h3 { color: var(--ink); margin: 2.4rem 0 .8rem; }
.signature-top { margin-top: 1rem; color: var(--ink-3); }
.signature-top strong { color: var(--ink); font-family: var(--display); font-size: 1.2rem; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 30px 26px; background: var(--white); border-radius: var(--r); }
.value-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 700; margin-bottom: 20px; }
.value .h3 { margin-bottom: .5rem; }
.value p { margin: 0; color: var(--ink-2); font-size: .94rem; }
@media (max-width: 980px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 10em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts div:first-child { border-top: 1px solid var(--line); }
.facts dt { font-weight: 700; font-size: .92rem; }
.facts dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
.offices-h { margin-bottom: 1rem; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.office-card { display: flex; gap: 16px; padding: 24px; border-radius: var(--r); background: var(--shell); }
.office-card .ico { color: var(--blue); margin-top: 3px; }
.office-card div { display: flex; flex-direction: column; color: var(--ink-2); }
.office-card strong { color: var(--ink); }
@media (max-width: 640px) { .offices { grid-template-columns: 1fr; } }

/* products */
.jump { position: sticky; top: 78px; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.jump-inner { overflow-x: auto; scrollbar-width: none; }
.jump-inner::-webkit-scrollbar { display: none; }
.jump ul { display: flex; gap: 6px; padding: 10px 0; width: max-content; }
.jump a { display: block; padding: 7px 14px; border-radius: 999px; font-size: .86rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; background: var(--shell); }
.jump a:hover, .jump a.is-active { background: var(--blue); color: #fff; }
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.product { display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; scroll-margin-top: 150px; }
.product-media { aspect-ratio: 16 / 8; background: var(--sand); overflow: hidden; }
.product-tile { display: grid; place-items: center; background-color: var(--blue); background-image: var(--tile); background-size: 56px 56px; }
.product:nth-child(3n) .product-tile { background-color: var(--orange); }
.product:nth-child(3n+1) .product-tile { background-color: #2f7a6b; }
.product-tile span { padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.94); font: 600 1.15rem/1 "Fraunces", Georgia, serif; color: var(--ink); }
.product-body { padding: 24px 26px 28px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pill { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--sky); color: var(--blue-deep); font-size: .78rem; font-weight: 700; }
.pill-soft { background: var(--shell); color: var(--ink-2); font-weight: 600; }
.product-body .h3 { margin-bottom: .6rem; }
.product-body > p { color: var(--ink-2); font-size: .96rem; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }
.ticks { display: grid; gap: 6px; }
.ticks li { position: relative; padding-left: 24px; color: var(--ink-2); font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; transform: rotate(45deg); background: var(--orange); border-radius: 2px; }
.brand-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand-cards li { padding: 24px; background: var(--white); border-radius: var(--r); }
.brand-name-lg { font: 600 1.45rem/1.2 "Fraunces", Georgia, serif; margin-bottom: .4rem; color: var(--blue-deep); }
.brand-cards p { margin: 0; color: var(--ink-2); font-size: .93rem; }
@media (max-width: 900px) { .brand-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .brand-cards { grid-template-columns: 1fr; } }

/* services page */
.services { display: grid; gap: 28px; }
.service { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--shell); border-radius: var(--r-lg); overflow: hidden; scroll-margin-top: 100px; }
.service:nth-child(even) .service-media { order: 2; }
.service-media { min-height: 320px; background: var(--sand); }
.service-body { padding: clamp(28px, 4vw, 52px); }
.service-body .h2 { margin-bottom: 1rem; }
.service-body > p { color: var(--ink-2); }
.service-body .ticks { margin: 1.2rem 0 1.6rem; }
@media (max-width: 820px) { .service { grid-template-columns: 1fr; } .service:nth-child(even) .service-media { order: 0; } .service-media { min-height: 200px; aspect-ratio: 16 / 7; } }

/* news */
.news { max-width: 900px; margin: 0 auto; position: relative; }
.news::before { content: ""; position: absolute; left: 150px; top: 8px; bottom: 8px; width: 2px; background: var(--sky); }
.news-item { display: grid; grid-template-columns: 150px 1fr; gap: 36px; padding: 22px 0; position: relative; }
.news-item::before { content: ""; position: absolute; left: 144px; top: 32px; width: 14px; height: 14px; transform: rotate(45deg); background: var(--orange); border: 3px solid var(--white); border-radius: 3px; }
.news-date { font-weight: 700; color: var(--blue); padding-top: 6px; font-size: .92rem; }
.news-body .h3 { margin-bottom: .4rem; }
.news-body p { color: var(--ink-2); margin: 0; }
.news-img { margin-top: 16px; border-radius: 14px; overflow: hidden; max-width: 560px; border: 1px solid var(--line); }
@media (max-width: 640px) {
  .news::before { left: 6px; }
  .news-item { grid-template-columns: 1fr; gap: 4px; padding-left: 32px; }
  .news-item::before { left: 0; top: 30px; }
}

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form { display: grid; gap: 20px; padding: clamp(24px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { width: 100%; margin-bottom: 10px; font-weight: 700; font-size: .92rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; background: var(--shell); font-size: .9rem; transition: background .2s, color .2s; }
.chip input:checked + span { background: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; font-size: .9rem; font-weight: 700; }
.field input, .field textarea { width: 100%; font: 400 1rem/1.5 var(--body); color: var(--ink); background: var(--shell); border: 1.5px solid transparent; border-radius: 14px; padding: 13px 15px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,79,145,.12); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field textarea { resize: vertical; min-height: 140px; }
.req { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fde7d3; color: var(--orange-deep); font-size: .7rem; font-weight: 700; }
.form-error { margin: 0; color: var(--red); font-weight: 700; }
.form .btn { justify-self: start; }
.contact-card { position: sticky; top: 100px; padding: clamp(26px, 3vw, 36px); border-radius: var(--r-lg); background: var(--blue-deep); color: #e6eef8; overflow: hidden; }
.tile-card { position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; opacity: .5; }
.contact-card .h3 { color: #fff; margin-bottom: 1.2rem; position: relative; }
.contact-card a { color: #fff; }
.contact-card a:hover { color: #ffc48a; }
.contact-list { display: grid; gap: 18px; position: relative; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.contact-list .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.1); color: #ffc48a; }
.contact-list div { display: flex; flex-direction: column; overflow-wrap: anywhere; }
.contact-list .k { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9fb4cf; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-card { position: relative; top: 0; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .form .btn { justify-self: stretch; } }
.boxed { padding: 22px 24px; background: var(--shell); border-radius: var(--r); }

/* footer */
.site-footer { background: var(--ink); color: #b9c7d8; font-size: .92rem; padding-bottom: 28px; }
.site-footer a { color: #e6eef8; text-decoration: none; }
.site-footer a:hover { color: #ffc48a; }
.tile-band { height: 18px; background-color: var(--blue); background-image: var(--tile); background-size: 28px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.3fr .8fr 1fr; gap: 40px; padding-top: clamp(48px, 6vw, 72px); }
.brand-invert { padding: 10px 14px; background: #fff; border-radius: 14px; }
.logo-footer { width: 120px; height: 36px; }
.footer-tagline { margin-top: 1.2rem; max-width: 24em; }
.footer-h { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffc48a; margin-bottom: 1rem; }
.footer-address p { margin-bottom: .6rem; }
.footer-links { display: grid; gap: 8px; }
.footer-offices li { display: flex; flex-direction: column; margin-bottom: 6px; }
.footer-offices strong { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.footer-base p { margin: 0; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* chooser */
.chooser { min-height: 100vh; display: grid; place-items: center; background: var(--shell); }
.chooser-main { text-align: center; padding: 40px 16px; max-width: 640px; }
.chooser-mark { width: 72px; height: 72px; margin: 0 auto 20px; display: block; }
.chooser-main p { color: var(--ink-2); }
.chooser-list { display: flex; justify-content: center; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.chooser-list a { display: inline-block; padding: 12px 26px; border-radius: 999px; background: var(--white); text-decoration: none; font-weight: 600; box-shadow: var(--shadow); }
.chooser-list a:hover { background: var(--blue); color: #fff; }

/* motion */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .site-header, .jump, .site-footer, .menu-btn { display: none !important; } }
