
:root{
  --ink:#3a2c1e;--muted:#8a7a68;--wa:#22c55e;--wa-700:#12914a;
  --radius:14px;--radius-sm:9px;--radius-lg:22px;
  --shadow:0 6px 20px rgba(58,44,30,.08);--shadow-lg:0 20px 48px rgba(58,44,30,.14);
  --f-h:"Baloo 2",system-ui,sans-serif;--f-b:"Nunito Sans",system-ui,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--f-b);background:var(--cream);color:var(--ink);font-size:17px;line-height:1.7;transition:background-color .25s}
h1,h2,h3{font-family:var(--f-h);font-weight:700;margin:0 0 .5em;color:var(--ink);letter-spacing:-.01em}
h1{font-size:clamp(1.9rem,4.4vw,2.9rem)}h2{font-size:clamp(1.4rem,2.8vw,1.9rem)}h3{font-size:1.05rem}
p{margin:0 0 1rem;color:var(--muted)}
a{color:var(--brand-700);text-decoration:none}
img{max-width:100%;display:block}
table{border-collapse:collapse;width:100%}
.wrap{max-width:1180px;margin:0 auto;padding:0 1.4rem}
.section{padding:3.4rem 0}.section.soft{background:var(--cream-2);transition:background-color .25s}
.kicker{display:inline-block;background:var(--brand-050);color:var(--brand-700);font-weight:800;font-family:var(--f-h);
  padding:.35rem 1rem;border-radius:999px;margin-bottom:.6rem;font-size:.92rem;transition:.25s}
.kicker.light{background:rgba(255,255,255,.18);color:#fff}
.sec-head{text-align:center;max-width:640px;margin:0 auto 2rem}
.ic{width:19px;height:19px}.icon{width:26px;height:26px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-family:var(--f-h);font-weight:700;
  padding:.8rem 1.4rem;border-radius:999px;border:2px solid transparent;cursor:pointer;transition:.15s;white-space:nowrap}
.btn:hover{transform:translateY(-2px)}
.btn-call{background:var(--brand);color:#fff;box-shadow:var(--shadow)}
.btn-call:hover{background:var(--brand-600);color:#fff}
.btn-wa{background:var(--wa);color:#fff}.btn-wa:hover{background:var(--wa-700);color:#fff}
.btn-outline{background:#fff;border-color:var(--brand-100);color:var(--brand-700)}
.btn-outline:hover{background:var(--brand-050)}
.btn-light{background:#fff;color:var(--brand-700)}
.btn-outline-light{background:transparent;border-color:rgba(255,255,255,.5);color:#fff}
.btn-xl{padding:1.05rem 2rem;font-size:1.1rem}
.btn-block{width:100%;justify-content:center}

/* top bar */
.top-bar{background:var(--topbar,var(--brand-700));color:#fff;font-size:.84rem;transition:background-color .25s}
.top-bar-in{display:flex;align-items:center;justify-content:center;gap:1rem;padding:.5rem 0;flex-wrap:wrap;text-align:center}
.top-bar-msg{display:flex;align-items:center;gap:.4rem}

/* header */
.site-header{background:#fff;padding:.8rem 0;box-shadow:0 2px 10px rgba(58,44,30,.06);position:sticky;top:0;z-index:50}
.header-in{display:flex;align-items:center;gap:1.4rem}
.brand{display:flex;align-items:center;gap:.5rem;flex:0 0 auto}
.brand-logo{height:48px;width:auto;display:block}
@media(max-width:600px){.brand-logo{height:40px}}

.brand-txt{font-family:var(--f-h);font-weight:800;font-size:1.2rem;color:var(--brand-700)}
.brand-txt em{color:var(--accent-600);font-style:normal}
.mainnav{display:flex;align-items:center;gap:1.3rem;flex:1;flex-wrap:wrap}
.mainnav>a,.mainnav summary{font-family:var(--f-h);font-weight:700;color:var(--ink);cursor:pointer;list-style:none}
.mainnav>a:hover,.nav-drop summary:hover{color:var(--brand-700)}
.nav-drop{position:relative}
.nav-drop summary::-webkit-details-marker{display:none}
.nav-drop ul{list-style:none;margin:.5rem 0 0;padding:.5rem;position:absolute;top:100%;left:0;background:#fff;
  border-radius:14px;box-shadow:var(--shadow-lg);min-width:220px;z-index:20}
.nav-drop ul li a{display:block;padding:.5rem .7rem;border-radius:9px;font-weight:600;color:var(--ink)}
.nav-drop ul li a:hover{background:var(--brand-050)}
.hamburger{display:none;background:none;border:1px solid var(--brand-100);border-radius:9px;width:40px;height:40px;font-size:1.1rem;cursor:pointer}
@media(max-width:920px){.mainnav{display:none}.hamburger{display:block}}
@media(max-width:600px){.site-header .btn-call{display:none}.header-in{gap:.8rem;justify-content:space-between}}
.mobile-nav{display:flex;flex-direction:column;background:#fff;border-top:1px solid var(--brand-050)}
.mobile-nav[hidden]{display:none}
.mobile-nav a{padding:.9rem 1.4rem;font-weight:700;font-family:var(--f-h);border-bottom:1px solid var(--brand-050);color:var(--ink)}

/* hero */
.hero{padding:3rem 0 1rem;overflow:hidden}
.hero-in{display:grid;grid-template-columns:1.05fr .95fr;gap:2.6rem;align-items:center}
@media(max-width:900px){.hero-in{grid-template-columns:1fr;gap:.8rem}}
.hero-kicker{display:inline-block;background:var(--brand-050);color:var(--brand-700);font-weight:800;font-family:var(--f-h);
  padding:.4rem 1rem;border-radius:999px;margin-bottom:1rem;font-size:.9rem}
.hero h1{line-height:1.14}
.hero .hl{color:var(--brand-700)}
.hero-cta{display:flex;gap:.8rem;flex-wrap:wrap;margin:1.4rem 0 1.6rem}
.hero-facts{display:flex;gap:1.6rem;list-style:none;padding:0;margin:0}
.hero-facts li{display:flex;flex-direction:column}
.hero-facts strong{font-family:var(--f-h);font-size:1.5rem;color:var(--brand-700)}
.hero-facts span{color:var(--muted);font-size:.82rem}
/* hero media: real photo + soft theme decoration */
.hero-media{position:relative;display:flex;justify-content:center;align-items:center;min-height:360px}
.hero-deco{position:absolute;width:112%;height:112%;top:-6%;left:-6%;z-index:0}
.deco-blob{fill:var(--brand-050,#eaf6ff)}
.deco-dots circle{fill:var(--brand-100,#d3edff)}
.hero-photo{position:relative;z-index:1;width:88%;max-width:440px;border-radius:32px;overflow:hidden;
  box-shadow:var(--shadow-lg);border:6px solid #fff}
.hero-photo img{width:100%;aspect-ratio:5/4;object-fit:cover;display:block}
.hero-badge{position:absolute;z-index:2;left:2%;bottom:8%;background:#fff;border-radius:16px;box-shadow:var(--shadow);
  padding:.7rem .9rem;display:flex;align-items:center;gap:.6rem}
.hero-badge-ic{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:11px;background:var(--brand-050,#eaf6ff);color:var(--brand-700)}
.hero-badge strong{display:block;font-family:var(--f-h);font-size:1rem;color:var(--ink);line-height:1.1}
.hero-badge small{color:var(--muted);font-size:.76rem}
@media(max-width:900px){.hero-media{min-height:0;margin-top:0}.hero-photo{width:100%;max-width:420px}}
/* hero: kayan hizmet galerisi (carousel) */
.hero-carousel{position:relative;z-index:1;width:100%;max-width:460px;margin:0 auto}
.hc-viewport{position:relative;overflow:hidden;border-radius:22px;box-shadow:var(--shadow-lg);background:#fff}
.hc-track{display:flex;transition:transform .5s cubic-bezier(.4,0,.2,1);will-change:transform}
.hc-slide{flex:0 0 100%;display:flex;flex-direction:column;background:#fff}
.hc-media{display:block;aspect-ratio:4/3;overflow:hidden}
.hc-media img{width:100%;height:100%;object-fit:cover;display:block}
.hc-title{display:block;text-align:center;font-family:var(--f-h);font-weight:800;color:var(--brand-700);
  padding:.7rem .5rem;font-size:1.05rem}
.hc-arrow{position:absolute;top:37%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:0;
  background:rgba(255,255,255,.92);color:var(--brand-700);box-shadow:var(--shadow);cursor:pointer;display:grid;place-items:center;
  opacity:0;transition:opacity .2s;z-index:2}
.hero-carousel:hover .hc-arrow{opacity:1}
.hc-prev{left:8px}.hc-prev svg{transform:rotate(180deg)}
.hc-next{right:8px}
.hc-dots{display:flex;justify-content:center;gap:.5rem;margin-top:.9rem}
.hc-dot{width:9px;height:9px;padding:0;border-radius:50%;border:0;background:var(--brand-100);cursor:pointer;transition:.2s}
.hc-dot.is-active{background:var(--brand);width:26px;border-radius:999px}
@media(hover:none){.hc-arrow{display:none}}

/* section divider */
.section-divider{line-height:0}
.section-divider svg{width:100%;height:32px;display:block}
.ill-divider{fill:var(--cream-2,#fff2e0)}

/* 3 steps */
.steps{padding:1rem 0 2.4rem}
.steps-in{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
@media(max-width:760px){.steps-in{grid-template-columns:1fr}}
.step{position:relative;background:#fff;border-radius:var(--radius-lg);padding:1.6rem 1.4rem 1.4rem;box-shadow:var(--shadow);text-align:center}
.step-no{position:absolute;top:-14px;left:1.4rem;width:30px;height:30px;border-radius:50%;background:var(--accent);
  color:#fff;font-family:var(--f-h);font-weight:800;display:grid;place-items:center;font-size:.9rem;box-shadow:var(--shadow)}
.step-ic{display:inline-grid;place-items:center;width:64px;height:64px;margin:.3rem auto .7rem;border-radius:20px;
  background:var(--brand-050,#eaf6ff);color:var(--brand-700)}
.step-ic svg{width:30px;height:30px}
.step h3{margin:0 0 .3rem}
.step p{margin:0;font-size:.9rem}

/* branch cards */
.branch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
@media(max-width:900px){.branch-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.branch-grid{grid-template-columns:1fr}}
.branch-card{background:#fff;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow)}
.branch-card-media{aspect-ratio:16/11;overflow:hidden}
.branch-card-media img{width:100%;height:100%;object-fit:cover}
.branch-card-body{padding:1.2rem}
.branch-card-tags{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.5rem}
.tag{font-size:.7rem;font-weight:800;padding:.18rem .55rem;border-radius:999px}
.tag-hq{background:var(--accent);color:#fff}
.tag-pool{background:var(--brand-050);color:var(--brand-700)}
.branch-card-loc{display:flex;align-items:center;gap:.35rem;color:var(--muted);font-size:.9rem}
.branch-card-actions{display:flex;gap:.5rem;margin-top:.8rem}

/* pool feature */
.pool-feature{background:linear-gradient(120deg,var(--brand-700),var(--brand));padding:3rem 0;color:#fff;transition:.25s}
.pool-in{display:grid;grid-template-columns:1.1fr .9fr;gap:2rem;align-items:center;max-width:1180px;margin:0 auto;padding:0 1.4rem}
@media(max-width:820px){.pool-in{grid-template-columns:1fr}}
.pool-copy h2{color:#fff}.pool-copy p{color:#eaf6ff}
.pool-btns{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.2rem}
.notice{display:flex;gap:.6rem;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);
  border-radius:var(--radius);padding:.9rem 1rem;margin:1rem 0 1.3rem}
.notice p{margin:0;font-size:.92rem;color:#fff}
.pool-media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:20px;box-shadow:var(--shadow-lg);border:5px solid rgba(255,255,255,.5)}

/* Istanbul map */
.map-section .sec-head{text-align:center;max-width:680px;margin:0 auto 1.6rem}
.map-lead{color:var(--muted);margin:0}
.ist-map-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:24px;box-shadow:var(--shadow);background:var(--map-sea,#d5edfd)}
.ist-map{display:block;width:100%;min-width:700px}
.ist-sea{fill:var(--map-sea,#d5edfd)}
.ist-sea-label{font-family:var(--f-h);font-size:16px;font-weight:800;fill:var(--map-sealabel,#9ecdec);letter-spacing:.28em}
.ist-pin-label{font-family:var(--f-h);font-size:15.5px;font-weight:800;fill:#fff}
.ist-d{stroke:#fff;stroke-width:1.1;transition:fill .15s}
.ist-t1{fill:var(--map-d1,#7cc7f5)}.ist-t2{fill:var(--map-d2,#4fb4f4)}.ist-t3{fill:var(--map-d3,#2f9de8)}
.ist-d:hover{fill:var(--map-hover,#0f86cf)}
.ist-lead{stroke:var(--map-deep,#0d567f);stroke-width:1.7;opacity:.5;fill:none}
.ist-dot{fill:var(--map-dot,#ff8c54);stroke:#fff;stroke-width:2.5}
.ist-pin-bg{fill:var(--map-deep,#0d567f)}
.ist-pin-circle{fill:#fff;stroke:var(--map-ring,#0f86cf);stroke-width:3.5}
.ist-pool-badge{fill:var(--map-pool,#0b7fb8);stroke:#fff;stroke-width:2.5}
.ist-pool-hint .ic circle{fill:var(--map-pool,#0b7fb8)}
#pinShadow feDropShadow{flood-color:var(--map-deep,#0d567f)}
.map-pin{cursor:pointer;text-decoration:none}
.map-pin .pin-inner{transform-box:fill-box;transform-origin:center;transition:transform .18s}
.map-pin:hover .pin-inner{transform:scale(1.1)}
.ist-map-hint{display:flex;align-items:center;justify-content:center;gap:.35rem;flex-wrap:wrap;margin:1rem 0 0;font-size:.86rem;color:var(--muted);text-align:center}
.ist-pool-hint{display:inline-flex;align-items:center;gap:.35rem;font-weight:600;color:var(--ink)}
.ist-pool-hint .ic{width:18px;height:18px}
@media(min-width:760px){.ist-scroll-hint{display:none}}

/* service cards */
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
@media(max-width:900px){.svc-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.svc-grid{grid-template-columns:1fr}}
.svc-card{background:#fff;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);display:block;transition:.2s}
.svc-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.svc-card-media{aspect-ratio:16/10;overflow:hidden}
.svc-card-media img{width:100%;height:100%;object-fit:cover}
.svc-card-body{padding:1.2rem}
.svc-card-ic{display:inline-flex;width:44px;height:44px;background:var(--brand-050);border-radius:12px;align-items:center;
  justify-content:center;color:var(--brand-700);margin-bottom:.6rem}
.svc-card-body h3{color:var(--ink);font-size:1.1rem}
.svc-card-body p{font-size:.92rem;margin:0 0 .6rem}
.card-link{font-family:var(--f-h);font-weight:800;color:var(--brand-700);font-size:.9rem}

/* events */
.ev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
@media(max-width:900px){.ev-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.ev-grid{grid-template-columns:1fr}}
.ev-card{background:#fff;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);display:block}
.ev-card-media{position:relative;aspect-ratio:16/10}
.ev-card-media img{width:100%;height:100%;object-fit:cover}
.ev-card-date{position:absolute;left:10px;bottom:10px;background:#fff;padding:.3rem .7rem;border-radius:999px;
  font-weight:700;font-size:.78rem;color:var(--brand-700)}
.ev-card-body{padding:1rem 1.1rem}
.ev-card-body h3{margin:0 0 .3rem;font-size:1.02rem;color:var(--ink)}
.ev-card-body p{color:var(--muted);font-size:.88rem;margin:0}

/* modules */
.mod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.9rem}
@media(max-width:900px){.mod-grid{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:600px){.mod-grid{grid-template-columns:1fr 1fr}}
.mod-chip{display:flex;align-items:center;gap:.6rem;min-width:0;background:#fff;border:2px solid var(--brand-050);
  border-radius:14px;padding:.85rem;cursor:pointer;font:inherit;text-align:left;font-family:var(--f-h);font-weight:700}
.mod-chip>span:last-child{min-width:0;overflow-wrap:break-word}
.mod-chip:hover{border-color:var(--brand);background:var(--brand-050)}
.mod-chip-ic{width:36px;height:36px;background:var(--brand-050);border-radius:10px;display:grid;place-items:center;color:var(--brand-700);flex:0 0 auto}

/* cta band */
.cta-band{background:linear-gradient(120deg,var(--accent-600),var(--accent));color:#fff;padding:2.6rem 0;transition:.25s}
.cta-band-in{display:flex;justify-content:space-between;align-items:center;gap:1.6rem;flex-wrap:wrap}
.cta-band-in h2{color:#fff;margin:0 0 .3rem}.cta-band-in p{color:#fff;opacity:.92;margin:0}
.cta-actions{display:flex;gap:.7rem;flex-wrap:wrap}

/* prose / inner pages */
.ph{padding:2.2rem 0;background:var(--brand-050);transition:.25s}
.ph-kicker{color:var(--brand-700);font-weight:800;font-family:var(--f-h);font-size:.88rem}
.prose{max-width:760px;margin:0 auto;font-size:1.04rem}
.prose h2,.prose h3{color:var(--brand-700)}
.prose-list{margin:0 0 1.1rem;padding-left:1.3rem}
.prose-list li{margin-bottom:.4rem}
.legal-prose h2{margin-top:1.6rem}
.legal-related{border-top:1px solid var(--brand-100);padding-top:1rem;margin-top:2rem;font-size:.9rem}
.team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.4rem;max-width:640px;margin:0 auto}
.team-card{text-align:center;background:#fff;border-radius:var(--radius-lg);padding:1.4rem;box-shadow:var(--shadow)}
.team-card img{width:100px;height:100px;border-radius:50%;object-fit:cover;margin:0 auto 1rem;border:5px solid var(--brand-050)}
.faq-list details{background:#fff;border-radius:14px;padding:1rem 1.2rem;margin-bottom:.7rem;box-shadow:var(--shadow)}
.faq-list summary{font-family:var(--f-h);font-weight:700;cursor:pointer}

.svc-ph-in{display:grid;grid-template-columns:1.1fr .9fr;gap:2rem;align-items:center;max-width:1180px;margin:0 auto;padding:0 1.4rem}
@media(max-width:820px){.svc-ph-in{grid-template-columns:1fr}}
.svc-ph-media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius-lg);box-shadow:var(--shadow-lg)}

/* branch hero: full-bleed cover photo with gradient + title overlaid */
.branch-hero{position:relative;min-height:clamp(280px,38vw,420px);display:flex;align-items:flex-end;overflow:hidden}
.branch-hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.branch-hero-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(16,24,34,.15) 0,rgba(16,24,34,.78) 100%)}
.branch-hero-in{position:relative;z-index:2;color:#fff;padding-block:1.6rem 2rem}
.branch-hero-in h1{color:#fff;margin:.3rem 0 .3rem}
.branch-hero-in p{color:#f0f4f8;margin:0}
.branch-crumbs{font-size:.85rem;color:#dbe6ef;margin-bottom:.6rem}
.branch-crumbs a{color:#dbe6ef}.branch-crumbs a:hover{color:#fff}.branch-crumbs span{color:#fff;font-weight:700}
.branch-hero-badge{display:inline-block;background:#0b7fb8;color:#fff;font-family:var(--f-h);font-weight:700;font-size:.82rem;padding:.35rem .8rem;border-radius:999px;margin-bottom:.4rem}
.branch-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:.9rem;margin:-1.6rem auto 0;position:relative;z-index:3}
@media(max-width:760px){.branch-actions{grid-template-columns:1fr 1fr;margin-top:1rem}}
.action-card{background:#fff;border-radius:14px;padding:1rem;text-align:center;box-shadow:var(--shadow);display:flex;
  flex-direction:column;align-items:center;gap:.3rem;color:var(--ink)}
.action-card:hover{transform:translateY(-3px)}
.action-card .icon{color:var(--brand-700)}
.action-card strong{font-family:var(--f-h)}
.action-card small{color:var(--muted);font-size:.78rem}
.br-map-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
@media(max-width:800px){.br-map-grid{grid-template-columns:1fr}}
.br-map-frame{width:100%;height:260px;border:0;border-radius:14px;margin-top:.6rem}
.link-list{list-style:none;padding:0}
.link-list li{margin-bottom:.5rem}

.contact-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:2rem}
@media(max-width:800px){.contact-grid{grid-template-columns:1fr}}
.branch-table{width:100%;border-collapse:collapse;background:#fff;border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}
.branch-table th,.branch-table td{padding:.8rem 1rem;text-align:left;border-bottom:1px solid var(--brand-050)}
.branch-table thead{background:var(--brand-050)}
@media(max-width:560px){.branch-table th,.branch-table td{padding:.6rem .55rem;font-size:.85rem}}
.contact-map-full iframe{width:100%;height:360px;border:0;display:block}
.event-img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius-lg);margin-bottom:1.2rem}

/* footer */
.site-footer{background:var(--footer,#2c2116);color:#e8dbc9;padding:3rem 0 0;transition:.25s}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:2rem;max-width:1180px;margin:0 auto;padding:0 1.4rem 2rem}
@media(max-width:820px){.foot-grid{grid-template-columns:1fr 1fr}}
.foot-brand-txt{color:#fff}
.foot-brand p{color:#c3b299;font-size:.9rem}
.foot-social{display:flex;gap:.6rem}
.foot-social a{width:38px;height:38px;background:rgba(255,255,255,.1);border-radius:10px;display:grid;place-items:center;color:#fff}
.site-footer h3{color:#fff;font-size:1rem}
.site-footer ul{list-style:none;padding:0}
.site-footer a{color:#d6c4a9}
.foot-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem;border-top:1px solid rgba(255,255,255,.1);
  text-align:center;padding:1rem 0;font-size:.82rem;color:#a8987e}
.foot-legal-links a{margin-left:.8rem}

.wa-fab{position:fixed;right:16px;bottom:16px;width:56px;height:56px;border-radius:50%;background:var(--wa);
  display:grid;place-items:center;box-shadow:0 10px 26px rgba(34,197,94,.4);color:#fff}
.wa-fab .ic{width:28px;height:28px}

/* modal */
.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:1rem}
.modal[hidden]{display:none}
.modal-bg{position:absolute;inset:0;background:rgba(58,44,30,.5)}
.modal-box{position:relative;background:#fff;border-radius:var(--radius-lg);max-width:420px;width:100%;padding:1.8rem;text-align:center;box-shadow:var(--shadow-lg)}
.modal-x{position:absolute;top:.8rem;right:.8rem;width:34px;height:34px;border-radius:10px;border:0;background:var(--brand-050);cursor:pointer}
.modal-ic{display:block;margin-bottom:.5rem}
.modal-ic svg{width:40px;height:40px;color:var(--brand-700)}

@media(max-width:760px){body{font-size:16.5px}.btn{padding:.9rem 1.3rem}}

:root{
  --brand:#1f9be4;--brand-600:#0f86cf;--brand-700:#0c6da8;--brand-050:#eaf6ff;--brand-100:#d3edff;
  --accent:#ff8c54;--accent-600:#f4742f;--cream:#fffaf1;--cream-2:#fff2e0;
}
:root[data-theme="toprak"]{
  --brand:#c1622b;--brand-600:#a94f1f;--brand-700:#8a3f18;--brand-050:#fdf1e8;--brand-100:#f8ddc4;
  --accent:#7a9b6e;--accent-600:#5f7f54;--cream:#fdf8f1;--cream-2:#f7ead9;
}
:root[data-theme="adacayi"]{
  --brand:#3f7a5c;--brand-600:#2f6249;--brand-700:#254e3b;--brand-050:#eef7f1;--brand-100:#d3ead9;
  --accent:#e0a336;--accent-600:#c88a20;--cream:#f7faf6;--cream-2:#eaf3ea;
}
:root[data-theme="lacivert"]{
  --brand:#28527a;--brand-600:#1e3f60;--brand-700:#173049;--brand-050:#eef3f8;--brand-100:#d7e3ee;
  --accent:#e0a33d;--accent-600:#c8871f;--cream:#f7f9fb;--cream-2:#eaeff5;
}
:root[data-theme="mercan"]{
  --brand:#d9614c;--brand-600:#c14a36;--brand-700:#9e3a28;--brand-050:#fdf0ed;--brand-100:#f8d9d1;
  --accent:#2a9d8f;--accent-600:#20867a;--cream:#fdf6f4;--cream-2:#f9e9e4;
}
/* branch photo gallery + lightbox */
.br-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem}
.br-gal-item{padding:0;border:0;background:none;cursor:zoom-in;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}
.br-gal-item img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;transition:transform .25s}
.br-gal-item:hover img{transform:scale(1.05)}
.lightbox{position:fixed;inset:0;z-index:120;background:rgba(20,14,8,.9);display:grid;place-items:center;padding:1.5rem}
.lightbox[hidden]{display:none}
.lightbox img{max-width:min(1100px,95vw);max-height:88vh;border-radius:var(--radius);display:block}
.lightbox-x{position:absolute;top:1rem;right:1.2rem;width:44px;height:44px;border-radius:50%;border:0;
  background:rgba(255,255,255,.15);color:#fff;font-size:1.2rem;cursor:pointer}
.lightbox-x:hover{background:rgba(255,255,255,.3)}
@media(max-width:600px){.br-gallery{grid-template-columns:1fr 1fr;gap:.7rem}}

/* admin-created content blocks */
.cblock-brand{background:linear-gradient(120deg,var(--brand-700),var(--brand));color:#fff;padding:3.4rem 0;transition:.25s}
.cblock-brand h2,.cblock-brand .cblock-lead,.cblock-brand .cblock-body,.cblock-brand .cblock-body p{color:#fff}
.cblock-brand .cblock-body a{color:#fff;text-decoration:underline}
.cblock-in{display:grid;grid-template-columns:1fr 1fr;gap:2.6rem;align-items:center}
.cblock-in.text-only{grid-template-columns:1fr;max-width:760px;margin:0 auto;text-align:center}
.cblock-in.image-left .cblock-copy{order:2}
.cblock-in.image-left .cblock-media{order:1}
.cblock-media img{width:100%;border-radius:var(--radius-lg);box-shadow:var(--shadow);display:block}
.cblock-lead{font-size:1.05rem}
.cblock .hl{color:var(--brand-700)}
.cblock-brand .hl{color:var(--accent)}

.cblock-body{margin-bottom:1.2rem}
.cblock-body :last-child{margin-bottom:0}
@media(max-width:820px){.cblock-in{grid-template-columns:1fr}.cblock-in.image-left .cblock-copy{order:1}.cblock-in.image-left .cblock-media{order:2}}

/* admin preview mode */
.pv-bar{position:fixed;left:0;right:0;bottom:0;z-index:150;background:#1f2937;color:#fff;
  display:flex;align-items:center;justify-content:center;gap:1.2rem;flex-wrap:wrap;padding:.7rem 1rem;font-size:.88rem}
.pv-bar span{display:flex;align-items:center;gap:.45rem}
.pv-bar form{margin:0}
.pv-bar button{background:#fff;color:#1f2937;border:0;border-radius:999px;padding:.4rem 1rem;font-weight:700;cursor:pointer;font:inherit;font-weight:700}
body:has(.pv-bar){padding-bottom:64px}
.pv-wrap{position:relative;outline:3px dashed #f59e0b;outline-offset:-3px}
.pv-tag{position:absolute;top:8px;left:8px;z-index:5;background:#f59e0b;color:#1f2937;font-weight:800;
  font-size:.75rem;padding:.25rem .7rem;border-radius:999px;font-family:var(--f-h)}
.pv-tag-inline{background:#f59e0b;color:#1f2937}

/* skip link (accessibility) */
.skip-link{position:absolute;left:-9999px;top:0;z-index:400;background:var(--brand-700);color:#fff;
  padding:.7rem 1.2rem;border-radius:0 0 12px 0;font-weight:700}
.skip-link:focus{left:0}

/* footer tap targets on mobile */
@media(max-width:760px){
  .site-footer ul a{display:inline-block;padding:.28rem 0}
  .foot-legal-links a{display:inline-block;padding:.4rem .5rem}
}

