/* =========================================================
   Gülbaran & Dede — v3 (Moroğlu Arseven esinli minimal tasarım)
   Palet: bordo / şarap + beyaz + mürekkep siyahı
   Tipografi: Host Grotesk (light ağırlıklar)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  /* Logo paleti: tuğla kırmızısı + antrasit gri */
  --wine: #8f342b;            /* ana marka kırmızısı (koyu) */
  --wine-2: #a8453a;          /* kırmızı - hover */
  --magenta: #a8453a;         /* vurgu kırmızısı */
  --magenta-soft: #d27860;    /* açık zeminlerde okunur terrakota */
  --gray: #54565a;            /* logo antrasit grisi */
  --gray-2: #6b6d71;
  --ink: #2b2829;             /* sıcak koyu mürekkep */
  --paper: #ffffff;
  --cream: #f6f2ed;
  --muted: #757074;
  --line: #e8e2dd;
  --line-dark: rgba(255, 255, 255, 0.16);

  --sans: "Host Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

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

/* eyebrow / küçük etiket */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--magenta);
  display: inline-block;
}

.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: #fff; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); font-weight: 300; }
.section--ink .lead { color: rgba(255,255,255,0.72); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--wine);
  background: var(--wine);
  color: #fff;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--magenta); border-color: var(--magenta); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn--light:hover { background: #fff; color: var(--wine); border-color: #fff; }
.btn .arw { transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

/* text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--wine);
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow:hover { gap: 16px; color: var(--magenta); }
.section--ink .link-arrow { color: #fff; }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-size: 1.32rem; font-weight: 500; letter-spacing: 0.04em; color: #fff;
  transition: color .4s var(--ease);
}
.brand__sub {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-top: 6px;
  transition: color .4s var(--ease);
}
/* Logo görseli */
.brand__logo { height: 76px; width: auto; display: block; transition: filter .4s var(--ease), height .4s var(--ease); }
/* Şeffaf header (koyu hero üzerinde) -> logo beyaz */
.site-header:not(.solid) .brand__logo { filter: brightness(0) invert(1); }
.site-header.solid .brand__logo { height: 62px; filter: none; }
/* Footer koyu zemin -> logo beyaz */
.site-footer .brand__logo {
  height: 50px;
  max-width: 108px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 10px 16px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.82);
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: #fff; }

/* ---- Dropdown (Uzmanlık Alanları) ---- */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-sub-toggle { display: none; background: none; border: none; color: inherit; font: inherit; cursor: pointer; }
.nav-sub {
  position: absolute; top: 100%; left: 0;
  min-width: 320px; padding: 14px;
  background: #fff; box-shadow: 0 26px 60px -24px rgba(40,20,18,0.45);
  border-top: 2px solid var(--wine);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  z-index: 50;
}
.nav-item--has-sub:hover .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-sub a {
  color: #4a4446 !important; padding: 10px 14px; font-size: 0.84rem; font-weight: 500;
  white-space: nowrap; border-radius: 2px; transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-sub a::after { display: none; }
.nav-sub a:hover { background: var(--cream); color: var(--wine) !important; }
.nav-sub__all { grid-column: 1 / -1; margin-top: 6px; padding-top: 12px !important; border-top: 1px solid var(--line);
  color: var(--wine) !important; font-weight: 600 !important; letter-spacing: 0.04em; }
.nav-sub__all:hover { background: transparent !important; }

.header-right { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; }
.lang-switch button {
  background: none; border: none; cursor: pointer; font: inherit;
  color: rgba(255,255,255,0.55); padding: 4px 6px; transition: color .3s var(--ease);
}
.lang-switch button.active, .lang-switch button:hover { color: #fff; }
.lang-switch .sep { color: rgba(255,255,255,0.4); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 22px; position: relative; }
.nav-toggle span { position: absolute; left: 0; right: 0; height: 2px; background: #fff; transition: .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }

/* scrolled / solid header (also for inner pages) */
.site-header.solid {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--line);
}
.site-header.solid .brand__name { color: var(--ink); }
.site-header.solid .brand__sub { color: var(--magenta); }
.site-header.solid .nav-links a { color: #4a444f; }
.site-header.solid .nav-links a:hover, .site-header.solid .nav-links a.active { color: var(--wine); }
.site-header.solid .lang-switch button { color: #9b939f; }
.site-header.solid .lang-switch button.active, .site-header.solid .lang-switch button:hover { color: var(--wine); }
.site-header.solid .lang-switch .sep { color: #cfc8d2; }
.site-header.solid .nav-toggle span { background: var(--ink); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: var(--wine);
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../images/hero-silk.png") center/cover no-repeat;
  transform: scale(1.08);
  animation: kenburns 26s ease-in-out infinite alternate;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16,14,14,0.85) 0%, rgba(16,14,14,0.5) 45%, rgba(16,14,14,0.12) 100%),
    linear-gradient(0deg, rgba(10,9,9,0.88) 0%, rgba(10,9,9,0) 55%);
}
@keyframes kenburns { from { transform: scale(1.08) translateY(0); } to { transform: scale(1.16) translateY(-2%); } }

.hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  padding-top: 150px;
  padding-bottom: clamp(150px, 22vh, 220px);
}
.hero__tag {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--magenta-soft);
  margin-bottom: 30px;
  opacity: 0; animation: fadeUp 1s var(--ease) .2s forwards;
}

/* rotating statements */
.hero__slides { position: relative; max-width: 940px; min-height: clamp(210px, 30vh, 300px); }
.hero__slide {
  position: absolute; inset: 0;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hero__slide em { font-style: normal; color: var(--magenta-soft); }

.hero__actions {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 40px;
  opacity: 0; animation: fadeUp 1s var(--ease) .5s forwards;
}

.hero__foot {
  position: absolute; left: 0; right: 0; bottom: clamp(48px, 8vh, 96px);
  z-index: 2;
}
.hero__foot-inner { display: flex; align-items: center; gap: 22px; }
.hero__count { font-size: 0.85rem; letter-spacing: 0.18em; color: rgba(255,255,255,0.85); font-variant-numeric: tabular-nums; }
.hero__count b { font-weight: 600; color: #fff; }
.hero__progress { position: relative; width: clamp(120px, 22vw, 280px); height: 2px; background: rgba(255,255,255,0.22); overflow: hidden; }
.hero__progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--magenta-soft); }
.hero__dots { display: flex; gap: 10px; margin-left: auto; }
.hero__dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); background: transparent; cursor: pointer; padding: 0; transition: .3s var(--ease); }
.hero__dot.is-active { background: var(--magenta-soft); border-color: var(--magenta-soft); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* ===================== INTRO ===================== */
.intro__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.intro__title { font-size: clamp(2rem, 3.4vw, 3rem); }
.intro__body p { margin-bottom: 22px; color: #4a444f; }
.intro__body p:first-child { font-size: 1.15rem; color: var(--ink); }
.intro__body .link-arrow { margin-top: 12px; }

/* ===================== STATS ===================== */
.stats { background: var(--wine); color: #fff; position: relative; overflow: hidden; }
.stats::after {
  content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%;
  background: radial-gradient(closest-side, rgba(196,61,126,0.35), transparent 70%);
  pointer-events: none;
}
.stats .eyebrow { color: var(--magenta-soft); }
.stats .eyebrow::before { background: var(--magenta-soft); }
.stats__head { max-width: 640px; margin-bottom: 64px; }
.stats__head h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line-dark);
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.stat { background: var(--wine); padding: 40px 28px; position: relative; z-index: 1; }
.stat__num {
  font-size: clamp(3rem, 6vw, 5rem); font-weight: 300; line-height: 1;
  letter-spacing: -0.03em; display: flex; align-items: flex-start;
}
.stat__num .suf { font-size: 0.45em; color: var(--magenta-soft); margin-left: 4px; margin-top: 0.3em; }
.stat__label { margin-top: 16px; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* ===================== AREAS (practice list) ===================== */
.areas__head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 56px; }
.areas__head h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); max-width: 14ch; }
.areas__head .lead { max-width: 46ch; margin-top: 20px; }

.areas__list { border-top: 1px solid var(--line); }
.area-row {
  display: grid; grid-template-columns: 64px 1fr auto;
  align-items: center; gap: 20px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding .4s var(--ease), color .4s var(--ease);
}
.area-row::before {
  content: ""; position: absolute; inset: 0; background: var(--wine); transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease); z-index: 0;
}
.area-row > * { position: relative; z-index: 1; }
.area-row:hover { color: #fff; padding-left: 24px; }
.area-row:hover::before { transform: scaleX(1); }
.area-row__no { font-size: 0.85rem; letter-spacing: 0.1em; color: var(--magenta); font-variant-numeric: tabular-nums; }
.area-row:hover .area-row__no { color: var(--magenta-soft); }
.area-row__name { font-size: clamp(1.2rem, 2.1vw, 1.7rem); font-weight: 300; letter-spacing: -0.01em; }
.area-row__arrow { font-size: 1.2rem; opacity: 0; transform: translateX(-8px); transition: .4s var(--ease); }
.area-row:hover .area-row__arrow { opacity: 1; transform: translateX(0); }
.areas__cta { margin-top: 48px; }

/* ===================== PUBLICATIONS ===================== */
.pub__head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 52px; }
.pub__head h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.pub__head .lead { max-width: 50ch; margin-top: 18px; }
.pub__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pub-card {
  padding: 36px 32px 40px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.pub-card:first-child { border-left: 1px solid var(--line); }
.pub-card__cat { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--magenta); }
.pub-card__date { font-size: 0.78rem; color: var(--muted); margin: 14px 0 18px; }
.pub-card__title { font-size: 1.35rem; font-weight: 400; line-height: 1.28; margin-bottom: 18px; }
.pub-card__x { color: var(--muted); font-size: 0.96rem; flex-grow: 1; }
.pub-card .link-arrow { margin-top: 26px; }
.pub-card:hover { background: var(--cream); }

/* ===================== CTA BAND ===================== */
.cta-band { background: var(--ink); color: #fff; text-align: center; }
.cta-band__inner { max-width: 760px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 22px; }
.cta-band p { color: rgba(255,255,255,0.7); font-size: 1.12rem; font-weight: 300; margin-bottom: 38px; }

/* ===================== PAGE BANNER (inner) ===================== */
.page-banner {
  position: relative; padding: 200px 0 90px; color: #fff; background: var(--wine); overflow: hidden;
}
.page-banner__bg { position: absolute; inset: 0; background: url("../images/hero-silk.png") center/cover no-repeat; opacity: 0.85; }
.page-banner__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,14,14,0.88), rgba(16,14,14,0.4)); }
.page-banner__inner { position: relative; z-index: 2; }
.page-banner .crumb { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--magenta-soft); margin-bottom: 18px; }
.page-banner h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; }

/* ===================== ABOUT ===================== */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about__media { margin-bottom: 28px; }
.about__media img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); }
.about__body p { margin-bottom: 22px; color: #4a444f; }
.about__body p:first-of-type { font-size: 1.12rem; color: var(--ink); }
.why { background: var(--cream); padding: 44px; }
.why h3 { font-size: 1.5rem; margin-bottom: 26px; }
.why li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 1.02rem; }
.why li:first-child { border-top: none; }
.why li .mark { color: var(--magenta); font-weight: 600; }

/* ===================== ACCORDION (practice page) ===================== */
.acc { border-top: 1px solid var(--line); max-width: 980px; margin: 0 auto; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  display: flex; align-items: center; gap: 24px;
  padding: 30px 8px; cursor: pointer; list-style: none;
}
.acc-head__no { font-size: 0.85rem; color: var(--magenta); font-variant-numeric: tabular-nums; }
.acc-head__t { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 300; flex-grow: 1; transition: color .3s var(--ease); }
.acc-item:hover .acc-head__t, .acc-item.open .acc-head__t { color: var(--wine); }
.acc-head__ic { position: relative; width: 22px; height: 22px; flex-shrink: 0; }
.acc-head__ic::before, .acc-head__ic::after { content: ""; position: absolute; background: var(--wine); transition: transform .35s var(--ease); }
.acc-head__ic::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.acc-head__ic::after { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.acc-item.open .acc-head__ic::after { transform: translateX(-50%) scaleY(0); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.acc-body__in { padding: 0 8px 32px 56px; color: #4a444f; max-width: 80ch; }

/* ===================== EXPERTISE CARDS ===================== */
.exp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.exp-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.exp-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; z-index: 3;
  background: var(--wine); transform: scaleY(0); transform-origin: top;
  transition: transform .45s var(--ease);
}
.exp-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(143,52,43,0.45); border-color: transparent; }
.exp-card:hover::before { transform: scaleY(1); }
.exp-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.exp-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(0.62) contrast(1.06) brightness(0.9);
  transition: transform .7s var(--ease), filter .55s var(--ease);
}
/* Markalı kırmızı duotone ton; hover'da açılır */
.exp-card__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--wine); mix-blend-mode: color; opacity: 0.55;
  transition: opacity .55s var(--ease);
}
.exp-card:hover .exp-card__media img { transform: scale(1.07); filter: none; }
.exp-card:hover .exp-card__media::before { opacity: 0; }
.exp-card__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(20,18,18,0) 35%, rgba(20,18,18,0.55) 100%);
}
.exp-card__no {
  position: absolute; top: 16px; left: 18px; z-index: 3;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.16em; color: #fff;
  background: var(--wine); padding: 6px 12px;
}
.exp-card__body { display: flex; flex-direction: column; flex-grow: 1; padding: 26px 30px 30px; }
.exp-card__title { font-size: 1.3rem; font-weight: 400; line-height: 1.25; margin-bottom: 14px; letter-spacing: -0.01em; }
.exp-card__x { font-size: 0.92rem; color: var(--muted); flex-grow: 1; }
.exp-card__arrow { margin-top: 22px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wine); display: inline-flex; align-items: center; gap: 10px; transition: gap .3s var(--ease); }
.exp-card:hover .exp-card__arrow { gap: 16px; }

/* ===================== AREA DETAIL ===================== */
.area-layout { display: grid; grid-template-columns: 1fr 300px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.area-figure { margin: 0 0 34px; overflow: hidden; position: relative; background: var(--ink); }
.area-figure img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.area-figure::after { content: ""; position: absolute; inset: 0; background: var(--wine); mix-blend-mode: color; opacity: 0.12; }
.area-main p { color: #4a4446; margin-bottom: 22px; font-size: 1.08rem; }
.area-main p:first-of-type { font-size: 1.16rem; color: var(--ink); }
.area-main h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 40px 0 18px; }
.area-cta { margin-top: 40px; padding: 30px 34px; background: var(--cream); }
.area-cta h3 { font-size: 1.3rem; margin-bottom: 10px; }
.area-cta p { color: var(--muted); margin-bottom: 22px; }
.area-side { position: sticky; top: 110px; }
.area-side__t { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--magenta); margin-bottom: 18px; }
.area-side ul { border-top: 1px solid var(--line); }
.area-side li a {
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 0.96rem; color: #4a4446;
  transition: color .25s var(--ease), padding .25s var(--ease);
}
.area-side li a:hover { color: var(--wine); padding-left: 8px; }
.area-side li a.active { color: var(--wine); font-weight: 600; }
.area-side li a .d { color: var(--magenta); opacity: 0; transition: opacity .25s var(--ease); }
.area-side li a:hover .d, .area-side li a.active .d { opacity: 1; }

/* ===================== TEAM ===================== */
.team-group { margin-top: 64px; }
.team-group:first-child { margin-top: 0; }
.team-group__t { font-size: 1.5rem; font-weight: 300; margin-bottom: 34px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.member { text-align: left; }
.member__ph {
  aspect-ratio: 3/4; background: var(--cream); position: relative; overflow: hidden; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
}
.member__ph span {
  font-size: 2.6rem; font-weight: 300; color: var(--wine);
  letter-spacing: 0.04em;
}
.member__ph img { width: 100%; height: 100%; object-fit: cover; }
.member__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(91,18,48,0.12)); }
.member__name { font-size: 1.12rem; font-weight: 500; }
.member__role { font-size: 0.82rem; letter-spacing: 0.06em; color: var(--magenta); margin-top: 4px; text-transform: uppercase; }

/* ===================== CONTACT ===================== */
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.info-item { padding: 22px 0; border-top: 1px solid var(--line); }
.info-item:first-child { border-top: none; padding-top: 0; }
.info-item__l { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--magenta); margin-bottom: 8px; }
.info-item__v { font-size: 1.05rem; color: var(--ink); }
.info-item__v a:hover { color: var(--wine); }

.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid transparent; border-bottom: 1px solid var(--line);
  padding: 14px 16px; transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wine); background: #fff; }
.field textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.84rem; color: var(--muted); }
.form-success, .form-error { display: none; padding: 16px 20px; font-size: 0.95rem; }
.form-success.show { display: block; background: rgba(91,18,48,0.08); color: var(--wine); }
.form-error.show { display: block; background: rgba(200,60,60,0.1); color: #b3261e; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.map-wrap { margin-top: 8px; border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 340px; border: 0; filter: grayscale(0.3); }

/* ===================== ARTICLE / LEGAL / FAQ ===================== */
.prose { max-width: 760px; margin: 0 auto; }
.prose .meta { font-size: 0.82rem; letter-spacing: 0.06em; color: var(--magenta); text-transform: uppercase; margin-bottom: 20px; }
.prose h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 28px; }
.prose p { margin-bottom: 22px; color: #4a444f; font-size: 1.08rem; }
.prose .disclaimer { margin-top: 40px; padding: 20px 24px; background: var(--cream); font-size: 0.9rem; color: var(--muted); }
.prose .back { margin-top: 44px; }

.legal { max-width: 860px; margin: 0 auto; }
.legal__updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; }
.legal__intro { font-size: 1.12rem; color: var(--ink); margin-bottom: 40px; }
.legal section { margin-bottom: 34px; }
.legal h3 { font-size: 1.3rem; font-weight: 500; color: var(--wine); margin-bottom: 12px; }
.legal p { color: #4a444f; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(91,18,48,0.35); }
.blog-card__media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--wine), var(--magenta)); display: flex; align-items: center; justify-content: center; }
.blog-card__media span { color: rgba(255,255,255,0.85); font-size: 2.2rem; }
.blog-card__body { padding: 28px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card__cat { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--magenta); }
.blog-card__date { font-size: 0.78rem; color: var(--muted); margin: 12px 0 14px; }
.blog-card__title { font-size: 1.22rem; font-weight: 400; line-height: 1.3; margin-bottom: 14px; }
.blog-card__x { color: var(--muted); font-size: 0.95rem; flex-grow: 1; }
.blog-card .link-arrow { margin-top: 22px; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 84px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: clamp(36px, 6vw, 90px); }
.footer__brand .brand { display: inline-flex; }
.footer__brand .brand__name { color: #fff; font-size: 1.4rem; }
.footer__brand .brand__sub { color: var(--magenta-soft); }
.footer__about { margin-top: 18px; font-size: 0.95rem; max-width: 42ch; }
.footer__social { margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; }
.footer__social a { font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; transition: color .3s var(--ease); }
.footer__social a:hover { color: #fff; }
.footer h4 { color: #fff; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 22px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.96rem; transition: color .3s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer__contact p { font-size: 0.96rem; margin-bottom: 14px; }
.footer__contact a:hover { color: #fff; }
.footer__bottom {
  margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.82rem; color: rgba(255,255,255,0.5);
}
.footer__bottom a:hover { color: #fff; }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.footer__legal-links a { white-space: nowrap; }

/* ===================== COOKIE BAR ===================== */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 115;
  background: rgba(43, 40, 41, 0.97);
  color: rgba(255, 255, 255, 0.86);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
.cookie-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}
.cookie-bar__text { font-size: 0.86rem; line-height: 1.55; max-width: 72ch; }
.cookie-bar__text a { color: var(--magenta-soft); text-decoration: underline; }
.cookie-bar__text a:hover { color: #fff; }
.cookie-bar__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.cookie-bar__link {
  font-size: 0.82rem; font-weight: 600; color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}
.cookie-bar__link:hover { color: #fff; }
.cookie-bar__accept {
  border: none; border-radius: 999px;
  padding: 10px 18px;
  background: var(--wine);
  color: #fff;
  font: inherit; font-size: 0.84rem; font-weight: 600;
  cursor: pointer;
  transition: background .25s var(--ease);
}
.cookie-bar__accept:hover { background: var(--wine-2); }
body.has-cookie-bar .gd-assistant { bottom: calc(clamp(16px, 2vw, 28px) + 76px); }

/* ===================== LEGAL ASSISTANT (Faz 1) ===================== */
.gd-assistant {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 120;
  font-family: var(--sans);
}
.gd-assistant__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: none;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 18px 40px -16px rgba(143, 52, 43, 0.65);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease);
}
.gd-assistant__toggle:hover { transform: translateY(-2px); background: var(--wine-2); }
.gd-assistant__toggle-icon {
  width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.gd-assistant__toggle-label { font-size: 0.88rem; font-weight: 600; letter-spacing: 0.02em; }
.gd-assistant__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(390px, calc(100vw - 32px));
  max-height: min(72vh, 640px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px -28px rgba(20, 18, 18, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  overflow: hidden;
}
.gd-assistant__panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.gd-assistant__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 12px;
  background: linear-gradient(180deg, #faf7f4 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.gd-assistant__title { font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.gd-assistant__subtitle { margin-top: 4px; font-size: 0.78rem; color: var(--muted); }
.gd-assistant__close {
  border: none; background: transparent; color: var(--muted);
  font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 2px;
}
.gd-assistant__close:hover { color: var(--wine); }
.gd-assistant__disclaimer {
  margin: 0;
  padding: 10px 18px;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #7a5a52;
  background: #fbf3f0;
  border-bottom: 1px solid #f0ddd7;
}
.gd-assistant__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
}
.gd-assistant__msg {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.55;
}
.gd-assistant__msg--bot {
  align-self: flex-start;
  background: var(--cream);
  color: #4a4446;
  border-bottom-left-radius: 4px;
}
.gd-assistant__msg--user {
  align-self: flex-end;
  background: var(--wine);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.gd-assistant__link {
  display: inline-block;
  margin-top: 8px;
  color: var(--wine);
  font-weight: 600;
  font-size: 0.86rem;
}
.gd-assistant__link:hover { color: var(--wine-2); }
.gd-assistant__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.gd-assistant__action {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 600;
}
.gd-assistant__action:hover { border-color: var(--wine); background: #fff7f5; }
.gd-assistant__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 12px;
}
.gd-assistant__chip {
  border: 1px solid var(--line);
  background: #fff;
  color: #4a4446;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.gd-assistant__chip:hover { border-color: var(--wine); color: var(--wine); background: #fff7f5; }
.gd-assistant__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.gd-assistant__input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.gd-assistant__input:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(143, 52, 43, 0.12);
}
.gd-assistant__send {
  border: none;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--wine);
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s var(--ease);
}
.gd-assistant__send:hover { background: var(--wine-2); }

/* ===================== REVEAL ===================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

.cms-error {
  text-align: center;
  color: var(--wine, #8f342b);
  padding: 2rem 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  border: 1px dashed var(--line, #e2ded8);
  border-radius: 4px;
  background: rgba(143, 52, 43, 0.04);
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .hero__slide.is-active { transition: none; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1080px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .pub__grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .pub-card:nth-child(2) { border-right: 1px solid var(--line); }
  .exp-cards { grid-template-columns: repeat(2, 1fr); }
  .area-layout { grid-template-columns: 1fr; }
  .area-side { position: static; }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; order: 3; }
  .header-right { gap: 14px; }
  .nav-links {
    position: fixed; top: 0; right: 0; width: min(82vw, 360px); height: 100vh;
    background: var(--ink); flex-direction: column; align-items: flex-start;
    padding: 110px 32px 40px; gap: 4px;
    transform: translateX(100%); transition: transform .45s var(--ease); z-index: 90;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: rgba(255,255,255,0.85); font-size: 1.05rem; padding: 14px 0; width: 100%; }
  .nav-links a::after { display: none; }
  /* mobile dropdown */
  .nav-item { flex-wrap: wrap; width: 100%; justify-content: space-between; }
  .nav-item > a { width: auto; flex: 1; }
  .nav-sub-toggle { display: block; padding: 12px; font-size: 1.4rem; line-height: 1; color: rgba(255,255,255,0.7); }
  .nav-sub {
    position: static; min-width: 0; width: 100%; padding: 0 0 8px 14px;
    background: transparent; box-shadow: none; border-top: none; grid-template-columns: 1fr;
    opacity: 1; visibility: hidden; transform: none; height: 0; overflow: hidden;
    transition: none;
  }
  .nav-item.sub-open .nav-sub { visibility: visible; height: auto; }
  .nav-item.sub-open .nav-sub-toggle { transform: rotate(45deg); }
  .nav-sub a { color: rgba(255,255,255,0.62) !important; font-size: 0.95rem; padding: 9px 0; }
  .nav-sub a:hover { background: transparent; color: #fff !important; }
  .nav-sub__all { border-top: 1px solid var(--line-dark); color: var(--magenta-soft) !important; }
  .intro__grid, .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .areas__head, .pub__head { grid-template-columns: 1fr; }
  .area-row { grid-template-columns: 44px 1fr auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .stats__grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .pub__grid, .blog-grid { grid-template-columns: 1fr; }
  .exp-cards { grid-template-columns: 1fr; }
  .pub-card { border-right: 1px solid var(--line) !important; border-left: 1px solid var(--line); }
  .form .row { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; }
  .why { padding: 28px; }
  .gd-assistant__toggle-label { display: none; }
  .gd-assistant__toggle { padding: 14px; border-radius: 50%; }
  .gd-assistant__panel { width: calc(100vw - 24px); right: -8px; }
  .cookie-bar__inner { flex-direction: column; align-items: stretch; }
  .cookie-bar__actions { justify-content: flex-end; }
  body.has-cookie-bar .gd-assistant { bottom: calc(16px + 118px); }
}
