/* ============================================================
   Sahar Sabouri — Psicologa
   Design system + site styles
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Colour */
  --ink:        #14211F;
  --body:       #475854;
  --muted:      #788884;
  --line:       #E4DFD6;
  --line-soft:  #EFEBE3;

  --bg:         #FCFAF7;
  --bg-alt:     #F4F0E9;
  --surface:    #FFFFFF;

  --brand:      #2E6A5E;
  --brand-dark: #1F4C43;
  --brand-soft: #E3EDE9;
  --sand:       #E7DCCB;
  --accent:     #B0704A;

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0:  clamp(1rem, 0.96rem + 0.19vw, 1.09rem);
  --step-1:  clamp(1.18rem, 1.10rem + 0.36vw, 1.38rem);
  --step-2:  clamp(1.42rem, 1.27rem + 0.68vw, 1.80rem);
  --step-3:  clamp(1.72rem, 1.44rem + 1.20vw, 2.40rem);
  --step-4:  clamp(2.05rem, 1.58rem + 2.00vw, 3.20rem);
  --step-5:  clamp(2.45rem, 1.66rem + 3.30vw, 4.20rem);

  /* Space */
  --gutter: clamp(1.25rem, 0.9rem + 1.6vw, 2.5rem);
  --section-y: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(20,33,31,.05), 0 2px 8px rgba(20,33,31,.04);
  --shadow:    0 2px 4px rgba(20,33,31,.04), 0 12px 32px -8px rgba(20,33,31,.10);
  --shadow-lg: 0 4px 8px rgba(20,33,31,.04), 0 30px 60px -20px rgba(20,33,31,.18);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* `clip` (not `hidden`) keeps the body from becoming a scroll
     container, which would break every `position: sticky` scene. */
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 32;
}
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Layout ---------- */
.wrap { width: min(100% - (var(--gutter) * 2), 1180px); margin-inline: auto; }
.wrap--narrow { width: min(100% - (var(--gutter) * 2), 780px); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; --scene-bg: var(--bg); }
.section--alt { background: var(--bg-alt); --scene-bg: var(--bg-alt); }
.section--tint { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  background: var(--ink); color: #fff; padding: .7rem 1.2rem;
  border-radius: 0 0 10px 10px; z-index: 200; text-decoration: none; font-size: var(--step--1);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .5; flex: none;
}
.section-head { max-width: 46ch; margin-bottom: clamp(2.2rem, 1.5rem + 2vw, 3.6rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.h-xl { font-size: var(--step-5); }
.h-lg { font-size: var(--step-4); }
.h-md { font-size: var(--step-3); }
.h-sm { font-size: var(--step-2); }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--body); }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.6rem; border-radius: 100px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 500; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: var(--shadow); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--surface); }
.btn--light { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { box-shadow: var(--shadow); }
.btn--sm { padding: .68rem 1.2rem; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 500; font-size: .93rem; color: var(--brand-dark); text-decoration: none;
}
.link-arrow::after {
  content: "→"; transition: transform .25s var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252,250,247,.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line-soft);
  background: rgba(252,250,247,.88);
  box-shadow: 0 6px 24px -18px rgba(20,33,31,.4);
}
.nav { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-inline-end: auto; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  /* the mark is its own disc, drawn to the edge of its box; the radius here is
     only so the green placeholder below is round too, for the frame or two
     before the file arrives */
  background: var(--brand);
  box-shadow: 0 0 0 1px rgba(46,106,94,.22), 0 4px 12px -7px rgba(20,33,31,.6);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-size: 1.06rem; color: var(--ink); }
.brand__role { font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }

.nav__links { display: flex; align-items: center; gap: 1.7rem; }
.nav__links a {
  position: relative; text-decoration: none; color: var(--body);
  font-size: .93rem; font-weight: 450; padding-block: .3rem;
  transition: color .2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: .8rem; }

/* Language switch */
.lang {
  display: inline-flex; padding: 3px; border: 1px solid var(--line);
  border-radius: 100px; background: var(--surface);
}
.lang button {
  border: 0; background: transparent; cursor: pointer;
  padding: .3rem .62rem; border-radius: 100px;
  font-size: .74rem; font-weight: 600; letter-spacing: .06em; color: var(--muted);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.lang button[aria-pressed="true"] { background: var(--brand); color: #fff; }

/* Mobile nav */
.nav__toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 50%; background: var(--surface); cursor: pointer;
  place-items: center;
}
.nav__toggle span {
  display: block; width: 17px; height: 1.5px; background: var(--ink); position: relative;
  transition: background-color .2s var(--ease);
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease);
}
.nav__toggle span::before { top: -5.5px; }
.nav__toggle span::after { top: 5.5px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav__toggle { display: grid; }
  .nav__panel {
    position: fixed; inset: 74px 0 auto; background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 1.4rem var(--gutter) 2rem;
    display: flex; flex-direction: column; gap: 1.4rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 74px); overflow-y: auto;
  }
  .nav__panel.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { padding: .85rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.02rem; }
  .nav__links a::after { display: none; }
  .nav__actions { justify-content: space-between; }
  .nav__actions .btn { flex: 1; }
}
@media (min-width: 941px) {
  .nav__panel { display: contents; }
}

/* ---------- 7. Hero ---------- */
.hero { position: relative; padding-block: clamp(3rem, 1.5rem + 5vw, 6rem) clamp(3.5rem, 2rem + 5vw, 6.5rem); overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.hero__bg::before {
  content: ""; position: absolute; top: -18%; right: -12%;
  width: min(60vw, 720px); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(46,106,94,.10), rgba(46,106,94,0) 68%);
}
.hero__bg::after {
  content: ""; position: absolute; bottom: -25%; left: -15%;
  width: min(55vw, 620px); aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%, rgba(231,220,203,.55), rgba(231,220,203,0) 68%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.hero h1 { font-size: var(--step-5); margin-bottom: .45em; }
.hero h1 em {
  font-style: italic; color: var(--brand);
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 40;
}
.hero__lead { font-size: var(--step-1); max-width: 34ch; margin-bottom: 2rem; }
.hero .btn-row { margin-bottom: 2.4rem; }

.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem .55rem; }
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .85rem; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .8rem; color: var(--body); box-shadow: var(--shadow-sm);
}
.pill svg { width: 14px; height: 14px; color: var(--brand); flex: none; }

/* Portrait */
.portrait { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.portrait__frame {
  position: relative; border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--bg-alt); aspect-ratio: 4 / 5;
}
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.portrait::before {
  content: ""; position: absolute; inset: -14px -14px 34px 22px;
  border: 1px solid var(--sand); border-radius: 230px 230px var(--radius-lg) var(--radius-lg);
  z-index: -1;
}
.portrait__card {
  position: absolute; left: -8%; bottom: 6%;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: .95rem 1.15rem;
  box-shadow: var(--shadow); max-width: 260px;
  display: flex; gap: .75rem; align-items: flex-start;
}
.portrait__card svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 2px; }
.portrait__card p { font-size: .82rem; line-height: 1.45; margin: 0; }
.portrait__card strong { display: block; color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .portrait { grid-row: 1; max-width: 330px; }
  .hero__lead { max-width: none; }
  /* keep the floating card inside the viewport on narrow screens */
  .portrait__card { left: auto; right: -6%; bottom: -4%; max-width: 220px; }
}
@media (max-width: 430px) {
  .portrait__card { position: static; margin: .9rem auto 0; max-width: none; }
  .portrait::before { inset: -10px -10px 20px 16px; }
}

/* ---------- 8. Marquee / trust bar ---------- */
.trustbar { border-block: 1px solid var(--line-soft); background: var(--surface); }
.trustbar__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line-soft);
}
.trustbar__item { background: var(--surface); padding: 1.9rem 1.6rem; }
.trustbar__item dt {
  font-family: var(--font-display); font-size: var(--step-2); color: var(--brand-dark);
  line-height: 1.1; margin-bottom: .35rem;
}
.trustbar__item dd { margin: 0; font-size: .87rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 860px) { .trustbar__inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .trustbar__inner { grid-template-columns: 1fr; } }

/* ---------- 9. Cards & grids ---------- */
.grid { display: grid; gap: clamp(1rem, .6rem + 1.4vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: clamp(1.5rem, 1.1rem + 1vw, 2.1rem);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  height: 100%; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.card__icon {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  background: var(--brand-soft); color: var(--brand-dark);
  display: grid; place-items: center; margin-bottom: 1.25rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: var(--step-1); margin-bottom: .5em; }
.card p { font-size: .94rem; }
.card__list { margin-top: auto; padding-top: 1.15rem; display: grid; gap: .45rem; }
.card__list li {
  position: relative; padding-inline-start: 1.15rem; font-size: .85rem; color: var(--muted);
}
.card__list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .58em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand); opacity: .55;
}

/* Concerns list */
.concerns { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem 1.4rem; }
.concerns li {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .9rem 0; border-bottom: 1px solid var(--line-soft);
  font-size: .96rem; color: var(--body);
}
.concerns li svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: .28em; }
@media (max-width: 700px) { .concerns { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- 10. Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 68px 1fr; gap: 1.5rem;
  padding: 1.9rem 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--font-display); font-size: 1.15rem; color: var(--brand);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center;
}
.step__num::before { content: "0" counter(step); }
.step h3 { font-size: var(--step-1); margin-bottom: .35em; }
.step p { font-size: .96rem; max-width: 62ch; }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: .9rem; } }

/* ---------- 11. About ---------- */
.about__photo { position: relative; }
.about__photo img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  aspect-ratio: 4/5; object-fit: cover; object-position: 50% 15%; width: 100%;
}
.about__quote {
  margin-top: 1.4rem; padding: 1.3rem 1.5rem;
  border-left: 2px solid var(--brand); background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display); font-size: 1.06rem; line-height: 1.5; color: var(--ink);
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 24;
}
.cv-list { display: grid; gap: 0; margin-top: .5rem; }
.cv-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 1.2rem;
  padding: 1.15rem 0; border-top: 1px solid var(--line-soft);
}
.cv-item:last-child { border-bottom: 1px solid var(--line-soft); }
.cv-item__when { font-size: .8rem; color: var(--brand); font-weight: 600; letter-spacing: .04em; padding-top: .18em; }
.cv-item__what strong { display: block; color: var(--ink); font-weight: 550; font-size: .99rem; margin-bottom: .18rem; }
.cv-item__what span { font-size: .89rem; color: var(--muted); }
@media (max-width: 560px) { .cv-item { grid-template-columns: 1fr; gap: .3rem; } }

.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.4rem; }
.tag {
  font-size: .78rem; padding: .38rem .8rem; border-radius: 100px;
  background: var(--brand-soft); color: var(--brand-dark); border: 1px solid rgba(46,106,94,.12);
}

/* ---------- 12. Business band ---------- */
.band {
  background: var(--brand-dark); color: rgba(255,255,255,.82);
  border-radius: var(--radius-lg); padding: clamp(2.2rem, 1.4rem + 3vw, 4rem);
  position: relative; overflow: hidden;
}
.band::after {
  content: ""; position: absolute; top: -40%; right: -10%; width: 480px; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,255,255,.07), transparent 66%);
}
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: var(--sand); }
.band__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.8rem, 1rem + 3vw, 4rem); align-items: center; position: relative; }

/* Portrait bleeding off the end of the dark card, dissolved into it so it
   reads as part of the panel rather than a pasted-in photo. */
.band__photo {
  position: absolute; inset-block: 0; inset-inline-end: 0;
  width: 32%; margin: 0; z-index: 0;
  -webkit-mask-image: linear-gradient(to left, #000 42%, transparent 100%);
          mask-image: linear-gradient(to left, #000 42%, transparent 100%);
}
.band__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; opacity: .55; }
[dir="rtl"] .band__photo {
  -webkit-mask-image: linear-gradient(to right, #000 42%, transparent 100%);
          mask-image: linear-gradient(to right, #000 42%, transparent 100%);
}
@media (min-width: 1001px) { .band__grid { padding-inline-end: 26%; } }
@media (max-width: 1000px) { .band__photo { display: none; } }
.band__list { display: grid; gap: 1rem; }
.band__list li { display: flex; gap: .85rem; align-items: flex-start; font-size: .96rem; }
.band__list svg { width: 18px; height: 18px; color: var(--sand); flex: none; margin-top: .28em; }
.band .btn--light { margin-top: 1.8rem; }
@media (max-width: 860px) { .band__grid { grid-template-columns: 1fr; } }

/* ---------- 13. FAQ ---------- */
.faq { display: grid; gap: 0; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0;
  position: relative; font-family: var(--font-display); font-size: var(--step-1);
  color: var(--ink); line-height: 1.3;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand-dark); }
.faq summary::after {
  content: ""; position: absolute; right: .35rem; top: 50%; width: 13px; height: 13px;
  margin-top: -6px;
  background:
    linear-gradient(var(--brand), var(--brand)) center/13px 1.5px no-repeat,
    linear-gradient(var(--brand), var(--brand)) center/1.5px 13px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__body { padding: 0 3rem 1.6rem 0; font-size: .97rem; max-width: 70ch; }

/* ---------- 14. Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.contact-list { display: grid; gap: .55rem; margin-top: 2rem; }
.contact-list a, .contact-list div.contact-row {
  display: flex; gap: .95rem; align-items: center;
  padding: 1rem 1.15rem; border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  background: var(--surface); text-decoration: none; color: var(--ink);
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-list a:hover { border-color: var(--brand); transform: translateX(3px); box-shadow: var(--shadow-sm); }
.contact-list svg { width: 19px; height: 19px; color: var(--brand); flex: none; }
.contact-list .contact-txt > span { display: block; font-size: .69rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .1rem; }
.contact-list strong { font-weight: 500; font-size: .95rem; }

.form {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem);
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.field label { font-size: .82rem; font-weight: 550; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .94rem; color: var(--ink);
  padding: .78rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: var(--surface);
  box-shadow: 0 0 0 3px rgba(46,106,94,.12);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23788884' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.consent { display: flex; gap: .7rem; align-items: flex-start; margin: 1.2rem 0 1.4rem; }
.consent input { width: 17px; height: 17px; margin-top: .18em; accent-color: var(--brand); flex: none; }
.consent label { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.form .btn { width: 100%; }
.form__note { margin-top: 1rem; font-size: .78rem; color: var(--muted); text-align: center; }
.form__status {
  margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--radius-sm);
  font-size: .87rem; background: var(--brand-soft); color: var(--brand-dark);
  display: none;
}
.form__status.is-visible { display: block; }

.notice {
  margin-top: 2rem; padding: 1.15rem 1.35rem;
  border: 1px solid var(--sand); background: #FBF6EE;
  border-radius: var(--radius-sm); font-size: .86rem; line-height: 1.55; color: var(--body);
}
.notice strong { color: var(--ink); }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; transition: color .2s var(--ease); }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.10); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer__brand .brand__name { color: #fff; font-size: 1.25rem; }
.footer__brand .brand__role { color: rgba(255,255,255,.5); }
.footer__brand p { margin-top: 1rem; font-size: .89rem; max-width: 38ch; }
.footer h4 { color: #fff; font-family: var(--font-sans); font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.footer ul { display: grid; gap: .6rem; font-size: .9rem; }
.footer__bottom {
  padding-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  justify-content: space-between; align-items: center; font-size: .78rem; color: rgba(255,255,255,.45);
}
.footer__legal { max-width: 62ch; }
.socials { display: flex; gap: .6rem; margin-top: 1.3rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.socials a:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.32); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }

/* ---------- 16. To-top ---------- */
.to-top {
  position: fixed; right: clamp(1rem, .6rem + 1vw, 2rem); bottom: clamp(1rem, .6rem + 1vw, 2rem);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .25s var(--ease);
  z-index: 90;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.to-top svg { width: 17px; height: 17px; }

/* ---------- 17. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 18. Utilities ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

/* ---------- 19. Print ---------- */
@media print {
  .site-header, .to-top, .form, .nav__panel { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1.5rem; }
}
