/*
Theme Name: Project Psiho
Description: Andreea Iordan — Psiholog | Psihoterapie psihanalitică
Version: 1.0
Author: Andreea Iordan
Text Domain: project-psiho
*/

:root {
  --ivory: #f7f1e6;
  --ivory-2: #efe6d4;
  --paper: #fbf7ee;
  --beige: #d9c5a4;
  --beige-soft: #e6d6b8;
  --beige-line: #c9b594;
  --ink: #2c241d;
  --sage: #4d6a5a;
  --sage-deep: #3e5448;
  --ink-soft: #4a3f33;
  --ink-mute: #6b5d4d;
  --rule: #b8a482;
  --accent: #4c6a5a;
  --accent-deep: #3e5448;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --script: "Cormorant Garamond", "Times New Roman", serif;
  --hand: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Cormorant Garamond", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--serif);
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.6  0 0 0 0 0.5  0 0 0 0 0.35  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ==================== HEADER ==================== */
.hero-stage {
  position: relative;
  width: 100%;
  min-height: 92vh;
  min-height: 92dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ivory);
}
body:not(.home) .hero-stage {
  min-height: 70vh;
  min-height: 70dvh;
}

header.site-header {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 56px);
  max-width: 1320px;
  z-index: 50;
  background: rgba(239, 230, 212, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(184, 164, 130, 0.4);
  box-shadow: 0 6px 22px -12px rgba(60, 40, 20, 0.25);
}
.header-inner {
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}
nav.main-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-left: auto;
}
nav.main-nav > a,
nav.main-nav > .has-sub > a {
  padding: 8px 16px;
  color: var(--ink-soft);
  transition: color 0.25s;
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
nav.main-nav > a:hover,
nav.main-nav > a.active,
nav.main-nav > .has-sub:hover > a,
nav.main-nav > .has-sub > a.active {
  color: var(--sage);
  font-style: italic;
}
nav.main-nav > .has-sub {
  position: relative;
}
nav.main-nav > .has-sub > a::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.2px solid currentColor;
  border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: 0.6;
}
nav.main-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--paper);
  border: 1px solid rgba(184, 164, 130, 0.4);
  box-shadow: 0 12px 32px -16px rgba(60, 40, 20, 0.3);
  min-width: 320px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  z-index: 60;
  list-style: none;
  margin: 0;
}
nav.main-nav .has-sub:hover .submenu,
nav.main-nav .has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
nav.main-nav .submenu li { list-style: none; }
nav.main-nav .submenu a {
  display: block;
  padding: 10px 22px;
  font-size: 15px;
  color: var(--ink-soft);
  font-style: normal;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
nav.main-nav .submenu a:hover {
  background: var(--ivory);
  color: var(--sage);
  font-style: italic;
}

/* mobile/tablet hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(184, 164, 130, 0.5);
  border-radius: 6px;
  padding: 8px 10px;
  cursor: pointer;
  margin-left: auto;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }
nav.main-nav.open a:hover { color: var(--sage); font-style: italic; }
.header-phone {
  white-space: nowrap;
  margin-left: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s;
}
.header-phone:hover { background: var(--sage-deep); }
.header-phone svg { width: 13px; height: 13px; }

/* ==================== HERO SPLIT ==================== */
.hero-image-half {
  position: relative;
  overflow: hidden;
  background: #efe6d4;
}
.hero-image-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.02) brightness(0.98);
}
.hero-image-half::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 70%, rgba(58, 75, 64, 0.06) 100%);
  pointer-events: none;
}

.hero-panel {
  background: var(--sage);
  color: var(--paper);
  padding: 160px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 32px;
  border: 1px solid rgba(247, 241, 230, 0.18);
  pointer-events: none;
}
body:not(.home) .hero-panel {
  padding: 120px 60px 60px;
}
body:not(.home) .hero-panel::before {
  inset: 16px;
}

/* Compact list for despre-psihoterapie page */
body.page-despre-psihoterapie .page-content ul {
  margin: 0;
  padding-left: 20px;
}
body.page-despre-psihoterapie .page-content ul li {
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 6px;
}
.hero-panel .panel-eyebrow {
  font-family: var(--serif);
  color: rgba(247, 241, 230, 0.85);
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1;
}
.hero-panel h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 52px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  margin: 0 0 8px;
  color: var(--paper);
  letter-spacing: 0.005em;
}
.hero-panel h1 em {
  font-style: normal;
  color: var(--paper);
}
.hero-panel .h1-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  font-size: clamp(18px, 1.7vw, 22px);
  color: rgba(247, 241, 230, 0.85);
  margin-bottom: 26px;
  font-weight: 400;
}
.hero-panel p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(247, 241, 230, 0.92);
  margin: 22px 0 24px;
  max-width: 52ch;
}
.hero-panel .panel-rule {
  width: 60px;
  height: 1px;
  background: rgba(247, 241, 230, 0.4);
  margin-bottom: 24px;
}
.hero-panel ul.services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
}
.hero-panel ul.services-list li {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(247, 241, 230, 0.92);
  padding: 8px 0 8px 22px;
  position: relative;
}
.hero-panel ul.services-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f0e3c8;
  font-size: 18px;
  line-height: 1.4;
}
.hero-panel .panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 30px;
  border: 1px solid rgba(247, 241, 230, 0.7);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  align-self: flex-start;
  transition: all 0.3s;
}
.hero-panel .panel-cta:hover {
  background: var(--paper);
  color: var(--sage);
  border-color: var(--paper);
}
.hero-panel .panel-cta svg { width: 16px; height: 8px; }

/* ==================== INTRO BAND ==================== */
.intro-band {
  background: var(--ivory);
  border-top: 1px solid var(--beige-line);
  border-bottom: 1px solid var(--beige-line);
  padding: 48px 32px;
  text-align: center;
  position: relative;
}
.intro-band-inner {
  max-width: 820px;
  margin: 0 auto;
}
.intro-band .quote-mark {
  font-family: var(--serif);
  font-size: 90px;
  line-height: 0.2;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}
.intro-band p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 20px;
  text-wrap: balance;
}
.intro-band .attribution {
  font-family: var(--serif);
  color: var(--ink-mute);
  font-size: 18px;
}

/* ==================== INTRO ABOUT ==================== */
.intro-about {
  background: var(--paper);
  padding: 48px 32px;
  text-align: center;
  border-bottom: 1px solid rgba(184, 164, 130, 0.35);
}
.intro-about-inner {
  max-width: 900px;
  margin: 0 auto;
}
.intro-about h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 28px;
  text-transform: uppercase;
}
.intro-about h2 .dot {
  color: var(--accent);
  margin: 0 10px;
  font-weight: 400;
}
.intro-about .ia-desc {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 70ch;
  margin: 0 auto 20px;
  text-wrap: pretty;
}
.intro-about .ia-checks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 44px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}
.intro-about .ia-checks span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.intro-about .ia-checks span::before {
  content: "✓";
  color: var(--sage);
  font-weight: 600;
  font-size: 18px;
}
.intro-about .ia-btn {
  display: inline-block;
  padding: 14px 44px;
  background: var(--sage);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.3s;
}
.intro-about .ia-btn:hover { background: var(--sage-deep); }

/* ==================== SERVICES ==================== */
.services {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px;
}
.section-head {
  text-align: center;
  margin-bottom: 32px;
}
.section-eyebrow {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--serif);
  font-size: 48px;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.1;
}
.section-title.serif {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
}
.section-rule {
  width: 60px;
  height: 1px;
  background: var(--rule);
  margin: 0 auto;
}
.section-sub {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-mute);
  font-size: 18px;
  max-width: 60ch;
  margin: 20px auto 0;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  padding: 24px 18px;
  border: 1px solid rgba(184, 164, 130, 0.4);
  background: var(--paper);
  text-align: center;
  transition: all 0.4s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid transparent;
  transition: border-color 0.4s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -25px rgba(76, 106, 90, 0.35);
  border-color: var(--sage);
}
.service-card:hover::before {
  border-color: rgba(76, 106, 90, 0.4);
}
.service-card h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--sage);
  margin: 12px auto 0;
  opacity: 0.6;
}
.service-num {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 10px;
}
.service-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 10px;
}
.service-card p {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  line-height: 1.6;
  flex-grow: 1;
}
.service-card .more {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* ==================== ABOUT STRIP ==================== */
.about-strip {
  background: var(--ivory);
  padding: 48px 32px;
  border-top: 1px solid var(--beige-line);
  border-bottom: 1px solid var(--beige-line);
}
.about-strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.about-image-wrap::before {
  content: "";
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid var(--rule);
}
.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(60, 40, 20, 0.3);
}
.about-text h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  font-size: clamp(36px, 4vw, 56px);
  margin: 0 0 14px;
  line-height: 1.1;
  color: var(--ink);
}
.about-text .role {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.about-text p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.about-signature {
  margin-top: 28px;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 38px;
  line-height: 1;
}
.about-cta {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: gap 0.3s;
}
.about-cta:hover { gap: 18px; color: var(--accent); border-color: var(--accent); }

/* ==================== APPROACH ==================== */
.approach {
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.approach-img {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.approach-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 30px 60px -30px rgba(60, 40, 20, 0.25);
}
.approach-img::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--rule);
  z-index: -1;
}
.approach h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--ink);
}
.approach .approach-rule {
  width: 60px; height: 1px; background: var(--rule); margin-bottom: 14px;
}
.approach p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.approach ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.approach li {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-size: 17px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(184, 164, 130, 0.35);
  display: flex;
  align-items: center;
  gap: 14px;
}
.approach li::before {
  content: "✦";
  color: var(--accent);
  font-size: 12px;
}

/* ==================== QUOTE BAND ==================== */
.quote-band {
  background:
    linear-gradient(rgba(247, 241, 230, 0.88), rgba(247, 241, 230, 0.92)),
    url("assets/cabinet-canapea-lampa.webp") center / cover no-repeat;
  padding: 120px 32px;
  text-align: center;
  border-top: 1px solid var(--beige-line);
  border-bottom: 1px solid var(--beige-line);
}
.quote-band blockquote {
  max-width: 780px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 48px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  color: var(--ink);
  font-weight: 400;
}
.quote-band cite {
  display: block;
  margin-top: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}
.quote-band cite::before {
  content: "— ";
}

/* ==================== CTA STRIP ==================== */
.cta-strip {
  padding: 48px 32px;
  text-align: center;
  position: relative;
  background:
    linear-gradient(rgba(247, 241, 230, 0.86), rgba(247, 241, 230, 0.92)),
    url("assets/cabinet-fotoliu-perete.webp") center / cover no-repeat;
  border-top: 1px solid var(--beige-line);
  border-bottom: 1px solid var(--beige-line);
}
.cta-strip-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.cta-strip h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--ink);
}
.cta-strip p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 36px;
  line-height: 1.6;
}
.cta-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 32px;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid var(--ink);
}
.btn-primary {
  background: var(--sage);
  color: var(--paper);
  border-color: var(--sage);
}
.btn-primary:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ==================== PAGE CONTENT ==================== */
.page-content {
  background: var(--paper);
  padding: 45px 32px 55px;
  border-top: 1px solid var(--beige-line);
}
.pc-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.pc-eyebrow {
  font-family: var(--serif);
  color: var(--sage);
  font-size: 22px;
  margin-bottom: 8px;
  text-align: center;
}
.pc-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 56px;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 22px;
  text-align: center;
}
.pc-rule {
  width: 60px;
  height: 1px;
  background: var(--rule);
  margin: 0 auto 50px;
}
.pc-lead {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  text-align: center;
  max-width: 70ch;
  margin: 0 auto 50px;
  font-weight: 300;
  letter-spacing: 0.005em;
}
.pc-body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  text-align: center;
  margin: 0 auto 44px;
  max-width: 70ch;
  font-weight: 400;
}
.page-content-left .pc-body {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  margin-bottom: 16px;
}
.pc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pc-list li {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 32px 28px;
  background: var(--ivory);
  border: 1px solid var(--beige-line);
  border-top: 3px solid var(--sage);
  transition: box-shadow 0.3s, transform 0.3s;
}
.pc-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px -22px rgba(76, 106, 90, 0.4);
}
.pc-marker {
  font-family: var(--serif);
  color: var(--sage);
  font-size: 30px;
  line-height: 1;
  font-weight: 600;
  padding-top: 4px;
}
.pc-list h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: 0.005em;
}
.pc-list p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ==================== FOOTER ANPC ==================== */
.footer-anpc {
  border-top: 1px solid var(--beige-line);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-anpc a {
  display: inline-block;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-anpc a:hover { opacity: 1; }
.footer-anpc img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-brand-badges { display: flex; gap: 8px; margin-top: 14px; align-items: center; }
.footer-brand-badges a { display: inline-block; transition: opacity 0.2s; }
.footer-brand-badges a:hover { opacity: 0.8; }
.footer-brand-badges img { height: 32px; width: auto; display: block; }

/* ==================== COOKIE BANNER ==================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  justify-content: center;
  padding: 18px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.18);
}
.cookie-inner {
  max-width: 1180px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cookie-text {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(247,241,230,0.88);
  margin: 0;
  flex: 1;
  min-width: 240px;
}
.cookie-text a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-btn {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  padding: 10px 26px;
  border: 1px solid rgba(247,241,230,0.5);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cookie-accept {
  background: var(--sage);
  color: var(--paper);
  border-color: var(--sage);
}
.cookie-accept:hover {
  background: #3a5a48;
  border-color: #3a5a48;
}
.cookie-decline {
  background: transparent;
  color: rgba(247,241,230,0.75);
}
.cookie-decline:hover {
  color: var(--paper);
  border-color: rgba(247,241,230,0.8);
}

/* ==================== PC LIST VERTICAL ==================== */
.pc-list-v {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.pc-list-v li {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--beige-line);
  transition: background 0.2s;
}
.pc-list-v li:first-child {
  border-top: 1px solid var(--beige-line);
}
.pc-list-v .pc-marker {
  font-family: var(--serif);
  color: var(--sage);
  font-size: 26px;
  font-weight: 600;
  min-width: 40px;
  line-height: 1;
  flex-shrink: 0;
}
.pc-list-v li p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* ==================== FOR WHOM ==================== */
.for-whom {
  background: var(--ivory);
  padding: 110px 32px 120px;
  border-top: 1px solid var(--beige-line);
}
.fw-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}
.fw-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 18px;
}
.fw-lead {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 38ch;
}
.fw-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
.fw-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.fw-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--beige-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  flex-shrink: 0;
}
.fw-icon svg { width: 20px; height: 20px; }
.fw-list h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  color: var(--ink);
  margin: 6px 0 6px;
  letter-spacing: 0.005em;
}
.fw-list p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ==================== CONTACT HEADER ==================== */
.contact-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: none !important;
  border-radius: 0 !important;
  background: var(--paper) !important;
  box-shadow: 0 1px 0 var(--beige-line) !important;
}
.contact-header .header-inner { max-width: 1280px; margin: 0 auto; padding: 18px 32px; }

/* ==================== CONTACT BAND ==================== */
.contact-band {
  background: var(--sage);
  color: var(--paper);
  padding: 44px 32px 44px;
  position: relative;
  overflow: visible;
}
.contact-band.contact-no-hero {
  padding-top: 160px;
  padding-bottom: 40px;
}
.contact-band::before {
  content: "";
  position: absolute;
  inset: 16px 16px 16px 16px;
  border: 1px solid rgba(247, 241, 230, 0.12);
  pointer-events: none;
}
.contact-band-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: start;
  position: relative;
}
.cb-text { display: block; }
.cb-text h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 52px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--paper);
  margin: 0 0 14px;
}
.cb-text h1 em {
  font-style: normal;
  color: var(--paper);
}
.cb-text p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(247, 241, 230, 0.92);
  margin: 0 0 10px;
}
.cb-text .cb-lead {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.cb-text strong { color: var(--paper); font-weight: 500; }
.cb-text a {
  color: #f0e3c8;
  border-bottom: 1px solid rgba(240, 227, 200, 0.5);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
}
.cb-text a:hover { border-color: #f0e3c8; color: var(--paper); }

.cb-info {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(247, 241, 230, 0.18);
  padding-top: 16px;
}
.cb-info li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-size: 17px;
  color: rgba(247, 241, 230, 0.92);
}
.cb-info a {
  border: none;
  padding: 0;
}
.cb-info a:hover { color: var(--paper); }
.cb-ico {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 241, 230, 0.1);
  color: #f0e3c8;
  flex-shrink: 0;
}
.cb-ico svg { width: 16px; height: 16px; }

/* form card */
.cb-form {
  background: var(--ivory);
  color: var(--ink);
  padding: 28px 36px 26px;
  border: 1px solid rgba(247, 241, 230, 0.4);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.4);
  margin-bottom: -130px;
  position: relative;
  z-index: 5;
}
.cb-form h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 48px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 8px;
  text-align: center;
}
.cb-form h2::after { display: none; }
.cb-rule {
  width: 50px; height: 1px;
  background: var(--rule);
  margin: 0 auto 16px;
}
.cb-field {
  display: block;
  position: relative;
  margin-bottom: 10px;
}
.cb-field input,
.cb-field textarea {
  width: 100%;
  padding: 12px 0 6px;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--beige-line);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.cb-field textarea { min-height: 70px; padding-top: 14px; }
.cb-field input:focus,
.cb-field textarea:focus { border-bottom-color: var(--sage); }
.cb-field span {
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--ink-mute);
  pointer-events: none;
  transition: all 0.2s;
}
.cb-field input:focus + span,
.cb-field input:not(:placeholder-shown) + span,
.cb-field textarea:focus + span,
.cb-field textarea:not(:placeholder-shown) + span {
  top: -2px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  font-style: normal;
}

.cb-subjects {
  border: none;
  padding: 0;
  margin: 4px 0 16px;
}
.cb-subjects legend {
  font-family: var(--serif);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage);
  margin-bottom: 8px;
}
.cb-subjects label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink-soft);
  padding: 2px 0;
  cursor: pointer;
}
.cb-subjects input[type="checkbox"] {
  appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--rule);
  background: var(--paper);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.cb-subjects input[type="checkbox"]:checked {
  background: var(--sage);
  border-color: var(--sage);
}
.cb-subjects input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  inset: 2px 3px 4px;
  border-bottom: 1.5px solid var(--paper);
  border-right: 1.5px solid var(--paper);
  transform: rotate(45deg) translate(-1px, -1px);
  width: 5px; height: 9px;
}

.cb-submit {
  width: 100%;
  padding: 12px 24px;
  background: var(--sage);
  color: var(--paper);
  border: 1px solid var(--sage);
  font-family: var(--serif);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  margin-top: 4px;
}
.cb-submit:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.form-success {
  margin-top: 18px;
  padding: 14px;
  background: rgba(76, 106, 90, 0.1);
  border-left: 3px solid var(--sage);
  font-family: var(--serif);
  font-size: 17px;
  font-size: 15px;
  color: var(--sage-deep);
}

/* ==================== MAP ==================== */
.contact-map {
  width: 100%;
  line-height: 0;
  background: var(--ivory-2);
  position: relative;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 520px;
  filter: grayscale(0.15) contrast(1.02);
}

/* ==================== FOOTER ==================== */
footer.site-footer {
  background: var(--ivory-2);
  border-top: 1px solid var(--beige-line);
  padding: 70px 32px 0;
  color: var(--ink-soft);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}
.footer-col h4 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}
.footer-col h4::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background: var(--rule);
  margin-top: 10px;
}
.footer-brand img {
  width: auto;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-mute);
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}
.footer-list a:hover { color: var(--accent); }
.footer-list .ico {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-list .ico svg {
  width: 14px; height: 14px;
  margin-top: 6px;
  flex-shrink: 0;
  color: var(--accent);
}
.footer-hours {
  font-size: 17px;
  line-height: 1.6;
}
.footer-hours dt {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  display: inline;
}
.footer-hours dd {
  margin: 0 0 4px;
  display: inline;
  color: var(--ink-mute);
}
.footer-hours dd::before { content: " — "; }
.footer-hours dd::after { content: ""; display: block; }

.footer-bottom {
  border-top: 1px solid var(--beige-line);
  padding: 22px 0;
  text-align: center;
  font-size: 12px;
  color: var(--ink-mute);
  font-family: var(--serif);
  letter-spacing: 0.03em;
}
.footer-bottom .heart {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 14px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1240px) {
  nav.main-nav { font-size: 13px; }
  nav.main-nav a { padding: 6px 9px; }
  .hero-panel { padding: 150px 50px 60px; }
  body:not(.home) .hero-panel { padding: 110px 50px 50px; }
}
@media (max-width: 1080px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-phone .phone-text { display: none; }
  .header-phone { padding: 10px 12px; }
  .header-phone svg { width: 16px; height: 16px; }
  nav.main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 5;
    margin: 8px 0 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(184, 164, 130, 0.4);
    gap: 0;
    font-size: 14px;
  }
  nav.main-nav.open > a,
  nav.main-nav.open > .has-sub > a {
    padding: 10px 6px;
    text-align: left;
  }
  nav.main-nav.open .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 4px 14px;
    min-width: 0;
  }
  nav.main-nav.open .submenu a { padding: 6px 8px; font-size: 13px; }
  nav.main-nav.open > .has-sub > a::after { display: none; }
}
@media (max-width: 980px) {
  .contact-band-inner { grid-template-columns: 1fr; gap: 40px; }
  .cb-form { padding: 32px 28px; margin-bottom: -120px; }
  .contact-band { padding-bottom: 80px; }
  .fw-inner { grid-template-columns: 1fr; gap: 50px; }
  .fw-list { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-stage { grid-template-columns: 1fr; min-height: auto; }
  .hero-image-half { aspect-ratio: 4/3; }
  .hero-panel, body:not(.home) .hero-panel { padding: 60px 32px; }
  header.site-header { width: calc(100% - 32px); top: 16px; }
  .header-inner { padding: 12px 18px; flex-wrap: wrap; gap: 12px; }
  .brand-logo { height: 52px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-strip-inner, .approach { grid-template-columns: 1fr; gap: 50px; padding: 60px 24px; }
  .about-strip { padding: 60px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .page-content { padding: 80px 22px 80px; }
  .pc-list { grid-template-columns: 1fr; }
  .pc-list li { padding: 26px 24px; }
  .pc-lead { font-size: 18px; }
  .pc-body { font-size: 17px; }
  .contact-band { padding: 60px 22px 70px; }
  .cb-form { margin-bottom: -90px; padding: 28px 22px; }
  .contact-header .header-inner { padding: 14px 18px; }
  .contact-map iframe { height: 380px; }
  .for-whom { padding: 70px 22px 80px; }
}
@media (min-width: 721px) and (max-width: 980px) {
  .pc-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}
