/* ==========================================================================
   Public site styles
   ========================================================================== */

/* Fonts (self-hosted: no third-party requests = no extra consent needed) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant"; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-latin-ext-500.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Cormorant"; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+2000-206F; }
@font-face { font-family: "Cormorant"; font-weight: 600; font-display: swap; src: url(../fonts/cormorant-latin-ext-600.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Cormorant"; font-weight: 600; font-display: swap; src: url(../fonts/cormorant-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+2000-206F; }
@font-face { font-family: "Cormorant"; font-weight: 700; font-display: swap; src: url(../fonts/cormorant-latin-ext-700.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Cormorant"; font-weight: 700; font-display: swap; src: url(../fonts/cormorant-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+2000-206F; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-latin-ext-500i.woff2) format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "Cormorant"; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/cormorant-latin-500i.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+2000-206F; }

:root {
  --navy-950: #08111e;
  --navy-900: #0b1626;
  --navy: #0f1c2e;
  --navy-700: #1a2b44;
  --navy-600: #24395a;
  --gold: #c5a46d;
  --gold-light: #dcc49a;
  --gold-dark: #a6844c;
  --cream: #f7f3ec;
  --cream-2: #efe8dc;
  --ink: #1b2431;
  --muted: #5f6a7a;
  --line: #e7e1d6;
  --white: #fff;
  --success: #1f7a55;
  --danger: #b4423a;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(15, 28, 46, .06);
  --shadow: 0 18px 50px -20px rgba(15, 28, 46, .28);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 1.7; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4, dt, .feature__num, .error-code, .monogram { font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2, .h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3, .h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); }
.h4, h4 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
em { font-style: italic; }
button { font: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.muted { color: var(--muted); }
.w-100 { width: 100%; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.6em;
  border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .94rem; letter-spacing: .01em;
  cursor: pointer; transition: all .25s var(--ease); white-space: nowrap; line-height: 1.2;
}
.btn-sm { padding: .62em 1.15em; font-size: .85rem; }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy-900); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(197, 164, 109, .8); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-outline-dark { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline-dark:hover { border-color: var(--navy); color: var(--navy); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn .bi-arrow-right { transition: transform .25s var(--ease); }
.btn:hover .bi-arrow-right { transform: translateX(3px); }
.linklike { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }

.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: .92rem; color: var(--navy); }
.link-arrow i { transition: transform .25s var(--ease); color: var(--gold-dark); }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow--light { color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: .7em; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s, height .3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); flex-shrink: 0; }
.brand:hover { color: var(--navy); }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--gold); color: var(--gold-dark);
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; border-radius: 4px; line-height: 1;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-serif); font-size: 1.55rem; letter-spacing: .14em; font-weight: 700; }
.brand-text small { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand-logo { height: 44px; width: auto; }
.brand-logo--light { display: none; }

.main-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; padding: 8px 12px; font-size: .92rem; font-weight: 500; color: var(--ink); }
.main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--navy); font-weight: 600; }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a { font-size: .74rem; font-weight: 600; letter-spacing: .06em; padding: 4px 9px; border-radius: 999px; color: var(--muted); }
.lang-switch a.active { background: var(--navy); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; padding: 0; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--navy); transition: transform .3s, opacity .3s, top .3s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Transparent header over the home hero */
.is-home .site-header:not(.scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; }
.is-home .site-header:not(.scrolled) .brand, .is-home .site-header:not(.scrolled) .main-nav a { color: #fff; }
.is-home .site-header:not(.scrolled) .brand-text small { color: rgba(255, 255, 255, .6); }
.is-home .site-header:not(.scrolled) .brand-mark { color: var(--gold); }
.is-home .site-header:not(.scrolled) .lang-switch { border-color: rgba(255, 255, 255, .2); }
.is-home .site-header:not(.scrolled) .lang-switch a { color: rgba(255, 255, 255, .7); }
.is-home .site-header:not(.scrolled) .lang-switch a.active { background: var(--gold); color: var(--navy-900); }
.is-home .site-header:not(.scrolled) .nav-toggle span { background: #fff; }
.is-home .site-header:not(.scrolled) .brand-logo--dark { display: none; }
.is-home .site-header:not(.scrolled) .brand-logo--light { display: block; }
.is-home .site-header { position: fixed; left: 0; right: 0; }
.site-header.scrolled { box-shadow: var(--shadow-sm); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 10%, rgba(197, 164, 109, .16), transparent 60%),
              radial-gradient(900px 600px at 0% 100%, rgba(36, 57, 90, .9), transparent 70%),
              linear-gradient(160deg, var(--navy-950) 0%, var(--navy) 55%, var(--navy-700) 100%);
  padding: calc(var(--header-h) + 60px) 0 80px;
}
.hero__image { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; filter: grayscale(30%); }
.hero__pattern {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero::after {
  content: ""; position: absolute; right: -8%; top: 12%; width: 560px; height: 560px; border-radius: 50%;
  border: 1px solid rgba(197, 164, 109, .22); box-shadow: 0 0 0 70px rgba(197, 164, 109, .03), 0 0 0 140px rgba(197, 164, 109, .025);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 780px; }
.hero h1 { color: #fff; font-weight: 500; font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: 1.02; margin-bottom: .4em; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero__text { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .78); max-width: 620px; margin-bottom: 2.2rem; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 72px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); max-width: 980px;
}
.hero__stats .stat { padding: 26px 24px 0 0; }
.hero__stats .stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.hero__stats dt { font-family: var(--font-serif); font-size: clamp(2.2rem, 3.6vw, 3.2rem); color: var(--gold); line-height: 1; font-weight: 600; }
.hero__stats dd { margin: 8px 0 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .65); }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: rgba(255, 255, 255, .5); font-size: 1.3rem; animation: bob 2.2s infinite; z-index: 2; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.section--navy h2 { color: #fff; }
.section-head { margin-bottom: 48px; }
.section-head h2 { margin-bottom: 0; }
.section-head--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.section-head--split > :last-child { justify-self: end; }
.section-head--split p { margin-bottom: 1rem; }
.section-head--split > div:last-child:not(:first-child) { max-width: 520px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.feature {
  position: relative; padding: 40px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature__num { position: absolute; top: 26px; right: 30px; font-family: var(--font-serif); font-size: 2.6rem; color: var(--cream-2); font-weight: 700; line-height: 1; }
.feature__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--cream); color: var(--gold-dark); font-size: 1.5rem; margin-bottom: 22px; }
.feature h3 { font-size: 1.55rem; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Practice cards */
.practice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.practice-card {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); color: var(--ink); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.practice-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.practice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); border-color: transparent; }
.practice-card:hover::before { transform: scaleX(1); }
.practice-card > i { font-size: 1.9rem; color: var(--gold-dark); margin-bottom: 18px; }
.practice-card h3 { font-size: 1.45rem; margin-bottom: .45em; }
.practice-card p { color: var(--muted); font-size: .93rem; flex: 1; margin-bottom: 18px; }
.practice-card__more { font-size: .85rem; font-weight: 600; color: var(--navy); display: inline-flex; gap: .4em; align-items: center; }
.practice-card__more i { color: var(--gold-dark); transition: transform .25s var(--ease); }
.practice-card:hover .practice-card__more i { transform: translateX(4px); }

/* Sectors */
.section--navy::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 100% 0%, rgba(197, 164, 109, .12), transparent 60%); pointer-events: none; }
.sector-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); overflow: hidden; position: relative; }
.sector { display: flex; align-items: center; gap: 16px; padding: 30px 26px; background: var(--navy); color: #fff; font-weight: 500; transition: background .3s; }
.sector:hover { background: var(--navy-700); }
.sector i { font-size: 1.6rem; color: var(--gold); flex-shrink: 0; }

/* Members */
.member-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member-grid--4 { grid-template-columns: repeat(4, 1fr); }
.member-grid--compact { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.member-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member-card__photo { display: block; aspect-ratio: 4 / 4.4; overflow: hidden; background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); position: relative; }
.member-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member-card:hover .member-card__photo img { transform: scale(1.04); }
.member-card__body { padding: 22px 24px 26px; }
.member-card h3 { font-size: 1.5rem; margin-bottom: .1em; }
.member-card h3 a { color: var(--navy); }
.member-card p { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.member-grid--compact .member-card__photo { aspect-ratio: 16 / 11; }
.monogram { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-serif); font-size: 4.5rem; color: var(--gold); letter-spacing: .04em; font-weight: 500;
  background: radial-gradient(circle at 30% 20%, rgba(197, 164, 109, .18), transparent 60%); }
.monogram--lg { font-size: 6rem; }
.monogram--xs { position: static; display: inline-grid; width: 36px; height: 36px; border-radius: 50%; font-size: 1rem; background: var(--navy-700); }

/* Logos */
.logo-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.logo-row li > *, .logo-row li > a > * { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 84px; padding: 16px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--navy); font-weight: 600; font-size: .92rem; }
.logo-row img { max-height: 64px; width: auto; filter: grayscale(100%); opacity: .8; transition: filter .3s, opacity .3s; }
.logo-row a:hover img { filter: none; opacity: 1; }
.logo-row i { color: var(--gold-dark); font-size: 1.2rem; }

/* Posts */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-grid--2 { grid-template-columns: repeat(2, 1fr); }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder { height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 6px; padding: 22px 24px; color: #fff;
  background: radial-gradient(400px 200px at 100% 0%, rgba(197, 164, 109, .35), transparent 60%), linear-gradient(140deg, var(--navy-700), var(--navy-950)); }
.post-card__placeholder i { font-size: 1.8rem; color: var(--gold); }
.post-card__placeholder span { font-family: var(--font-serif); font-size: 1.35rem; }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--cream); color: var(--gold-dark); font-weight: 600; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.post-card h3 { font-size: 1.38rem; line-height: 1.25; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--gold-dark); }
.post-card p { color: var(--muted); font-size: .92rem; flex: 1; }

/* Contact section (home) */
.section--contact { background: linear-gradient(160deg, var(--navy-950), var(--navy) 60%, var(--navy-700)); color: rgba(255, 255, 255, .78); }
.contact-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-split h2 { color: #fff; }
.contact-split__form { background: #fff; border-radius: calc(var(--radius) + 4px); padding: 40px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); color: var(--ink); }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(197, 164, 109, .4); color: var(--gold); flex-shrink: 0; }
.contact-list a, .contact-list span { color: #fff; padding-top: 8px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; color: var(--navy); }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fbfaf7;
  font: inherit; font-size: .95rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(197, 164, 109, .16); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { font-size: .78rem; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }
.field--check { gap: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); font-weight: 400 !important; cursor: pointer; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.check a { text-decoration: underline; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; flex-wrap: wrap; }
.form-note { font-size: .76rem; color: var(--muted); margin: 0; flex: 1; min-width: 220px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: #e8f5ee; color: var(--success); border: 1px solid #c3e6d3; }
.alert-danger { background: #fbecea; color: var(--danger); border: 1px solid #f2cdc9; }

.lead-form--dark .field label { color: rgba(255, 255, 255, .85); }
.lead-form--dark .field input, .lead-form--dark .field select, .lead-form--dark .field textarea { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
.lead-form--dark .field select option { color: var(--ink); }
.lead-form--dark .field input::-webkit-calendar-picker-indicator { filter: invert(1); }
.lead-form--dark .field input:focus, .lead-form--dark .field select:focus, .lead-form--dark .field textarea:focus { background: rgba(255, 255, 255, .1); }
.lead-form--dark .check, .lead-form--dark .form-note { color: rgba(255, 255, 255, .6); }
.lead-form--dark .check a { color: var(--gold-light); }
.lead-form--dark .field-error { color: #ff9c92; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero, .profile-hero, .error-page { position: relative; color: rgba(255, 255, 255, .78); padding: 70px 0 76px; overflow: hidden; background: var(--navy); }
.page-hero__bg { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 400px at 90% -10%, rgba(197, 164, 109, .2), transparent 60%),
              linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 56px 56px,
              linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 56px 56px,
              linear-gradient(160deg, var(--navy-950), var(--navy) 70%); }
.page-hero .container, .profile-hero .container, .error-page .container { position: relative; }
.page-hero h1, .profile-hero h1, .error-page h1 { color: #fff; font-weight: 500; max-width: 900px; }
.page-hero h1 em { color: var(--gold); }
.page-hero .lead { font-size: 1.12rem; max-width: 720px; margin: 0; font-weight: 300; }
.page-hero__icon { position: absolute; right: 24px; bottom: -10px; font-size: 9rem; color: rgba(197, 164, 109, .12); line-height: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; margin-bottom: 26px; color: rgba(255, 255, 255, .55); }
.breadcrumb a { color: rgba(255, 255, 255, .75); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: .4; }
.page-hero--article h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }

/* Layout with sidebar */
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.sidebar { display: grid; gap: 22px; }
.sidebar-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.sidebar-card h3 { font-size: 1.4rem; }
.sidebar-card--dark { background: var(--navy); color: rgba(255, 255, 255, .7); border: 0; }
.sidebar-card--dark h3 { color: #fff; }
.sidebar-card--dark > p { font-size: .9rem; }
.sidebar-card--dark .form-grid { grid-template-columns: 1fr; }
.sidebar-card--dark .form-foot { flex-direction: column; align-items: stretch; }
.sidebar-card--dark .form-foot .btn { width: 100%; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.side-links, .icon-list, .check-list { list-style: none; padding: 0; margin: 0; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: flex; gap: 12px; align-items: center; padding: 12px 0; color: var(--ink); font-size: .93rem; }
.side-links a i { color: var(--gold-dark); }
.side-links a:hover { color: var(--gold-dark); }
.icon-list li { display: flex; gap: 12px; padding: 7px 0; font-size: .93rem; }
.icon-list i { color: var(--gold-dark); margin-top: 2px; }
.block-title { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.prose-wrap > .block-title:first-child, article > .block-title:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.services-box { padding: 32px; border-radius: var(--radius); background: var(--cream); margin-bottom: 40px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.check-list li { display: flex; gap: 10px; font-size: .95rem; }
.check-list i { color: var(--gold-dark); font-size: 1.15rem; line-height: 1.5; }

/* Prose */
.prose { font-size: 1.04rem; color: #2c3644; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.6rem; margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold-dark); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--gold); font-family: var(--font-serif); font-size: 1.4rem; font-style: italic; color: var(--navy); }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--cream); color: var(--navy); font-weight: 600; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; } .prose .ql-align-justify { text-align: justify; }
.prose--article { font-size: 1.08rem; line-height: 1.85; }
.detail-cover { width: 100%; border-radius: var(--radius); margin-bottom: 36px; aspect-ratio: 16 / 8; object-fit: cover; }
.article-lead { font-family: var(--font-serif); font-size: 1.55rem; line-height: 1.45; color: var(--navy); margin-bottom: 1.6em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; font-size: .88rem; margin-top: 22px; }
.article-meta i { color: var(--gold); margin-right: 4px; }
.article-author { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.article-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.article-disclaimer { margin-top: 40px; padding: 18px 20px; background: var(--cream); border-radius: var(--radius-sm); font-size: .86rem; color: var(--muted); }
.share { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; font-size: .9rem; flex-wrap: wrap; }
.share a, .share button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); background: #fff; cursor: pointer; transition: all .2s; }
.share a:hover, .share button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.small-note { font-size: .85rem; margin-top: 40px; }

/* Insights list */
.filter-bar { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 40px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .86rem; color: var(--ink); font-weight: 500; background: #fff; }
.chip small { color: var(--muted); margin-left: 3px; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.active small { color: var(--gold-light); }
.search-box { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; min-width: 260px; }
.search-box input { border: 0; padding: 10px 18px; font: inherit; font-size: .9rem; flex: 1; outline: none; min-width: 0; }
.search-box button { border: 0; background: transparent; padding: 0 16px; cursor: pointer; color: var(--navy); }
.results-for { margin: -20px 0 24px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state i { font-size: 2.6rem; color: var(--gold); }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.pagination a, .pagination .dots { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: .9rem; }
.pagination a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .dots { border: 0; }

/* Profile */
.profile-hero { padding: 64px 0; }
.profile-hero__inner { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: center; }
.profile-hero__photo { position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--navy-700), var(--navy-950)); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); border: 1px solid rgba(197, 164, 109, .3); }
.profile-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-contact { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.profile-contact a { color: rgba(255, 255, 255, .85); font-size: .92rem; }
.profile-contact a:hover { color: var(--gold); }
.profile-contact i { color: var(--gold); margin-right: 6px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.about-image { border-radius: var(--radius); margin-bottom: 24px; }
.stat-board { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.stat-board > div { background: #fff; padding: 28px 24px; }
.stat-board dt { font-family: var(--font-serif); font-size: 2.6rem; color: var(--gold-dark); line-height: 1; font-weight: 600; }
.stat-board dd { margin: 8px 0 0; font-size: .84rem; color: var(--muted); }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.contact-card { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-card > i { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--cream); color: var(--gold-dark); font-size: 1.3rem; margin-bottom: 16px; }
.contact-card h3 { font-size: 1.35rem; margin-bottom: .3em; }
.contact-card p { color: var(--muted); font-size: .93rem; }
.contact-card p a { color: var(--ink); }
.contact-forms { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.panel { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.panel--dark { background: var(--navy); border-color: var(--navy); }
.panel--dark h2 { color: #fff; }
.map-wrap { position: relative; height: 440px; background: var(--cream); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.4); }
.map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 20px; color: var(--muted); }
.map-placeholder i { font-size: 2.4rem; color: var(--gold-dark); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy-950), var(--navy-700)); color: rgba(255, 255, 255, .75); padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(197, 164, 109, .25); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: .2em; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Error */
.error-page { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.error-page .container { display: flex; flex-direction: column; align-items: center; }
.error-code { font-family: var(--font-serif); font-size: clamp(6rem, 18vw, 11rem); color: var(--gold); line-height: 1; opacity: .9; }
.error-page .hero__actions { justify-content: center; margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .6); padding: 80px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 48px; }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 20px; }
.brand--footer { color: #fff; margin-bottom: 20px; }
.brand--footer:hover { color: #fff; }
.brand--footer .brand-mark { color: var(--gold); }
.brand--footer .brand-text small { color: rgba(255, 255, 255, .5); }
.footer-about p { max-width: 380px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact i { color: var(--gold); margin-top: 2px; }
.footer-contact + .link-arrow { margin-top: 18px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); }
.social a:hover { border-color: var(--gold); }
.footer-disclaimer { margin: 56px 0 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .78rem; color: rgba(255, 255, 255, .42); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 30px; font-size: .82rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal .linklike { color: rgba(255, 255, 255, .72); font-size: .82rem; }
.footer-legal .linklike:hover { color: var(--gold); }

/* Floating buttons */
.whatsapp-fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .6); transition: transform .25s; }
.whatsapp-fab:hover { color: #fff; transform: scale(1.07); }
.to-top { position: fixed; right: 30px; bottom: 92px; z-index: 89; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 200; max-width: 1100px; margin: 0 auto; background: #fff; border-radius: var(--radius);
  box-shadow: 0 24px 70px -20px rgba(8, 17, 30, .45); border: 1px solid var(--line); padding: 22px 26px; display: flex; gap: 24px; align-items: center;
  animation: slideUp .45s var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { color: var(--navy); display: block; margin-bottom: 4px; }
.cookie-banner strong i { color: var(--gold-dark); }
.cookie-banner p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.55; }
.cookie-banner p a { text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } }

.modal-backdrop-x { position: fixed; inset: 0; z-index: 300; background: rgba(8, 17, 30, .6); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(3px); }
.modal-backdrop-x[hidden] { display: none; }
.modal-x { background: #fff; border-radius: var(--radius); width: 100%; max-width: 580px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; box-shadow: var(--shadow); animation: slideUp .3s var(--ease); }
.modal-x__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.modal-x__head h3 { margin: 0; font-size: 1.6rem; }
.modal-x__close { border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--muted); width: 36px; height: 36px; border-radius: 50%; }
.modal-x__close:hover { background: var(--cream); }
.modal-x__body { padding: 20px 26px; overflow-y: auto; }
.modal-x__body > p { font-size: .88rem; }
.modal-x__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 18px 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.consent-row { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.consent-row strong { color: var(--navy); font-size: .95rem; }
.consent-row p { margin: 4px 0 0; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.badge-soft { font-size: .72rem; font-weight: 600; color: var(--success); background: #e8f5ee; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span:first-of-type { position: absolute; inset: 0; background: #cfd5dd; border-radius: 999px; transition: background .25s; }
.switch span:first-of-type::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked + span { background: var(--navy); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: 8px 9px; font-size: .88rem; }
  .header-cta { display: none; }
}
@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: block; }
  /* backdrop-filter would make the header the containing block of the fixed off-canvas menu */
  .site-header { backdrop-filter: none; background: #fff; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; padding: 24px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; display: flex; flex-direction: column; justify-content: space-between;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a, .is-home .site-header:not(.scrolled) .main-nav a { color: var(--navy); font-family: var(--font-serif); font-size: 1.6rem; padding: 14px 0; }
  .main-nav a::after { display: none; }
  .nav-mobile-extra { display: grid; gap: 18px; margin-top: 28px; }
  .nav-mobile-contact { display: grid; gap: 8px; font-size: .95rem; }
  .nav-mobile-contact a { color: var(--ink); }
  .nav-open { overflow: hidden; }
  .nav-open .site-header, .is-home.nav-open .site-header { background: #fff !important; }
  .is-home.nav-open .site-header .brand, .is-home.nav-open .site-header .brand-text small { color: var(--navy); }
  .is-home.nav-open .site-header .nav-toggle span { background: var(--navy); }
  .is-home.nav-open .site-header .lang-switch a { color: var(--muted); }
  .is-home.nav-open .site-header .brand-logo--dark { display: block; }
  .is-home.nav-open .site-header .brand-logo--light { display: none; }

  .layout-sidebar, .about-grid { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .contact-split { grid-template-columns: 1fr; gap: 40px; }
  .member-grid, .member-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-forms { grid-template-columns: 1fr; }
  .profile-hero__inner { grid-template-columns: 240px 1fr; gap: 36px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero::after { width: 380px; height: 380px; }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .section-head--split { grid-template-columns: 1fr; gap: 16px; }
  .section-head--split > :last-child { justify-self: start; }
  .section-head { margin-bottom: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .member-grid, .member-grid--4, .member-grid--compact, .post-grid, .post-grid--2 { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-cards { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .contact-split__form, .panel { padding: 24px 20px; }
  .services-box, .sidebar-card { padding: 22px; }
  .profile-hero__inner { grid-template-columns: 1fr; }
  .profile-hero__photo { max-width: 260px; }
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero__stats { margin-top: 48px; }
  .hero__stats .stat { padding: 20px 12px 0 0; }
  .hero__stats .stat + .stat { padding-left: 14px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero::after { display: none; }
  .hero__scroll { display: none; }
  .lang-switch a { padding: 4px 7px; }
  .brand-text strong { font-size: 1.3rem; }
  .brand-text small { font-size: .6rem; letter-spacing: .16em; }
  .brand-mark { width: 38px; height: 38px; font-size: 1.35rem; }
  .cookie-banner { flex-direction: column; align-items: stretch; left: 10px; right: 10px; bottom: 10px; padding: 18px; gap: 14px; }
  .cookie-banner__actions .btn { flex: 1 1 auto; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .search-box { min-width: 0; }
  .page-hero__icon { font-size: 6rem; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .whatsapp-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .to-top { right: 20px; bottom: 78px; }
  .stat-board dt { font-size: 2.1rem; }
  .modal-x__foot .btn { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .header-actions { gap: 6px; }
  .brand-text small { display: none; }
}

@media print {
  .site-header, .site-footer, .cookie-banner, .whatsapp-fab, .to-top, .sidebar, .cta-band, .share { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0; }
  .page-hero h1 { color: #000; }
  .reveal { opacity: 1; transform: none; }
}
