/*
Theme Name: canliygm.com
Theme URI: https://canliygm.com
Author: canliygm.com
Author URI: https://canliygm.com
Description: canliygm.com
Version: 1.0.0
Text Domain: canligym

-----------------------------------------------------------------------
Atıflar / Credits (License Notices):
- Google Fonts: Figtree, DM Sans — SIL Open Font License 1.1
- Font Awesome Free 6.x — Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT
  https://fontawesome.com/license/free
-----------------------------------------------------------------------
*/

/* ── TOKENS ─────────────────────────────── */
:root {
  --white:  #ffffff;
  --bg:     #F9FAFB;
  --bg2:    #F3F4F6;
  --navy:   #1F2937;
  --navy2:  #374151;
  --menu:   #1F2937;
  --blue:   #4B5563;
  --bpale:  #E5E7EB;
  --org:    #DC2626;
  --orgh:   #B91C1C;
  --opale:  #FEE2E2;
  --text:   #111827;
  --muted:  #6B7280;
  --border: #E5E7EB;
  --sh:     0 4px 18px rgba(31,41,55,.09);
  --sh-lg:  0 14px 44px rgba(31,41,55,.13);
  --r:      6px;
}

/* ── RESET ──────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
html, body { overflow-x:hidden; }
body { font-family:'DM Sans',sans-serif; color:var(--text); background:#fff; -webkit-font-smoothing:antialiased; font-size:16px; line-height:1.6; }
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; }
ul { list-style:none; }
button,input,select,textarea { font-family:inherit; }

/* ── HELPERS ────────────────────────────── */
.container { max-width:1220px; margin:0 auto; padding:0 32px; }
.section-pad { padding:88px 0; }
.sec-head { text-align:center; margin-bottom:52px; }
.sec-tag {
  display:inline-block; font-family:'Figtree',sans-serif;
  font-size:.82rem; font-weight:700; letter-spacing:.15em;
  text-transform:uppercase; color:var(--blue);
  background:var(--bpale); padding:5px 14px;
  border-radius:2px; margin-bottom:14px;
}
.sec-title {
  font-family:'Figtree',sans-serif; font-size:clamp(1.75rem,2.6vw,2.5rem);
  font-weight:800; color:var(--navy); line-height:1.2; margin-bottom:14px;
}
.sec-title span { color:var(--org); }
.sec-sub { font-size:.97rem; color:var(--muted); line-height:1.75; max-width:540px; margin:0 auto; }

/* Buttons */
.btn { display:inline-flex; align-items:center; gap:8px; cursor:pointer; border:none; font-family:'Figtree',sans-serif; font-weight:600; font-size:.88rem; letter-spacing:.04em; transition:all .25s; }
.btn-org  { background:var(--org); color:#fff; padding:13px 26px; box-shadow:0 4px 14px rgba(220,38,38,.35); }
.btn-org:hover { background:var(--orgh); box-shadow:0 6px 20px rgba(220,38,38,.45); transform:translateY(-1px); }
.btn-navy { background:var(--navy); color:#fff; padding:13px 26px; }
.btn-navy:hover { background:var(--navy2); transform:translateY(-1px); }
.btn-ghost { border:2px solid var(--navy); color:var(--navy); padding:11px 24px; background:transparent; }
.btn-ghost:hover { background:var(--navy); color:#fff; }
.btn-ghost-white { border:2px solid rgba(255,255,255,.5); color:#fff; padding:11px 24px; background:transparent; }
.btn-ghost-white:hover { background:rgba(255,255,255,.12); border-color:#fff; }
.btn-sm { padding:9px 18px; font-size:.8rem; }
.btn-outline-org { border:2px solid var(--org); color:var(--org); background:transparent; padding:8px 16px; font-size:.8rem; }
.btn-outline-org:hover { background:var(--org); color:#fff; }

/* Reveal animation */
.rv {
  opacity:0; transform:translateY(40px);
  transition:opacity .7s cubic-bezier(.22,.61,.36,1),
             transform .7s cubic-bezier(.22,.61,.36,1);
  will-change:opacity, transform;
}
.rv.on { opacity:1; transform:none; }
.rv-up    { transform:translateY(50px); }
.rv-down  { transform:translateY(-40px); }
.rv-left  { transform:translateX(-50px); }
.rv-right { transform:translateX(50px); }
.rv-zoom  { transform:scale(.9); }
.rv-fade  { transform:none; }
.rv-d1{transition-delay:.06s} .rv-d2{transition-delay:.12s} .rv-d3{transition-delay:.18s}
.rv-d4{transition-delay:.24s} .rv-d5{transition-delay:.3s}  .rv-d6{transition-delay:.36s}
.rv-d7{transition-delay:.42s} .rv-d8{transition-delay:.48s}

/* ── HEADER ─────────────────────────────── */
.hdr {
  position:fixed; top:0; left:0; width:100%; z-index:300;
  background:linear-gradient(to bottom, #fff 64px, var(--menu) 64px);
  box-shadow:0 2px 16px rgba(31,41,55,.08);
  transition:box-shadow .3s;
}
.hdr.sh { box-shadow:0 4px 28px rgba(31,41,55,.16); }

.hdr-inner {
  max-width:1220px; margin:0 auto; padding:0 32px;
  display:flex; align-items:stretch;
  height:112px;
}

.hdr-logo-col {
  background:#fff;
  display:flex; align-items:center;
  padding:0 36px;
  flex-shrink:0;
  border-right:1px solid var(--border);
}
.logo { display:flex; align-items:center; text-decoration:none; flex-shrink:0; }
.logo img { height:42px; width:auto; display:block; }
.logo-text {
  font-family:'Figtree',sans-serif; font-weight:800;
  font-size:1.15rem; color:var(--navy); letter-spacing:-.01em;
  line-height:1.15;
}

@keyframes logoDropIn {
  0%   { opacity:0; transform:translateY(-48px); }
  60%  { opacity:1; transform:translateY(6px); }
  85%  { transform:translateY(-2px); }
  100% { opacity:1; transform:translateY(0); }
}
.hdr-logo-col .logo img,
.hdr-logo-col .logo-text {
  animation:logoDropIn 1s cubic-bezier(.22,.8,.3,1) .15s both;
}

.hdr-right {
  flex:1; display:flex; flex-direction:column; min-width:0;
}

.hdr-right-top {
  height:64px; flex-shrink:0;
  display:flex; align-items:center; gap:16px;
  padding:0 0 0 24px;
  background:#fff;
  border-bottom:1px solid var(--border);
}
.hdr-tagline { flex:1; min-width:0; }
.hdr-tagline strong {
  display:block; font-family:'Figtree',sans-serif;
  font-size:.97rem; font-weight:700; color:var(--navy); line-height:1.3;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.hdr-tagline span {
  display:block; font-size:.84rem; color:var(--muted); margin-top:2px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.hdr-nav-row {
  flex:1; display:flex; align-items:stretch;
  background:var(--menu); padding:0 0 0 8px;
}

/* ── ANA MENÜ ── */
.hdr-nav, .hdr-nav > ul { display:flex; align-items:stretch; list-style:none; margin:0; padding:0; }
.hdr-nav > ul > li { display:flex; align-items:stretch; position:relative; }
.hdr-nav a, .hdr-nav > ul > li > a {
  display:flex; align-items:center; gap:7px;
  font-size:.88rem; font-weight:600; letter-spacing:.02em;
  color:rgba(255,255,255,.82); padding:0 15px;
  transition:color .2s, background .2s; white-space:nowrap;
  text-decoration:none;
}
.hdr-nav a:hover, .hdr-nav > ul > li > a:hover { color:#fff; background:rgba(255,255,255,.1); }

/* Dropdown */
.hdr-nav .menu-item-has-children > a::after {
  content:'\f078'; font-family:'Font Awesome 6 Free'; font-weight:900;
  font-size:.55rem; margin-left:6px; transition:transform .25s;
}
.hdr-nav .menu-item-has-children:hover > a::after { transform:rotate(180deg); }
.hdr-nav .sub-menu {
  position:absolute; top:100%; left:0;
  min-width:260px; background:#fff;
  border:1px solid var(--border);
  box-shadow:0 20px 48px rgba(31,41,55,.16), 0 4px 14px rgba(31,41,55,.08);
  opacity:0; pointer-events:none; transform:translateY(10px);
  transition:opacity .22s ease, transform .22s ease;
  z-index:400; padding:10px 0; list-style:none;
}
.hdr-nav li:hover > .sub-menu { opacity:1; pointer-events:all; transform:translateY(0); }
.hdr-nav .sub-menu::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--navy) 0%, var(--blue) 50%, var(--org) 100%);
}
.hdr-nav .sub-menu li { display:block; position:relative; }
.hdr-nav .sub-menu a {
  display:block; padding:12px 22px;
  font-size:.87rem; font-weight:500; color:var(--text);
  letter-spacing:normal; background:transparent;
  transition:background .2s, color .2s, padding-left .25s;
  position:relative;
}
.hdr-nav .sub-menu a::before {
  content:''; position:absolute; top:50%; left:8px;
  width:3px; height:0; background:var(--org);
  transform:translateY(-50%); transition:height .25s ease;
}
.hdr-nav .sub-menu a:hover {
  background:#F4F7FE; color:var(--navy); padding-left:26px;
}
.hdr-nav .sub-menu a:hover::before { height:20px; }
/* 2. kademe */
.hdr-nav .sub-menu .sub-menu { top:0; left:100%; margin-top:-10px; }

/* Mobil hamburger + drawer */
.hdr-burger {
  display:none;
  width:40px; height:40px; background:transparent; border:1px solid var(--border);
  color:var(--navy); font-size:1.05rem; cursor:pointer;
  align-items:center; justify-content:center;
  transition:background .2s;
}
.hdr-burger:hover { background:var(--bg); }

.m-drawer {
  position:fixed; top:0; right:0; bottom:0;
  width:min(320px, 85vw); background:#fff;
  z-index:600; padding:24px 0 24px;
  transform:translateX(100%); transition:transform .35s ease;
  display:flex; flex-direction:column;
  box-shadow:-20px 0 48px rgba(31,41,55,.18);
  overflow-y:auto;
}
.m-drawer.open { transform:translateX(0); }
.m-backdrop {
  position:fixed; inset:0; background:rgba(31,41,55,.5);
  z-index:599; opacity:0; pointer-events:none;
  transition:opacity .3s;
}
.m-backdrop.on { opacity:1; pointer-events:all; }

.m-head {
  display:flex; align-items:center; justify-content:space-between;
  padding:0 22px 18px; border-bottom:1px solid var(--border); margin-bottom:14px;
}
.m-head img { height:32px; width:auto; display:block; }
.m-head .logo-text { font-size:1rem; }
.m-close {
  width:36px; height:36px; background:var(--bg); border:none; cursor:pointer;
  color:var(--navy); font-size:.95rem;
  display:flex; align-items:center; justify-content:center;
}

.m-nav, .m-nav ul { display:flex; flex-direction:column; list-style:none; margin:0; padding:0; }
.m-nav { padding:0 12px; }
.m-nav > ul > li > a, .m-nav-sub-trig {
  display:flex; align-items:center; gap:10px;
  padding:14px 16px;
  font-family:'Figtree',sans-serif; font-size:.95rem; font-weight:600;
  color:var(--navy); text-decoration:none;
  background:transparent; border:none; cursor:pointer;
  width:100%; text-align:left;
  border-radius:4px; transition:background .15s;
}
.m-nav > ul > li > a:hover, .m-nav-sub-trig:hover { background:var(--bg); }

/* Mobil alt menü - tıklayınca açılır */
.m-nav .menu-item-has-children > a {
  position:relative;
}
.m-nav .menu-item-has-children > a .m-chev {
  margin-left:auto; transition:transform .25s;
  font-size:.72rem; color:var(--muted);
}
.m-nav .menu-item-has-children.open > a .m-chev { transform:rotate(180deg); }
.m-nav .sub-menu {
  max-height:0; overflow:hidden; transition:max-height .3s ease;
  padding-left:28px;
}
.m-nav .menu-item-has-children.open > .sub-menu { max-height:1200px; }
.m-nav .sub-menu a {
  padding:10px 14px; font-size:.9rem; font-weight:500; color:var(--text);
  display:flex; align-items:center; gap:8px;
}

.m-foot {
  margin-top:auto; padding:18px 22px 0; border-top:1px solid var(--border);
  display:flex; flex-direction:column; gap:14px;
}
.m-foot-social { display:flex; gap:10px; flex-wrap:wrap; }
.m-foot-social a {
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  background:var(--bg); color:var(--muted); font-size:.9rem;
  transition:all .2s; text-decoration:none;
}
.m-foot-social a:hover { background:var(--navy); color:#fff; }
.m-foot .lang-toggle { align-self:flex-start; }
.m-foot .btn { justify-content:center; }

/* Header actions */
.hdr-actions {
  display:flex; align-items:center; gap:8px; flex-shrink:0;
}
.hdr-social {
  display:flex; align-items:center; gap:2px;
}
.hdr-soc {
  width:32px; height:32px; display:flex; align-items:center; justify-content:center;
  color:var(--muted); font-size:.92rem;
  background:transparent; border:none; cursor:pointer;
  transition:color .18s; text-decoration:none; flex-shrink:0;
}
.hdr-soc:hover { color:var(--navy); }

.hdr-sep {
  width:1px; height:20px; background:var(--border); flex-shrink:0;
}

.lang-toggle {
  display:flex; align-items:center;
  border:1px solid var(--border); overflow:hidden; height:32px;
}
.lang-btn {
  font-size:.78rem; font-weight:700; letter-spacing:.06em;
  padding:0 12px; height:100%;
  background:transparent; border:none; cursor:pointer;
  color:var(--muted); transition:all .18s; text-decoration:none;
  display:flex; align-items:center;
}
.lang-btn.active { background:var(--navy); color:#fff; }
.lang-btn:hover:not(.active) { background:var(--bg); }

/* Hero slider arrows */
.hero-arrow {
  position:absolute; top:50%; transform:translateY(-50%);
  z-index:10; width:46px; height:46px;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25);
  color:#fff; font-size:.95rem; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s, border-color .2s;
  backdrop-filter:blur(4px);
}
.hero-arrow:hover { background:var(--org); border-color:var(--org); }
.hero-arrow-prev { left:28px; }
.hero-arrow-next { right:28px; }

/* ── MODAL ─────────────────────────────── */
.modal-overlay {
  position:fixed; inset:0; z-index:500; background:rgba(31,41,55,.6);
  backdrop-filter:blur(4px); display:flex; align-items:center; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity .3s; padding:20px;
}
.modal-overlay.open { opacity:1; pointer-events:all; }
.modal {
  background:#fff; width:100%; max-width:480px; padding:40px 36px;
  position:relative; transform:translateY(20px); transition:transform .3s;
  max-height:90vh; overflow-y:auto;
}
.modal-overlay.open .modal { transform:none; }
.modal-close {
  position:absolute; top:16px; right:16px;
  width:32px; height:32px; display:flex; align-items:center; justify-content:center;
  background:var(--bg); border:none; cursor:pointer; color:var(--muted);
  font-size:.9rem; transition:background .2s;
}
.modal-close:hover { background:var(--bg2); }
.modal h3 {
  font-family:'Figtree',sans-serif; font-size:1.3rem; font-weight:800;
  color:var(--navy); margin-bottom:6px;
}
.modal p { font-size:.9rem; color:var(--muted); margin-bottom:22px; }

/* Form inputs */
.f-row { display:flex; flex-direction:column; gap:10px; }
.fi {
  border:1px solid var(--border); padding:12px 16px;
  font-size:.92rem; color:var(--text); outline:none; width:100%;
  background:#fff; transition:border-color .2s; font-family:inherit;
  border-radius:0;
}
.fi:focus { border-color:var(--blue); }
.fi::placeholder { color:#b0bcd0; }
select.fi { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6A85' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 16px center; padding-right:40px; }
textarea.fi { resize:vertical; min-height:90px; }

/* Form feedback */
.tftema-form-msg {
  padding:12px 16px; font-size:.9rem; margin-bottom:12px;
  border-left:3px solid var(--blue); background:var(--bg);
}
.tftema-form-msg.success { border-color:#16a34a; background:#f0fdf4; color:#14532d; }
.tftema-form-msg.error   { border-color:var(--org); background:var(--opale); color:#7f1d1d; }

/* ── HERO SLIDER ─────────────────────────── */
.hero {
  padding-top:112px;
  position:relative; overflow:hidden;
  background:var(--navy);
}

.hero-bg {
  position:relative; width:100%; z-index:0; overflow:hidden;
}
.hero-bg-zoom {
  position:absolute; top:0; left:0; width:100%; height:100%;
  opacity:0;
  transition:opacity .85s ease;
}
.hero-bg-zoom:first-of-type {
  position:relative;
}
.hero-bg-zoom.active { opacity:1; }
.hero-bg-zoom img {
  width:100%; height:auto;
  display:block;
}
.hero-bg-overlay {
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(135deg, rgba(0,0,0,.82) 0%, rgba(17,24,39,.70) 50%, rgba(0,0,0,.82) 100%);
}
@keyframes heroBgZoom {
  from { transform:scale(1); }
  to   { transform:scale(1.08); }
}
.hero-glow { position:absolute; border-radius:50%; filter:blur(110px); pointer-events:none; z-index:2; }
.hg1 { width:640px; height:640px; background:rgba(75,85,99,.18); top:-180px; right:-60px; }
.hg2 { width:380px; height:380px; background:rgba(220,38,38,.1);  bottom:-80px; left:3%; }

.hero-track {
  position:absolute; top:112px; left:0; right:0; bottom:0;
  z-index:2;
}
.hero-slide {
  position:absolute; inset:0;
  display:flex; align-items:center;
  opacity:0; pointer-events:none;
  transition:opacity .75s ease;
}
.hero-slide.active {
  opacity:1; pointer-events:all;
}

.hero-inner {
  width:100%; padding:72px 32px;
  max-width:1220px; margin:0 auto;
  display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;
}
.hero-inner.hero-inner-single { grid-template-columns:1fr; text-align:center; }
.hero-inner.hero-inner-single .hero-sub { margin-left:auto; margin-right:auto; }
.hero-inner.hero-inner-single .hero-btn-wrap { justify-content:center; }

.hero-slide .hero-h,
.hero-slide .hero-sub,
.hero-slide .hero-btn-wrap,
.hero-slide .hero-img-wrap { opacity:0; }

.hero-slide.active .hero-h       { animation:hSlideUp .7s .05s ease both; }
.hero-slide.active .hero-sub     { animation:hSlideUp .7s .18s ease both; }
.hero-slide.active .hero-btn-wrap{ animation:hSlideUp .7s .3s  ease both; }
.hero-slide.active .hero-img-wrap{ animation:hSlideIn .8s .08s ease both; }

@keyframes hSlideUp {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:none; }
}
@keyframes hSlideIn {
  from { opacity:0; transform:translateX(40px); }
  to   { opacity:1; transform:none; }
}

.hero-h {
  font-family:'Figtree',sans-serif; font-size:clamp(2.1rem,3.8vw,3.6rem);
  font-weight:800; color:#fff; line-height:1.1; letter-spacing:-.02em; margin-bottom:20px;
}
.hero-h em { font-style:normal; color:var(--org); }
.hero-sub {
  font-size:1.02rem; font-weight:300; color:rgba(255,255,255,.78);
  line-height:1.8; max-width:480px; margin-bottom:36px;
}
.hero-btn-wrap { display:flex; gap:12px; flex-wrap:wrap; }

.hero-img-wrap { position:relative; }
.hero-img {
  position:relative;
  width:100%; aspect-ratio:4/3; overflow:hidden;
  box-shadow:0 28px 64px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
}
.hero-img img {
  width:100%; height:100%; object-fit:cover; display:block;
  animation:heroImgZoom 14s ease-in-out infinite alternate;
}
@keyframes heroImgZoom {
  from { transform:scale(1); }
  to   { transform:scale(1.08); }
}
.hero-img::after {
  content:''; position:absolute;
  top:-50%; bottom:-50%; left:-60%;
  width:40%; pointer-events:none;
  background:linear-gradient(110deg,
    transparent 20%,
    rgba(255,255,255,.08) 40%,
    rgba(255,255,255,.25) 50%,
    rgba(255,255,255,.08) 60%,
    transparent 80%);
  transform:rotate(12deg);
  animation:heroShine 5.5s ease-in-out infinite;
}
@keyframes heroShine {
  0%      { left:-60%; }
  60%     { left:140%; }
  100%    { left:140%; }
}

.hero-dots {
  position:absolute; bottom:36px; left:50%; transform:translateX(-50%);
  display:flex; gap:8px; z-index:10;
}
.hd {
  width:32px; height:4px; border:none; cursor:pointer; padding:0;
  background:rgba(255,255,255,.28);
  transition:background .35s, width .35s;
}
.hd.active { background:var(--org); width:52px; }

/* ── ABOUT ───────────────────────────── */
.about { background:#fff; }
.about-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center;
}
.about-photos { position:relative; height:460px; overflow:hidden; }
.ap-main {
  position:absolute; top:0; left:0; width:76%; aspect-ratio:3/4;
  box-shadow:var(--sh-lg); border-radius:2px; overflow:hidden;
}
.ap-main img { width:100%; height:100%; object-fit:cover; }
.ap-secondary {
  position:absolute; bottom:0; right:0; width:58%; aspect-ratio:1.1/1;
  box-shadow:var(--sh-lg); border-radius:2px; overflow:hidden;
  border:4px solid #fff;
}
.ap-secondary img { width:100%; height:100%; object-fit:cover; }

.about-label { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.about-label::before { content:''; width:30px; height:3px; background:var(--org); display:block; }
.about-label span { font-size:.82rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--org); }
.about-h {
  font-family:'Figtree',sans-serif; font-size:clamp(1.7rem,2.5vw,2.3rem);
  font-weight:800; color:var(--navy); line-height:1.2; margin-bottom:18px;
}
.about-p { font-size:.98rem; color:var(--muted); line-height:1.85; margin-bottom:16px; }
.about-p strong { color:var(--text); font-weight:700; }
.about-features {
  display:grid; grid-template-columns:1fr;
  gap:16px; margin:28px 0 34px;
}
.af-card {
  position:relative; padding:22px 24px;
  display:flex; align-items:center; gap:20px;
  background:#fff;
  border:1px solid var(--border);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s;
  overflow:hidden;
}
.af-card-body { flex:1; min-width:0; }
.af-card::before {
  content:''; position:absolute; top:0; left:0;
  width:100%; height:3px;
  background:linear-gradient(90deg, var(--navy) 0%, var(--blue) 50%, var(--org) 100%);
  transform:scaleX(0); transform-origin:left;
  transition:transform .4s ease;
}
.af-card:hover {
  transform:translateY(-5px);
  box-shadow:0 16px 36px rgba(31,41,55,.12);
  border-color:transparent;
}
.af-card:hover::before { transform:scaleX(1); }

.af-card-icon {
  width:52px; height:52px; flex-shrink:0;
  background:var(--bpale); color:var(--blue);
  display:flex; align-items:center; justify-content:center;
  font-size:1.2rem;
  transition:background .3s, color .3s, transform .3s;
}
.af-card:hover .af-card-icon {
  background:var(--navy); color:#fff;
  transform:scale(1.08);
}
.af-card-title {
  font-family:'Figtree',sans-serif;
  font-size:1rem; font-weight:700;
  color:var(--navy); margin-bottom:6px; line-height:1.3;
}
.af-card-desc {
  font-size:.9rem; color:var(--muted);
  line-height:1.55;
}

/* ── SERVICES ─── */
.services { background:var(--bg); position:relative; overflow:hidden; }
.services::before {
  content:''; position:absolute; top:-220px; right:-180px;
  width:620px; height:620px; border-radius:50%;
  background:radial-gradient(circle, rgba(75,85,99,.07) 0%, transparent 70%);
  pointer-events:none; z-index:0;
}
.services::after {
  content:''; position:absolute; bottom:-220px; left:-180px;
  width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle, rgba(220,38,38,.05) 0%, transparent 70%);
  pointer-events:none; z-index:0;
}

.srv-grid {
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  position:relative; z-index:2;
}

.srv-item {
  position:relative;
  height:440px;
  background:var(--navy);
  padding:0;
  overflow:hidden;
  isolation:isolate;
  transition:
    transform .45s cubic-bezier(.22,.61,.36,1),
    box-shadow .45s ease;
  display:block;
}
.srv-item-body {
  position:absolute; left:16px; right:16px; bottom:0;
  padding:18px 20px;
  background:linear-gradient(180deg,
    rgba(255,255,255,.98) 0%,
    rgba(255,255,255,.98) 55%,
    var(--bg) 100%);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  z-index:2;
}
.srv-item::before {
  content:''; position:absolute; top:0; left:0; bottom:0;
  width:3px; background:var(--org);
  z-index:3;
}
.srv-item:hover .srv-name { color:var(--org); }

.srv-img {
  position:absolute; inset:0;
  overflow:hidden;
  background:var(--navy);
}
.srv-img img {
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .9s cubic-bezier(.22,.61,.36,1), filter .5s ease;
  filter:saturate(.92);
}
.srv-img::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.35) 100%);
  pointer-events:none;
}
.srv-item:hover .srv-img img { transform:scale(1.05); filter:saturate(1); }

.srv-name {
  font-family:'Figtree',sans-serif;
  font-size:1.08rem; font-weight:800;
  color:var(--navy); line-height:1.3;
  margin:0;
  letter-spacing:-.01em;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:3.9em;
  transition:color .3s ease;
}

.srv-link {
  position:absolute; top:0; left:0;
  transform:translateY(-100%);
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 18px;
  background:var(--org); color:#fff;
  font-family:'Figtree',sans-serif;
  font-size:.78rem; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase;
  text-decoration:none;
  transition:background .3s, gap .3s;
  z-index:3;
}
.srv-link i {
  font-size:.78rem; color:#fff;
  transition:transform .3s;
}
.srv-item:hover .srv-link { background:var(--orgh); gap:14px; }
.srv-item:hover .srv-link i { transform:translateX(3px); }

.srv-bottom {
  display:flex; align-items:center; justify-content:center;
  margin-top:52px; position:relative; z-index:2;
}
.srv-all-btn {
  display:inline-flex; align-items:center; gap:12px;
  padding:16px 34px;
  background:var(--navy); color:#fff;
  border:none; cursor:pointer; text-decoration:none;
  font-family:'Figtree',sans-serif;
  font-size:.9rem; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase;
  transition:background .3s, gap .3s, transform .3s, box-shadow .3s;
  box-shadow:0 10px 28px rgba(31,41,55,.2);
}
.srv-all-btn:hover {
  background:var(--org); gap:16px; transform:translateY(-2px);
  box-shadow:0 14px 32px rgba(220,38,38,.3);
}
.srv-all-btn i { font-size:.9rem; }

/* ── STATS ───────────────────────────── */
.stats-sec {
  background:linear-gradient(135deg, var(--text) 0%, var(--navy) 50%, var(--navy2) 100%);
  padding:88px 0; position:relative; overflow:hidden;
}
.stats-bg-img {
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%; object-fit:cover;
  opacity:.14; mix-blend-mode:luminosity;
  pointer-events:none;
}
.stats-sec::before {
  content:''; position:absolute; top:-140px; right:-80px;
  width:360px; height:360px; border-radius:50%;
  background:rgba(75,85,99,.22); filter:blur(90px); pointer-events:none;
}
.stats-sec::after {
  content:''; position:absolute; bottom:-100px; left:-60px;
  width:280px; height:280px; border-radius:50%;
  background:rgba(220,38,38,.14); filter:blur(90px); pointer-events:none;
}
.stats-grid {
  position:relative; z-index:2;
  display:grid;
  grid-template-columns:1fr 1fr 1.3fr 1fr 1fr;
  align-items:stretch;
  gap:16px;
}
.stats-grid.stats-count-4 { grid-template-columns:repeat(4,1fr); }
.stats-grid.stats-count-3 { grid-template-columns:repeat(3,1fr); max-width:880px; margin:0 auto; }
.stats-grid.stats-count-2 { grid-template-columns:repeat(2,1fr); max-width:620px; margin:0 auto; }
.stats-grid.stats-count-1 { grid-template-columns:1fr; max-width:320px; margin:0 auto; }

.stat-card { min-height:300px; }
.stats-count-5 .stat-card:nth-child(3) {
  min-height:340px;
  background:rgba(255,255,255,.06);
  border-color:rgba(220,38,38,.22);
}
.stats-count-5 .stat-card:nth-child(3)::before { transform:scaleY(1); }
.stats-count-5 .stat-card:nth-child(3) .stat-icon {
  width:64px; height:64px; font-size:1.55rem;
  background:rgba(220,38,38,.15);
  border-color:rgba(220,38,38,.4);
}
.stats-count-5 .stat-card:nth-child(3) .stat-n { font-size:3.4rem; }
.stats-count-5 .stat-card:nth-child(3) .stat-n sup { font-size:1.5rem; }
.stats-count-5 .stat-card:nth-child(3) .stat-divider { width:44px; height:3px; }
.stats-count-5 .stat-card:nth-child(3) .stat-l { font-size:.96rem; }

.stat-card {
  position:relative;
  height:100%;
  display:flex; flex-direction:column;
  justify-content:center; align-items:center;
  text-align:center;
  padding:30px 26px;
  background:rgba(255,255,255,.035);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.09);
  transition:transform .45s cubic-bezier(.22,.61,.36,1),
             border-color .45s ease,
             background .45s ease;
  overflow:hidden;
  isolation:isolate;
}
.stat-card::before {
  content:''; position:absolute; top:0; left:0; bottom:0;
  width:2px; background:var(--org);
  transform:scaleY(0); transform-origin:top center;
  transition:transform .55s cubic-bezier(.22,.61,.36,1);
}
.stat-card::after {
  content:''; position:absolute; top:-40%; right:-40%;
  width:240px; height:240px; border-radius:50%;
  background:radial-gradient(circle, rgba(220,38,38,.22) 0%, transparent 65%);
  opacity:0; transition:opacity .55s ease;
  pointer-events:none; z-index:-1;
}
.stat-card:hover {
  transform:translateY(-6px);
  border-color:rgba(220,38,38,.35);
  background:rgba(255,255,255,.055);
}
.stat-card:hover::before { transform:scaleY(1); }
.stat-card:hover::after  { opacity:1; }

.stat-icon {
  width:52px; height:52px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  color:var(--org); font-size:1.2rem;
  transition:background .45s ease, border-color .45s ease, transform .5s ease;
  flex-shrink:0;
}
.stat-card:hover .stat-icon {
  background:rgba(220,38,38,.16);
  border-color:rgba(220,38,38,.45);
  transform:rotate(-4deg) scale(1.05);
}

.stat-body {
  margin-top:22px;
  display:flex; flex-direction:column; align-items:center;
  text-align:center;
}
.stat-n {
  font-family:'Figtree',sans-serif; font-size:2.8rem; font-weight:800;
  color:#fff; line-height:1; margin:0;
  letter-spacing:-.025em;
}
.stat-n sup {
  font-size:1.2rem; color:var(--org);
  vertical-align:super; line-height:0; font-weight:700;
  margin-left:2px;
}
.stat-divider {
  width:32px; height:2px;
  background:var(--org); margin:16px 0 14px;
  transition:width .4s ease;
}
.stat-card:hover .stat-divider { width:54px; }
.stat-l {
  font-size:.92rem; color:rgba(255,255,255,.85);
  font-weight:600; line-height:1.45;
  text-transform:uppercase; letter-spacing:.08em;
}

/* ── NEWS ────────────────────────────── */
.news-sec { background:#fff; }
.news-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.news-card {
  display:grid; grid-template-columns:170px 1fr;
  background:#fff;
  border:1px solid var(--border);
  overflow:hidden;
  height:170px;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s;
  text-decoration:none; color:inherit;
}
.news-card:hover {
  transform:translateY(-5px);
  box-shadow:0 18px 42px rgba(31,41,55,.13);
  border-color:transparent;
}
.news-img {
  position:relative; overflow:hidden;
  background:var(--bg2);
}
.news-img img {
  width:100%; height:100%; object-fit:cover;
  display:block;
  transition:transform .8s cubic-bezier(.22,.61,.36,1);
}
.news-card:hover .news-img img { transform:scale(1.08); }
.news-img::after {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(31,41,55,.08) 0%, transparent 60%);
  pointer-events:none;
}

.news-body {
  padding:18px 22px;
  display:flex; flex-direction:column; justify-content:center;
  gap:8px;
  overflow:hidden;
}
.news-title {
  font-family:'Figtree',sans-serif;
  font-size:1rem; font-weight:700;
  color:var(--navy); line-height:1.4;
  transition:color .25s;
  letter-spacing:-.005em;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
}
.news-card:hover .news-title { color:var(--blue); }
.news-excerpt {
  font-size:.9rem; color:var(--muted);
  line-height:1.6;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
  flex:1;
}
.news-link {
  font-size:.84rem; font-weight:700;
  color:var(--org); letter-spacing:.03em;
  display:inline-flex; align-items:center; gap:7px;
  transition:gap .25s;
  text-transform:uppercase;
  margin-top:4px;
}
.news-link:hover { gap:11px; }
.news-link::after {
  content:''; flex-shrink:0;
  width:22px; height:1px; background:var(--org);
  margin-left:2px; transition:width .25s;
}
.news-link:hover::after { width:32px; }

/* ── LEGISLATION / MEVZUAT ──────────── */
.mevzuat-sec { background:var(--bg); }
.mev-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.mev-card {
  background:#fff; border:1px solid var(--border); padding:22px 20px;
  display:flex; flex-direction:column; gap:12px;
  transition:border-color .2s,box-shadow .2s;
}
.mev-card:hover { border-color:var(--blue); box-shadow:var(--sh); }
.mev-icon { font-size:1.8rem; color:var(--org); }
.mev-title { font-size:.96rem; font-weight:600; color:var(--navy); line-height:1.4; flex:1; }
.mev-size { font-size:.85rem; color:var(--muted); }

/* ── REFERENCES ──────────────────────── */
.ref-sec { background:#fff; padding:60px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.ref-marquee { overflow:hidden; position:relative; }
.ref-marquee::before,
.ref-marquee::after {
  content:''; position:absolute; top:0; bottom:0;
  width:140px; z-index:2; pointer-events:none;
}
.ref-marquee::before {
  left:0;
  background:linear-gradient(to right, #fff 0%, rgba(255,255,255,0) 100%);
}
.ref-marquee::after {
  right:0;
  background:linear-gradient(to left, #fff 0%, rgba(255,255,255,0) 100%);
}
.ref-track {
  display:inline-flex; gap:48px; align-items:center;
  animation:marquee 28s linear infinite; white-space:nowrap;
}
.ref-track:hover { animation-play-state:paused; }
@keyframes marquee { to { transform:translateX(-50%); } }
.ref-logo {
  height:64px; min-width:140px; max-width:200px;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border); padding:0 20px;
  background:#fff; transition:border-color .2s,box-shadow .2s;
  overflow:hidden;
}
.ref-logo:hover { border-color:var(--blue); box-shadow:var(--sh); }
.ref-logo img {
  max-width:100%; max-height:48px; width:auto; height:auto; object-fit:contain;
  filter:grayscale(1) opacity(.7); transition:filter .3s;
}
.ref-logo:hover img { filter:grayscale(0) opacity(1); }
.ref-logo-inner { font-family:'Figtree',sans-serif; font-size:.9rem; font-weight:700; color:var(--muted); letter-spacing:.06em; text-align:center; white-space:normal; }

/* ── CTA ─────────────────────────────── */
.cta-sec {
  padding:88px 0; position:relative; overflow:hidden;
  background:var(--navy);
}
.cta-sec-bg {
  position:absolute; inset:0; z-index:0;
}
.cta-sec-bg img {
  width:100%; height:100%; object-fit:cover; display:block;
}
.cta-sec-overlay {
  position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(0,0,0,.94) 0%, rgba(17,24,39,.88) 50%, rgba(0,0,0,.94) 100%);
}
.cta-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; position:relative; z-index:2; }
.cta-h { font-family:'Figtree',sans-serif; font-size:clamp(1.7rem,2.8vw,2.6rem); font-weight:800; color:#fff; line-height:1.2; margin-bottom:16px; }
.cta-h em { font-style:normal; color:var(--org); }
.cta-p { font-size:1rem; color:rgba(255,255,255,.72); line-height:1.8; margin-bottom:28px; }
.cta-info { display:flex; flex-direction:column; gap:14px; }
.ci { display:flex; align-items:center; gap:12px; }
.ci-ic { width:36px; height:36px; background:rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.7); font-size:.9rem; flex-shrink:0; }
.ci a,.ci span { font-size:.95rem; color:rgba(255,255,255,.82); transition:color .2s; }
.ci a:hover { color:#fff; }

.cta-form-box { background:#fff; padding:36px 32px; }
.cta-form-h { font-family:'Figtree',sans-serif; font-size:1.15rem; font-weight:800; color:var(--navy); margin-bottom:6px; }
.cta-form-p { font-size:.92rem; color:var(--muted); margin-bottom:20px; }
.cta-f-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.cta-f-full { grid-column:1/-1; }
.submit-btn { width:100%; justify-content:center; padding:14px; font-size:.92rem; }

/* ── FOOTER ──────────────────────────── */
.footer { background:var(--navy); padding:64px 0 0; color:rgba(255,255,255,.72); }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.4fr; gap:48px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand .logo { margin-bottom:14px; display:inline-flex; }
.footer-brand .logo img { filter:brightness(0) invert(1); height:36px; }
.footer-brand .logo-text { color:#fff; }
.footer-brand p { font-size:.97rem; color:rgba(255,255,255,.6); line-height:1.8; margin:0 0 20px; max-width:280px; }
.footer-social { display:flex; gap:8px; flex-wrap:wrap; }
.fsoc {
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.08); color:rgba(255,255,255,.72); font-size:.9rem;
  transition:all .2s;
}
.fsoc:hover { background:var(--org); color:#fff; }
.footer-col h4 { font-family:'Figtree',sans-serif; font-size:.9rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.5); margin-bottom:16px; }
.footer-col ul { display:flex; flex-direction:column; gap:9px; list-style:none; padding:0; margin:0; }
.footer-col li a { font-size:.96rem; color:rgba(255,255,255,.72); transition:color .2s; }
.footer-col li a:hover { color:#fff; }
.footer-contact { display:flex; flex-direction:column; gap:12px; }
.fc-row { display:flex; align-items:flex-start; gap:10px; }
.fc-row i { color:var(--org); font-size:.9rem; margin-top:3px; width:16px; flex-shrink:0; }
.fc-row span,.fc-row a { font-size:.95rem; color:rgba(255,255,255,.72); line-height:1.55; transition:color .2s; }
.fc-row a:hover { color:#fff; }
.footer-bar { padding:20px 0; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
.footer-bar span { font-size:.95rem; color:rgba(255,255,255,.6); }
.footer-bar-links { display:flex; gap:20px; flex-wrap:wrap; }
.footer-bar-links .footer-bar-menu { list-style:none; margin:0; padding:0; display:flex; gap:20px; flex-wrap:wrap; }
.footer-bar-links .footer-bar-menu li { margin:0; padding:0; }
.footer-bar-links a { font-size:.95rem; color:rgba(255,255,255,.6); transition:color .2s; }
.footer-bar-links a:hover { color:rgba(255,255,255,.85); }

/* ── PAGE TITLE ────────────────────── */
.page-title-sec {
  position:relative; overflow:hidden;
  padding:168px 0 72px;
  background:var(--navy);
  color:#fff;
  text-align:center;
}
.page-title-sec::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg, rgba(0,0,0,.85) 0%, rgba(17,24,39,.72) 50%, rgba(0,0,0,.85) 100%);
  z-index:1;
}
.page-title-bg {
  position:absolute; inset:0; z-index:0;
}
.page-title-bg img {
  width:100%; height:100%; object-fit:cover; opacity:.6;
}
.page-title-inner { position:relative; z-index:2; }
.page-title-h {
  font-family:'Figtree',sans-serif;
  font-size:clamp(1.8rem,3vw,2.6rem);
  font-weight:800; color:#fff; margin-bottom:14px;
  line-height:1.2; letter-spacing:-.01em;
}
.breadcrumb {
  display:flex; align-items:center; justify-content:center;
  gap:8px; flex-wrap:wrap;
  font-size:.92rem; color:rgba(255,255,255,.72);
}
.breadcrumb a { color:rgba(255,255,255,.72); transition:color .2s; }
.breadcrumb a:hover { color:#fff; }
.breadcrumb .sep { color:rgba(255,255,255,.35); font-size:.7rem; }
.breadcrumb .cur { color:var(--org); }

/* ── CONTENT MAIN (page/single/archive) ── */
.main-wrap {
  padding:64px 0 80px;
  background:#fff;
}
.main-grid { display:grid; grid-template-columns:1fr; gap:40px; }
.main-grid.has-sidebar { grid-template-columns:minmax(0,1fr) 320px; gap:56px; }

.content-area { min-width:0; }
.content-area .entry-title {
  font-family:'Figtree',sans-serif; font-size:clamp(1.6rem,2.4vw,2rem);
  font-weight:800; color:var(--navy); margin-bottom:20px; line-height:1.25;
}
.content-area .entry-thumb {
  margin:0 0 28px; overflow:hidden;
}
.content-area .entry-thumb img { width:100%; height:auto; display:block; }
.entry-content {
  font-size:1.02rem; line-height:1.85; color:var(--text);
}
.entry-content > * + * { margin-top:1.1em; }
.entry-content h1,.entry-content h2,.entry-content h3,
.entry-content h4,.entry-content h5,.entry-content h6 {
  font-family:'Figtree',sans-serif; color:var(--navy); font-weight:800;
  line-height:1.3; margin-top:1.6em;
}
.entry-content h2 { font-size:1.55rem; }
.entry-content h3 { font-size:1.3rem; }
.entry-content h4 { font-size:1.12rem; }
.entry-content p { margin:1em 0; }
.entry-content ul,.entry-content ol { margin:1em 0 1em 1.4em; }
.entry-content ul { list-style:disc; }
.entry-content ol { list-style:decimal; }
.entry-content li { margin:.35em 0; }
.entry-content a { color:var(--org); border-bottom:1px solid rgba(220,38,38,.25); transition:border-color .2s,color .2s; }
.entry-content a:hover { color:var(--orgh); border-color:var(--orgh); }
.entry-content blockquote {
  border-left:3px solid var(--org); padding:6px 18px;
  background:var(--bg); color:var(--text); font-style:italic;
  margin:1.2em 0;
}
.entry-content img, .entry-content figure img { max-width:100%; height:auto; display:block; }
.entry-content figure { margin:1.5em 0; }
.entry-content figure figcaption { font-size:.88rem; color:var(--muted); margin-top:8px; text-align:center; }
.entry-content table { width:100%; border-collapse:collapse; margin:1.2em 0; font-size:.95rem; }
.entry-content th,.entry-content td { border:1px solid var(--border); padding:10px 14px; text-align:left; }
.entry-content th { background:var(--bg); font-weight:700; color:var(--navy); }
.entry-content code {
  background:var(--bg2); padding:2px 6px; border-radius:3px;
  font-family:ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace; font-size:.92em;
}
.entry-content pre {
  background:var(--navy); color:#E5E7EB; padding:16px 18px; overflow:auto;
  font-family:ui-monospace,'SFMono-Regular',Menlo,Consolas,monospace; font-size:.92em;
  margin:1.2em 0;
}
.entry-content pre code { background:transparent; padding:0; }

/* WP alignment */
.alignleft  { float:left;  margin:6px 24px 14px 0; }
.alignright { float:right; margin:6px 0 14px 24px; }
.aligncenter { display:block; margin:14px auto; }
.alignwide,.alignfull { clear:both; }
.wp-caption { max-width:100%; }
.wp-caption-text, .wp-block-image figcaption { font-size:.88rem; color:var(--muted); text-align:center; margin-top:8px; }
.screen-reader-text {
  clip:rect(1px,1px,1px,1px); position:absolute !important; height:1px; width:1px; overflow:hidden; word-wrap:normal !important;
}
body.wp-embed-responsive .wp-has-aspect-ratio iframe { max-width:100%; }

/* WP Gallery – fancybox tarzı */
.wp-block-gallery, .gallery {
  display:grid !important; gap:10px !important;
  grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));
  margin:1.5em 0;
}
.gallery-item, .wp-block-gallery .wp-block-image { margin:0 !important; }
.gallery-item img, .wp-block-gallery img {
  width:100%; height:100%; object-fit:cover; aspect-ratio:1/1;
  cursor:zoom-in; transition:transform .4s, filter .3s;
}
.gallery-item a:hover img, .wp-block-gallery a:hover img { transform:scale(1.04); filter:brightness(1.05); }

.gallery-columns-2 { grid-template-columns:repeat(2,1fr); }
.gallery-columns-3 { grid-template-columns:repeat(3,1fr); }
.gallery-columns-4 { grid-template-columns:repeat(4,1fr); }
.gallery-columns-5 { grid-template-columns:repeat(5,1fr); }
.gallery-columns-6 { grid-template-columns:repeat(6,1fr); }

/* Lightbox */
.tftema-lightbox {
  position:fixed; inset:0; z-index:9999;
  background:rgba(17,24,39,.94);
  display:none; align-items:center; justify-content:center;
  padding:30px;
}
.tftema-lightbox.open { display:flex; }
.tftema-lightbox-img {
  max-width:100%; max-height:100%; object-fit:contain; display:block;
  box-shadow:0 24px 60px rgba(0,0,0,.6);
}
.tftema-lightbox-close,
.tftema-lightbox-prev,
.tftema-lightbox-next {
  position:absolute; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2);
  color:#fff; font-size:1rem; cursor:pointer;
  width:46px; height:46px;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s, border-color .2s;
}
.tftema-lightbox-close:hover,
.tftema-lightbox-prev:hover,
.tftema-lightbox-next:hover { background:var(--org); border-color:var(--org); }
.tftema-lightbox-close { top:22px; right:22px; }
.tftema-lightbox-prev  { left:22px;  top:50%; transform:translateY(-50%); }
.tftema-lightbox-next  { right:22px; top:50%; transform:translateY(-50%); }
.tftema-lightbox-counter {
  position:absolute; bottom:22px; left:50%; transform:translateX(-50%);
  color:rgba(255,255,255,.78); font-size:.92rem; letter-spacing:.04em;
}

/* ── SIDEBAR ────────────────────── */
.sidebar {
  min-width:0;
}
.sb-widget {
  background:#fff;
  border:1px solid var(--border);
  padding:24px 22px;
  margin-bottom:28px;
}
.sb-widget-title {
  font-family:'Figtree',sans-serif;
  font-size:.92rem; font-weight:800; text-transform:uppercase;
  letter-spacing:.1em; color:var(--navy);
  padding-bottom:14px; margin-bottom:16px;
  border-bottom:2px solid var(--org);
  display:flex; align-items:center; gap:10px;
}
.sb-widget-title i { color:var(--org); font-size:.9em; }
.sb-recent-list { display:flex; flex-direction:column; gap:16px; }
.sb-recent {
  display:grid; grid-template-columns:72px 1fr; gap:12px;
  text-decoration:none; color:inherit;
  transition:transform .25s;
  align-items:center;
}
.sb-recent:hover { transform:translateX(2px); }
.sb-recent-img {
  width:72px; height:72px; overflow:hidden; flex-shrink:0;
  background:var(--bg2);
}
.sb-recent-img img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s; }
.sb-recent:hover .sb-recent-img img { transform:scale(1.08); }
.sb-recent-title {
  font-size:.93rem; font-weight:600; color:var(--navy); line-height:1.4;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
  transition:color .2s;
}
.sb-recent:hover .sb-recent-title { color:var(--org); }

/* Search widget */
.sb-search { display:flex; gap:0; }
.sb-search input[type="search"] {
  flex:1; border:1px solid var(--border); padding:11px 14px;
  font-size:.95rem; outline:none; border-radius:0;
  background:#fff; font-family:inherit;
}
.sb-search input[type="search"]:focus { border-color:var(--blue); }
.sb-search button {
  padding:0 18px; background:var(--navy); color:#fff;
  border:none; cursor:pointer; transition:background .2s;
}
.sb-search button:hover { background:var(--org); }

/* ── ARCHIVE / LISTING ───────────── */
.post-list {
  display:grid; grid-template-columns:1fr; gap:22px;
}
.post-list.post-list-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
body.tftema-has-sidebar .post-list.post-list-grid { grid-template-columns:1fr; }
.post-card {
  display:grid; grid-template-columns:220px 1fr;
  background:#fff; border:1px solid var(--border);
  overflow:hidden; text-decoration:none; color:inherit;
  transition:transform .3s, box-shadow .3s, border-color .3s;
  min-height:180px;
}
.post-card:hover { transform:translateY(-4px); box-shadow:0 16px 36px rgba(31,41,55,.12); border-color:transparent; }
.post-card-img { position:relative; overflow:hidden; background:var(--bg2); }
.post-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .8s; }
.post-card:hover .post-card-img img { transform:scale(1.08); }
.post-card-body { padding:20px 24px; display:flex; flex-direction:column; justify-content:center; gap:8px; }
.post-card-title {
  font-family:'Figtree',sans-serif;
  font-size:1.08rem; font-weight:700; color:var(--navy); line-height:1.4;
  transition:color .25s;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.post-card:hover .post-card-title { color:var(--org); }
.post-card-excerpt {
  font-size:.95rem; color:var(--muted); line-height:1.65;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.post-card-link {
  margin-top:6px;
  font-size:.84rem; font-weight:700; color:var(--org);
  letter-spacing:.04em; text-transform:uppercase;
  display:inline-flex; align-items:center; gap:7px;
}

/* Pagination */
.pagination {
  display:flex; justify-content:center; gap:6px; margin-top:40px; flex-wrap:wrap;
}
.pagination .page-numbers {
  display:inline-flex; align-items:center; justify-content:center;
  min-width:40px; height:40px; padding:0 12px;
  background:#fff; border:1px solid var(--border);
  font-size:.92rem; font-weight:600; color:var(--navy);
  transition:background .2s, color .2s, border-color .2s;
  text-decoration:none;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background:var(--navy); color:#fff; border-color:var(--navy);
}
.pagination .page-numbers.dots { background:transparent; border:none; color:var(--muted); }

/* 404 */
.error-404 {
  text-align:center; padding:80px 20px;
}
.error-404 .e-code {
  font-family:'Figtree',sans-serif;
  font-size:clamp(4rem,10vw,7rem); font-weight:800;
  color:var(--org); line-height:1; margin-bottom:10px; letter-spacing:-.05em;
}
.error-404 .e-title {
  font-family:'Figtree',sans-serif;
  font-size:1.6rem; font-weight:800; color:var(--navy); margin-bottom:10px;
}
.error-404 .e-desc { color:var(--muted); margin-bottom:24px; font-size:1rem; }

/* No results */
.no-results {
  text-align:center; padding:40px 20px; color:var(--muted);
  font-size:1rem;
}

/* ── RESPONSIVE ──────────────────── */
@media(max-width:1280px){
  .hdr-inner { padding:0 20px; }
}
@media(max-width:1024px){
  .hero-inner    { grid-template-columns:1fr; }
  .hero-img-wrap { display:none; }
  .about-grid    { grid-template-columns:1fr; gap:40px; }
  .about-photos  { height:auto; aspect-ratio:3/4; max-width:380px; margin:0 auto; }
  .stats-grid, .stats-grid.stats-count-5, .stats-grid.stats-count-4 {
    grid-template-columns:repeat(3, 1fr);
  }
  .stat-card { min-height:260px; }
  .mev-grid      { grid-template-columns:repeat(2,1fr); }
  .cta-grid      { grid-template-columns:1fr; }
  .footer-grid   { grid-template-columns:1fr 1fr; }
  .srv-grid { grid-template-columns:repeat(2, 1fr); gap:20px; }
  .srv-item { height:400px; }
  .srv-item-body { left:14px; right:14px; padding:16px 18px; }
  .main-grid.has-sidebar { grid-template-columns:1fr; }
  .sidebar { margin-top:40px; }
  .post-list.post-list-grid { grid-template-columns:1fr; }
  .post-card { grid-template-columns:180px 1fr; }
}
@media(max-width:768px){
  .container   { padding:0 20px; }
  .section-pad { padding:60px 0; }
  .hdr-nav-row { display:none; }
  .hdr-inner   { height:auto; }
  .hdr         { background:#fff; box-shadow:0 2px 12px rgba(31,41,55,.08); }
  .hdr-logo-col{ padding:0 20px; border-right:none; }
  .hdr-right-top { height:64px; padding:0 16px 0 12px; gap:10px; border-bottom:none; justify-content:flex-end; }
  .hdr-tagline { display:none; }
  .hdr-social, .lang-toggle, .hdr-actions > .btn { display:none; }
  .hdr-burger  { display:flex; }
  .hero        { padding-top:64px; }
  .hero-track  { top:64px; }
  .hero-arrow  { display:none; }
  .hero-dots   { bottom:12px; gap:6px; }
  .hd          { width:22px; height:3px; }
  .hd.active   { width:34px; }
  .hero-inner  { padding:52px 20px; gap:32px; }
  .hero + .section-pad { padding-top:24px; }
  .news-grid   { grid-template-columns:1fr; gap:12px; }
  .news-card   {
    grid-template-columns:100px 1fr;
    grid-template-rows:1fr;
    height:auto; min-height:100px;
  }
  .news-img    { aspect-ratio:auto; }
  .news-body   { padding:10px 14px; gap:4px; }
  .news-title  { font-size:.95rem; line-height:1.3; -webkit-line-clamp:2; }
  .news-excerpt{ display:none; }
  .news-link   { font-size:.78rem; margin-top:2px; }
  .news-link::after { width:16px; }
  .stats-grid, .stats-grid.stats-count-5, .stats-grid.stats-count-4 {
    grid-template-columns:repeat(2, 1fr);
    gap:12px;
  }
  .stat-card { min-height:220px; padding:24px 22px; }
  .stats-count-5 .stat-card:nth-child(3) { grid-column:1 / -1; }
  .stat-n { font-size:2.2rem; }
  .cta-f-row   { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .srv-grid { grid-template-columns:1fr; gap:16px; }
  .srv-item { height:380px; }
  .srv-item-body { left:12px; right:12px; padding:14px 16px; }
  .srv-name { font-size:1rem; }
  .srv-bottom { margin-top:36px; }
  .srv-all-btn { padding:14px 26px; font-size:.86rem; }
  .page-title-sec { padding:120px 0 56px; }
  .post-card { grid-template-columns:130px 1fr; min-height:150px; }
  .post-card-body { padding:14px 16px; }
}
