@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700;800&display=swap');

/* ── Variables ── */
:root {
  --bg:        #fffdf8;
  --bg-alt:    #f5f0e6;
  --bg-card:   #ffffff;
  --navy:      #0f2044;
  --navy-lt:   #1a3564;
  --gold:      #b8963e;
  --gold-lt:   #d4af60;
  --gold-dim:  rgba(184,150,62,0.12);
  --text:      #1e2d4a;
  --muted:     #586580;
  --dim:       #8496b0;
  --border:    #dde2ec;
  --line:      #ede8de;
  --shadow-sm: 0 2px 8px  rgba(15,32,68,.06);
  --shadow:    0 8px 32px  rgba(15,32,68,.10);
  --shadow-lg: 0 20px 50px rgba(15,32,68,.14);
  --max-w:     1200px;
  --ease:      cubic-bezier(0.4,0,0.2,1);
  --trans:     0.28s var(--ease);
  --radius:    12px;
}

/* ── Accessibility body classes ── */
body.a11y-high-contrast {
  --bg: #000 !important; --bg-alt: #000 !important; --bg-card: #111 !important;
  --navy: #000 !important; --text: #fff !important; --muted: #fff !important;
  --gold: #ff0 !important; --gold-lt: #ff0 !important;
  --border: #fff !important; --line: #333 !important;
  background: #000 !important; color: #fff !important;
}
body.a11y-high-contrast .site-header { background: #000 !important; border-bottom-color: #fff !important; }
body.a11y-high-contrast .info-card,
body.a11y-high-contrast .approach-card,
body.a11y-high-contrast .svc-card,
body.a11y-high-contrast .contact-card,
body.a11y-high-contrast .team-card,
body.a11y-high-contrast .faq-item { background: #111 !important; border-color: #fff !important; }

body.a11y-inverted { filter: invert(1) hue-rotate(180deg); }
body.a11y-inverted img,
body.a11y-inverted canvas,
body.a11y-inverted svg { filter: invert(1) hue-rotate(180deg); }

body.a11y-grayscale { filter: grayscale(1); }

body.a11y-letter-space,
body.a11y-letter-space * { letter-spacing: 0.12em !important; word-spacing: 0.18em !important; }

body.a11y-line-height,
body.a11y-line-height * { line-height: 2.1 !important; }

body.a11y-readable-font,
body.a11y-readable-font * { font-family: Arial, Tahoma, 'Lucida Sans', sans-serif !important; }

body.a11y-highlight-links a {
  text-decoration: underline !important;
  font-weight: 700 !important;
  outline: 2px solid var(--gold) !important;
  outline-offset: 2px !important;
}

body.a11y-highlight-focus :focus-visible {
  outline: 4px solid #0050ff !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 8px rgba(0,80,255,.25) !important;
}

body.a11y-stop-motion *,
body.a11y-stop-motion *::before,
body.a11y-stop-motion *::after {
  animation-duration:       0.001ms !important;
  animation-iteration-count: 1      !important;
  transition-duration:      0.001ms !important;
  scroll-behavior:          auto    !important;
}

html.a11y-text-sm { font-size: 14px !important; }
html.a11y-text-lg { font-size: 19px !important; }
html.a11y-text-xl { font-size: 22px !important; }

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; }

body {
  font-family: 'Heebo', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

.container { width: 90%; max-width: var(--max-w); margin: 0 auto; }

/* ── Accessibility base ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--navy); color: #fff;
  padding: .75rem 1.5rem; z-index: 9999;
  font-weight: 700; text-decoration: none;
  transition: top .2s; border-radius: 0 0 4px 0;
}
.skip-link:focus { top: 0; }

/* ── Type ── */
h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; color: var(--navy); }
h2 { font-size: 2.1rem; font-weight: 700; line-height: 1.2; color: var(--navy); margin-bottom: 1.4rem; }
h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: .7rem; }

.gold-text { color: var(--gold); }

.eyebrow {
  display: inline-block;
  color: var(--gold); font-size: .78rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: .75rem;
}

/* ── Sections ── */
.section { position: relative; padding: 7rem 0; }

.section.bg-white { background: var(--bg); }
.section.bg-alt {
  background: linear-gradient(
    to bottom,
    var(--bg)      0%,
    var(--bg-alt) 10%,
    var(--bg-alt) 90%,
    var(--bg)     100%
  );
}

.section-heading { max-width: 680px; margin-bottom: 3.5rem; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading > p:last-of-type { color: var(--muted); font-size: 1.05rem; margin-top: .9rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9rem 2.2rem;
  font-size: 1rem; font-weight: 700; font-family: inherit;
  text-decoration: none; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
  transition: var(--trans);
}
.btn-navy {
  background: var(--navy); color: #fff;
  box-shadow: 0 4px 20px rgba(15,32,68,.2);
}
.btn-navy:hover { background: var(--navy-lt); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent; color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; }

/* ── Header ── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  background: rgba(255,253,248,.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 0;
}

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { height: 42px; width: auto; }
.brand-name {
  font-size: 1.5rem; font-weight: 700;
  color: var(--navy); white-space: nowrap;
  letter-spacing: -.02em;
  line-height: 1;
}
.brand-name-sub { font-size: .75rem; font-weight: 500; color: var(--muted); display: block; letter-spacing: 0; }

.main-nav { display: flex; align-items: center; gap: 1.8rem; }
.main-nav a {
  text-decoration: none; font-weight: 600; font-size: .92rem;
  color: var(--muted); transition: color var(--trans);
  position: relative; padding: .3rem 0;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width var(--trans);
}
.main-nav a:not(.nav-cta):hover,
.main-nav a.active          { color: var(--navy); }
.main-nav a:not(.nav-cta):hover::after,
.main-nav a.active::after   { width: 100%; }

.main-nav .nav-cta {
  background: var(--navy); color: #fff;
  padding: .55rem 1.4rem; border-radius: var(--radius);
  font-weight: 700;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--navy-lt); color: #fff; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 910;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero ── */
.hero-section {
  position: relative;
  background: var(--bg);
  padding-top: 5rem;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Ledger-paper grid background */
.hero-ledger-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-ledger-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,150,62,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,150,62,.04) 1px, transparent 1px);
  background-size: 52px 52px;
}
.hero-ledger-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 8% 50%,
    rgba(255,253,248,0)   0%,
    rgba(255,253,248,.55) 55%,
    rgba(255,253,248,.92) 80%,
    rgba(255,253,248,1)   100%
  );
}

/* Subtle dot-grid overlay */
.hero-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(184,150,62,.14) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 1;
}

.hero-layout {
  position: relative; z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 8rem 0 5rem;
}

.hero-brand-block { flex: 1 1 auto; padding-right: 9%; }

.hero-text-block {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-brand-block h1 {
  font-size: 4rem;
  white-space: nowrap;
  margin-top: .3rem;
  margin-bottom: 0;
}

.hero-sub {
  font-size: 1.05rem; color: var(--muted); font-weight: 400;
  margin: .7rem 0 0;
  border-right: 3px solid var(--gold);
  padding-right: 1.2rem; line-height: 1.7;
  margin-right: 1.5cm;
}

.hero-cta {
  display: block;
  width: fit-content;
  margin: 1.2rem auto 0;
  position: relative;
  z-index: 2;
}

.hero-text-block {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-logo { width: 280px; height: auto; max-width: 100%; }

/* ── מנורת הבנקאים — תמונה אמיתית ── */
.hero-lamp-wrap {
  position: absolute;
  bottom: 0;             /* יושבת על "הרצפה" */
  top: auto;
  right: 1%;
  width: 460px;
  z-index: 1;            /* מתחת לטקסט */
  pointer-events: none;
}

.hero-lamp-photo {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 0.42;
  /* שומר את הבסיס, מטשטש רק את הקצה התחתון ממש */
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 88%,
    transparent 100%
  );
}

/* בוהק לבן בתחתית הבסיס — מטשטש את נקודת המגע עם הרצפה */
.hero-lamp-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 180px;
  background: radial-gradient(
    ellipse 95% 80% at 50% 100%,
    rgba(255,253,248,1)   0%,
    rgba(255,253,248,1)   25%,
    rgba(255,253,248,.92) 48%,
    rgba(255,253,248,.60) 68%,
    transparent           88%
  );
  filter: blur(18px);
  pointer-events: none;
  z-index: 4;
}

@keyframes glow-breathe {
  0%,  100% { opacity: .70; }
  50%        { opacity: 1;   }
}

@media (prefers-reduced-motion: reduce) {
  .hero-lamp-glow { animation: none !important; }
}

/* ── About ── */
.about-grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: 5rem; align-items: center;
}
.about-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-logo-wrap {
  position: relative; z-index: 1;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--line);
}
.about-logo-wrap img { width: 220px; height: auto; display: block; }
.about-visual::before {
  content: ''; position: absolute;
  width: 370px; height: 245px;
  border: 2px dashed rgba(184,150,62,.3);
  border-radius: 20px;
  animation: bow-float 5s ease-in-out infinite;
}
@keyframes bow-float {
  0%,  100% { transform: rotate(-6deg); }
  50%        { transform: rotate(6deg);  }
}
@media (prefers-reduced-motion: reduce) { .about-visual::before { animation: none; } }

.about-content p { color: var(--muted); margin-bottom: 1.1rem; font-size: 1.02rem; }

.credentials-row { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.credential {
  display: flex; flex-direction: column;
  border-right: 3px solid var(--gold); padding-right: 1rem;
}
.credential strong { font-size: 1rem; color: var(--navy); font-weight: 700; }
.credential span   { font-size: .82rem; color: var(--muted); }

/* ── Approach ── */
.approach-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem;
}
.approach-card {
  position: relative;
  background: var(--bg-card); border: 1px solid var(--line);
  border-top: 3px solid transparent;
  padding: 2rem 1.6rem; border-radius: var(--radius);
  transition: border-top-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.approach-card:hover { border-top-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow); }
.approach-num {
  font-size: 3.5rem; font-weight: 800; color: var(--gold); opacity: .1;
  position: absolute; top: .5rem; left: 1rem; line-height: 1;
}
.approach-card h3 { margin-top: 1rem; }
.approach-card p  { color: var(--muted); font-size: .93rem; line-height: 1.65; }

/* Approach animated bg */
.approach-section { overflow: hidden; }
.approach-bg {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.approach-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.approach-section > .container { position: relative; z-index: 1; }

/* ── Services Overview ── */
.svc-row {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.svc-row:last-child { margin-bottom: 0; }
.svc-row .svc-card { flex: 1 1 calc(33.333% - 1rem); min-width: 240px; }

.svc-row-center { justify-content: center; }
.svc-row-center .svc-card { flex: 0 0 calc(33.333% - 1rem); }

.svc-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--line);
  border-right: 3px solid transparent;
  padding: 2rem; border-radius: var(--radius); text-decoration: none;
  transition: border-right-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.svc-card:hover {
  border-right-color: var(--gold);
  transform: translateX(-4px); box-shadow: var(--shadow);
}
.svc-num {
  position: absolute; top: .5rem; left: 1rem;
  font-size: 3rem; font-weight: 800; color: var(--gold); opacity: .1; line-height: 1;
}
.svc-icon { font-size: 1.6rem; margin-bottom: .6rem; }
.svc-card h3 { color: var(--navy); margin-bottom: .5rem; }
.svc-card p  { color: var(--muted); font-size: .9rem; flex: 1; }
.svc-arr     { color: var(--gold); font-weight: 700; margin-top: 1.5rem; font-size: .95rem; }

/* ── Detail sections ── */
.detail-grid {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: 5rem; align-items: start;
}
.detail-num {
  display: block; font-size: 5rem; font-weight: 800;
  color: var(--gold); opacity: .12; line-height: 1; margin-bottom: .5rem;
}

.detail-content > p { color: var(--muted); font-size: 1.02rem; margin-bottom: 1.1rem; }

.detail-list { list-style: none; margin-top: 1.5rem; }
.detail-list li {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .7rem 0; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: 1rem;
}
.detail-list li::before { content: '✦'; color: var(--gold); font-size: .65rem; flex-shrink: 0; margin-top: .35rem; }
.detail-list li:last-child { border-bottom: none; }

/* ── Two-column variant for long lists ── */
.detail-list.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.5rem;
}
.detail-list.two-col li:nth-last-child(-n+2) { border-bottom: none; }

/* כשמספר הפריטים אי-זוגי, הפריט האחרון בודד בשורתו —
   מתרחב על פני שתי עמודות לישור אחיד עם הסעיפים שסביבו */
.detail-list.two-col li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
/* מסיר את הגבול מהפריט שמעל הפריט הבודד (עמודה ימנית, שורה לפני אחרונה) */
.detail-list.two-col li:nth-last-child(3):nth-child(odd) {
  border-bottom: none;
}

.info-card {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-top: 3px solid var(--gold); padding: 2rem;
  border-radius: var(--radius); position: sticky; top: 7rem;
}
.info-card h3 { color: var(--navy); margin-bottom: .75rem; }
.info-card > p { color: var(--muted); font-size: .93rem; margin-top: .5rem; }
.info-card ul  { list-style: none; }
.info-card li  {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem 0; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: .9rem;
}
.info-card li::before { content: '◆'; color: var(--gold); font-size: .5rem; }
.info-card li:last-child { border-bottom: none; }

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.team-card {
  text-align: center;
  padding: 2rem 1.5rem 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-card.cat-card {
  border: 2px dashed var(--gold);
  background: linear-gradient(135deg, #fffdf8 0%, #fff8eb 100%);
}
.team-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 1.1rem;
  overflow: visible;          /* מאפשר לטבעת ולחתולות לצאת מחוץ לגבול */
  position: relative;
  box-shadow: 0 4px 16px rgba(15,32,68,.12);
}
.team-avatar svg { width: 100%; height: 100%; display: block; border-radius: 50%; }

/* טבעת קווקוות מסתובבת — לכל העובדים */
.team-avatar::after {
  content: '';
  position: absolute;
  inset: -7px;
  border: 2px dashed rgba(184,150,62,.38);
  border-radius: 50%;
  animation: ring-spin 22s linear infinite;
  pointer-events: none;
}
@keyframes ring-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .team-avatar::after { animation: none; }
}

/* ── כרטיס סהר — תמונה אמיתית ── */
.me-avatar-wrap {
  overflow: visible; /* מאפשר לטבעת ::after לצאת מחוץ לגבול */
}
.me-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* מכוון לאזור הפנים */
  display: block;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%); /* חיתוך עגול נקי ללא overflow */
}

/* ── כרטיס אתי — תמונה אמיתית ── */
.ety-avatar-wrap {
  overflow: visible;
}
.ety-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
}

/* ── כרטיס ראאד — תמונה אמיתית ── */
.raed-avatar-wrap { overflow: visible; }
.raed-avatar-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  border-radius: 50%;
  clip-path: circle(50% at 50% 50%);
}

/* ── כרטיס החתולות — אוזניים בורחות מהעיגול ── */
.cat-avatar-wrap {
  background: transparent !important;
  box-shadow: none !important;
}
.cat-avatar-wrap img {
  width: 130%;
  height: 130%;
  object-fit: cover;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -54%);  /* מעלה — אוזניים יוצאות */
  display: block;
  /* מסך רך — שומר על פנים, מוחק קצוות חדים */
  -webkit-mask-image: radial-gradient(ellipse 86% 90% at 50% 60%, black 46%, transparent 72%);
  mask-image:         radial-gradient(ellipse 86% 90% at 50% 60%, black 46%, transparent 72%);
}
.cat-deco-ring { display: none; } /* מוחלף ע"י ::after */
.team-name {
  font-size: 1.05rem; font-weight: 700;
  color: var(--navy); margin-bottom: .2rem;
}
.team-role {
  font-size: .82rem; color: var(--gold);
  font-weight: 600; letter-spacing: .5px;
}
.team-note {
  font-size: .8rem; color: var(--muted);
  margin-top: .5rem; font-style: italic;
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: .8rem; max-width: 820px; margin: 0 auto; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--trans);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item[open] { border-color: var(--gold); }

.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem;
  font-size: 1.02rem; font-weight: 700; color: var(--navy);
  cursor: pointer; list-style: none; gap: 1rem;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  color: var(--gold); font-size: 1.4rem; font-weight: 400;
  flex-shrink: 0; transition: transform var(--trans);
  line-height: 1;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }

.faq-a {
  padding: 0 1.5rem 1.2rem;
  border-top: 1px solid var(--line);
}
.faq-a p { color: var(--muted); font-size: .97rem; padding-top: 1rem; line-height: 1.75; }
.faq-a p + p { margin-top: .7rem; }

/* ── Contact ── */
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 4rem; align-items: start;
}
.contact-cards {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem;
}
.contact-card {
  display: flex; flex-direction: column; gap: .25rem;
  background: var(--bg-card); border: 1px solid var(--line);
  padding: 1.4rem; border-radius: var(--radius); text-decoration: none;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}
.contact-card:hover {
  border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow);
}
.cc-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-alt); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .5rem;
}
.cc-icon--wa   { background: #dcf8c6; color: #128c7e; }
.cc-icon--mail { background: #ffefd5; color: var(--gold); }

.cc-label { font-size: .78rem; color: var(--muted); font-weight: 600; }
.contact-card strong { font-size: 1.1rem; color: var(--navy); direction: ltr; text-align: right; }

.contact-personal-line {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; text-decoration: none;
  padding: .35rem 0; border-bottom: 1px solid var(--line);
  color: inherit; transition: color var(--trans);
}
.contact-personal-line:last-child { border-bottom: none; }
.contact-personal-line:hover { color: var(--gold); }
.contact-personal-line span { font-size: .9rem; color: var(--muted); }
.contact-personal-line strong { font-size: 1rem; color: var(--navy); direction: ltr; }

.office-address {
  grid-column: 1 / -1;
  font-style: normal; color: var(--muted); font-size: .93rem;
  border-right: 3px solid var(--gold); padding-right: 1rem;
  display: flex; align-items: center; gap: .4rem;
}

.contact-map { display: flex; flex-direction: column; gap: 1rem; }
.contact-map iframe {
  width: 100%; height: 340px; border: 0;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  border-top: 3px solid var(--gold);
  padding: 2rem 0; color: rgba(255,255,255,.55);
  position: relative;
  overflow: visible;
}

.footer-cat {
  position: absolute;
  bottom: calc(100% - 42px);
  right: 3rem;
  width: 96px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
  pointer-events: none;
  user-select: none;
}

.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; font-size: .88rem;
}
.site-footer nav { display: flex; gap: 2rem; }
.site-footer nav a { color: rgba(255,255,255,.55); text-decoration: none; transition: color var(--trans); }
.site-footer nav a:hover { color: var(--gold); }

.footer-switch {
  text-align: center; padding: .5rem 0 0;
  font-size: .72rem; letter-spacing: .02em;
  color: rgba(255,255,255,.55);
}
.footer-switch a {
  color: rgba(255,255,255,.55); text-decoration: none;
  transition: color .25s;
}
.footer-switch a:hover { color: var(--gold); }
.footer-switch .fs-sep { margin: 0 .55rem; }

/* ── Content pages (accessibility / privacy) ── */
/* ── 404 Error page ── */
.error-card {
  max-width: 640px; margin: 3rem auto;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 3.5rem 2.5rem;
  text-align: center; box-shadow: var(--shadow);
}
.error-card img {
  width: 170px; height: 170px; object-fit: cover;
  border-radius: 50%; margin: 0 auto 1.75rem;
  border: 3px solid var(--gold-dim);
}
.error-card h1 { font-size: 2.1rem; margin-bottom: .6rem; }
.error-card > p { color: var(--muted); font-size: 1rem; margin-bottom: 2rem; line-height: 1.7; }
.error-card-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.content-page { padding-top: 8rem; }
.content-card {
  max-width: 820px; margin: 0 auto;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 3.5rem;
}
.content-card h1 { font-size: 2.4rem; margin-bottom: 1.5rem; }
.content-card h2 { font-size: 1.35rem; margin: 2rem 0 .8rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.content-card p  { color: var(--muted); margin-bottom: 1rem; font-size: .98rem; }
.content-card ul { list-style: none; margin: .5rem 0 1rem; }
.content-card li {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .5rem 0; border-bottom: 1px solid var(--line);
  color: var(--muted); font-size: .95rem;
}
.content-card li::before { content: '◆'; color: var(--gold); font-size: .5rem; flex-shrink: 0; margin-top: .45rem; }
.content-card li:last-child { border-bottom: none; }
.content-card a { color: var(--gold); text-decoration: underline; }

/* ── Accessibility FAB & Panel ── */
.a11y-fab {
  position: fixed; bottom: 1.75rem; left: 1.75rem; z-index: 9500;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff;
  border: 2px solid rgba(184,150,62,.6);
  cursor: grab; user-select: none; touch-action: none;
  box-shadow: 0 4px 18px rgba(15,32,68,.28);
  transition: background var(--trans), box-shadow var(--trans), transform var(--trans);
}
.a11y-fab-icon {
  width: 28px; height: 28px; object-fit: contain; filter: invert(1);
}
.a11y-fab:hover  { background: var(--navy-lt); transform: scale(1.08); }
.a11y-fab.dragging { cursor: grabbing; transform: scale(1.12); box-shadow: var(--shadow-lg); }

.a11y-panel {
  position: fixed; bottom: 5rem; left: 1.75rem;
  width: 290px; max-height: 82vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--shadow-lg);
  z-index: 9400;
  display: flex; flex-direction: column;
}
.a11y-panel[hidden] { display: none; }

.a11y-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.25rem .9rem;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: #fff; z-index: 1;
}
.a11y-panel-header h2 { font-size: 1rem; color: var(--navy); margin: 0; }
.a11y-close {
  background: none; border: none; cursor: pointer;
  font-size: 1.4rem; color: var(--muted); line-height: 1;
  padding: 0 .25rem; transition: color var(--trans);
}
.a11y-close:hover { color: var(--navy); }

.a11y-group { padding: .9rem 1.25rem; border-bottom: 1px solid var(--line); }
.a11y-group-title {
  font-size: .72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--dim); margin-bottom: .6rem;
}

.a11y-size-row { display: flex; gap: .5rem; }
.a11y-size-btn {
  flex: 1; padding: .55rem; border-radius: 6px;
  border: 1px solid var(--border); background: var(--bg-alt);
  font-family: inherit; color: var(--navy); cursor: pointer;
  font-weight: 700; transition: var(--trans);
}
.a11y-size-btn:hover, .a11y-size-btn.active {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.a11y-size-mid { font-size: 1rem; }

.a11y-toggle {
  display: flex; align-items: center; gap: .7rem;
  width: 100%; text-align: right;
  background: none; border: 1px solid var(--line);
  padding: .6rem .9rem; border-radius: 6px;
  color: var(--text); font-family: inherit; font-size: .9rem;
  cursor: pointer; margin-bottom: .4rem; transition: var(--trans);
}
.a11y-toggle:last-child { margin-bottom: 0; }
.a11y-toggle:hover { border-color: var(--gold); background: var(--gold-dim); }
.a11y-toggle.active { border-color: var(--navy); background: rgba(15,32,68,.06); font-weight: 600; }

.a11y-check {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 2px solid var(--border); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
}
.a11y-toggle.active .a11y-check { background: var(--navy); border-color: var(--navy); }
.a11y-toggle.active .a11y-check::after { content: '✓'; color: #fff; font-size: .68rem; font-weight: 700; }

.a11y-panel-footer { padding: .9rem 1.25rem; border-bottom: 1px solid var(--line); }
.a11y-reset {
  width: 100%; padding: .65rem;
  background: #fff2f2; border: 1px solid #fca5a5;
  color: #b91c1c; font-weight: 700; font-family: inherit;
  border-radius: 6px; cursor: pointer; transition: var(--trans);
}
.a11y-reset:hover { background: #ef4444; color: #fff; }

.a11y-law-note {
  padding: .75rem 1.25rem; font-size: .75rem; color: var(--dim); text-align: center;
}
.a11y-law-note a { color: var(--gold); }

.a11y-reading-guide {
  position: fixed; left: 0; right: 0; height: 24px;
  background: rgba(255,220,50,.22);
  border-top: 1px solid rgba(200,160,0,.35);
  border-bottom: 1px solid rgba(200,160,0,.35);
  pointer-events: none; z-index: 8999; display: none;
}

/* ── Scroll animations ── */
[data-animate] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-animate].visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  h1 { font-size: 2.7rem; }
  .approach-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid, .detail-grid, .contact-layout { gap: 3rem; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .hero-lamp-wrap { width: 300px; right: 2%; bottom: 0; top: auto; }
}

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .hamburger { display: flex; }
  .brand-name { display: none; }
  .main-nav {
    position: fixed; inset: 0;
    background: var(--bg);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 2.5rem;
    transform: translateX(100%); transition: transform .3s var(--ease); z-index: 905;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 1.2rem; color: var(--navy); }

  .hero-lamp-wrap      { width: 200px; bottom: 0; right: 0; top: auto; }
  .hero-layout         { flex-direction: column; align-items: flex-start; padding: 6rem 0 16rem; gap: 1.5rem; }
  .hero-brand-block    { max-width: 100%; width: 100%; }
  .hero-brand-block h1 { white-space: normal; font-size: 2.2rem; }
  .hero-sub            { white-space: normal; font-size: 1rem; }
  .about-grid          { grid-template-columns: 1fr; }
  .about-visual        { padding: 2rem 0; }
  .approach-grid       { grid-template-columns: 1fr; }
  .svc-row             { flex-direction: column; }
  .svc-row-center      { justify-content: stretch; }
  .svc-row-center .svc-card { flex: 1 1 100%; }
  .detail-grid         { grid-template-columns: 1fr; gap: 2.5rem; }
  .detail-side .info-card { position: static; }
  .contact-layout      { grid-template-columns: 1fr; }
  .credentials-row     { flex-direction: column; gap: 1rem; }
  .team-grid           { grid-template-columns: repeat(2,1fr); }
  .footer-inner        { flex-direction: column; text-align: center; }
  .a11y-fab            { bottom: 1rem; left: 1rem; width: 46px; height: 46px; }
  .a11y-panel          { left: 1rem; right: 1rem; width: auto; bottom: 4rem; }
}

@media (max-width: 480px) {
  .contact-cards { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr; }
}
