/* שדה פיננסים — design system. Off-white base, dark text, logo green + dark gray as accents. */
:root {
  --ink: #2b2b2b;          /* logo dark gray */
  --ink-soft: #3e3e3e;
  --muted: #5f5f5f;
  --bg: #fbfaf7;           /* off-white */
  --surface: #ffffff;
  --grey: #f2f1ed;
  --line: #e3e1db;
  --green: #6cafa6;        /* logo green, decorative only */
  --green-ink: #33706a;    /* green for text/UI, AA on bg, grey and tint */
  --green-tint: #e8f2f0;
  --focus: #33706a;

  --font: "Noto Sans Hebrew", system-ui, sans-serif;

  --fs-display: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  --fs-h1: clamp(2.2rem, 1.4rem + 3.2vw, 3.75rem);
  --fs-h2: clamp(1.85rem, 1.3rem + 2.2vw, 3.1rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.45vw, 1.5rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.45vw, 1.35rem);
  --fs-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  --fs-small: 0.9375rem;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --section-y: clamp(4rem, 2rem + 7vw, 8.75rem);
  --gutter: clamp(1rem, 0.25rem + 4.5vw, 5rem);
  --container: 1440px;
  --container-narrow: 820px;
  --radius-sm: 14px;
  --radius: 30px;
  --radius-pill: 999px;
  --shadow: 0 1px 2px rgba(43, 43, 43, .04), 0 12px 32px -12px rgba(43, 43, 43, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: var(--fs-body); line-height: 1.65; color: var(--ink); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
ul[class], ol[class] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--green); color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: var(--gutter); top: -100px; z-index: 99; background: var(--ink); color: #fff; padding: var(--space-sm) var(--space-lg); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.skip-link:focus { top: 0; }

.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }
.section { padding-block: var(--section-y); }
.section-alt { background: var(--grey); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: var(--fs-h2); margin-bottom: var(--space-sm); }
.section-lead { font-size: var(--fs-lead); color: var(--muted); font-weight: 300; }
.prose { font-size: var(--fs-body); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: var(--space-md); }
.prose h2 { font-size: var(--fs-h3); font-weight: 500; margin-top: var(--space-2xl); margin-bottom: var(--space-sm); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-inline-start: 1.25rem; }
.prose li + li { margin-top: var(--space-xs); }
.prose li::marker { color: var(--green); }
.note { display: block; font-size: var(--fs-small); color: var(--muted); background: #fdf6dc; border-radius: var(--radius-sm); padding: var(--space-sm) var(--space-md); margin-top: var(--space-lg); }

/* Buttons */
.btn { --btn-bg: transparent; --btn-fg: var(--ink); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 54px; padding: .8rem 2rem; border: 1.5px solid var(--ink); border-radius: var(--radius-pill); background: var(--btn-bg); color: var(--btn-fg); font: inherit; font-weight: 500; font-size: 1.05rem; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--green-ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: #fff; border-color: var(--green-ink); }
.btn:active { transform: scale(.98); }
.btn-primary { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn-outline { --btn-bg: transparent; }
.btn-sm { min-height: 44px; padding: .5rem 1.4rem; font-size: 1rem; }
.btn .ico { font-size: 1.15em; transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(-4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; color: var(--green-ink); text-decoration: none; }
.text-link .ico { transition: transform .35s var(--ease); }
.text-link:hover .ico, .card:hover .text-link .ico { transform: translateX(-5px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow .35s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(43, 43, 43, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: 88px; transition: min-height .35s var(--ease); }
.is-scrolled .header-inner { min-height: 70px; }
.logo img { height: 50px; width: auto; transition: height .35s var(--ease); }
.is-scrolled .logo img { height: 42px; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.main-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); list-style: none; padding: 0; }
.main-nav a:not(.btn) { position: relative; text-decoration: none; font-size: 1.05rem; padding-block: .35rem; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--green); transform: scaleX(0); transition: transform .35s var(--ease); }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--grey); cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 20px; height: 1.5px; background: var(--ink); margin-inline: auto; position: relative; transition: transform .3s var(--ease), background .3s; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: var(--space-xl); padding: var(--space-xl) var(--gutter) var(--space-2xl); background: var(--bg); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: var(--space-md); }
  .main-nav a:not(.btn) { font-size: 1.5rem; }
  .header-inner, .is-scrolled .header-inner { min-height: 70px; }
  .logo img, .is-scrolled .logo img { height: 40px; }
}

/* Home hero: centered headline + bento tiles */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(2.5rem, 1rem + 4vw, 4.5rem); }
.hero-head { max-width: 58rem; margin-inline: auto; text-align: center; }
.hero-title { font-size: var(--fs-display); font-weight: 500; line-height: 1.12; margin-bottom: var(--space-lg); }
.hero-title .word { display: inline-block; opacity: 0; transform: translateY(.45em); animation: rise .9s var(--ease) forwards; }
.hero-lead { font-size: var(--fs-lead); color: var(--muted); font-weight: 300; max-width: 42ch; margin-inline: auto; }
.hero-head .btn-row { justify-content: center; margin-top: var(--space-xl); }

.hl { display: inline-block; padding: 0 .28em .06em; margin-inline: -.05em; border-radius: var(--radius-pill); background: var(--green-tint); color: inherit; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl-white { background: var(--surface); }
.hl-green { background: var(--green); color: var(--ink); }
.section-alt .hl:not(.hl-white) { background: #dfece9; }

.bento { display: grid; grid-template-columns: 1fr 1.15fr 1.3fr 1.15fr 1fr; gap: clamp(.6rem, .3rem + 1vw, 1.1rem); align-items: center; margin-top: clamp(2.5rem, 1rem + 4vw, 4.5rem); }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; animation: rise 1s var(--ease) both; }
.bento > :nth-child(1) { animation-delay: .5s; } .bento > :nth-child(2) { animation-delay: .4s; } .bento > :nth-child(3) { animation-delay: .25s; } .bento > :nth-child(4) { animation-delay: .4s; } .bento > :nth-child(5) { animation-delay: .5s; }
.tile-leaf { display: grid; place-items: center; aspect-ratio: 1; background: var(--green-tint); color: var(--green-ink); }
.tile-leaf img { width: clamp(3.5rem, 2rem + 4vw, 6rem); height: auto; transform-origin: 25% 95%; animation: sway 6s ease-in-out infinite; }
.tile-stack { display: grid; gap: clamp(.6rem, .3rem + 1vw, 1.1rem); animation: rise 1s var(--ease) both .4s; }
.tile-stack .tile { animation: none; }
.tile-text { display: flex; flex-direction: column; gap: .35rem; justify-content: center; min-height: 150px; padding: 1.25rem 1.4rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.tile-text strong, .tile-cta strong, .tile-rings strong { font-size: clamp(1.05rem, .95rem + .45vw, 1.35rem); font-weight: 500; line-height: 1.25; }
.tile-text span, .tile-cta span { font-size: .875rem; color: var(--muted); line-height: 1.45; }
.tile-green { background: var(--green-tint); box-shadow: none; }
.tile-photo { aspect-ratio: 3 / 4; background: #221f22; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; animation: settle 1.8s var(--ease) both; }
.tile-chip { position: absolute; inset-inline: 1rem; bottom: 1rem; padding: .6rem 1rem; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .92); font-size: .9rem; font-weight: 500; text-align: center; backdrop-filter: blur(6px); }
.tile-cta { display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem; aspect-ratio: 4 / 5; padding: 1.4rem; background: var(--green); color: var(--ink); text-decoration: none; transition: transform .45s var(--ease); }
.tile-cta span { color: var(--ink-soft); }
.tile-cta:hover { transform: translateY(-6px); }
.tile-arrow { position: absolute; top: 1.1rem; inset-inline-end: 1.1rem; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); font-size: 1.2rem; transition: transform .45s var(--ease); }
.tile-cta:hover .tile-arrow { transform: rotate(-45deg); }
.tile-rings { display: grid; place-items: center; aspect-ratio: 1; text-align: center; background: var(--green-tint); }
.tile-rings::before { content: ""; position: absolute; inset: -30%; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 18px, rgba(108, 175, 166, .35) 18px 20px); animation: spin 40s linear infinite; }
.tile-rings strong { position: relative; }

/* Scrolling text strip */

/* Round photo (about on home) */
.round-photo { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; }
.round-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; border-radius: 50%; }
.round-photo::before { content: ""; position: absolute; inset: -5%; border-radius: 50%; border: 1.5px solid var(--green); opacity: .6; }
.round-photo::after { content: ""; position: absolute; width: 26%; aspect-ratio: 1; inset-inline-start: 0; bottom: 2%; background: url(../img/leaves.svg) center / contain no-repeat; filter: drop-shadow(0 6px 14px rgb(0 0 0 / .12)); }

/* Round arrow inside links */
.arrow-dot { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 1rem; transition: transform .45s var(--ease), background .3s, color .3s; }
.card:hover .arrow-dot { transform: rotate(-45deg); background: var(--ink); color: #fff; }
.section:not(.section-alt) .card .arrow-dot { background: var(--surface); }
.text-link:hover .ico, .card:hover .text-link .ico { transform: none; }

@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(.45em); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
@keyframes leaf { from { opacity: 0; transform: scale(.6) rotate(-12deg); } to { opacity: 1; transform: none; } }

/* Inner page hero (split, like the reference service page) */
.page-hero { padding-block: clamp(2.5rem, 1rem + 5vw, 6rem); }
.page-hero h1 { font-size: var(--fs-h1); margin-bottom: var(--space-md); }
.page-hero p { font-size: var(--fs-lead); color: var(--muted); font-weight: 300; max-width: 40ch; }
.page-hero .container.split { align-items: center; }
.breadcrumbs { font-size: var(--fs-small); color: var(--muted); margin-bottom: var(--space-lg) !important; font-weight: 400 !important; }
.breadcrumbs a { color: var(--green-ink); text-decoration: none; }
.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; border-radius: var(--radius); background: var(--green-tint); overflow: hidden; }
.hero-art::before { content: ""; position: absolute; width: 55%; aspect-ratio: 1; inset-inline-end: -10%; top: -12%; background: url(../img/leaves.svg) center / contain no-repeat; opacity: .3; }
.hero-art::after { content: ""; position: absolute; width: 26%; aspect-ratio: 1; inset-inline-start: 6%; bottom: -6%; background: url(../img/leaves.svg) center / contain no-repeat; opacity: .12; transform: scaleX(-1) rotate(12deg); }
.hero-art .ico { position: relative; font-size: clamp(5rem, 3rem + 7vw, 10rem); color: var(--green-ink); stroke-width: 1.1; animation: rise 1s var(--ease) both .2s; }
.page-hero .photo { aspect-ratio: 4 / 5; max-height: 640px; }

/* Grids & cards */
.grid { display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.card { position: relative; display: flex; flex-direction: column; padding: clamp(1.75rem, 1rem + 2vw, 2.75rem); background: var(--surface); border-radius: var(--radius); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.section:not(.section-alt) .card { background: var(--grey); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card h3 { font-size: var(--fs-h3); margin-bottom: var(--space-xs); }
.card p { color: var(--muted); }
.card .text-link { margin-top: auto; padding-top: var(--space-lg); }
.card .text-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: var(--space-lg); border-radius: 50%; background: var(--green-tint); color: var(--green-ink); font-size: 1.9rem; transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }
.card:hover .icon { background: var(--green-ink); color: #fff; transform: rotate(-6deg); }
.services-grid { grid-template-columns: repeat(6, 1fr); }
.services-grid > li { grid-column: span 2; }
.services-grid > li:nth-child(4), .services-grid > li:nth-child(5) { grid-column: span 3; }

.check-list li { position: relative; padding-inline-start: 2.25rem; }
.check-list li + li { margin-top: var(--space-md); }
.check-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .2em; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a7a71' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3 3 7-7'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); grid-template-columns: repeat(3, 1fr); }
.steps li { counter-increment: step; position: relative; padding: clamp(1.75rem, 1rem + 2vw, 2.5rem); background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.section:not(.section-alt) .steps li { background: var(--grey); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: var(--space-lg); font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: 300; line-height: 1; color: var(--green-ink); }
.steps li::after { content: ""; position: absolute; inset-inline-end: -30px; top: -30px; width: 110px; height: 110px; background: url(../img/leaves.svg) center / contain no-repeat; opacity: .14; transition: transform .6s var(--ease); }
.steps li:hover::after { transform: scale(1.35) rotate(10deg); }
.steps h3 { font-size: var(--fs-h3); margin-bottom: var(--space-xs); }
.steps p { color: var(--muted); }

/* Quote */
.quote { position: relative; font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2rem); font-weight: 300; line-height: 1.45; padding-top: 3.5rem; max-width: 34ch; }
.quote::before { content: "”"; position: absolute; top: -.5rem; inset-inline-start: -.2rem; font-size: 6rem; line-height: 1; color: var(--green); font-weight: 500; }
.quote cite { display: block; margin-top: var(--space-lg); font-size: var(--fs-small); font-style: normal; font-weight: 500; color: var(--green-ink); }

/* Band: rounded panel inside the page */
.band { padding-block: clamp(1rem, 2vw, 2rem); }
.band > .container { position: relative; overflow: hidden; max-width: calc(var(--container) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); padding: clamp(2.5rem, 1rem + 6vw, 7rem) clamp(1.5rem, 1rem + 6vw, 7rem); border-radius: var(--radius); background: var(--green-tint); }
.band > .container::after { content: ""; position: absolute; width: clamp(160px, 22vw, 320px); aspect-ratio: 1; inset-inline-end: 2%; bottom: 3%; background: url(../img/leaves.svg) center / contain no-repeat; opacity: .45; pointer-events: none; transition: transform 1.2s var(--ease); }
.band.is-visible > .container::after { transform: rotate(-8deg) scale(1.05); }
.band .section-head { position: relative; z-index: 1; margin-bottom: var(--space-xl); }
.band .btn { position: relative; z-index: 1; }
.band-dark > .container { background: var(--ink); color: #fff; }
.band-dark > .container::after { background-image: url(../img/leaves-light.svg); opacity: .35; inset-inline-end: auto; inset-inline-start: 3%; bottom: 5%; width: clamp(110px, 13vw, 190px); }
.band-dark .section-lead { color: rgba(255, 255, 255, .78); }
.band-dark .contact-grid { position: relative; z-index: 1; }

/* Why section: cards slide sideways while the page scrolls (pinned on desktop, swipe on mobile) */
.hscroll { position: relative; }
.hscroll-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-xl); }
.hscroll-head .section-head { margin-bottom: clamp(2rem, 1rem + 2.5vw, 3.5rem); }
.hscroll-progress { flex: 0 0 min(260px, 30%); height: 2px; margin-bottom: clamp(2.5rem, 1.2rem + 2.5vw, 4rem); background: var(--line); border-radius: 2px; overflow: hidden; }
.hscroll-progress span { display: block; height: 100%; width: 100%; background: var(--green-ink); transform: scaleX(var(--p, 0)); transform-origin: right; }
.hscroll-viewport { overflow: hidden; padding-inline: var(--gutter); max-width: var(--container); margin-inline: auto; }
.hscroll-track { display: flex; gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); width: max-content; will-change: transform; }
.hscroll-track > li { flex: 0 0 clamp(290px, 24vw, 380px); min-height: 330px; }
.hscroll.is-pinned .hscroll-pin { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.hscroll.is-pinned .hscroll-viewport { overflow: visible; }
.hscroll.is-pinned { overflow: clip; padding-block: 0; }
@media (max-width: 860px) {
  .hscroll-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: .5rem; }
  .hscroll-viewport::-webkit-scrollbar { display: none; }
  .hscroll-track > li { flex-basis: 78vw; scroll-snap-align: start; min-height: 280px; }
  .hscroll-head { display: block; }
  .hscroll-progress { width: 100%; margin: 0 0 var(--space-lg); }
}

/* Partners marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos { display: flex; gap: var(--space-md); width: max-content; direction: ltr; animation: marquee 45s linear infinite; }
.marquee:hover .logos { animation-play-state: paused; }
.logos li { display: grid; place-items: center; min-width: 190px; height: 96px; padding-inline: var(--space-lg); background: var(--grey); border-radius: var(--radius-sm); font-size: 1.15rem; font-weight: 500; color: var(--ink-soft); direction: rtl; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* FAQ: rounded rows, open row turns green */
.faq details { margin-bottom: .75rem; border-radius: var(--radius-sm); background: var(--surface); transition: background .4s var(--ease); }
.section:not(.section-alt).faq details { background: var(--grey); }
.faq details[open] { background: var(--green-tint); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: 1.35rem clamp(1.25rem, 1rem + 1vw, 2rem); list-style: none; cursor: pointer; font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--grey) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2b2b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7l10 10M17 8v9H8'/%3E%3C/svg%3E") center / 45% no-repeat; transition: transform .4s var(--ease), background-color .4s; }
.section:not(.section-alt).faq summary::after, .faq details[open] summary::after { background-color: var(--surface); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .faq-body { overflow: hidden; }
.faq .faq-body p { padding: 0 clamp(1.25rem, 1rem + 1vw, 2rem) 1.5rem; color: var(--ink-soft); max-width: 65ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-form { display: grid; gap: var(--space-md); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); background: var(--surface); border-radius: var(--radius); color: var(--ink); box-shadow: var(--shadow); }
.field label { display: block; font-size: var(--fs-small); font-weight: 500; margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); font: inherit; color: inherit; transition: border-color .25s, box-shadow .25s, background .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-ink); background: #fff; box-shadow: 0 0 0 4px var(--green-tint); }
.field textarea { min-height: 120px; resize: vertical; }
.field-check { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-small); color: var(--muted); }
.field-check input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--green-ink); }
.field-check a { color: var(--green-ink); }
.contact-form .btn { width: 100%; }
.form-status { min-height: 1.5em; font-weight: 500; color: var(--green-ink); }
.contact-list li { display: flex; align-items: center; gap: .75rem; }
.contact-list li + li { margin-top: var(--space-md); }
.contact-list .ico { font-size: 1.35rem; color: var(--green-ink); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--green-ink); }

/* Client review (real post, excerpt) */
.review { position: relative; padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); background: var(--surface); border-radius: var(--radius); }
.section:not(.section-alt) .review { background: var(--grey); }
.review::before { content: ""; display: block; margin-bottom: var(--space-md); width: clamp(40px, 4vw, 56px); aspect-ratio: 1; background: url(../img/leaves.svg) center / contain no-repeat; opacity: .9; }
.review blockquote p { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); font-weight: 300; line-height: 1.6; color: var(--ink); max-width: 56ch; }
.review blockquote p + p { margin-top: var(--space-md); }
.review figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--line); }
.review-name { font-weight: 600; color: var(--ink); }
.review-src { font-size: var(--fs-small); color: var(--muted); }
.review-src a { color: var(--green-ink); }

/* Footer (light, columns, hairlines) */
.site-footer { margin-top: var(--section-y); background: var(--grey); color: var(--ink-soft); font-size: var(--fs-small); }
.site-footer a { text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--green-ink); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg) var(--space-2xl); padding-block: clamp(2rem, 1.5rem + 2vw, 3.25rem); border-bottom: 1px solid #d7d7db; }
.footer-logo img { height: 60px; width: auto; }
.footer-tagline { flex: 1; font-size: var(--fs-lead); font-weight: 300; color: var(--ink); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl) var(--space-lg); align-items: start; padding-block: 2.5rem 2.25rem; border-bottom: 1px solid #d7d7db; }
.footer-title { font-size: 1rem; font-weight: 500; color: var(--ink); margin-bottom: var(--space-md); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li + li { margin-top: .45rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; }
.footer-contact .ico { flex: none; font-size: 1.15rem; margin-top: .2em; color: var(--green-ink); }
.footer-contact a { overflow-wrap: anywhere; }
.footer-disclaimer { padding-top: var(--space-lg); font-size: .85rem; color: var(--muted); max-width: 110ch; }
.footer-copy { padding-block: var(--space-lg) calc(var(--space-xl) + 56px); font-size: .85rem; color: var(--muted); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.card.reveal.is-visible:hover { transform: translateY(-6px); transition-delay: 0s; }

/* Responsive */
@media (max-width: 1100px) {
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid > li, .services-grid > li:nth-child(4), .services-grid > li:nth-child(5) { grid-column: auto; }
  .services-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .bento { grid-template-columns: .8fr 1.2fr 1.4fr 1.2fr; }
  .bento .tile-rings { display: none; }
}
@media (max-width: 860px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .tile-photo { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 4 / 3.4; }
  .bento .tile-leaf, .bento .tile-rings { display: none; }
  .tile-cta { aspect-ratio: auto; min-height: 100%; }
  .page-hero .split > .hero-art, .page-hero .split > .photo { order: -1; }
  .hero-art { aspect-ratio: 16 / 9; }
  .page-hero .photo { max-height: 420px; aspect-ratio: 1; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .steps, .services-grid { grid-template-columns: 1fr; }
  .services-grid > li:last-child:nth-child(odd) { grid-column: auto; }
  .btn-row .btn { flex: 1 1 100%; }
  .logos li { min-width: 150px; height: 80px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .logos { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
}

/* Five-card grids: 3 + 2 layout instead of a gap */
@media (min-width: 1101px) {
  .grid-3:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(6, 1fr); }
  .grid-3:has(> li:nth-child(5):last-child) > li { grid-column: span 2; }
  .grid-3:has(> li:nth-child(5):last-child) > li:nth-child(n+4) { grid-column: span 3; }
}
.tile-rings { clip-path: inset(0 round var(--radius)); }
.tile-arrow .ico { font-size: 1.35rem; }

/* Full-width photo band between sections (like the reference), subtle parallax */
.photo-band { position: relative; height: clamp(260px, 18rem + 18vw, 600px); overflow: hidden; background: var(--grey); }
.photo-band img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(var(--ps, 1.06)); transition: transform .1s linear; will-change: transform; }
.page-hero + .photo-band { margin-top: 0; }

/* Hero image tile (replaces a text tile) */
.tile-img { min-height: 150px; aspect-ratio: auto; background: var(--grey); }
.tile-img img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.tile-stack .tile-img { height: 150px; }

/* Shared lead form */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.band-dark .contact-grid { align-items: center; }
.band-dark .section-head { margin-bottom: 0; }

/* Rounded photo frames (about hero etc.) */
.photo { overflow: hidden; border-radius: var(--radius); background: #221f22; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.page-hero .photo { aspect-ratio: 4 / 5; max-height: 620px; width: 100%; max-width: 500px; justify-self: center; }
.prose .section-title { font-size: var(--fs-h2); margin-top: 0; }

/* Small rounded photo inside a text section */
.media-img { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; width: 100%; max-width: 460px; justify-self: center; background: var(--grey); }
.media-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-img:hover img { transform: scale(1.04); }
.media-col { display: grid; gap: var(--space-xl); justify-items: start; }
.media-col .media-img { justify-self: start; max-width: 400px; }
.prose .media-img { max-width: 400px; margin-bottom: var(--space-xl); }
@media (max-width: 860px) { .media-img, .media-col .media-img, .prose .media-img { max-width: 100%; aspect-ratio: 16 / 10; } }

/* Keep punctuation on the same line as a highlighted word */
.nw { white-space: nowrap; }
.faq details:last-of-type { margin-bottom: 0; }
.note:first-child { margin-top: 0; margin-bottom: var(--space-lg); }

/* Partner logos in the marquee: white cards, muted until hover */
.logos li { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); padding: .9rem 1.4rem; min-width: 200px; height: 110px; overflow: hidden; }
.logos li img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .4s var(--ease), opacity .4s var(--ease); }
.logos li:hover img { filter: none; opacity: 1; }
.logos li:has(img[src*="more"]) { padding: 0; }
.logos li img[src*="more"] { object-fit: cover; }
.logos .logo-text { font-size: 1.2rem; color: var(--muted); }
@media (max-width: 600px) { .logos li { min-width: 160px; height: 90px; } }
.logos li { display: block; flex: none; width: 220px; min-width: 0; height: 112px; }
.logos li img { display: block; width: 100%; height: 100%; max-width: none; }
.logos .logo-text { display: grid; place-items: center; }
@media (max-width: 600px) { .logos li { width: 170px; height: 90px; } }

/* Partner logos: simple static grid */
.logos-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-md); }
.logos-grid li { display: grid; place-items: center; height: 112px; padding: .9rem 1.2rem; background: var(--surface); border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; font-size: 1.15rem; color: var(--muted); }
.logos-grid li img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .4s var(--ease), opacity .4s var(--ease); }
.logos-grid li:hover img { filter: none; opacity: 1; }
.logos-grid li:has(img[src*="more"]) { padding: 0; }
.logos-grid li img[src*="more"] { object-fit: cover; }
@media (max-width: 1100px) { .logos-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .logos-grid { grid-template-columns: repeat(3, 1fr); } .logos-grid li { height: 84px; padding: .6rem .8rem; } }
@media (max-width: 420px) { .logos-grid { grid-template-columns: repeat(2, 1fr); } }
.logos-grid li { display: flex; align-items: center; justify-content: center; }
.logos-grid li img { height: 100%; max-height: 100%; min-height: 0; }

/* Header: logo | centered menu | CTA (desktop) */
@media (min-width: 961px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .main-nav { display: contents; }
  .main-nav ul { grid-column: 2; justify-self: center; }
  .main-nav > .btn { grid-column: 3; justify-self: end; }
  .logo { justify-self: start; }
}

/* Audit fixes: contrast, link affordance, tap targets */
.tile-cta, .tile-cta strong { color: #1c1c1c; }
.tile-cta span { color: #1f1f1f; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.main-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:not(.btn) { display: inline-block; padding-block: .2rem; }

/* Tables inside prose (privacy policy) */
.table-wrap { overflow-x: auto; margin-block: var(--space-md); border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.cookie-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fs-small); }
.cookie-table caption { padding: .75rem 1rem; text-align: start; font-weight: 500; }
.cookie-table th, .cookie-table td { padding: .7rem 1rem; text-align: start; border-top: 1px solid var(--line); vertical-align: top; }
.cookie-table th { background: var(--grey); font-weight: 500; }
.tile-text span { color: #474747; }
main:focus { outline: none; }

/* Robust under enlarged text (accessibility widget): wrap long words, grids size by text, buttons never clip */
body { overflow-wrap: break-word; }
.footer-links { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.btn { overflow: visible; text-align: center; }
.btn::before { border-radius: inherit; }
@media (max-width: 600px) { .btn { padding-inline: 1.25rem; } }
.logos-grid li { height: auto; min-height: 112px; }
.logos-grid li img { height: 88px; }
@media (max-width: 700px) { .logos-grid li { min-height: 84px; } .logos-grid li img { height: 64px; } }

/* Forms are always visible; on phones the dark form panel gives the form more width */
.contact-form { opacity: 1; transform: none; }
@media (max-width: 600px) {
  .band > .container { padding: 2.25rem 1rem; }
  .band-dark .contact-form { padding: 1.25rem; }
  .contact-grid { gap: 1.5rem; }
}

/* Lead form states */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-form { position: relative; }
.field [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.field-check:has([aria-invalid="true"]) { color: #b3261e; }
.field-error { margin-top: .35rem; font-size: var(--fs-small); color: #b3261e; font-weight: 500; }
.form-status.is-error { color: #b3261e; }
.form-status a { color: inherit; font-weight: 600; }
.contact-form button[disabled] { opacity: .75; cursor: progress; }
.contact-form.is-sent > :not(.form-success) { visibility: hidden; }
.form-success { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .5rem; padding: 2rem; text-align: center; background: var(--surface); border-radius: inherit; color: var(--ink); }
.form-success:focus { outline: none; }
.form-success-ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: .5rem; border-radius: 50%; background: var(--green-tint); color: var(--green-ink); }
.form-success-ico svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.form-success-title { font-size: var(--fs-h3); font-weight: 600; }
.form-success p:not(.form-success-title) { color: var(--muted); }
@media (max-width: 860px) { .band-dark > .container::after { inset-inline-start: auto; inset-inline-end: 4%; top: 3%; bottom: auto; width: 64px; } }

/* Travel insurance: dark panel with purchase links */
.travel-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; padding: clamp(2.25rem, 1rem + 5vw, 5.5rem); border-radius: var(--radius); background: var(--ink); color: #fff; }
.travel-panel::before { content: ""; position: absolute; width: clamp(320px, 45vw, 640px); aspect-ratio: 1; inset-inline-end: -12%; top: -45%; border-radius: 50%; background: radial-gradient(closest-side, rgb(108 175 166 / .28), transparent); pointer-events: none; }
.travel-intro, .travel-options { position: relative; z-index: 1; }
.travel-plane { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: var(--space-lg); border-radius: 50%; background: var(--green); color: var(--ink); font-size: 1.6rem; animation: fly 5s ease-in-out infinite; }
.travel-plane .ico { width: 1em; height: 1em; }
.travel-intro .section-title { color: #fff; }
.travel-intro .section-lead { margin: var(--space-md) 0 var(--space-md); color: #fff; }
.travel-text { color: rgba(255, 255, 255, .82); }
.travel-text + .travel-text { margin-top: var(--space-md); }
.travel-text a { color: var(--green); font-weight: 500; text-underline-offset: .2em; }
.travel-intro .check-list { list-style: none; padding: 0; }
.travel-intro .check-list li { color: rgba(255, 255, 255, .92); }
.travel-intro .check-list li::before { background-color: rgb(108 175 166 / .22); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236cafa6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3 3 7-7'/%3E%3C/svg%3E"); }
.travel-intro .check-list a { color: var(--green); font-weight: 500; text-underline-offset: .2em; }
.travel-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, .5rem + 1vw, 1.25rem); list-style: none; padding: 0; margin: 0; }
.travel-options li { min-width: 0; }
.travel-option { display: flex; flex-direction: column; height: 100%; padding: 1.1rem; background: #fff; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.travel-option img { display: block; width: 100%; height: auto; aspect-ratio: 290 / 166; object-fit: contain; }
.travel-cta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .75rem; padding: .55rem .55rem .55rem 1rem; padding-inline: 1rem .45rem; border-radius: var(--radius-pill); background: var(--ink); color: #fff; font-size: var(--fs-small); font-weight: 500; white-space: nowrap; }
.travel-cta .arrow-dot { width: 30px; height: 30px; background: var(--green); color: var(--ink); }
.travel-option:hover, .travel-option:focus-visible { transform: translateY(-6px); box-shadow: 0 18px 40px rgb(0 0 0 / .35); }
.travel-option:hover .arrow-dot, .travel-option:focus-visible .arrow-dot { transform: rotate(-45deg); background: #fff; }
.travel-option:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
@keyframes fly { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-4px, -5px) rotate(-6deg); } }
@media (max-width: 1100px) { .travel-panel { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .travel-options { grid-template-columns: 1fr; }
  .travel-option { flex-direction: row; align-items: center; gap: 1rem; padding: .75rem; }
  .travel-option img { width: 46%; flex: none; }
  .travel-cta { flex: 1; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .travel-plane { animation: none; } }

/* Footer: travel insurance teaser (small dark square, end of the links row) */
.footer-travel { padding: 1.1rem; border-radius: var(--radius-sm); background: var(--ink); color: #fff; }
.footer-travel-title { display: flex; align-items: center; gap: .5rem; margin-bottom: .85rem; font-size: 1rem; font-weight: 500; color: #fff; }
.site-footer .footer-travel-title a { color: #fff; }
.site-footer .footer-travel-title a:hover { color: var(--green); }
.footer-travel-title .ico { flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; padding: .4rem; border-radius: 50%; background: var(--green); color: var(--ink); }
.footer-travel ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; list-style: none; padding: 0; margin: 0; }
.site-footer .footer-travel li a { display: block; padding: .3rem; background: #fff; border-radius: 8px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.footer-travel img { display: block; width: 100%; height: auto; aspect-ratio: 290 / 166; object-fit: contain; }
.site-footer .footer-travel li a:hover, .site-footer .footer-travel li a:focus-visible { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--green); }
@media (min-width: 1101px) { html:not(.a11y-text) .footer-links { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr) minmax(15rem, 1.15fr); } }
@media (max-width: 1100px) { .footer-travel { max-width: 22rem; } }

/* Floating WhatsApp button (bottom right; the accessibility button sits bottom left) */
.wa-fab { position: fixed; z-index: 2147481999; right: 24px; bottom: calc(24px + var(--cc-offset, 0px)); display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #128c7e; color: #fff; font-weight: 500; text-decoration: none; box-shadow: 0 10px 28px -8px rgb(0 0 0 / .4); transition: transform .35s var(--ease), box-shadow .35s var(--ease), bottom .3s; }
.wa-fab svg { flex: none; width: 28px; height: 28px; }
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -10px rgb(0 0 0 / .5); color: #fff; }
.wa-fab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgb(18 140 126 / .45); animation: wa-ping 2.8s ease-out 1.5s 3; pointer-events: none; }
@keyframes wa-ping { to { box-shadow: 0 0 0 14px rgb(18 140 126 / 0); } }
@media (max-width: 600px) { .wa-fab { right: 16px; bottom: calc(16px + var(--cc-offset, 0px)); } }
@media (prefers-reduced-motion: reduce) { .wa-fab::before { animation: none; } }
@media print { .wa-fab { display: none; } }

/* Articles: list */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); list-style: none; padding: 0; margin: 0; }
.article-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--surface); border-radius: var(--radius); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.article-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card-body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.article-card-meta { font-size: var(--fs-small); color: var(--muted); margin-bottom: var(--space-xs); }
.article-card h2 { font-size: var(--fs-h3); margin-bottom: var(--space-xs); }
.article-card h2 a { color: inherit; text-decoration: none; }
.article-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.article-card p { color: var(--muted); }
.article-card .text-link { margin-top: auto; padding-top: var(--space-lg); }
.article-card:hover .arrow-dot { transform: rotate(-45deg); background: var(--ink); color: #fff; }
.article-card:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }

/* Articles: single article */
.article-head { padding-top: clamp(2.5rem, 1rem + 5vw, 5rem); }
.article-head h1 { font-size: var(--fs-h1); margin-bottom: var(--space-sm); }
.article-sub { font-size: var(--fs-lead); font-weight: 300; color: var(--ink-soft); }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: var(--space-md); font-size: var(--fs-small); color: var(--muted); }
.read-time { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .8rem; border-radius: var(--radius-pill); background: var(--green-tint); color: var(--green-ink); font-weight: 500; }
.read-time .ico { font-size: 1rem; }
.article-cover-wrap { max-width: calc(1060px + 2 * var(--gutter)); margin-top: clamp(1.75rem, 1rem + 3vw, 3rem); }
.article-cover { overflow: hidden; border-radius: var(--radius); }
.article-cover img { display: block; width: 100%; height: auto; }
.article-body { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); line-height: 1.8; }
.article-body .article-lead { font-size: var(--fs-lead); font-weight: 300; color: var(--ink); }
.article-body h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); margin-top: var(--space-xl); }
.article-example { margin-top: var(--space-lg); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: var(--radius-sm); background: var(--grey); border-inline-start: 4px solid var(--green); }
.article-example + .article-example { margin-top: var(--space-md); }
.article-example-title { font-weight: 600; color: var(--ink); }
.article-example p + p { margin-top: var(--space-xs); }
.article-callout { margin-top: var(--space-lg) !important; padding: 1.1rem 1.4rem; border-radius: var(--radius-sm); background: var(--ink); color: #fff; font-weight: 500; }
.article-steps { counter-reset: step; list-style: none; padding: 0 !important; }
.article-steps li { counter-increment: step; position: relative; padding-inline-start: 3rem; min-height: 2.2rem; }
.article-steps li + li { margin-top: var(--space-md); }
.article-steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 0; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--green-tint); color: var(--green-ink); font-weight: 600; }
.article-body .check-list { padding: 0; list-style: none; }
.article-body a { color: var(--green-ink); }
/* Article share buttons */
.share { margin-top: var(--space-2xl); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: var(--radius); background: var(--surface); }
.share-title { font-weight: 500; color: var(--ink); margin-bottom: var(--space-md); }
.share-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.share-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem 1.1rem; border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: var(--bg); color: var(--ink); font: inherit; font-size: var(--fs-small); font-weight: 500; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.share-btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.share-btn:hover { transform: translateY(-2px); background: var(--ink); border-color: var(--ink); color: #fff; }
.share-wa { background: #128c7e; border-color: #128c7e; color: #fff; }
.share-wa:hover { background: #0b6b60; border-color: #0b6b60; }

/* Home: featured article teaser (image on the right, text and button beside it) */
.article-feature { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(1.25rem, .5rem + 3vw, 3rem); align-items: center; padding: clamp(1rem, .5rem + 1.2vw, 1.25rem); background: var(--surface); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .45s var(--ease); }
.article-feature:hover { box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.article-feature-img { display: block; overflow: hidden; border-radius: var(--radius-sm); }
.article-feature-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.article-feature:hover .article-feature-img img { transform: scale(1.04); }
.article-feature-body { padding-inline-end: clamp(0rem, 2vw, 1.5rem); }
.article-feature h3 { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); margin-bottom: var(--space-sm); }
.article-feature h3 a { color: inherit; text-decoration: none; }
.article-feature h3 a:hover { color: var(--green-ink); }
.article-feature-body > p:not(.article-card-meta) { color: var(--muted); max-width: 52ch; }
.article-feature .btn-row { align-items: center; margin-top: var(--space-lg); }
.article-feature .text-link { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .article-feature { grid-template-columns: 1fr; } .article-feature-body { padding: 0 .25rem .5rem; } }
