/* ==========================================================================
   ÖZTÜRK PENCERE — Design System
   Minimal & Temiz | #2e3093 + #ed1c24
   ========================================================================== */

:root {
  --primary: #2e3093;
  --primary-dark: #1e2070;
  --accent: #ed1c24;
  --accent-dark: #c91820;
  --ink: #16181d;
  --ink-soft: #33363d;
  --muted: #6f727a;
  --line: #e7e6e2;
  --line-soft: #efefec;
  --paper: #f6f6f4;
  --white: #ffffff;
  --dark: #12141a;
  --dark-2: #1a1d24;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --shadow: 0 1px 3px rgba(18,20,26,.06);
  --shadow-md: 0 4px 16px rgba(18,20,26,.08);
  --shadow-lg: 0 8px 32px rgba(18,20,26,.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
ul, ol { padding-left: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--ink); }

/* ---------- Layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--paper { background: var(--paper); }

/* ---------- Typography ---------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--primary); margin: 0 0 12px; }
.eyebrow--light { color: rgba(255,255,255,.6); }
.lede { font-size: 17px; color: var(--muted); margin: 12px 0 0; max-width: 540px; }
.copy { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 16px 0 0; }
em { font-style: normal; color: var(--accent); }
.num { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: .5px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; font-size: 14px; font-weight: 700; border-radius: var(--radius); border: none; cursor: pointer; transition: all .2s; text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn .ico { font-size: 16px; }

/* ---------- Section Head ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.5px; margin: 0; }
.section-head .lede { flex: 1 1 300px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; height: auto; }
.brand-logos { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; line-height: 0; }
.brand-logos img { flex-shrink: 0; display: block; }
.brand-logos .partner-logo-img { position: relative; top: 2mm; }
.header-logo img { height: 40px; width: auto; }
.header-logo-fallback { font-size: 18px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a { font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.header-nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { font-size: 14px; font-weight: 600; color: var(--ink); }
.header-cta { padding: 10px 20px; font-size: 13px; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 4px; }
.nav-item > a::after { content: ''; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .4; }
.dropdown { position: absolute; top: 100%; left: -16px; min-width: 220px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; z-index: 200; list-style: none; }
.nav-item:hover > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 8px 20px; font-size: 13px; color: var(--ink-soft); }
.dropdown a:hover { background: var(--paper); color: var(--primary); }

/* Mobile menu toggle */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: all .3s; }
.mobile-close { display: none; }

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.page-hero { position: relative; background: var(--primary); color: #fff; min-height: 560px; overflow: hidden; }
.slider-viewport { position: relative; width: 100%; height: 600px; }
.slider-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.slider-slide.is-active { opacity: 1; pointer-events: auto; }
.slider-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.slider-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 120px 24px 100px; width: 100%; text-align: center; }
.slider-inner .eyebrow { margin-bottom: 16px; }
.slider-inner h1 { color: #fff; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -1.2px; margin: 0 auto 20px; max-width: 700px; }
.slider-inner .lead { color: rgba(255,255,255,.75); font-size: 18px; line-height: 1.6; margin: 0 auto 28px; max-width: 560px; }
.slider-inner .btn { margin: 0 auto; }

.slider-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); background: transparent; cursor: pointer; padding: 0; transition: background .2s, border-color .2s; }
.slider-dot.is-active, .slider-dot:hover { background: #fff; border-color: #fff; }

.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.slider-arrow:hover { background: rgba(255,255,255,.25); }
.slider-arrow--prev { left: 20px; }
.slider-arrow--next { right: 20px; }

/* ==========================================================================
   TRUST
   ========================================================================== */
.trust { background: var(--white); border-bottom: 1px solid var(--line-soft); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 34px 32px; border-right: 1px solid var(--line-soft); }
.trust-item:last-child { border-right: none; }
.trust-item .num { display: block; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.trust-item h3 { font-size: 16px; margin: 0 0 8px; }
.trust-item p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card .visual { position: relative; background: var(--paper); padding: 40px; display: flex; align-items: center; justify-content: center; min-height: 200px; }
.product-card .visual svg { width: 120px; height: 120px; }
.product-card .visual .idx { position: absolute; top: 16px; left: 20px; font-size: 12px; font-weight: 700; color: var(--primary); opacity: .5; }
.product-card .body { padding: 24px; }
.product-card h3 { font-size: 18px; margin: 0 0 8px; }
.product-card p { font-size: 14px; color: var(--muted); margin: 0 0 16px; line-height: 1.6; }
.link-arrow { font-size: 14px; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.link-arrow:hover { color: var(--accent); }

/* ==========================================================================
   FEATURES / STATEMENT
   ========================================================================== */
.statement-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: center; }
.statement-grid > div:first-child h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.5px; margin: 0 0 20px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.feature { padding: 28px 24px; border: 1px solid rgba(255,255,255,.08); }
.feature .num { display: block; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.feature h3 { font-size: 15px; margin: 0 0 6px; }
.feature p { font-size: 13px; color: rgba(255,255,255,.55); margin: 0; line-height: 1.6; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.service-list { display: flex; flex-direction: column; }
.service-row { display: flex; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line-soft); transition: background .2s; }
.service-row:first-child { border-top: 1px solid var(--line-soft); }
.service-row:hover { background: var(--paper); }
.service-row .num { font-size: 13px; font-weight: 700; color: var(--primary); min-width: 28px; }
.service-row h3 { font-size: 16px; margin: 0; min-width: 180px; }
.service-row p { font-size: 14px; color: var(--muted); margin: 0; flex: 1; }
.service-row .arrow { font-size: 18px; color: var(--primary); opacity: .4; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--paper); border-radius: var(--radius); padding: 32px; }
.testimonial .stars { color: #f5a623; font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial blockquote { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 20px; font-style: italic; }
.testimonial cite { font-size: 14px; font-weight: 700; color: var(--ink); font-style: normal; display: block; }
.testimonial cite span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ==========================================================================
   CTA PANEL
   ========================================================================== */
.cta-panel { background: var(--primary); color: #fff; padding: 80px 0; }
.cta-panel h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.5px; margin: 0; }
.cta-panel .copy { color: rgba(255,255,255,.75); }
.cta-panel .note { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 16px; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero { background: var(--primary); color: #fff; padding: 100px 0 60px; text-align: center; }
.page-hero--home { padding: 0; background: transparent; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4vw, 48px); letter-spacing: -1px; margin: 0 0 12px; }
.page-hero .lead { color: rgba(255,255,255,.7); font-size: 17px; margin: 0 auto; max-width: 540px; }

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; opacity: .4; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form label { display: block; margin-bottom: 16px; }
.contact-form label span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; font-family: var(--sans); transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--primary); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-info { background: var(--paper); border-radius: var(--radius); padding: 32px; }
.contact-info h3 { font-size: 18px; margin: 0 0 20px; }
.contact-info-item { display: flex; gap: 12px; margin-bottom: 20px; }
.contact-info-item .icon { width: 40px; height: 40px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.contact-info-item strong { display: block; font-size: 14px; margin-bottom: 2px; }

.contact-info-item p { font-size: 14px; color: var(--muted); margin: 0; }

.contact-info-item .ci-list { flex: 1; min-width: 0; }

.contact-info-item .ci-list strong { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 8px; }

.contact-info-item .ci-list p { margin: 0 0 6px; }

.contact-info-item .ci-list p:last-child { margin-bottom: 0; }

.contact-info-item .ci-list p a { font-size: 14px; color: var(--ink-soft); }

.contact-info-item .icon--wa { background: #25D366; }

.contact-info-item .icon--wa svg { width: 22px; height: 22px; }
/* ==========================================================================
   MAP
   ========================================================================== */
.map-embed { width: 100%; height: 400px; border: 0; border-radius: var(--radius); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--dark); color: rgba(255,255,255,.65); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin: 16px 0 0; }
.footer-brand-logo { display: inline-flex; align-items: baseline; line-height: 1.1; text-decoration: none; }
.footer-brand-logo .fb-t { font-family: 'Segoe UI', Arial, sans-serif; font-weight: 800; font-size: 28px; letter-spacing: .01em; color: #fff; }
.footer-brand-logo .fb-b { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; font-size: 28px; color: #d8252b; margin-left: 9px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin: 0 0 16px; letter-spacing: .5px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.55); font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact .fci { width: 16px; height: 16px; flex-shrink: 0; display: inline-flex; color: #25D366; }
.footer-contact svg.fci { width: 15px; height: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; margin-top: 48px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; }

/* ==========================================================================
   ADMIN (minimal — keep existing)
   ========================================================================== */
.admin-wrap { min-height: 100vh; background: #f0f1f5; }
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--dark); padding: 20px 0; display: flex; flex-direction: column; }
.admin-sidebar .logo { padding: 0 20px 24px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 16px; }
.admin-sidebar .logo img { height: 32px; }
.admin-sidebar nav { flex: 1; }
.admin-sidebar nav a { display: block; padding: 10px 20px; font-size: 13px; color: rgba(255,255,255,.55); transition: all .2s; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.is-active { color: #fff; background: rgba(255,255,255,.06); }
.admin-topbar { background: var(--white); border-bottom: 1px solid var(--line-soft); padding: 0 32px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.admin-main { padding: 32px; }
.admin-page { max-width: 1100px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.page-heading h1 { font-size: 24px; margin: 0; }
.admin-eyebrow { font-size: 12px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin: 0 0 4px; }
.admin-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 20px; }
.stat-card .label { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.stat-card .value { font-size: 28px; font-weight: 700; color: var(--ink); }
.admin-button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; font-size: 13px; font-weight: 600; border-radius: var(--radius); border: none; cursor: pointer; transition: all .2s; }
.admin-button.primary { background: var(--primary); color: #fff; }
.admin-button.primary:hover { background: var(--primary-dark); color: #fff; }
.admin-button.danger { background: var(--accent); color: #fff; }
.admin-form { display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.form-grid input, .form-grid textarea, .form-grid select { padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; font-family: var(--sans); }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { outline: none; border-color: var(--primary); }
.form-grid .wide { grid-column: span 2; }
.upload-box { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.media-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.media-card img { width: 100%; height: 160px; object-fit: cover; }
.alert { background: #fef2f2; color: var(--accent); border: 1px solid #fecaca; border-radius: var(--radius); padding: 12px 16px; font-size: 14px; margin-bottom: 16px; }

/* ==========================================================================
   LOGIN
   ========================================================================== */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--paper); }
.login-box { width: 100%; max-width: 380px; background: var(--white); border: 1px solid var(--line-soft); border-radius: 8px; padding: 40px 32px; box-shadow: var(--shadow-md); }
.login-box h1 { font-size: 22px; text-align: center; margin: 0 0 24px; }
.login-box label { display: block; margin-bottom: 14px; }
.login-box label span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.login-box input { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.login-box input:focus { outline: none; border-color: var(--primary); }
.login-box .admin-button { width: 100%; justify-content: center; padding: 12px; font-size: 14px; }

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-detail-gallery { background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.product-detail-gallery img { width: 100%; }
.product-detail-info h1 { font-size: 28px; margin: 0 0 16px; }
.product-detail-info .price { font-size: 22px; font-weight: 700; color: var(--accent); margin-bottom: 20px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .menu-toggle { display: block; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .statement-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero--home { min-height: 0; }
  .slider-viewport { height: auto; }
  .slider-inner { padding: 80px 24px 72px; }
  .slider-arrow { display: none; }
  .product-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 56px; }
  .brand-logos img { max-width: 45vw; }
  .header-actions .header-phone { display: none; }
  .header-cta { padding: 8px 14px; font-size: 12px; }
  .section { padding: 56px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .slider-dots { bottom: 16px; }
}

/* Mobile nav drawer */
@media (max-width: 1024px) {
  .header-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--line-soft);
    box-shadow: var(--shadow-lg);
    z-index: 300;
    padding: 16px 24px 24px;
    gap: 0;
    max-height: calc(100dvh - 60px);
    overflow-y: auto;
  }
  .header-nav.is-open a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
  .dropdown { position: static; box-shadow: none; border: none; padding: 0 0 0 16px; opacity: 1; visibility: visible; transform: none; }
  .mobile-close { display: block; position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 28px; cursor: pointer; z-index: 400; }
}

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-hero { position: relative; background: var(--dark); color: #fff; padding: 72px 0 64px; overflow: hidden; }
.blog-hero::after { content: ''; position: absolute; right: -60px; top: -80px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.blog-hero::before { content: ''; position: absolute; right: 130px; bottom: -110px; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; }
.blog-hero .eyebrow { color: rgba(255,255,255,.55); }
.blog-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); line-height: 1.1; letter-spacing: -1px; margin: 0 0 14px; }
.blog-hero h1 em { color: rgba(255,255,255,.92); }
.blog-hero .lede { color: rgba(255,255,255,.72); font-size: 17px; max-width: 560px; margin: 0; }

.blog-body { padding: 56px 0 80px; }

.cat-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.cat-filter a { font-size: 13.5px; font-weight: 600; padding: 9px 20px; border: 1px solid var(--line); border-radius: 30px; color: var(--ink-soft); transition: all .2s; }
.cat-filter a:hover { border-color: var(--primary); color: var(--primary); }
.cat-filter a.on { background: var(--primary); color: #fff; border-color: var(--primary); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-thumb { height: 200px; overflow: hidden; position: relative; background: var(--paper); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-thumb-fallback { display: flex; align-items: center; justify-content: center; height: 100%; background: linear-gradient(135deg, var(--primary), #5a5cbb); }
.post-thumb-fallback span { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 56px; color: rgba(255,255,255,.9); }
.post-cat { position: absolute; left: 16px; top: 16px; background: rgba(255,255,255,.94); color: var(--primary); font-size: 11.5px; font-weight: 700; padding: 6px 14px; border-radius: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.post-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.post-meta span + span { margin-left: 8px; }
.post-body h3 { font-size: 19px; margin: 0 0 10px; line-height: 1.3; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--accent); }
.post-body p { font-size: 14px; color: var(--muted); margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-more { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.post-more:hover { color: var(--accent); }
.blog-empty { text-align: center; padding: 60px 0; }
.blog-empty p { color: var(--muted); font-size: 16px; margin: 0 0 20px; }

.post-hero-meta { display: flex; gap: 10px; }
.post-article { max-width: 760px; margin: 0 auto; }
.post-article p { font-size: 16px; line-height: 1.8; color: var(--ink-soft); }
.post-article img { border-radius: 12px; }
.blog-more { padding: 64px 0 80px; border-top: 1px solid var(--line-soft); }
.blog-more > h2 { font-size: 26px; margin: 0 0 28px; }

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

@media (max-width: 640px) {
  .blog-hero { padding: 52px 0 48px; }
  .blog-body { padding: 40px 0 56px; }
  .blog-grid { grid-template-columns: 1fr; }
  .cat-filter a { padding: 8px 16px; font-size: 12.5px; }
}
