/* ==========================================================================
   Furkan Berk Mali Müşavirlik — site stylesheet
   Light, layered theme: off-white base, soft steel-blue gradients,
   floating white cards. One typeface (Inter), one accent (indigo).
   1. Tokens   2. Base   3. Components   4. Header   5. Home
   6. Page heroes   7. Services   8. About   9. Contact
   10. Guides & legal   11. Footer & utilities   12. Responsive
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --bg: #f8f9fb;
  --text: #1b1f30;
  --body: #4a4f63;
  --muted: #6d7286;
  --accent: #30336b;
  --accent-hover: #262958;
  --accent-tint: rgba(48, 51, 107, .07);
  --steel: #d2dcec;
  --mist: #e6ebf3;
  --border: rgba(27, 31, 48, .08);
  --border-strong: rgba(27, 31, 48, .16);
  --glass: rgba(255, 255, 255, .82);
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(27, 31, 48, .04), 0 6px 16px -6px rgba(48, 51, 107, .10);
  --shadow: 0 2px 4px rgba(27, 31, 48, .03), 0 24px 48px -20px rgba(48, 51, 107, .26);
  --mesh: radial-gradient(60% 85% at 95% 0%, var(--steel) 0%, transparent 72%), radial-gradient(38% 50% at 0% 30%, var(--mist) 0%, transparent 70%);
  --band: radial-gradient(65% 95% at 100% 0%, #c9d5e9 0%, transparent 72%), radial-gradient(45% 75% at 0% 100%, #dfe6f1 0%, transparent 72%), #edf1f6;
  --panel: linear-gradient(135deg, #c6d3e8 0%, #dbe3f0 48%, #f1f4f8 100%);
  --container: 1200px;
  --header-h: 76px;
  --section-y: clamp(72px, 8vw, 112px);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* 2. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
p { margin: 0 0 18px; }
h1, h2, h3 { margin: 0; color: var(--text); font-weight: 600; }
h1 { font-size: clamp(40px, 5vw, 66px); line-height: 1.05; letter-spacing: -.04em; }
h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.035em; }
h3 { font-size: 19px; line-height: 1.35; letter-spacing: -.015em; }
h1 :is(em, span), h2 em { font-style: normal; color: var(--accent); }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.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; }
.skip-link { position: fixed; z-index: 99; top: 8px; left: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--text); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

/* 3. Components ----------------------------------------------------------- */
.eyebrow,
.services-intro__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
}
.eyebrow::before,
.services-intro__label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 8px 20px -10px rgba(48, 51, 107, .6);
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }
.button--outline { border-color: var(--border); background: #fff; color: var(--text); box-shadow: var(--shadow-sm); }
.button--outline:hover { border-color: var(--border-strong); background: #fff; }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 15px; font-weight: 600; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; margin-bottom: 48px; }
.section-heading > p { max-width: 480px; margin: 0; color: var(--muted); }
.section-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; color: var(--muted); font-size: 15px; }

/* Shared card: white panel floating on the warm background. */
.needs-nav a, .service-card, .insight-card, .service-tile, .services-route, .contact-channel,
.guide-toc, .faq-list, .about-principles__list article, .services-start__grid article {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.needs-nav a, .service-card, .insight-card { transition: box-shadow .25s, transform .25s, border-color .25s; }
.needs-nav a:hover, .service-card:hover, .insight-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-3px); }

/* 4. Header --------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(248, 249, 251, .82); border-bottom: 1px solid var(--border); backdrop-filter: saturate(180%) blur(14px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand-logo { width: 210px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a:not(.button) { padding: 8px 16px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.site-nav > a:not(.button):hover { color: var(--text); }
.site-nav > a.is-active { background: var(--accent-tint); color: var(--accent); }
.site-nav .button { min-height: 44px; margin-left: 16px; padding: 0 20px; font-size: 14.5px; }
.menu-toggle { display: none; }

/* 5. Home ----------------------------------------------------------------- */
.hero { background: var(--mesh); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; padding-block: 64px 96px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 span { display: block; }
.hero__lead { max-width: 520px; margin-bottom: 36px; font-size: 19px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero__visual { position: relative; }
.hero__photo { width: 100%; height: 560px; object-fit: cover; object-position: 62% center; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-card { position: absolute; border: 1px solid rgba(255, 255, 255, .7); border-radius: 18px; background: var(--glass); backdrop-filter: blur(16px); box-shadow: var(--shadow); }
.hero-card--person { left: -40px; bottom: 44px; display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 14px; }
.hero-card--person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 15%; }
.hero-card--person p { margin: 0; line-height: 1.35; }
.hero-card--person strong { display: block; color: var(--text); font-size: 16px; font-weight: 600; }
.hero-card--person span { color: var(--muted); font-size: 13.5px; }
.hero-card--topics { top: 36px; right: -28px; display: flex; flex-wrap: wrap; gap: 6px; max-width: 250px; padding: 14px; }
.hero-card--topics span { padding: 5px 12px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); font-size: 13px; font-weight: 600; }

.needs-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: -40px; padding-bottom: 8px; }
.needs-nav a { display: grid; gap: 4px; padding: 24px 28px; }
.needs-nav span { color: var(--muted); font-size: 14px; }
.needs-nav strong { color: var(--text); font-size: 17px; font-weight: 600; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 28px; }
.service-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; border-radius: 14px; background: var(--accent-tint); color: var(--accent); }
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.service-card__arrow { position: absolute; top: 24px; right: 24px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); color: var(--muted); transition: background .25s, color .25s; }
.service-card:hover .service-card__arrow { background: var(--accent); color: #fff; }
.service-card--feature { grid-column: span 2; grid-row: span 2; justify-content: flex-end; min-height: 420px; padding: 40px; border-color: transparent; background: var(--panel); }
.service-card--feature .service-card__icon { width: 64px; height: 64px; margin-bottom: auto; background: #fff; box-shadow: var(--shadow-sm); }
.service-card--feature .service-card__icon svg { width: 32px; height: 32px; }
.service-card--feature h3 { margin-bottom: 12px; font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -.03em; }
.service-card--feature p { max-width: 380px; color: var(--body); font-size: 17px; }
.service-card--feature .service-card__arrow { top: 36px; right: 36px; width: 44px; height: 44px; background: #fff; }
.service-card--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 24px; padding: 24px 28px; }
.service-card--wide .service-card__icon { margin: 0; }
.service-card--wide h3 { flex: none; width: 260px; margin: 0; }
.service-card--wide p { flex: 1; }
.service-card--wide .service-card__arrow { position: static; flex: none; }

.section--approach { background: var(--band); }
.approach-grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 80px; }
.approach-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.approach-copy h2 { margin-bottom: 24px; }
.approach-copy .button { margin-top: 8px; }
.approach-sign { display: flex; width: fit-content; align-items: center; gap: 14px; margin-top: 36px; padding: 12px 22px 12px 12px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); }
.approach-sign > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; }
.approach-sign p { margin: 0; line-height: 1.4; }
.approach-sign strong { display: block; color: var(--text); font-weight: 600; }
.approach-sign small { color: var(--muted); font-size: 13.5px; }

.insights-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.insight-card { display: flex; flex-direction: column; overflow: hidden; }
.insight-card > div:not(.guide-cover) { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 28px; }
.insight-card h3 { margin-bottom: 10px; font-size: 21px; }
.insight-card p { color: var(--muted); font-size: 15.5px; }
.insight-card .text-link { margin-top: auto; }
.insight-card--featured { grid-row: span 2; }
.insight-card--featured h3 { font-size: 24px; }
.guide-cover { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 280px; margin: 8px 8px 0; padding: 28px; border-radius: 14px; background: var(--panel); color: var(--accent); }
.guide-cover > span { font-size: 14px; font-weight: 600; }
.guide-cover strong { color: var(--text); font-size: clamp(34px, 3.6vw, 48px); font-weight: 600; line-height: 1.05; letter-spacing: -.04em; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.faq-grid h2 { margin-bottom: 20px; }
.faq-intro { max-width: 380px; color: var(--muted); }
.faq-list { padding: 8px 32px; }
.faq-list details + details { border-top: 1px solid var(--border); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; color: var(--text); font-size: 17px; font-weight: 600; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); color: var(--accent); font-size: 18px; font-weight: 500; line-height: 1; transition: transform .25s, background .25s, color .25s; }
.faq-list details[open] summary span { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-list details p { margin: -4px 0 0; padding: 0 48px 24px 0; color: var(--muted); }

.closing { padding-bottom: var(--section-y); }
.closing__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 64px; border-radius: var(--radius-lg); background: var(--panel); }
.closing .eyebrow { background: #fff; }
.closing h2 { font-size: clamp(30px, 3.2vw, 42px); }

/* 6. Page heroes ---------------------------------------------------------- */
.page-hero { padding-block: 48px 80px; background: var(--mesh); }
.page-hero h1 { max-width: 860px; margin-bottom: 18px; }
.page-hero__lead { max-width: 640px; margin: 0; color: var(--muted); font-size: 19px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; color: var(--muted); font-size: 14px; }
.breadcrumbs a:hover { color: var(--text); }
.page-hero--legal .container, .legal-copy { width: min(800px, calc(100% - 64px)); }
.page-hero--legal h1, .page-hero--guide h1 { font-size: clamp(34px, 4.2vw, 54px); }

/* 7. Services ------------------------------------------------------------- */
.services-intro .container { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 0 64px; }
.services-intro .breadcrumbs { grid-column: 1 / -1; }
.services-intro__topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.services-intro__topics span { padding: 7px 16px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--body); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-sm); }
.services-route { padding: 12px 24px; background: var(--glass); backdrop-filter: blur(12px); }
.services-route .eyebrow { margin: 14px 0 8px; }
.services-route a { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 8px; padding: 16px 0; border-top: 1px solid var(--border); }
.services-route a > span { color: var(--muted); font-size: 14px; }
.services-route strong { color: var(--text); font-weight: 600; }
.services-route a:hover strong { color: var(--accent); }

.services-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 56px; }
.services-index { position: sticky; top: calc(var(--header-h) + 24px); }
.services-index__title { margin-bottom: 10px; color: var(--text); font-size: 14px; font-weight: 600; }
.services-index nav { display: grid; gap: 2px; }
.services-index nav a { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 12px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.services-index nav a > span:first-child { color: var(--border-strong); font-size: 13px; font-variant-numeric: tabular-nums; }
.services-index nav a > span:last-child { display: none; }
.services-index nav a:hover { background: #fff; color: var(--text); }
.services-index__note { margin: 20px 0 0; padding-inline: 14px; color: var(--muted); font-size: 14px; }

.services-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service-tile { display: flex; flex-direction: column; min-width: 0; padding: 32px; scroll-margin-top: calc(var(--header-h) + 24px); transition: border-color .25s, box-shadow .25s; }
.service-tile:target { border-color: var(--accent); box-shadow: var(--shadow); }
.service-tile__top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.service-tile__icon { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--accent-tint); color: var(--accent); }
.service-tile__icon svg { width: 24px; height: 24px; }
.service-tile__category { margin: 0; color: var(--muted); font-size: 14px; }
.service-tile h2 { margin-bottom: 12px; font-size: 24px; line-height: 1.25; letter-spacing: -.025em; }
.service-tile__summary { margin-bottom: 20px; }
.service-tile__audience { margin-bottom: 24px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg); color: var(--muted); font-size: 15px; }
.service-tile__audience strong { display: block; margin-bottom: 2px; color: var(--text); font-weight: 600; }
.service-tile__work { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.service-tile .service-scope { margin-top: auto; }

.service-scope { border-top: 1px solid var(--border); }
.service-scope summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; color: var(--accent); font-size: 15px; font-weight: 600; list-style: none; cursor: pointer; }
.service-scope summary::-webkit-details-marker { display: none; }
.service-scope summary span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-tint); font-size: 18px; font-weight: 500; line-height: 1; transition: transform .25s; }
.service-scope[open] summary span { transform: rotate(45deg); }
.service-scope__body { padding-top: 20px; }
.service-scope__body h3, .service-coverage h3 { margin-bottom: 8px; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.service-scope__body p { margin-bottom: 20px; color: var(--muted); font-size: 15px; }
.service-coverage { margin-bottom: 20px; }
.service-coverage ul, .checklist { margin: 0; padding: 0; list-style: none; }
.service-coverage li { position: relative; padding-left: 26px; font-size: 15px; }
.service-coverage li + li { margin-top: 8px; }
.service-coverage li::before, .checklist li::before { content: ''; position: absolute; left: 3px; top: .45em; width: 5px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); }
.services-catalog__note { max-width: 720px; margin: 28px 0 0; color: var(--muted); font-size: 14px; }

.services-start { background: var(--band); }
.services-start__layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 80px; }
.services-start__note h2 { margin-bottom: 20px; }
.services-start__note > p:not(.eyebrow) { max-width: 380px; color: var(--muted); }
.services-start__note .eyebrow, .services-start__content .eyebrow { background: #fff; }
.services-start__content .section-heading { display: block; margin-bottom: 28px; }
.services-start__content .section-heading h2 { margin-bottom: 12px; font-size: clamp(24px, 2.4vw, 30px); }
.services-start__grid { display: grid; gap: 12px; }
.services-start__grid article { padding: 24px 28px; }
.services-start__grid h3 { margin-bottom: 6px; }
.services-start__grid p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* 8. About ---------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 88px; }
.about-photo { position: relative; margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-photo figcaption, .about-expertise__visual > p { position: absolute; left: -32px; bottom: 40px; margin: 0; padding: 16px 22px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 18px; background: var(--glass); backdrop-filter: blur(16px); box-shadow: var(--shadow); color: var(--muted); font-size: 14px; line-height: 1.45; }
.about-photo figcaption span { display: block; color: var(--text); font-size: 16px; font-weight: 600; }
.about-copy h1 { margin-bottom: 20px; }
.about-copy .professional-title { margin-bottom: 24px; color: var(--text); font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.about-copy .text-link { margin-top: 4px; }

.about-principles { background: var(--band); }
.about-principles .eyebrow { background: #fff; }
.about-principles__layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.about-principles h2 { margin-bottom: 20px; }
.about-principles__lead { max-width: 400px; margin: 0; color: var(--muted); }
.about-principles__list { display: grid; gap: 12px; }
.about-principles__list article { padding: 24px 28px; }
.about-principles__list h3 { margin-bottom: 6px; }
.about-principles__list p { margin: 0; color: var(--muted); font-size: 15.5px; }

.about-expertise__layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 88px; }
.about-expertise__visual { position: relative; }
.about-expertise__visual img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about-expertise__visual > p { max-width: 300px; color: var(--text); font-size: 15px; font-weight: 500; }
.about-expertise__copy h2 { margin-bottom: 24px; }
.about-expertise__copy h3 { margin: 32px 0 10px; font-size: 20px; }

.about-next { padding-top: 0; }
.about-next .container { padding: 64px; border-radius: var(--radius-lg); background: var(--panel); }
.about-next .eyebrow { background: #fff; }
.about-next h2 { max-width: 700px; margin-bottom: 16px; }
.about-next p:not(.eyebrow) { max-width: 620px; margin-bottom: 32px; color: var(--body); }

/* 9. Contact -------------------------------------------------------------- */
.contact-primary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.contact-channel { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 28px; }
.contact-channel h2 { margin-bottom: 14px; color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.contact-channel > a:not(.text-link) { margin-bottom: 6px; color: var(--text); font-size: 20px; font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact-channel > a:not(.text-link):hover { color: var(--accent); }
.contact-channel > a span { margin-left: 6px; color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.contact-channel address { margin-bottom: 6px; color: var(--text); font-size: 17px; font-style: normal; font-weight: 500; }
.contact-channel .text-link { margin-top: auto; padding-top: 14px; }
.section--contact { padding-block: 32px var(--section-y); }
.contact-map iframe { display: block; width: 100%; height: 460px; border: 0; border-radius: var(--radius-lg); background: #e9ecf1; box-shadow: var(--shadow-sm); }

/* 10. Guides & legal ------------------------------------------------------ */
.guide-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); align-items: start; gap: 72px; }
.guide-toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; padding: 24px; }
.guide-toc strong { margin-bottom: 8px; color: var(--text); font-size: 14px; font-weight: 600; }
.guide-toc a { padding-block: 6px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.guide-toc a:hover { color: var(--accent); }
.guide-copy { max-width: 720px; }
.guide-copy section { scroll-margin-top: calc(var(--header-h) + 24px); }
.guide-copy section + section { margin-top: 56px; }
.guide-copy h2, .legal-copy h2 { margin: 0 0 14px; font-size: clamp(24px, 2.4vw, 28px); line-height: 1.25; letter-spacing: -.025em; }
.legal-copy h2 { margin-top: 44px; }
.legal-copy h2:first-of-type { margin-top: 0; }
:is(.guide-copy, .legal-copy) ul:not(.checklist) { padding-left: 22px; }
:is(.guide-copy, .legal-copy) li { margin-bottom: 8px; }
.legal-copy a, .guide-copy p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-copy .legal-updated { margin-bottom: 40px; color: var(--muted); font-size: 14px; }
.guide-example { margin-block: 24px; padding: 24px 28px; border-radius: var(--radius); background: linear-gradient(135deg, #dbe3f0 0%, #f1f4f8 100%); }
.guide-example strong { color: var(--accent); font-size: 14px; font-weight: 600; }
.guide-example p { margin: 8px 0 0; color: var(--text); }
.guide-example code { font: 14.5px/1.7 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.checklist li { position: relative; margin: 0; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--border); }
.checklist li::before { left: 8px; top: 1.2em; }
.guide-note { margin: 44px 0 28px; padding: 18px 22px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: var(--muted); font-size: 15px; }
.related-guides { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--border); }
.related-guides h2 { margin-bottom: 8px; color: var(--muted); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.related-guides a { display: block; padding-block: 12px; color: var(--text); font-weight: 600; }
.related-guides a:hover { color: var(--accent); }

/* 11. Footer & utilities -------------------------------------------------- */
.site-footer { padding-top: 72px; border-top: 1px solid var(--border); background: #fff; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-brand .brand-logo { width: 190px; }
.footer-brand > p { max-width: 280px; margin: 20px 0 0; font-size: 15px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid h2 { margin-bottom: 6px; color: var(--text); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.footer-grid a:not(.brand) { font-size: 15px; overflow-wrap: anywhere; transition: color .2s; }
.footer-grid a:not(.brand):hover { color: var(--text); }
.footer-grid > div > p { margin: 4px 0 0; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 24px; padding-right: 150px; border-top: 1px solid var(--border); font-size: 14px; }
.footer-credit a { color: var(--text); }
.footer-credit a:hover { text-decoration: underline; text-underline-offset: 3px; }

.whatsapp-float { position: fixed; right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 25; display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 20px 0 16px; border-radius: 999px; background: #25d366; color: #fff; box-shadow: 0 10px 28px -10px rgba(18, 140, 126, .6); transition: background .2s, transform .2s; }
.whatsapp-float:hover { background: #1ebe5b; transform: translateY(-2px); }
.whatsapp-float svg { flex: none; width: 22px; height: 22px; }
.whatsapp-float span { font-size: 15px; font-weight: 600; }

.not-found { display: grid; place-items: center; min-height: calc(100svh - var(--header-h)); padding: 64px 32px; background: var(--mesh), var(--bg); }
.not-found > div { max-width: 600px; }
.not-found__code { display: block; margin-bottom: 16px; color: var(--accent); font-size: 15px; font-weight: 600; }
.not-found h1 { margin-bottom: 18px; font-size: clamp(32px, 4.4vw, 48px); }
.not-found p { margin-bottom: 32px; color: var(--muted); }
.not-found__links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; color: var(--accent); font-weight: 600; }

/* 12. Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .site-nav > a:not(.button) { padding-inline: 12px; }
  .hero__grid, .approach-grid, .about-grid, .about-expertise__layout, .about-principles__layout, .faq-grid, .services-start__layout { gap: 56px; }
  .hero-card--person, .about-photo figcaption, .about-expertise__visual > p { left: -20px; }
  .hero-card--topics { right: -16px; }
  .services-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 40px; }
  .footer-grid { gap: 32px; }
}

@media (max-width: 960px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--feature { grid-row: auto; min-height: 320px; }
  .service-card--wide { flex-direction: column; align-items: flex-start; gap: 0; padding: 28px; }
  .service-card--wide .service-card__icon { margin-bottom: 24px; }
  .service-card--wide h3 { width: auto; margin-bottom: 8px; }
  .service-card--wide .service-card__arrow { position: absolute; }
}

@media (max-width: 900px) {
  .services-intro .container { grid-template-columns: 1fr; gap: 40px; }
  .services-layout { grid-template-columns: 1fr; gap: 32px; }
  .services-index { position: static; }
  .services-index nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services-index__note { display: none; }
  .contact-primary { grid-template-columns: 1fr 1fr; }
  .contact-channel:last-child { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  :root { --header-h: 64px; }
  .container, .page-hero--legal .container, .legal-copy { width: calc(100% - 40px); }
  body { font-size: 16.5px; }

  .brand-logo { width: 180px; }
  .menu-toggle { display: flex; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 18px; height: 1.5px; background: var(--text); transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; display: none; flex-direction: column; align-items: stretch; gap: 2px; max-height: calc(100svh - var(--header-h) - 24px); padding: 10px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.button) { padding: 14px 16px; border-radius: 12px; font-size: 17px; }
  .site-nav .button { margin: 8px 0 0; min-height: 50px; }

  .hero__grid, .approach-grid, .about-grid, .about-expertise__layout, .about-principles__layout, .faq-grid, .services-start__layout { grid-template-columns: 1fr; }
  .hero__grid { gap: 40px; padding-block: 40px 72px; }
  .hero__lead { font-size: 18px; }
  .hero__photo { height: 400px; }
  .hero-card--person, .about-photo figcaption, .about-expertise__visual > p { left: 14px; bottom: 14px; }
  .hero-card--topics { display: none; }
  .needs-nav { grid-template-columns: 1fr; gap: 10px; margin-top: -32px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .section-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .approach-image, .about-photo, .about-expertise__visual { max-width: 520px; }
  .insights-grid { grid-template-columns: 1fr; }
  .insight-card--featured { grid-row: auto; }
  .guide-cover { min-height: 200px; }
  .faq-list { padding: 4px 20px; }
  .faq-list details p { padding-right: 0; }
  .closing__inner, .about-next .container { flex-direction: column; align-items: flex-start; gap: 28px; padding: 40px 28px; }

  .page-hero { padding-block: 32px 56px; }
  .breadcrumbs { margin-bottom: 24px; }
  .page-hero__lead { font-size: 17.5px; }
  .services-tiles { grid-template-columns: 1fr; }
  .service-tile { padding: 28px 24px; }
  .guide-layout { grid-template-columns: 1fr; gap: 40px; }
  .guide-toc { position: static; }
  .guide-copy { max-width: none; }

  .site-footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding-bottom: 40px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; gap: 4px 20px; padding-right: 72px; }
  .whatsapp-float { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 52px; height: 52px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
}

@media (max-width: 560px) {
  .container, .page-hero--legal .container, .legal-copy { width: calc(100% - 32px); }
  .hero__photo { height: 320px; }
  .hero__actions { gap: 20px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card--feature { grid-column: auto; min-height: 0; padding: 28px; }
  .service-card--feature .service-card__icon { margin-bottom: 40px; }
  .services-index nav { grid-template-columns: 1fr 1fr; }
  .contact-primary { grid-template-columns: 1fr; }
  .contact-channel:last-child { grid-column: auto; }
  .contact-map iframe { height: 340px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
