/* ============================================================
   AREL MAKİNA — Tasarım Sistemi
   Ferah · Premium · Denizcilik · Modern teknik grotesk
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Renkler */
  --bg:        #ffffff;
  --bg-soft:   #f3f7fb;
  --bg-soft-2: #e9f0f7;
  --ink:       #0d1b27;   /* derin çelik lacivert */
  --ink-2:     #38505f;
  --muted:     #6a8090;
  --line:      #dde7ef;
  --line-2:    #cdd9e3;

  --blue:      #0a6cbf;   /* canlı deniz mavisi */
  --blue-deep: #064a86;
  --blue-soft: #e4f0fb;
  --turq:      #17b4c4;   /* turkuaz */
  --turq-soft: #e0f7f9;
  --steel:     #7d94a4;

  --grad: linear-gradient(120deg, var(--blue) 0%, var(--turq) 100%);

  /* Tipografi */
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body:    'Hanken Grotesk', system-ui, sans-serif;

  /* Yapı */
  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(13, 27, 39, 0.05);
  --shadow-md: 0 18px 50px -22px rgba(13, 40, 66, 0.30);
  --shadow-lg: 0 40px 90px -40px rgba(8, 40, 70, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* Tipografi yardımcıları */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px;
}
.eyebrow.center::before { display: none; }

.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-2); line-height: 1.6; max-width: 60ch; }
.muted { color: var(--muted); }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  height: 78px; display: flex; align-items: center; justify-content: space-between;
  transition: height .4s var(--ease);
}
.nav.scrolled .nav-inner { height: 64px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; flex: none; position: relative;
  display: grid; place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  letter-spacing: 0.04em; color: var(--ink);
}
.brand-sub {
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--steel); font-weight: 600; margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--display); font-size: 15px; font-weight: 500;
  color: var(--ink-2); padding: 9px 15px; border-radius: 10px;
  position: relative; transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--blue); background: var(--blue-soft); }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2px; background: var(--grad); border-radius: 2px;
}

.nav-cta {
  font-family: var(--display); font-weight: 600; font-size: 15px;
  color: #fff; background: var(--ink); padding: 11px 22px; border-radius: 11px;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.nav-cta:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2);
  border-radius: 11px; background: #fff; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px;
  background: var(--ink); border-radius: 2px; transform: translate(-50%,-50%);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before { transform: translate(-50%,-7px); }
.nav-toggle span::after { transform: translate(-50%,5px); }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translate(-50%,-50%) rotate(45deg); top:0; }
.nav-toggle.open span::after { transform: translate(-50%,-50%) rotate(-45deg); top:0; }

/* ============================================================
   BUTONLAR
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 16px;
  padding: 15px 28px; border-radius: 12px; cursor: pointer; border: none;
  transition: transform .25s var(--ease), box-shadow .3s, background .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: var(--blue-deep); }
.btn-accent { background: var(--grad); color: #fff; box-shadow: 0 14px 34px -14px rgba(10,108,191,.6); }
.btn-accent:hover { transform: translateY(-3px); box-shadow: 0 22px 48px -16px rgba(10,108,191,.7); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--blue); color: var(--blue); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   SECTIONS
   ============================================================ */
section { position: relative; }
.section { padding: clamp(72px, 11vw, 132px) 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(30px, 4.6vw, 50px); margin: 18px 0 0; }
.section-head .lead { margin-top: 18px; }
.section-head.center .lead { margin-inline: auto; }

/* ============================================================
   GÖRSEL PLACEHOLDER (etiketli)
   ============================================================ */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, var(--bg-soft) 0 14px, var(--bg-soft-2) 14px 28px);
  border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--steel);
  min-height: 220px;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel);
  background: rgba(255,255,255,0.9); padding: 8px 14px; border-radius: 100px;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.ph .ph-ic { position: absolute; top: 16px; left: 16px; opacity: .5; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ph.has-img { background: none; }
.ph.has-img::after { display: none; }
.ph.has-img .ph-ic { display: none; }

/* Tüm yüklenen görseller 1:1 oranında kırpılıp kaydediliyor. Container'ı da kare yap. */
.ph.has-img { aspect-ratio: 1 / 1; min-height: 0 !important; height: auto !important; }
/* Galeri kartlarındaki kare görseller için min-height override */
.gal-media .ph.has-img,
.proj-card .proj-ph.has-img,
.proj-hero-card .ph.has-img { min-height: 0 !important; }
/* Hero görseli yüklenince hero-visual de kareyi takip etsin */
.hero-visual:has(.has-img) { aspect-ratio: 1 / 1; }

/* ============================================================
   KARTLAR
   ============================================================ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-soft); }

.icon-badge {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 22px;
  transition: transform .5s var(--ease), background .4s;
}
.icon-badge svg { width: 30px; height: 30px; }
.card:hover .icon-badge { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.06); }
.card:hover .icon-badge .spin { animation: spin 3.5s linear infinite; transform-origin: center; }

/* ============================================================
   İSTATİSTİK / SAYAÇ
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.stat { background: #fff; padding: 34px 28px; }
.stat-num { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 56px); line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.stat-num .suffix { color: var(--turq); }
.stat-label { margin-top: 10px; color: var(--muted); font-size: 15px; font-weight: 500; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #c6d4de; padding: 80px 0 36px; position: relative; overflow: hidden; }
.footer-wave { position: absolute; top: 0; left: 0; width: 100%; line-height: 0; opacity: .5; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; position: relative; }
.footer h4 { color: #fff; font-size: 16px; letter-spacing: 0.04em; margin-bottom: 18px; }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: var(--steel); }
.footer-links a { display: block; color: #9fb3c0; padding: 6px 0; transition: color .25s, transform .25s; }
.footer-links a:hover { color: var(--turq); transform: translateX(4px); }
.footer-contact div { margin-bottom: 14px; font-size: 15px; line-height: 1.5; }
.footer-contact .label { color: var(--steel); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--display); font-weight: 600; margin-bottom: 3px; }
.footer-contact a:hover { color: var(--turq); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 56px; padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--steel); flex-wrap: wrap; }

/* ============================================================
   DENİZCİLİK MOTİFLERİ (kod çizimli animasyon)
   ============================================================ */
.rotate-slow { animation: spin 22s linear infinite; transform-origin: center; }
.rotate-med  { animation: spin 11s linear infinite; transform-origin: center; }
.rotate-rev  { animation: spin 16s linear infinite reverse; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }

.prop-spin { animation: spin 2.6s linear infinite; transform-origin: center; }
.bob { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }

.wave-band { display: block; width: 100%; line-height: 0; }
.wave-anim path { animation: waveShift 9s linear infinite; }
.wave-anim path.w2 { animation-duration: 13s; animation-direction: reverse; }
@keyframes waveShift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   REVEAL — temel durum GÖRÜNÜR; giriş animasyonu yalnızca
   sayfa saati gerçekten ilerlerse (rAF) oynar. Aksi halde içerik görünür.
   ============================================================ */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.animate-in { animation: revealIn .8s var(--ease) backwards; }
  .reveal.animate-in.d1 { animation-delay: .10s; }
  .reveal.animate-in.d2 { animation-delay: .20s; }
  .reveal.animate-in.d3 { animation-delay: .30s; }
  .reveal.animate-in.d4 { animation-delay: .40s; }
}
@keyframes revealIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ============================================================
   GRID YARDIMCILARI
   ============================================================ */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links, .nav > .nav-inner > .nav-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav.open-menu .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 16px var(--pad) 24px;
    box-shadow: var(--shadow-md);
  }
  .nav.open-menu .nav-links a { padding: 14px 16px; font-size: 17px; }
  .nav.open-menu .nav-links a.active::after { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .rotate-slow, .rotate-med, .rotate-rev, .prop-spin, .bob, .wave-anim path { animation: none !important; }
  .reveal { animation: none !important; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   SAYFA BAŞLIĞI (alt sayfalar)
   ============================================================ */
.page-hero { position: relative; padding: 150px 0 64px; background: var(--bg-soft); overflow: hidden; }
.page-hero .blueprint-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(10,108,191,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(10,108,191,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 80% 20%, #000, transparent 60%);
  mask-image: radial-gradient(circle at 80% 20%, #000, transparent 60%);
}
.page-hero .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; width: 420px; height: 420px; top: -120px; right: -60px; background: radial-gradient(circle, rgba(23,180,196,.4), transparent 70%); pointer-events: none; }
.page-hero-inner { position: relative; max-width: 820px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 18px; font-family: var(--display); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--line-2); }
.page-hero h1 { font-size: clamp(38px, 6vw, 66px); margin: 6px 0 0; }
.page-hero .lead { margin-top: 20px; }
.page-hero-motif { position: absolute; top: 50%; right: 6%; transform: translateY(-50%); width: 160px; height: 160px; opacity: .9; pointer-events: none; }
@media (max-width: 900px) { .page-hero-motif { display: none; } }

/* ============================================================
   TIMELINE (Hakkımızda)
   ============================================================ */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), var(--turq)); border-radius: 2px; }
.tl-item { position: relative; padding: 0 0 44px 72px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: 12px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); display: grid; place-items: center; }
.tl-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.tl-year { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--blue); letter-spacing: -0.01em; }
.tl-item h3 { font-size: 22px; margin: 4px 0 8px; }
.tl-item p { color: var(--ink-2); }

/* ============================================================
   DEĞERLER
   ============================================================ */
.value { display: flex; gap: 18px; align-items: flex-start; }
.value .icon-badge { flex: none; margin-bottom: 0; width: 52px; height: 52px; }
.value .icon-badge svg { width: 26px; height: 26px; }
.value h3 { font-size: 19px; }
.value p { color: var(--muted); margin-top: 6px; font-size: 15px; }

/* ============================================================
   HİZMETLER GRID
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.svc { background: #fff; padding: 36px; display: flex; gap: 22px; align-items: flex-start; transition: background .3s; position: relative; }
.svc:hover { background: var(--bg-soft); }
.svc .num { font-family: var(--display); font-size: 13px; font-weight: 600; color: var(--line-2); position: absolute; top: 22px; right: 26px; letter-spacing: .05em; }
.svc .icon-badge { flex: none; margin-bottom: 0; }
.svc:hover .icon-badge { background: var(--grad); color: #fff; }
.svc:hover .icon-badge .spin { animation: spin 4s linear infinite; transform-origin: center; }
.svc h3 { font-size: 20px; }
.svc p { color: var(--muted); margin-top: 8px; font-size: 15px; line-height: 1.55; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } .svc { padding: 28px; } }

/* ============================================================
   PROJELER VİTRİN
   ============================================================ */
.proj-hero-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 440px; }
.proj-hero-card .ph { border: none; border-radius: 0; min-height: 100%; }
.proj-hero-card .phc-info { padding: clamp(32px,4vw,56px); display: flex; flex-direction: column; justify-content: center; }
.proj-hero-card .phc-info h2 { font-size: clamp(28px,3.4vw,42px); margin: 14px 0 16px; }
.proj-hero-card .phc-info p { color: var(--ink-2); font-size: 17px; }
.proj-meta { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.proj-meta div { display: flex; flex-direction: column; }
.proj-meta .k { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--display); font-weight: 600; }
.proj-meta .v { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--ink); margin-top: 4px; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gal-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: flex; flex-direction: column; }
.gal-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.gal-media { position: relative; overflow: hidden; }
.gal-media .ph { border: none; border-radius: 0; min-height: 230px; }
.gal-media .gal-tag { position: absolute; top: 16px; left: 16px; z-index: 2; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(13,27,39,.78); backdrop-filter: blur(4px); padding: 6px 13px; border-radius: 100px; }
.gal-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(10,108,191,.0), rgba(10,108,191,.45)); opacity: 0; transition: opacity .4s; display: grid; place-items: center; }
.gal-overlay svg { width: 46px; height: 46px; color: #fff; transform: scale(.8); transition: transform .4s var(--ease); }
.gal-card:hover .gal-overlay { opacity: 1; }
.gal-card:hover .gal-overlay svg { transform: scale(1); }
.gal-info { padding: 24px 26px; }
.gal-info h3 { font-size: 21px; }
.gal-info p { color: var(--muted); margin-top: 8px; font-size: 15px; }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(2, 1fr); } .proj-hero-card { grid-template-columns: 1fr; } .proj-hero-card .ph { min-height: 280px; } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }

/* ============================================================
   İLETİŞİM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px,5vw,64px); align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.ct-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start; transition: border-color .3s, box-shadow .3s; }
.ct-card:hover { border-color: var(--blue-soft); box-shadow: var(--shadow-sm); }
.ct-card .icon-badge { flex: none; margin-bottom: 0; width: 50px; height: 50px; }
.ct-card .icon-badge svg { width: 24px; height: 24px; }
.ct-card .k { font-family: var(--display); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.ct-card .v { font-size: 17px; margin-top: 4px; color: var(--ink); }
.ct-card .v a:hover { color: var(--blue); }
.ct-person { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.person-card { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 18px 20px; }
.person-card .pn { font-family: var(--display); font-weight: 600; font-size: 17px; }
.person-card .pr { color: var(--muted); font-size: 13px; margin-top: 2px; }
.person-card a { display: block; margin-top: 10px; font-size: 14px; color: var(--blue); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px,4vw,44px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--display); font-weight: 500; font-size: 14px; margin-bottom: 8px; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--body); font-size: 16px; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 11px; background: #fff;
  transition: border-color .25s, box-shadow .25s; outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 4px; }
.form-success { display: none; background: var(--turq-soft); border: 1px solid var(--turq); color: #0a7886; padding: 14px 18px; border-radius: 11px; margin-bottom: 20px; font-weight: 500; }
.form-success.show { display: block; }
.form-error, .field-error { color: #c0392b; font-size: 13px; margin-top: 6px; font-weight: 500; }
.form-error { background: #fdecec; border: 1px solid #f5cdcd; padding: 10px 14px; border-radius: 10px; margin-bottom: 18px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .field-row, .ct-person { grid-template-columns: 1fr; } }
