/*
Theme Name: Saye Modern
Theme URI: https://sayepsikoloji.com/
Description: Saye Psikoloji Danışmanlık Merkezi için modern, hızlı ve mobil uyumlu özel tema. Önceki sitenin renk paletini (lacivert #262261, mavi #4175FC, amber #F2AC20) korur.
Author: Saye Psikoloji
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: saye-modern
*/

:root {
  --navy: #262261;
  --navy-900: #17143f;
  --navy-700: #332e7a;
  --blue: #4175fc;
  --blue-700: #084af3;
  --blue-50: #eef3ff;
  --amber: #f2ac20;
  --amber-600: #d9930a;
  --amber-50: #fef6e4;
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
  --bg-warm: #fbf9f5;
  --ink: #1f1d3d;
  --text: #4b4f58;
  --muted: #6b7080;
  --line: #e7e8ee;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(38, 34, 97, .06), 0 8px 24px rgba(38, 34, 97, .08);
  --shadow-lg: 0 24px 60px rgba(38, 34, 97, .16);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 999; background: #fff; padding: 10px 16px; border-radius: 8px; clip: auto; width: auto; height: auto; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .9em 1.6em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
  line-height: 1.2; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-amber { background: var(--amber); color: var(--navy-900); box-shadow: 0 8px 20px rgba(242, 172, 32, .35); }
.btn-amber:hover { background: #f6b93a; color: var(--navy-900); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-ghost { border-color: rgba(38, 34, 97, .18); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); border-radius: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(38, 34, 97, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand img { height: 54px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: .55em 1em; border-radius: 999px;
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: var(--ink);
}
.main-nav a:hover { background: var(--bg-soft); color: var(--navy); }
.main-nav a.is-active { color: var(--navy); background: var(--blue-50); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .95rem; }
.header-phone svg { width: 18px; height: 18px; color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1080px) { .header-phone { display: none; } }
@media (max-width: 900px) {
  .header-inner { height: 72px; }
  .brand img { height: 44px; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 24px; box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: .85em 1em; border-radius: 12px; font-size: 1.05rem; }
  .main-nav .nav-cta { display: block; margin-top: 12px; }
  .main-nav .nav-cta .btn { width: 100%; justify-content: center; }
}
@media (min-width: 901px) { .main-nav .nav-cta { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(65, 117, 252, .12), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(242, 172, 32, .12), transparent 60%),
    var(--bg-warm);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 640px; padding-top: 40px; }
.hero h1 { color: var(--navy); margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em; background: var(--amber); opacity: .45; border-radius: 4px; z-index: -1; }
.hero-lead { font-size: 1.12rem; max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.4rem; }
.hero-quote {
  display: flex; gap: 14px; align-items: flex-start; max-width: 520px;
  padding: 16px 18px; border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow);
  font-size: .95rem; line-height: 1.55;
}
.hero-quote strong { font-family: var(--font-head); color: var(--navy); }
.hero-quote .q-mark { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--amber-50); color: var(--amber-600); display: grid; place-items: center; font-family: Georgia, serif; font-size: 1.6rem; line-height: 1; }

.hero-visual { position: relative; align-self: end; height: 100%; min-height: 560px; display: flex; justify-content: center; align-items: flex-end; }
.hero-visual .blob {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(480px, 92%); aspect-ratio: 1 / 1.08;
  background: linear-gradient(160deg, var(--blue) 0%, var(--navy) 85%);
  border-radius: 48% 52% 0 0 / 40% 40% 0 0;
}
.hero-visual .ring { position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 14px solid var(--amber); top: 12%; right: 6%; opacity: .9; }
.hero-visual .dots { position: absolute; left: 4%; top: 22%; width: 110px; height: 110px; background-image: radial-gradient(var(--navy) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .18; }
.hero-visual img { position: relative; width: min(470px, 90%); z-index: 1; }
.float-card {
  position: absolute; z-index: 2; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 12px 16px; display: flex; gap: 12px; align-items: center; font-size: .85rem; line-height: 1.35;
}
.float-card strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .92rem; }
.float-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card.c1 { left: 0; bottom: 26%; }
.float-card.c1 .ic { background: var(--amber-50); color: var(--amber-600); }
.float-card.c2 { right: 0; bottom: 9%; }
.float-card.c2 .ic { background: var(--blue-50); color: var(--blue); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; text-align: left; }
  .hero-visual { min-height: 440px; }
  .float-card.c1 { left: 0; bottom: 30%; }
}
@media (max-width: 520px) {
  .hero-visual { min-height: 380px; }
  .float-card { font-size: .78rem; padding: 10px 12px; }
  .float-card .ic { width: 34px; height: 34px; }
  .hero-visual .ring { width: 80px; height: 80px; border-width: 10px; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); color: rgba(255, 255, 255, .82); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; padding: 28px 20px; border-left: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; line-height: 1.45; }
.trust-item:first-child { border-left: 0; }
.trust-item strong { display: block; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.trust-item svg { width: 34px; height: 34px; color: var(--amber); flex: none; }
@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item { border-top: 1px solid rgba(255, 255, 255, .1); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 520px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; padding: 18px 4px; }
  .trust-item:nth-child(2) { border-top: 1px solid rgba(255, 255, 255, .1); }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-sm { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head.left .eyebrow { justify-content: flex-start; }
@media (max-width: 700px) { .section { padding: 72px 0; } .section-sm { padding: 56px 0; } .section-head { margin-bottom: 40px; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.about-media { position: relative; }
.about-media .frame { position: relative; border-radius: 28px; overflow: hidden; background: linear-gradient(170deg, var(--amber-50), #fde3ad); aspect-ratio: 4 / 4.6; display: flex; align-items: flex-end; justify-content: center; }
.about-media .frame img { width: 92%; }
.about-media .badge {
  position: absolute; right: -24px; bottom: 28px; background: var(--navy); color: #fff; border-radius: 18px; padding: 18px 20px;
  box-shadow: var(--shadow-lg); max-width: 210px; font-size: .88rem; line-height: 1.45;
}
.about-media .badge strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--amber); line-height: 1.1; margin-bottom: 4px; }
.about-text .lead { font-size: 1.1rem; color: var(--ink); }
.check-list { list-style: none; padding: 0; margin: 1.6em 0 2em; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234175fc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media { max-width: 440px; }
  .about-media .badge { right: -8px; bottom: 16px; max-width: 190px; padding: 14px 16px; font-size: .82rem; }
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .icon { width: 64px; height: 64px; border-radius: 18px; background: var(--bg-warm); display: grid; place-items: center; margin-bottom: 18px; }
.service-card .icon img { width: 40px; height: 40px; }
.service-card .icon svg { width: 34px; height: 34px; color: var(--navy); }
.service-card h3 { font-size: 1.08rem; margin-bottom: .45em; }
.service-card p { font-size: .95rem; color: var(--muted); margin: 0; line-height: 1.6; }
.service-card:nth-child(4n+1) .icon { background: var(--amber-50); }
.service-card:nth-child(4n+2) .icon { background: var(--blue-50); }
.service-card:nth-child(4n+3) .icon { background: #f1effb; }
.services-more { text-align: center; margin-top: 44px; }

/* ---------- Press ---------- */
.press-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.press-grid a { display: block; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--bg-soft); }
.press-grid a:nth-child(1), .press-grid a:nth-child(2) { grid-column: span 3; }
.press-grid a:nth-child(n+3) { grid-column: span 2; }
.press-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.press-grid a:hover img { transform: scale(1.04); }
.press-grid a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(23, 20, 63, .35), transparent 50%); opacity: 0; transition: .3s; }
.press-grid a:hover::after { opacity: 1; }
@media (max-width: 700px) {
  .press-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .press-grid a:nth-child(n) { grid-column: span 1; }
  .press-grid a:nth-child(1) { grid-column: span 2; }
}

/* ---------- Testimonials ---------- */
.testi-wrap { position: relative; }
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 4px 24px; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-card { scroll-snap-align: start; background: #fff; border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.testi-card .stars { color: var(--amber); letter-spacing: 2px; font-size: 1rem; margin-bottom: 14px; }
.testi-card blockquote { margin: 0 0 22px; font-size: .97rem; line-height: 1.7; color: var(--text); flex: 1; }
.testi-card footer { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.testi-card .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; color: #fff; background: var(--navy); }
.testi-card:nth-child(3n+2) .avatar { background: var(--blue); }
.testi-card:nth-child(3n+3) .avatar { background: var(--amber-600); }
.testi-card .who strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.testi-card .who span { font-size: .85rem; color: var(--muted); }
.testi-nav { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.testi-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; transition: .2s; }
.testi-nav button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.testi-nav svg { width: 20px; height: 20px; }
@media (max-width: 960px) { .testi-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 620px) { .testi-track { grid-auto-columns: 88%; gap: 16px; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 55%, var(--blue) 140%); color: rgba(255, 255, 255, .85); padding: 64px 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { margin: 0; font-size: 1.08rem; max-width: 560px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.cta-band::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 40px solid rgba(242, 172, 32, .18); right: -90px; top: -150px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 44px 28px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.info-card { background: var(--navy); color: rgba(255, 255, 255, .8); border-radius: var(--radius); padding: 36px 32px; }
.info-card h3 { color: #fff; font-size: 1.35rem; }
.info-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; line-height: 1.5; }
.info-list .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--amber); }
.info-list .ic svg { width: 22px; height: 22px; }
.info-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); margin-bottom: 2px; }
.info-list a, .info-list span { color: #fff; font-family: var(--font-head); font-weight: 500; }
.info-list a:hover { color: var(--amber); }
.map-embed { margin-top: 28px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: rgba(255, 255, 255, .06); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-card { background: #fff; border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h3 { font-size: 1.35rem; }
.form-card > p { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(65, 117, 252, .12); }
.field textarea { min-height: 130px; resize: vertical; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 4px 0 20px; line-height: 1.5; }
.field-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.hp-field { position: absolute; left: -9999px; }
.form-card .btn { width: 100%; justify-content: center; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: .95rem; }
.notice-ok { background: #e8f8ef; color: #17643a; }
.notice-err { background: #fdecec; color: #8a1f1f; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; gap: 0; } .form-card, .info-card { padding: 28px 22px; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 60%, var(--navy-700) 100%); color: rgba(255, 255, 255, .78); padding: 84px 0 92px; }
.page-hero h1 { color: #fff; margin-bottom: .25em; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { max-width: 620px; font-size: 1.08rem; margin: 0; }
.crumbs { font-size: .88rem; margin-bottom: 18px; display: flex; gap: 8px; align-items: center; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: var(--amber); }
.page-hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 56px solid rgba(65, 117, 252, .22); right: -120px; top: -180px; }
.page-hero::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(242, 172, 32, .9); right: 12%; bottom: -90px; }
@media (max-width: 700px) { .page-hero { padding: 56px 0 64px; } .page-hero::after { width: 100px; height: 100px; bottom: -60px; } }

/* ---------- About page ---------- */
.bio-grid { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.bio-aside { position: sticky; top: 110px; }
.bio-photo { border-radius: 28px; overflow: hidden; background: linear-gradient(170deg, var(--blue-50), #d6e1ff); aspect-ratio: 4 / 4.8; display: flex; align-items: flex-end; justify-content: center; }
.bio-photo img { width: 94%; }
.bio-card { margin-top: 20px; background: var(--bg-soft); border-radius: var(--radius); padding: 24px; }
.bio-card h3 { font-size: 1.1rem; margin-bottom: .2em; }
.bio-card .role { color: var(--blue); font-family: var(--font-head); font-weight: 500; font-size: .92rem; margin-bottom: 14px; }
.bio-card ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; font-size: .93rem; line-height: 1.45; }
.bio-card li { display: flex; gap: 10px; }
.bio-card li svg { width: 18px; height: 18px; flex: none; color: var(--amber-600); margin-top: 2px; }
.bio-card .btn { width: 100%; justify-content: center; }
.bio-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.bio-text h2 span { color: var(--blue); }
.bio-text .lead { font-size: 1.15rem; color: var(--ink); }
.pull-quote { margin: 2em 0; padding: 26px 28px; border-radius: var(--radius); background: var(--amber-50); border-left: 5px solid var(--amber); font-family: var(--font-head); font-size: 1.1rem; line-height: 1.55; color: var(--navy); }
@media (max-width: 960px) { .bio-grid { grid-template-columns: 1fr; gap: 40px; } .bio-aside { position: static; max-width: 420px; } }

.edu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.edu-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; position: relative; }
.edu-card::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; background: var(--amber); border-radius: 0 3px 3px 0; }
.edu-card h3 { font-size: .98rem; text-transform: none; color: var(--navy); margin-bottom: .4em; line-height: 1.35; }
.edu-card .src { font-size: .85rem; color: var(--blue); font-weight: 500; margin-bottom: .5em; }
.edu-card p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.6; }
.edu-card ul { margin: .4em 0 0; padding-left: 1.1em; font-size: .9rem; color: var(--muted); line-height: 1.6; }
.edu-card.wide { grid-column: 1 / -1; }
.edu-card.wide ul { columns: 2; column-gap: 32px; }
@media (max-width: 620px) { .edu-grid { grid-template-columns: 1fr; } .edu-card.wide ul { columns: 1; } }

/* ---------- Certificates ---------- */
.cert-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.cert-item { display: block; background: #fff; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; color: inherit; }
.cert-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.cert-item .thumb { aspect-ratio: 1; overflow: hidden; background: var(--bg-soft); }
.cert-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cert-item:hover img { transform: scale(1.05); }
.cert-item .cap { padding: 14px 16px; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--ink); line-height: 1.35; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.cert-item .cap svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15, 13, 40, .92); display: none; align-items: center; justify-content: center; padding: 60px 20px 40px; }
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: 1000px; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-height: calc(100vh - 160px); width: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: #fff; font-family: var(--font-head); font-size: 1rem; text-align: center; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 620px) { .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } }

/* ---------- Generic content ---------- */
.entry-content { max-width: 780px; margin: 0 auto; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .65); padding: 80px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand .logo-wrap { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px; margin-bottom: 18px; }
.footer-brand img { height: 46px; width: auto; }
.footer-brand p { max-width: 340px; line-height: 1.65; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: var(--amber); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; transition: .2s; }
.social a:hover { background: var(--amber); color: var(--navy-900); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .site-footer { padding-top: 56px; } }

/* ---------- Floating buttons ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-actions a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); transition: transform .2s; }
.float-actions a:hover { transform: scale(1.08); color: #fff; }
.float-actions svg { width: 28px; height: 28px; }
.fa-wa { background: #25d366; }
.fa-call { background: var(--blue); }
@media (min-width: 901px) { .fa-call { display: none !important; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
