:root {
  --navy: #16233f;
  --navy-deep: #0d1526;
  --gold: #b68d40;
  --gold-bright: #cda75a;
  --cream: #f6f3ec;
  --bg: #ffffff;
  --ink: #1c2230;
  --ink-soft: #5b6478;
  --line: #e3ddcd;
}
:root[data-theme="dark"] {
  --bg: #12161f; --ink: #eae7dd; --ink-soft: #9aa0b5; --line: #262c3c;
  --cream: #1a2030; --navy: #101828; --navy-deep: #0a0f1a; --gold: #cda75a; --gold-bright: #e0c07f;
}
:root[data-theme="light"] {
  --navy: #16233f; --navy-deep: #0d1526; --gold: #b68d40; --gold-bright: #cda75a;
  --cream: #f6f3ec; --bg: #ffffff; --ink: #1c2230; --ink-soft: #5b6478; --line: #e3ddcd;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink);
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}
::selection { background: var(--gold); color: #14100a; }
a { color: inherit; text-decoration: none; }

.serif { font-family: Georgia, "Times New Roman", serif; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; color: var(--gold); }

/* ---------- header (floating) ---------- */
header {
  position: sticky; top: 8px; z-index: 40;
  width: min(1180px, calc(100% - 2 * clamp(12px, 3vw, 32px)));
  margin: 8px auto 0;
  background: linear-gradient(180deg, var(--navy), var(--navy-deep));
  border: 1px solid rgba(205,167,90,0.28);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(13,21,38,0.28);
  transition: box-shadow .25s ease, transform .25s ease;
}
header:hover { box-shadow: 0 14px 38px rgba(13,21,38,0.36); transform: translateY(-1px); }
:root[data-theme="dark"] header { box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
:root[data-theme="dark"] header:hover { box-shadow: 0 14px 38px rgba(0,0,0,0.6); }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; flex-wrap: wrap; }
.brand-group { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: flex; align-items: center; }
.brand-text { display: block; }
.brand-mark {
  height: 54px; width: auto; object-fit: contain; flex-shrink: 0; display: block;
}
.brand-name { font-size: 1.24rem; font-weight: 700; letter-spacing: 0.01em; line-height: 1.25; color: #f2efe6; }
.brand-sub { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: #b6bdd2; }
nav.primary { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 26px); }
nav.primary > a:not(.nav-cta), nav.primary > .has-dropdown > a { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #e7e9f2; padding: 6px 0; display: inline-block; transition: color .18s ease; }
nav.primary > a.nav-cta { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; display: inline-block; }
nav.primary > a:hover, nav.primary > a.active,
nav.primary > .has-dropdown > a:hover, nav.primary > .has-dropdown > a.active { color: var(--gold-bright); }
.nav-cta { background: var(--gold); color: #14100a !important; padding: 9px 18px; font-size: 0.76rem; border-radius: 999px; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.nav-cta:hover { background: var(--gold-bright); color: #14100a !important; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(205,167,90,0.35); }
.has-dropdown { position: relative; display: flex; align-items: center; }
.dropdown-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-6px);
  background: var(--bg); border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(0,0,0,0.14);
  min-width: 300px; padding: 10px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.has-dropdown:hover .dropdown-panel, .has-dropdown:focus-within .dropdown-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown-panel a { padding: 9px 12px; font-size: 0.82rem; text-transform: none; font-weight: 500; letter-spacing: 0; color: var(--ink); transition: background .15s ease, color .15s ease; }
.dropdown-panel a:hover { background: var(--cream); color: var(--navy); }
.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo title toggle" "menu menu menu";
  align-items: center;
  column-gap: 8px;
}
.brand-group { display: contents; }
.brand-logo { grid-area: logo; }
.brand-mark { flex-shrink: 0; height: 44px; }
.brand-text { grid-area: title; min-width: 0; text-align: center; }
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { white-space: nowrap; font-size: 0.58rem; letter-spacing: 0.03em; line-height: 1.4; }
nav.primary {
  grid-area: menu;
  display: flex; flex-direction: column; align-items: stretch; text-align: center; gap: 0;
  width: 100%; min-width: 0;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .35s ease, opacity .28s ease;
  padding-top: 0;
  border-top: 1px solid transparent;
}
nav.primary.open { max-height: 640px; opacity: 1; padding: 4px 0 20px; border-top-color: rgba(205,167,90,0.18); margin-top: 4px; }
nav.primary > a:not(.nav-cta), nav.primary > .has-dropdown > a {
  padding: 13px 8px; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.06);
}
nav.primary > a:not(.nav-cta):hover, nav.primary > .has-dropdown > a:hover { background: rgba(255,255,255,0.04); }
nav.primary > .nav-cta { width: auto; }
.has-dropdown { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
.has-dropdown .dropdown-panel {
  position: static; transform: none; border: none; box-shadow: none; align-items: center; text-align: center;
  opacity: 0; visibility: hidden; pointer-events: none; max-height: 0; overflow: hidden;
  transition: max-height .3s ease, opacity .25s ease, padding .3s ease;
  background: rgba(0,0,0,0.15); width: 100%; padding: 0;
}
.has-dropdown.open .dropdown-panel, .has-dropdown:focus-within .dropdown-panel {
  opacity: 1; visibility: visible; pointer-events: auto; max-height: 500px; padding: 10px;
}
.dropdown-panel a { color: #cfd6e6; padding: 11px 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.dropdown-panel a:hover { background: rgba(255,255,255,0.06); color: var(--gold-bright); }
.nav-cta { margin: 14px auto 0; }
.nav-toggle {
  grid-area: toggle;
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  width: 48px; height: 48px; border: none; background: none; cursor: pointer;
  justify-self: end;
}
.nav-toggle .bar {
  position: absolute; left: 50%; top: 50%; width: 25px; height: 3px; background: #f2efe6; border-radius: 2px;
  transform: translate(-50%, -50%) translateY(-8px);
  transition: transform .3s ease, opacity .3s ease, background .2s ease;
}
.nav-toggle:hover .bar { background: var(--gold-bright); }
.nav-toggle .bar:nth-child(2) { transform: translate(-50%, -50%); }
.nav-toggle .bar:nth-child(3) { transform: translate(-50%, -50%) translateY(8px); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- page hero (interior pages) ---------- */
.page-hero {
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(205,167,90,0.14), transparent 60%), linear-gradient(180deg, var(--navy), var(--navy-deep));
  color: #f2efe6; text-align: center;
  margin-top: -84px;
  padding: calc(84px + clamp(46px, 6vw, 70px)) 0 clamp(36px, 5vw, 50px);
}
.page-hero .eyebrow { color: var(--gold-bright); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 12px 0 10px; color: var(--gold-bright); }
.page-hero p { color: #cfd6e6; max-width: 62ch; margin: 0 auto; }
.breadcrumb { font-size: 0.78rem; color: #9aa4c0; margin-top: 14px; }
.breadcrumb a { color: #cfd6e6; }
.breadcrumb a:hover { color: var(--gold-bright); }

/* ---------- hero (home) ---------- */
.hero {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(205,167,90,0.14), transparent 60%),
    linear-gradient(180deg, var(--navy), var(--navy-deep));
  color: #f2efe6;
  text-align: center;
  margin-top: -84px;
  padding: calc(84px + clamp(60px, 9vw, 110px)) 0 clamp(60px, 9vw, 110px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(205,167,90,0.06) 0 1px, transparent 1px 90px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; color: #f2efe6; }
.hero .eyebrow { color: var(--gold-bright); }
h1.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  margin: 16px 0 18px;
  color: var(--gold-bright);
  text-wrap: balance;
}
.hero p.dek { color: #cfd6e6; font-size: 1.05rem; max-width: 62ch; margin: 0 auto 30px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; border: none; cursor: pointer; font-family: inherit;
  font-size: 0.86rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  padding: 14px 28px;
}
.btn-gold { background: var(--gold); color: #14100a; }
.btn-gold:hover { background: var(--gold-bright); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.5); color: #f2efe6; }
.btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

/* ---------- stats band ---------- */
.stats-band { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stat-cell { text-align: center; padding: 30px 16px; border-left: 1px solid var(--line); }
.stat-cell:first-child { border-left: none; }
@media (max-width: 700px) { .stat-cell:nth-child(odd) { border-left: none; } .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.stat-num { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
:root[data-theme="dark"] .stat-num { color: var(--gold-bright); }
.stat-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-top: 6px; }

/* ---------- section shell ---------- */
section { padding: clamp(50px, 7vw, 88px) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
h2.section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 10px 0 0; color: var(--navy); }
:root[data-theme="dark"] h2.section-title { color: var(--gold-bright); }
.section-dek { color: var(--ink-soft); margin: 10px 0 0; }

/* ---------- about the firm ---------- */
.about-panel { background: var(--cream); border: 1px solid var(--line); padding: clamp(26px, 4vw, 44px); max-width: 900px; margin: 0 auto; text-align: center; }
.about-panel p { color: var(--ink-soft); margin: 0 0 14px; font-size: 1.02rem; }
.about-panel p:last-child { margin-bottom: 0; }

/* ---------- team grid (portrait photo cards) ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  border: 1px solid var(--line); background: var(--bg); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 18px rgba(13,21,38,0.06);
  transition: box-shadow .2s ease, transform .2s ease;
}
.team-card:hover { box-shadow: 0 10px 28px rgba(13,21,38,0.12); transform: translateY(-2px); }
.team-card.founder { grid-column: 1 / -1; flex-direction: row; background: var(--cream); }
@media (max-width: 760px) { .team-card.founder { flex-direction: column; } }
.team-photo-wrap { width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); position: relative; flex: none; }
.team-card.founder .team-photo-wrap { width: 300px; aspect-ratio: auto; }
@media (max-width: 760px) { .team-card.founder .team-photo-wrap { width: 100%; aspect-ratio: 4 / 5; } }
.team-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block;
}
.team-fallback {
  width: 100%; height: 100%;
  display: none; align-items: center; justify-content: center;
  color: var(--navy); font-weight: 700; font-size: 3rem;
  position: absolute; top: 0; left: 0; background: var(--cream);
}
:root[data-theme="dark"] .team-fallback { color: var(--gold-bright); }
.team-info { padding: 22px 24px 26px; text-align: left; }
.team-card.founder .team-info { display: flex; flex-direction: column; justify-content: center; padding: 30px 36px; }
.team-card h3 { font-size: 1.18rem; margin: 0 0 4px; color: var(--navy); }
:root[data-theme="dark"] .team-card h3 { color: var(--gold-bright); }
.team-role { color: var(--gold); font-weight: 700; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.team-years { font-size: 0.72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.team-card p.bio { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* ---------- feature / service cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  border: 1px solid var(--line); background: var(--cream);
  padding: 30px 22px; text-align: center;
}
.feature-card .ficon {
  width: 56px; height: 56px; margin: 0 auto 18px;
  border: 1.5px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.feature-card .ficon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.feature-card h3 { margin: 0 0 10px; font-size: 1.05rem; color: var(--navy); }
:root[data-theme="dark"] .feature-card h3 { color: var(--gold-bright); }
.feature-card p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }

/* ---------- services: card grid with line icons ---------- */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .practice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .practice-grid { grid-template-columns: 1fr; } }
.pr-card { border: 1px solid var(--line); padding: 22px; display: flex; gap: 14px; align-items: flex-start; transition: border-color .15s; }
.pr-card:hover { border-color: var(--gold); }
.pr-card .picon { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; }
.pr-card .picon svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; stroke-width: 1.7; }
.pr-card h3 { margin: 0 0 6px; font-size: 0.94rem; color: var(--navy); }
:root[data-theme="dark"] .pr-card h3 { color: var(--gold-bright); }
.pr-card p { margin: 0; font-size: 0.82rem; color: var(--ink-soft); }
.pr-card .more { display: inline-block; margin-top: 8px; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gold); }

/* ---------- service detail page ---------- */
.service-layout { display: grid; grid-template-columns: 2.1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .service-layout { grid-template-columns: 1fr; } }
.service-body h2 { color: var(--navy); font-size: 1.4rem; margin: 34px 0 12px; }
:root[data-theme="dark"] .service-body h2 { color: var(--gold-bright); }
.service-body h2:first-child { margin-top: 0; }
.service-body p { color: var(--ink-soft); }
.service-body ul { color: var(--ink-soft); padding-left: 20px; }
.service-body li { margin-bottom: 8px; }
.service-cta { background: var(--navy); color: #f2efe6; padding: 26px; text-align: center; margin-top: 30px; }
.service-cta h3 { color: var(--gold-bright); margin: 0 0 8px; font-size: 1.1rem; }
.service-cta p { color: #cfd6e6; margin: 0 0 16px; font-size: 0.88rem; }
.sidebar-box { border: 1px solid var(--line); background: var(--cream); padding: 22px; margin-bottom: 20px; }
.sidebar-box h4 { margin: 0 0 14px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); }
:root[data-theme="dark"] .sidebar-box h4 { color: var(--gold-bright); }
.sidebar-box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.sidebar-box ul a { display: block; padding: 8px 10px; font-size: 0.86rem; border-radius: 2px; }
.sidebar-box ul a:hover, .sidebar-box ul a.active { background: var(--bg); color: var(--gold); }
.sidebar-box.contact { background: var(--navy); border-color: var(--navy); }
.sidebar-box.contact h4 { color: var(--gold-bright); }
.sidebar-box.contact p { color: #cfd6e6; font-size: 0.86rem; margin: 0 0 14px; }
.sidebar-box.contact a.btn { width: 100%; text-align: center; }

/* ---------- offices ---------- */
.offices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .offices-grid { grid-template-columns: 1fr; } }
.office-card { border: 1px solid var(--line); background: var(--cream); padding: 26px; }
.office-card .eyebrow { display: block; margin-bottom: 10px; }
.office-card address { font-style: normal; color: var(--ink-soft); line-height: 1.7; }

/* ---------- deadline calculator (unique tool) ---------- */
.calc-box { border: 1px solid var(--gold); background: var(--cream); padding: clamp(24px, 3vw, 34px); margin: 34px 0; position: relative; }
.calc-box .eyebrow { display: block; margin-bottom: 8px; }
.calc-box h3 { margin: 0 0 10px; font-size: 1.25rem; color: var(--navy); }
:root[data-theme="dark"] .calc-box h3 { color: var(--gold-bright); }
.calc-box > p { color: var(--ink-soft); margin: 0 0 20px; font-size: 0.92rem; }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr auto; gap: 16px; align-items: end; }
@media (max-width: 700px) { .calc-fields { grid-template-columns: 1fr; } }
.calc-fields .field small { display: block; font-size: 0.72rem; color: var(--ink-soft); margin-top: 4px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.calc-result { margin-top: 24px; display: none; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.calc-result.show { display: grid; }
@media (max-width: 700px) { .calc-result { grid-template-columns: 1fr; } }
.calc-cell { background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 16px 18px; }
.calc-cell .clabel { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); display: block; margin-bottom: 6px; }
.calc-cell .cdate { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
:root[data-theme="dark"] .calc-cell .cdate { color: var(--gold-bright); }
.calc-note { font-size: 0.76rem; color: var(--ink-soft); margin-top: 18px; }
.calc-badge { position: absolute; top: -12px; right: 20px; background: var(--gold); color: #14100a; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 12px; }

/* ---------- contact ---------- */
.contact-band { background: var(--navy); color: #f2efe6; text-align: center; }
.contact-band .section-dek { color: #cfd6e6; }
.contact-row { display: flex; justify-content: center; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; margin-top: 30px; }
.contact-item a { font-weight: 700; font-size: 1.05rem; color: var(--gold-bright); }
.contact-item a:hover { color: #fff; }
.contact-item .eyebrow { color: #b6bdd2; display: block; margin-bottom: 8px; }

/* ---------- contact form / page ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font-family: inherit; font-size: 0.94rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.76rem; color: var(--ink-soft); }
.form-status { padding: 14px 16px; font-size: 0.88rem; margin-bottom: 6px; display: none; }
.form-status.ok { display: block; background: #e4f3e6; color: #1e5c2a; border: 1px solid #b7dcbc; }
.form-status.err { display: block; background: #fbe7e7; color: #7a1f1f; border: 1px solid #f0c1c1; }
.contact-info-box { border: 1px solid var(--line); background: var(--cream); padding: 28px; }
.contact-info-box h3 { color: var(--navy); margin: 0 0 18px; font-size: 1.1rem; }
:root[data-theme="dark"] .contact-info-box h3 { color: var(--gold-bright); }
.info-line { display: flex; gap: 12px; margin-bottom: 18px; }
.info-line .ilabel { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); display: block; margin-bottom: 3px; }
.info-line div a, .info-line div span { color: var(--ink-soft); font-size: 0.92rem; }
.map-embed { border: 1px solid var(--line); margin-top: 18px; overflow: hidden; }
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }

/* ---------- floating actions ---------- */
.floaters { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; flex-direction: column; gap: 10px; }
.floater {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.floater.wa { background: #25d366; }
.floater.call { background: var(--navy); }
.floater svg { width: 22px; height: 22px; }
.floater.theme { background: var(--bg); color: var(--ink); border: 1px solid var(--line); cursor: pointer; }
.floater.theme:hover { border-color: var(--gold); color: var(--gold); }
.floater.theme svg { width: 20px; height: 20px; }
.floater.theme .icon-moon { display: none; }
:root[data-theme="dark"] .floater.theme .icon-sun { display: none; }
:root[data-theme="dark"] .floater.theme .icon-moon { display: block; }

/* ---------- collapsible contact FAB ---------- */
.fab-wrap { position: relative; }
.fab-options {
  position: absolute; bottom: calc(100% + 10px); right: 0;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.fab-options .floater {
  opacity: 0; transform: translateY(10px) scale(0.85); pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.fab-options.open .floater {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto;
}
.fab-options.open .floater:nth-child(1) { transition-delay: .06s; }
.fab-options.open .floater:nth-child(2) { transition-delay: .03s; }
.fab-options.open .floater:nth-child(3) { transition-delay: 0s; }
.floater.mail { background: var(--navy); color: #fff; }
.floater.fab-main { background: var(--gold); color: #14100a; cursor: pointer; border: none; transition: background .2s ease, transform .2s ease; }
.floater.fab-main:hover { background: var(--gold-bright); color: #14100a; }
.floater.fab-main .icon-close { display: none; }
.floater.fab-main[aria-expanded="true"] .icon-open { display: none; }
.floater.fab-main[aria-expanded="true"] .icon-close { display: block; }
.floater.fab-main[aria-expanded="true"] { background: var(--gold-bright); color: #14100a; }

footer { background: var(--navy-deep); color: #b6bdd2; padding: 50px clamp(16px, 3vw, 40px) 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-logo { height: 44px; width: auto; display: block; margin-bottom: 14px; }
.footer-grid h4 { color: var(--gold-bright); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 14px; }
.footer-grid p { font-size: 0.86rem; max-width: 30ch; margin: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.86rem; }
.footer-grid a:hover { color: var(--gold-bright); }
footer p.disc { max-width: 100%; margin: 26px 0 16px; font-size: 0.76rem; opacity: 0.85; }
footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; letter-spacing: 0.02em; }
footer .bottom span { color: var(--gold-bright); }
footer .credit { text-align: center; margin-top: 18px; font-size: 0.76rem; color: #8891ab; }
footer .credit a { color: var(--gold-bright); font-weight: 600; }
footer .credit a:hover { color: #fff; text-decoration: underline; }

/* FAQ accordion (service pages, trademark registration page) */
.faq-list { margin: 18px 0 30px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; background: var(--bg); }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; float: right; font-weight: 400; color: var(--ink-soft); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 10px 0 0; color: var(--ink-soft); }
:root[data-theme="dark"] .faq-item summary { color: var(--gold-bright); }

a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* ---------- entry disclaimer modal ---------- */
html:not(.disclaimer-seen) { overflow: hidden; }
.disclaimer-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,15,26,0.82); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
html.disclaimer-seen .disclaimer-overlay { display: none; }
.disclaimer-card {
  background: var(--cream); color: var(--ink);
  max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto;
  padding: clamp(26px, 4vw, 40px); border-top: 4px solid var(--gold);
  box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}
.disclaimer-logo-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(180deg, var(--navy), var(--navy-deep));
  box-shadow: 0 8px 20px rgba(13,21,38,0.3);
}
.disclaimer-logo { height: 56px; width: auto; display: block; }
.disclaimer-card h2 { color: var(--navy); font-size: 1.5rem; margin: 8px 0 18px; }
.disclaimer-card p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.65; margin: 0 0 16px; }
.disclaimer-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.btn-outline-dark { background: transparent; border: 1px solid var(--ink-soft); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--navy); color: var(--navy); }
