/* Av. Ahmet Filiz — Hukuk ve Danışmanlık */

:root {
  /* Tema değişkenleri — temalar/*.css bunları ezer */
  --ink: #111111;
  --d0: #0b0b0b;
  --d1: #12100e;
  --d2: #1a1714;
  --bg-rgb: 18, 16, 14;
  --fg-rgb: 255, 255, 255;
  --heading: #f3eee6;
  --heading-rgb: 243, 238, 230;
  --accent-rgb: 201, 173, 120;
  --on-accent: #111111;
  --d-line: rgba(var(--accent-rgb), .14);
  --hero-bg-filter: blur(6px) brightness(.55) saturate(.8);
  --hero-bg-opacity: .55;
  --hero-person-filter: brightness(.82) contrast(1.06) saturate(.92);
  --map-filter: invert(.9) hue-rotate(180deg) grayscale(.5) contrast(.92) brightness(.95);
  --photo-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  --gold: #c9ad78;
  --gold-dark: #a98c55;
  --paper: #f7f5f0;
  --white: #ffffff;
  --text: #2b2b2b;
  --muted: #6e6a63;
  --line: #e4dfd5;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1140px;
  --radius: 2px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(var(--fg-rgb), .75);
  background: var(--d1);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--heading);
}

p { margin: 0 0 1.1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

.rule {
  width: 56px;
  height: 1px;
  background: var(--gold);
  border: 0;
  margin: 0 0 28px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--d1);
  border-bottom: 1px solid rgba(var(--accent-rgb), .18);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--heading);
}

.brand img {
  width: 54px;
  height: auto;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.brand-name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: .08em;
  color: var(--gold);
}

.brand-sub {
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(var(--fg-rgb), .6);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 36px; }

.nav a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(var(--fg-rgb), .82);
  transition: color .2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .25s;
}

.nav a:hover,
.nav a.active { color: var(--gold); }

.nav a:hover::after,
.nav a.active::after { width: 100%; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  margin: 6px 0;
  transition: transform .25s, opacity .25s;
}

.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}

.btn-gold { background: var(--gold); color: var(--on-accent); }
.btn-gold:hover { background: transparent; color: var(--gold); }

.btn-line { background: transparent; color: var(--gold); }
.btn-line:hover { background: var(--gold); color: var(--on-accent); }

.btn-dark { background: var(--d1); color: var(--heading); border-color: var(--on-accent); }
.btn-dark:hover { background: transparent; color: var(--on-accent); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Home header (transparent over hero) ---------- */

.home .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(var(--bg-rgb), .9), rgba(var(--bg-rgb), 0));
  border-bottom-color: transparent;
  transition: background .3s, border-color .3s;
}

.home .site-header.scrolled,
.home.menu-open .site-header {
  background: var(--d1);
  border-bottom-color: rgba(var(--accent-rgb), .18);
}

.nav a.nav-cta {
  padding: 12px 18px;
  background: var(--gold);
  color: var(--on-accent);
  font-weight: 600;
  letter-spacing: .1em;
  border: 1px solid var(--gold);
  transition: background .2s, color .2s;
}

.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover { background: transparent; color: var(--gold); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--d1);
  color: var(--heading);
  overflow: hidden;
  isolation: isolate;
}

/* blurred office behind the portrait */
.hero-bg {
  position: absolute;
  inset: 0 0 0 30%;
  background: url("../assets/img/ofis.jpg") center / cover no-repeat;
  filter: var(--hero-bg-filter);
  transform: scale(1.06);
  opacity: var(--hero-bg-opacity);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
  mask-image: linear-gradient(to right, transparent 0%, #000 45%);
  z-index: -3;
}

.hero-person {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 92%;
  width: auto;
  max-width: none;
  object-fit: cover;
  filter: var(--hero-person-filter);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 38%),
    linear-gradient(to top, transparent 0%, #000 18%),
    linear-gradient(to bottom, transparent 0%, #000 14%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 38%),
    linear-gradient(to top, transparent 0%, #000 18%),
    linear-gradient(to bottom, transparent 0%, #000 14%);
  mask-composite: intersect;
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--d1) 0%, rgba(var(--bg-rgb), .92) 34%, rgba(var(--bg-rgb), .35) 62%, rgba(var(--bg-rgb), .1) 100%),
    linear-gradient(to top, rgba(var(--bg-rgb), .7) 0%, transparent 30%);
  z-index: -1;
}

.hero-content {
  padding-top: 140px;
  padding-bottom: 110px;
}

.hero-eyebrow,
.line-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 30px;
}

.hero-eyebrow::before,
.line-eyebrow::before {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  color: var(--heading);
  font-size: clamp(52px, 8vw, 112px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.005em;
  margin-bottom: 30px;
}

.hero h1 em,
.dark-section h2 em {
  font-style: italic;
  color: var(--gold);
}

.hero-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: rgba(var(--fg-rgb), .82);
  max-width: 34ch;
  margin-bottom: 26px;
}

.hero-byline {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(var(--fg-rgb), .5);
  margin-bottom: 40px;
}

.hero-byline b { color: var(--heading); font-weight: 600; }

.btn-light { background: transparent; color: var(--heading); border-color: rgba(var(--heading-rgb), .7); }
.btn-light:hover { background: var(--heading); color: var(--on-accent); border-color: var(--heading); }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 22px;
  height: 36px;
  margin-left: -11px;
  border: 1px solid rgba(var(--accent-rgb), .6);
  border-radius: 12px;
}

.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 2px;
  height: 7px;
  margin-left: -1px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ---------- Dark sections (home + office) ---------- */

.dark-section {
  background: var(--d1);
  color: rgba(var(--fg-rgb), .7);
  padding: 120px 0;
}

.dark-2 {
  background: var(--d2);
  border-top: 1px solid var(--d-line);
  border-bottom: 1px solid var(--d-line);
}

.dark-section h2 {
  color: var(--heading);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 500;
  margin-bottom: 28px;
}

.d-head { margin-bottom: 40px; }
.d-head h2 { margin: 0; }

/* Office (home + Ofisimiz page) */

.office {
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.office-lead {
  font-size: 18px;
  color: rgba(var(--fg-rgb), .75);
  margin-bottom: 36px;
}

.office-address {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  margin-bottom: 36px;
  border-top: 1px solid var(--d-line);
  border-bottom: 1px solid var(--d-line);
  color: var(--heading);
  font-size: 15px;
  line-height: 1.65;
  max-width: 440px;
  transition: color .2s;
}

.office-address:hover { color: var(--gold); }
.office-address .icon { width: 46px; height: 46px; color: var(--gold); border-color: rgba(var(--accent-rgb), .6); }
.office-address .icon svg { width: 20px; height: 20px; }

.office-address small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.office-media {
  position: relative;
  aspect-ratio: 1 / 1.02;
}

.office-media figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--photo-shadow);
}

.office-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}

.office-media figure:hover img { transform: scale(1.04); }

.om-bina { top: 0; right: 0; width: 64%; height: 86%; }

.om-ofis {
  left: 0;
  bottom: 0;
  width: 60%;
  aspect-ratio: 4 / 3;
  outline: 10px solid var(--d2);
}

/* thin gold frame behind the building photo */
.office-media::before {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 64%;
  height: 86%;
  border: 1px solid rgba(var(--accent-rgb), .45);
}

.om-tag {
  position: absolute;
  right: -18px;
  bottom: 6%;
  z-index: 2;
  padding: 18px 30px;
  background: var(--gold);
  color: var(--on-accent);
  text-align: center;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
  transition: transform .3s;
}

.om-tag:hover { transform: translateY(-3px); }

.om-tag small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* About (home) */

.h-about {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 80px;
  align-items: start;
}

.h-about-side { position: static; }
.h-about-side h2 { margin-bottom: 40px; }

.h-about-body { padding-top: 64px; }
.h-about-body p {
  color: rgba(var(--fg-rgb), .78);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.85;
  margin-bottom: 1.3em;
}
.h-about-body h3 { color: var(--heading); font-size: 26px; margin-top: 44px; }
.h-about-body .chips li { background: var(--d2); }

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.fact {
  padding: 30px 28px;
  background: var(--d2);
  border: 1px solid var(--d-line);
  transition: border-color .25s, transform .25s;
}

.fact:hover { border-color: rgba(var(--accent-rgb), .5); transform: translateY(-3px); }

.fact-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(var(--accent-rgb), .7);
}

.fact h3 {
  color: var(--heading);
  font-size: 24px;
  margin: 14px 0 8px;
}

.fact p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(var(--fg-rgb), .55);
  margin: 0;
}

/* ---------- Sections ---------- */

.section { padding: 110px 0; }
.section-paper { background: var(--paper); }

.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); }
.section-head p { color: var(--muted); }

.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .rule { margin-left: auto; margin-right: auto; }

/* Framed image */

.framed { position: relative; }

.framed::before {
  content: "";
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid var(--gold);
}

.framed img { position: relative; width: 100%; height: 100%; object-fit: cover; }

/* CTA band */

.cta {
  background: var(--d1);
  color: var(--heading);
  padding: 84px 0;
  text-align: center;
}

.cta h2 { color: var(--heading); font-size: clamp(30px, 3.6vw, 42px); }
.cta p { color: rgba(var(--fg-rgb), .7); margin-bottom: 34px; }
.cta .btn-row { justify-content: center; }

/* ---------- Page header (inner pages) ---------- */

.page-head {
  background: var(--d1);
  color: var(--heading);
  padding: 92px 0 84px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 36px;
  background: var(--gold);
}

.page-head .eyebrow { color: var(--gold); }
.page-head h1 { color: var(--heading); font-size: clamp(40px, 5.4vw, 64px); font-weight: 400; margin: 0; }

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.about-side { position: sticky; top: 118px; }

.about-side .framed img { aspect-ratio: 4 / 5; object-position: center 20%; }

.about-name {
  margin-top: 40px;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--on-accent);
  line-height: 1.2;
}

.about-name small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 6px;
}

.about-body h2 { font-size: clamp(30px, 3.4vw, 40px); }
.about-body p { color: #4a4740; max-width: 62ch; }

.about-body h3 {
  font-size: 26px;
  margin-top: 48px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 8px 0 40px;
}

.chips li {
  font-size: 14px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
}

.chips li.lead { border-color: var(--gold); color: var(--on-accent); font-weight: 600; }

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 8px 0 40px;
}

.principles div {
  background: var(--white);
  padding: 22px 12px;
  text-align: center;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--on-accent);
}

/* ---------- Office ---------- */

.gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
}

.gallery figure { margin: 0; overflow: hidden; }

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.gallery figure:hover img { transform: scale(1.03); }

.gallery .tall { aspect-ratio: 2 / 3; }
.gallery .wide { aspect-ratio: auto; }

.office-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  margin-top: 80px;
  align-items: start;
}

.office-note h2 { font-size: clamp(30px, 3.4vw, 40px); }
.office-note p { color: var(--muted); }

/* ---------- Contact ---------- */

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .2s, transform .2s;
}

a.contact-item:hover { border-color: var(--gold); transform: translateY(-3px); }

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.icon svg { width: 22px; height: 22px; }

.contact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.contact-value {
  font-size: 17px;
  color: var(--on-accent);
  line-height: 1.55;
  word-break: break-word;
}

.map {
  margin-top: 40px;
  border: 1px solid var(--line);
  line-height: 0;
}

.map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(.35);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--d0);
  color: rgba(var(--fg-rgb), .7);
  font-size: 14px;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 56px;
  padding-bottom: 56px;
}

.site-footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--gold); }

.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 5px; }

.footer-about p { max-width: 32ch; margin-top: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(var(--fg-rgb), .08);
  padding: 22px 0;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(var(--fg-rgb), .45);
}

/* ---------- Dark inner pages (Hakkımızda, İletişim) ---------- */

body { background: var(--d1); }

.page-head { background: var(--d2); border-bottom: 1px solid var(--d-line); }

.section,
.section-paper {
  background: var(--d1);
  color: rgba(var(--fg-rgb), .7);
}

.section h2,
.section h3 { color: var(--heading); }
.section h2 em { font-style: italic; color: var(--gold); }
.section .eyebrow { color: var(--gold); }
.section .rule { background: rgba(var(--accent-rgb), .6); }

.about-name { color: var(--heading); }
.about-name small { color: var(--gold); }
.about-body p { color: rgba(var(--fg-rgb), .68); }

.chips li {
  background: var(--d2);
  border-color: var(--d-line);
  color: rgba(var(--fg-rgb), .8);
  transition: border-color .2s, color .2s;
}

.chips li:hover { border-color: rgba(var(--accent-rgb), .5); color: var(--heading); }
.chips li.lead { border-color: var(--gold); color: var(--gold); }

.principles { background: var(--d-line); border-color: var(--d-line); }
.principles div { background: var(--d2); color: var(--heading); }

.contact-item { background: var(--d2); border-color: var(--d-line); }
a.contact-item:hover { border-color: rgba(var(--accent-rgb), .6); }
.icon { color: var(--gold); border-color: rgba(var(--accent-rgb), .6); }
.contact-label { color: var(--gold); }
.contact-value { color: var(--heading); }

.map { border-color: var(--d-line); }
.map iframe { filter: var(--map-filter); }

.cta { background: var(--d2); border-top: 1px solid var(--d-line); }

/* ---------- Contact form + direct contact ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
  margin-bottom: 96px;
}

.contact h2 {
  font-size: clamp(36px, 4.2vw, 54px);
  font-weight: 500;
  margin-bottom: 36px;
}

.contact-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; position: relative; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--heading);
  background: transparent;
  border: 1px solid rgba(var(--fg-rgb), .2);
  border-radius: 0;
  padding: 16px 18px;
  outline: none;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form textarea { resize: vertical; min-height: 160px; line-height: 1.6; }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(var(--fg-rgb), .55); }

.contact-form select { color: rgba(var(--fg-rgb), .55); cursor: pointer; padding-right: 44px; }
.contact-form select.chosen { color: var(--heading); }
.contact-form select option { color: #1d1b18; background: #fff; }

.field.select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  pointer-events: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  background: rgba(var(--accent-rgb), .04);
}

.contact-form .invalid { border-color: #d0665a; }

.form-note { margin: 0; min-height: 0; font-size: 14px; color: var(--gold); }
.form-note.success { color: #4fbf7f; }
.form-note.error { color: #e07b6e; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.form-note:empty { display: none; }

.btn-block { width: 100%; min-height: 56px; }

.direct-list { list-style: none; padding: 0; margin: 0 0 40px; display: grid; gap: 26px; }
.direct-list li { display: flex; gap: 20px; align-items: flex-start; }
.direct-list .icon { width: 50px; height: 50px; border-radius: 6px; }
.direct-list .icon svg { width: 20px; height: 20px; }

.direct-list small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.direct-list a,
.direct-list .val { color: var(--heading); font-size: 17px; line-height: 1.6; transition: color .2s; }
.direct-list a:hover { color: var(--gold); }

@media (max-width: 960px) {
  .contact { grid-template-columns: 1fr; gap: 72px; margin-bottom: 72px; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .direct-list a { font-size: 16px; }
}

/* ---------- Practice area cards ---------- */

.areas-block { margin-top: 120px; }

.areas-head { max-width: 680px; margin-bottom: 48px; }
.areas-head h2 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 500; margin-bottom: 18px; color: var(--heading); }
.areas-head h2 em { font-style: italic; color: var(--gold); }
.areas-head p { color: rgba(var(--fg-rgb), .68); margin: 0; }

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

.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 34px 38px;
  background: var(--d2);
  border: 1px solid var(--d-line);
  border-radius: 12px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.area-card:hover {
  border-color: rgba(var(--accent-rgb), .55);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.area-card.lead {
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(var(--accent-rgb), .1), var(--d2) 60%);
}

.area-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(var(--accent-rgb), .12);
  color: var(--gold);
  margin-bottom: 10px;
}

.area-icon svg { width: 26px; height: 26px; }

.area-card h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--heading);
}

.area-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(var(--fg-rgb), .62);
}

.area-badge {
  position: absolute;
  top: 26px;
  right: 26px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

@media (max-width: 640px) {
  .areas-block { margin-top: 80px; }
  .area-grid { grid-template-columns: 1fr; gap: 16px; }
  .area-card { padding: 28px 24px 30px; }
  .area-badge { top: 20px; right: 20px; }
  .area-card h3 { font-size: 19px; }
}

/* ---------- Çalışma alanı etiketleri (büyük) ---------- */

.about-body .areas-title {
  font-size: clamp(28px, 2.6vw, 34px);
  margin: 52px 0 14px;
}

.chips.chips-lg { gap: 12px; margin: 22px 0 44px; }

.chips.chips-lg li {
  font-size: 16px;
  padding: 12px 20px;
}

@media (max-width: 560px) {
  .chips.chips-lg { gap: 10px; }
  .chips.chips-lg li { font-size: 15px; padding: 10px 16px; }
}

/* Anasayfa: çalışma alanları tam genişlik */

.h-areas-wide {
  margin-top: 72px;
  padding-top: 8px;
  border-top: 1px solid var(--d-line);
}

.h-areas-wide .areas-title { color: var(--heading); margin-top: 56px; }
.h-areas-wide > p { color: rgba(var(--fg-rgb), .7); max-width: none; }

.h-areas-wide .chips.chips-lg {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 28px 0 0;
}

.h-areas-wide .chips.chips-lg li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  background: var(--d2);
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 1240px) {
  .h-areas-wide .chips.chips-lg li { font-size: 15px; white-space: normal; }
}

@media (max-width: 1000px) {
  .h-areas-wide .chips.chips-lg { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .h-areas-wide { margin-top: 48px; }
  .h-areas-wide .chips.chips-lg { grid-template-columns: 1fr 1fr; gap: 10px; }
  .h-areas-wide .chips.chips-lg li { font-size: 14px; padding: 10px 8px; }
}

/* ---------- WhatsApp ---------- */

.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 24px 0 18px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .28), 0 4px 12px rgba(0, 0, 0, .25);
  transition: transform .2s, box-shadow .2s;
}

.whatsapp:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37, 211, 102, .36), 0 4px 12px rgba(0, 0, 0, .25); }
.whatsapp svg { width: 26px; height: 26px; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll span { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav { gap: 26px; }
}

@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; gap: 56px; }
  .about-side { position: static; max-width: 360px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .contact-list { grid-template-columns: 1fr; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .h-about { grid-template-columns: 1fr; gap: 24px; }
  .h-about-side { position: static; }
  .h-about-body { padding-top: 0; }
  .office { grid-template-columns: 1fr; gap: 72px; }
  .office-media { max-width: 620px; }
  .hero-person { right: -12%; opacity: .8; }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }

  .nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(var(--bg-rgb), .98);
    padding: 8px 24px 24px;
    border-bottom: 1px solid rgba(var(--accent-rgb), .18);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }

  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }

  .nav a {
    width: 100%;
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(var(--fg-rgb), .06);
  }

  .nav a::after { display: none; }
  .nav a.nav-cta { margin-top: 18px; text-align: center; border-bottom: 1px solid var(--gold); padding: 14px 0; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .section, .dark-section { padding: 76px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .brand-name { font-size: 19px; }
  .brand img { width: 44px; }
  .btn { width: 100%; }
  .map iframe { height: 320px; }

  .hero { align-items: flex-end; }
  .hero-content { padding-top: 120px; padding-bottom: 96px; }
  .hero-person { height: 62%; right: -30%; top: 90px; bottom: auto; opacity: .55; }
  .hero-shade {
    background:
      linear-gradient(to top, var(--d1) 0%, rgba(var(--bg-rgb), .9) 45%, rgba(var(--bg-rgb), .35) 75%, rgba(var(--bg-rgb), .5) 100%);
  }
  .hero-eyebrow { letter-spacing: .26em; font-size: 11px; gap: 12px; }
  .hero-eyebrow::before { width: 32px; }
  .hero-byline { letter-spacing: .16em; font-size: 12px; }

  .office { gap: 56px; }
  .office-media { aspect-ratio: 1 / 1.12; margin-right: 10px; }
  .om-ofis { outline-width: 6px; width: 64%; }
  .om-tag { right: -10px; padding: 12px 18px; font-size: 22px; }
  .om-tag small { font-size: 8px; letter-spacing: .2em; }
  .office-media::before { top: -10px; right: -10px; }

  .facts { grid-template-columns: 1fr; }
  .whatsapp { right: 16px; bottom: 16px; height: 52px; padding: 0 20px 0 16px; font-size: 14px; }
}
