/* ============================================================
   Anat Ganot — Portfolio
   Tokens pulled from Figma (My new website / node 377:21655)
   ============================================================ */

/* ---- Google Sans (self-hosted, subset: Latin + Hebrew + symbols) ---- */
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/GoogleSans-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/GoogleSans-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/GoogleSans-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/GoogleSans-Bold.woff2') format('woff2');
}

:root {
  /* Font families */
  --font-main: 'Google Sans', system-ui, -apple-system, sans-serif;
  --font-poppins: var(--font-main); /* Poppins removed — Google Sans only (supports EN + HE) */

  /* Neutrals */
  --neutral-950: #292929;
  --neutral-900: #3d3d3d;
  --neutral-600: #656565;
  --neutral-500: #7c7c7c;
  --neutral-300: #bdbdbd;
  --neutral-200: #dcdcdc;
  --neutral-75:  #f6f6f6;
  --neutral-50:  #ffffff;

  /* Brand */
  --porcelain-50:  #f7f8f8;
  --porcelain-100: #f1f3f4;
  --paradiso-400:  #44c6cc;
  --paradiso-800:  #255c65;
  --nav-ink:       #12333a; /* header nav link color (Figma: Header items) */
  --teal-2:        #1b9f94;
  --purple-500:    #926097;

  /* WhatsApp / shipping */
  --whatsapp:        #18be5a;
  --whatsapp-border: #25cf43;
  --shipping-light:  #e8fef1;
  --shipping-dark:   #18be5a;

  /* Type scale */
  --t-6xl: 90px;  --lh-6xl: 94px;
  --t-3xl: 32px;
  --t-2xl: 24px;  --lh-2xl: 32px;
  --t-xl:  20px;
  --t-lg:  18px;
  --t-md:  16px;  --lh-md: 24px;
  --t-sm:  14px;  --lh-sm: 20px;
  --t-xs:  12px;  --lh-xs: 16px;

  /* Layout */
  --container: 1240px;
  --gutter: 40px;
  --radius-card: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--neutral-950);
  background: var(--neutral-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ============ NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;                 /* new nav: wider, left-aligned spacing */
  height: 72px;
}

/* Nav links — Figma node 362:15549: 18px, #292929, Idle=Regular, Hover/Selected=Medium + underline */
.nav-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;            /* stacks the visible text over a hidden bold "ghost" */
  font-size: 18px;
  font-weight: 400;
  color: var(--neutral-950);
  white-space: nowrap;
  padding: 0;
}
/* underline lives on the label span, so it matches the text width (not the padding) */
.nav-link > span {
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}
/* Hidden Medium-weight copy fixes each link's width to its bold footprint,
   so hover/active weight changes never reflow neighbouring links. */
.nav-link::after {
  content: attr(data-text);
  font-weight: 500;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}
.nav-link:hover,
.nav-link.is-active { font-weight: 500; }

/* Selected state = Medium weight + 2px underline (#292929) matching label width, desktop nav only */
.nav .nav-link.is-active > span { border-bottom-color: var(--neutral-950); }
/* nav is left-aligned now; chat button only gets pushed right on mobile (see media query) */

/* ============ WHATSAPP BUTTON (shared) ============ */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--whatsapp);
  border: 2px solid var(--whatsapp-border);
  color: #fff;
  font-size: var(--t-md);
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn-whatsapp:hover { filter: brightness(1.05); }
.btn-whatsapp:active { transform: translateY(1px); }

.wa-icon {
  width: 20px; height: 20px;
  flex: 0 0 20px;
  background: #fff;
  -webkit-mask: var(--wa-svg) center / contain no-repeat;
          mask: var(--wa-svg) center / contain no-repeat;
}
:root {
  --wa-svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M16 .4C7.2.4.1 7.5.1 16.3c0 2.8.7 5.5 2.1 7.9L0 32l8-2.1c2.3 1.3 4.9 1.9 7.6 1.9h.1c8.8 0 15.9-7.1 15.9-15.9C31.6 7.5 24.8.4 16 .4zm0 29c-2.4 0-4.7-.6-6.7-1.8l-.5-.3-5 1.3 1.3-4.9-.3-.5a13 13 0 0 1-2-7c0-7.2 5.9-13.1 13.1-13.1 3.5 0 6.8 1.4 9.3 3.9a13 13 0 0 1 3.8 9.3c0 7.2-5.9 13.1-13 13.1zm7.2-9.8c-.4-.2-2.3-1.2-2.7-1.3-.4-.1-.6-.2-.9.2-.3.4-1 1.3-1.3 1.6-.2.2-.5.3-.9.1-.4-.2-1.7-.6-3.2-2-1.2-1-2-2.4-2.2-2.8-.2-.4 0-.6.2-.8.2-.2.4-.5.6-.7.2-.2.3-.4.4-.7.1-.3.1-.5 0-.7-.1-.2-.9-2.2-1.3-3-.3-.8-.7-.7-.9-.7h-.8c-.3 0-.7.1-1.1.5-.4.4-1.5 1.4-1.5 3.5s1.5 4.1 1.7 4.3c.2.3 3 4.6 7.3 6.4 1 .4 1.8.7 2.4.9 1 .3 1.9.3 2.6.2.8-.1 2.3-1 2.7-1.9.3-.9.3-1.7.2-1.9-.1-.2-.4-.3-.8-.5z'/></svg>");
}

/* ============ HERO ============ */
.display {
  font-family: var(--font-main);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(48px, 8vw, var(--t-6xl));
  line-height: 1.04;
  margin: 0;
  color: var(--neutral-950);
}

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 480px);
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 48px;
}
/* fixed hero height on desktop only */
@media (min-width: 821px) {
  .hero { height: 493px; }
}

.breadcrumb {
  margin-top: 12px;
  font-size: clamp(18px, 2.2vw, var(--t-2xl));
  color: var(--neutral-950);
  line-height: var(--lh-2xl);
}
.breadcrumb .sep { color: var(--neutral-300); margin: 0 4px; }
.breadcrumb .accent { color: var(--paradiso-400); }

.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Missing-image placeholder */
.img-missing {
  background: var(--porcelain-100);
  border: 1px dashed var(--neutral-300);
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--neutral-500);
  font-size: var(--t-sm);
}

/* ============ WORK TITLE ============ */
/* offset anchor jumps so the sticky header doesn't cover the target */
#home, #work, #about, #mentoring, #projects { scroll-margin-top: 88px; }

.work { padding-top: 24px; padding-bottom: 32px; }
.work-head { display: flex; align-items: center; gap: 24px; }
.work-arrow { display: inline-flex; flex: 0 0 auto; line-height: 0; transition: transform 0.15s ease; }
.work-arrow svg { width: clamp(44px, 7vw, 64px); height: auto; display: block; }
.work-arrow:hover { transform: translateY(3px); }
.work-title { font-size: clamp(48px, 8vw, var(--t-6xl)); }

/* ============ BANNER ============ */
.banner-wrap {
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(68,198,204,0.35) 0%, rgba(37,92,101,0.15) 30%, transparent 60%),
    #1b1b1b;
}
.banner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 28px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.banner-title {
  margin: 0;
  color: #fff;
  font-size: var(--t-2xl);
  font-weight: 600;
}
.banner-sub {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: var(--t-md);
  line-height: var(--lh-md);
  max-width: 640px;
}

/* ============ CARD GRID ============ */
.work-grid-wrap { padding-top: 40px; padding-bottom: 40px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 402px;
  padding: 24px;
  border: 1px solid #d7dee0;       /* Figma card stroke */
  border-radius: var(--radius-card);
  background: var(--neutral-50);
}

/* Card header */
.card-head {
  display: flex;
  gap: 12px;
  align-items: center;
}
.card-logo {
  width: 48px; height: 48px;
  flex: 0 0 48px;
  border-radius: 2px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--neutral-50);
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 18px;
  color: var(--neutral-600);
}
.card-logo img { width: 100%; height: 100%; object-fit: contain; }
.card-title {
  margin: 0;
  font-size: var(--t-xl);
  font-weight: 600;
  line-height: var(--t-3xl);
  color: var(--neutral-950);
}
.card-url {
  display: block;
  font-family: var(--font-poppins);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  color: var(--neutral-500);
  text-decoration: none;                 /* looks like text; opens client site in new tab */
  width: fit-content;                    /* only the text is clickable, not the whole row */
}
.card-url:hover { text-decoration: underline; color: var(--paradiso-800); }
.card-acquired {
  font-size: var(--t-xs);
  color: var(--neutral-500);
}

/* Actively shipping badge */
.shipping-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  padding: 2px 6px 2px 4px;
  border: 1px solid var(--shipping-dark);
  border-radius: 4px;
  background: var(--shipping-light);
  color: var(--shipping-dark);
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
}
.shipping-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--shipping-dark);
  animation: shipping-blink 1.2s ease-in-out infinite;
}
@keyframes shipping-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.2; }
}
/* respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .shipping-badge::before { animation: none; }
}

/* Description */
.card-desc {
  margin: 0;
  font-size: var(--t-sm);
  line-height: var(--t-xl);
  color: var(--neutral-950);
}

/* Tags */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.tag {
  border: 1px solid var(--neutral-200);
  border-radius: 3px;
  padding: 2px 6px;
  font-size: var(--t-xs);
  color: var(--neutral-600);
  white-space: nowrap;
}

/* push the bottom block (quote + date) down */
.card-spacer { flex: 1 1 auto; }

/* Quote */
.card-quote {
  background: var(--porcelain-50);
  border-radius: 4px;
  padding: 4px 8px;
}
.card-quote p {
  margin: 0;
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: var(--t-xs);
  line-height: var(--lh-xs);
  color: var(--paradiso-800);
}
.card-quote cite {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-weight: 300;
  font-size: var(--t-xs);
  color: var(--paradiso-800);
}

.card-link {
  font-size: var(--t-xs);
  color: var(--neutral-500);
  text-decoration: underline;
  align-self: flex-start;
}

/* Date */
.card-date {
  font-size: var(--t-xs);
  color: var(--neutral-600);
}

/* ============ FLOATING WHATSAPP ============ */
.whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  display: none; /* hidden on desktop; shown on mobile only */
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--whatsapp);
  border: 2px solid var(--whatsapp-border);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(24,190,90,0.35);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.whatsapp-float:hover { filter: brightness(1.05); transform: translateY(-1px); }
.whatsapp-float .wa-icon { width: 24px; height: 24px; flex-basis: 24px; }

/* ============ MOBILE ============ */
.nav-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  /* Collapse nav: hide inline links, keep Chat + hamburger */
  .nav-link { display: none; }
  .nav { gap: 12px; }
  .nav-chat { margin-left: auto; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    padding: 0 8px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    height: 2px;
    width: 24px;
    background: var(--neutral-950);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    position: fixed;
    inset: 0;                 /* cover the whole screen */
    z-index: 40;              /* header (z-index 50) stays on top so the X is clickable */
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 88px var(--gutter) 32px; /* clear the 72px header */
    background: #fff;
    overflow-y: auto;
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu .nav-link {
    display: block;
    padding: 12px 0;
    font-size: var(--t-lg);
    border-bottom: 1px solid var(--neutral-75);
  }
  .mobile-menu .nav-link.is-active::after { display: none; }

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 40px;
  }
  .hero-photo { order: -1; }

  .whatsapp-float-label { display: none; }
  .whatsapp-float {
    display: inline-flex; /* show on mobile only */
    padding: 0;
    width: 56px;
    height: 56px;
    justify-content: center;
    left: auto;        /* move to the right on mobile */
    right: 20px;
  }
  .whatsapp-float .wa-icon { width: 26px; height: 26px; flex-basis: 26px; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .banner { padding: 24px 20px; }

  /* mobile: card height flows with its content (desktop stays equal-height) */
  .card { min-height: 0; }
  .card-spacer { display: none; }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about { max-width: 1188px; margin: 0 auto; padding-inline: 64px; }

.about-intro { padding-top: 64px; }
.about-headline {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: clamp(40px, 7.4vw, 90px);
  line-height: 1.045;               /* 94 / 90 */
  letter-spacing: 0;                /* Figma: 0 */
  color: var(--neutral-950);
  margin: 0;
  max-width: 1160px;
}

/* Desktop: 2-col grid. Image spans full height on one side; title sits just
   above the text on the other, the pair bottom-aligned to the image.
   DOM order is title → figure → text, which is exactly the mobile order. */
.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 80px;
  padding: 64px 0;
}
.about-row .about-title    { grid-row: 1; align-self: end; }
.about-row .about-textblock { grid-row: 2; }
.about-row .about-figure   { grid-row: 1 / span 2; align-self: end; }

/* image left, text right (sections 1 & 3) */
.about-row--img-left .about-figure { grid-column: 1; }
.about-row--img-left .about-title,
.about-row--img-left .about-textblock { grid-column: 2; }

/* text left, image right (sections 2 & 4) */
.about-row--img-right .about-figure { grid-column: 2; }
.about-row--img-right .about-title,
.about-row--img-right .about-textblock { grid-column: 1; }

.about-title {
  font-family: var(--font-main);
  font-weight: 700;                 /* Bold */
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.5;                 /* 48 / 32 */
  color: var(--neutral-950);
  margin: 0 0 12px;                 /* Figma: title→text gap 12 */
}
.about-text {
  font-family: var(--font-main);
  font-weight: 400;                 /* Regular */
  font-size: clamp(17px, 2.1vw, 20px);  /* Figma body: 20px */
  line-height: 1.6;                 /* 32 / 20 */
  color: var(--neutral-950);
  margin: 0;
  white-space: pre-line;            /* keep the line breaks from Figma */
}
.about-text + .about-text { margin-top: 0; }  /* Figma: closing lines stack tight */
.about-text.strong { font-weight: 600; }      /* SemiBold */

.about-figure { position: relative; min-width: 0; margin: 0; } /* reset UA figure margin (40px left) */
.about-figure img {
  width: 100%;
  aspect-ratio: 469 / 412;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.about-figure.wide img { aspect-ratio: 469 / 318; }

.about-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #3b5d79;
  color: #fefefe;
  font-family: var(--font-main);
  font-weight: 400;
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.33;                 /* 29 / 22 */
  padding: 9px 11px;
  max-width: 72%;
  border-bottom-left-radius: 8px;    /* follow the image's rounded corner */
}

@media (max-width: 820px) {
  /* mobile: stack in DOM order — title, image, text */
  .about-row { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 40px 0; }
  .about-row .about-title { align-self: stretch; margin-bottom: 0; }
  /* image keeps its natural ratio and size, aligned to the left (not full-width) */
  .about-row .about-figure {
    align-self: flex-start;
    margin-right: auto;       /* belt-and-suspenders: forces the figure left */
    width: 72%;
    max-width: 360px;
  }
}
@media (max-width: 560px) {
  .about { padding-inline: var(--gutter); }
}

/* ============================================================
   FOOTER (shared across pages) — Figma node 519:2003
   ============================================================ */
.site-footer { width: 100%; background: var(--porcelain-50); }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  min-height: 140px;
  padding: 24px var(--gutter) 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 27px;
  flex-wrap: wrap;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 20px;
  color: #242a2d;
}
.footer-email { color: #242a2d; text-decoration: underline; }
.footer-email:hover { color: var(--paradiso-800); }
.footer-sep, .footer-phone { color: #242a2d; }
.footer-phone { text-decoration: none; }      /* tap-to-call link, kept unstyled per design */
.footer-phone:hover { color: var(--paradiso-800); }
.footer-linkedin { display: inline-flex; align-items: center; }
.footer-linkedin svg { width: 18px; height: 18px; fill: #242a2d; display: block; }
.footer-linkedin:hover svg { fill: var(--paradiso-800); }
.footer-copy {
  display: flex;
  align-items: baseline;   /* © sits on the same baseline as the year text */
  gap: 4px;
  font-family: var(--font-main);
  font-size: 12px;
  line-height: 16px;
  color: #586b71;
}
/* © is 24px (Figma) but Google Sans draws it ~0.27em above the baseline,
   so it's nudged down to visually rest on the same baseline as the text. */
.footer-copy .c {
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  transform: translateY(0.34em);
}

/* ============================================================
   BOOKING PAGE (Set a 20-min call)
   ============================================================ */
.booking { max-width: 1188px; margin: 0 auto; padding: 64px 64px 96px; }
.booking-title {                     /* headline — 48px SemiBold, lh 90 (Figma) */
  font-family: var(--font-main);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 48px);
  line-height: 1.333;                /* 64 / 48 */
  color: var(--neutral-950);
  margin: 0;
}
.booking-sub {                       /* "So glad we're meeting!..." — 24px Regular */
  font-family: var(--font-main);
  font-weight: 400;
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.333;                /* 32 / 24 */
  color: var(--neutral-950);
  margin: 24px 0 40px;               /* Figma: 24px gap below the headline */
}
@media (max-width: 560px) { .booking { padding-inline: var(--gutter); } }
.booking-embed {
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.booking-embed iframe { width: 100%; border: 0; display: block; min-height: 640px; }
.booking-placeholder {
  display: grid;
  place-items: center;
  min-height: 460px;
  background: var(--porcelain-50);
  color: var(--neutral-500);
  text-align: center;
  padding: 40px;
  font-size: 16px;
  line-height: 1.5;
}
.booking-alt { margin-top: 28px; font-size: 16px; color: var(--neutral-600); }
.booking-alt a { color: var(--paradiso-800); text-decoration: underline; }

/* ============================================================
   MENTORING PAGE (RTL, Hebrew) — Figma node 461:5758
   ============================================================ */
.m-container { max-width: 1064px; margin: 0 auto; padding-inline: var(--gutter); }

/* sub-menu (sticky tabs under the header) */
.subnav {
  position: sticky;
  top: 72px;
  z-index: 30;                 /* below the mobile-menu overlay (40) so it's covered when open */
  background: #fff;
  border-bottom: 1px solid var(--neutral-200);
}
.subnav-inner {
  max-width: 1064px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;     /* RTL container → packs to the right */
}
.subnav-link {
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1;
  color: var(--nav-ink);
  padding: 6px 8px;
  border-radius: 20px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s ease;
}
.subnav-link:hover { background: #eef6f8; }
.subnav-link.is-active { background: #dbeef2; font-weight: 500; }

/* hero */
.m-hero { padding-block: 40px; }         /* Figma: 40px above the title (horizontal padding via .m-container) */
.m-hero-title {
  font-family: var(--font-main);
  font-weight: 600;                /* Google Sans SemiBold */
  font-size: clamp(40px, 7.4vw, 90px);
  line-height: 1.044;              /* 94 / 90 */
  letter-spacing: 0;               /* Figma: 0 */
  color: var(--neutral-950);
  margin: 0;
  text-align: right;
}
/* hero sub-heading — 32px Bold, like a section title (Figma) */
.m-hero-sub {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.5;                /* 48 / 32 */
  color: var(--neutral-950);
  margin: 0 0 12px;
  text-align: right;
}
.m-hero-row {
  display: flex;
  gap: 64px;
  align-items: flex-end;           /* bottom-aligned, per Figma */
  margin-top: 32px;
}
.m-hero-copy { flex: 1 1 auto; min-width: 0; }
.m-hero-figure { flex: 0 0 259px; max-width: 259px; margin: 0; }
.m-hero-figure img {
  width: 100%;
  aspect-ratio: 259 / 168;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* content sections */
.m-section { padding-block: 40px; }
.m-section-title {
  font-family: var(--font-main);
  font-weight: 700;                /* Bold */
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.5;                /* 48 / 32 */
  color: var(--neutral-950);
  margin: 0 0 12px;                /* Figma: title→content gap 12 */
  text-align: right;
}
.m-block { margin: 0 0 24px; }     /* gap between sub-paragraph blocks */
.m-block:last-child { margin-bottom: 0; }
.m-subtitle {
  font-family: var(--font-main);
  font-weight: 600;                /* SemiBold */
  font-size: clamp(20px, 2.5vw, 24px);
  line-height: 1.333;              /* 32 / 24 */
  color: var(--neutral-950);
  margin: 0 0 4px;                 /* sub-title→text gap 4 */
  text-align: right;
}
.m-text {
  font-family: var(--font-main);
  font-weight: 400;                /* Regular */
  font-size: clamp(17px, 2.1vw, 20px);  /* Figma body: 20px */
  line-height: 1.6;                /* 32 / 20 */
  color: var(--neutral-950);
  margin: 0;
  text-align: right;
  white-space: pre-line;           /* keep Figma line breaks */
}
.m-text + .m-text { margin-top: 8px; }

/* testimonials */
.m-testimonials { padding-block: 40px 64px; }
.m-testimonials-grid {
  display: flex;
  gap: 80px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 24px;
  flex-wrap: wrap;
}
.m-testimonial { flex: 0 0 274px; max-width: 274px; margin: 0; }
.m-testimonial img { width: 100%; height: auto; border-radius: 8px; display: block; } /* natural ratio, uncropped */

/* sticky header (72) + subnav offset for in-page jumps */
#m-hero, #m-talk, #m-process, #m-how, #m-testimonials { scroll-margin-top: 132px; }

@media (max-width: 820px) {
  /* sub-menu wraps into right-aligned rows (RTL), no horizontal scroll */
  .subnav-inner { justify-content: flex-start; gap: 12px 16px; }
  .m-hero-row { flex-direction: column; align-items: stretch; gap: 20px; }
  .m-hero-figure { flex: none; max-width: 320px; }
  .m-testimonials-grid { gap: 32px; }
}
@media (max-width: 560px) {
  .subnav-inner { gap: 10px 14px; padding: 12px var(--gutter); }
  .m-testimonial { flex-basis: 100%; max-width: 340px; }
}

@media (max-width: 560px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-height: 0;
    padding: 24px var(--gutter);
  }
}

/* footer privacy link */
.footer-privacy { color: #586b71; text-decoration: none; }
.footer-privacy:hover { text-decoration: underline; }

/* ============================================================
   LEGAL PAGE (Privacy Policy)
   ============================================================ */
.legal { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 96px; }
.legal-title {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.1;
  color: var(--neutral-950);
  margin: 0 0 8px;
}
.legal-updated { font-size: 14px; color: var(--neutral-500); margin: 0 0 32px; }
.legal-h2 {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 24px);
  line-height: 1.4;
  color: var(--neutral-950);
  margin: 32px 0 8px;
}
.legal-text {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: var(--neutral-950);
  margin: 0 0 12px;
}
.legal-text a { color: var(--paradiso-800); text-decoration: underline; }
.legal-note { color: var(--neutral-500); font-size: 15px; margin-top: 24px; }

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: #fff;
  border-top: 1px solid var(--neutral-200);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-text { margin: 0; font-size: 14px; line-height: 1.4; color: var(--neutral-900); max-width: 720px; }
.cookie-text a { color: var(--paradiso-800); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  padding: 9px 16px;
  border: 1px solid var(--neutral-300);
  background: #fff;
  color: var(--neutral-950);
}
.cookie-btn:hover { filter: brightness(0.97); }
.cookie-accept, .cookie-accept-inline {
  background: var(--neutral-950);
  color: #fff;
  border-color: var(--neutral-950);
}
.cookie-accept-inline { margin-top: 12px; }
