/* ==========================================================================
   Quick Sigorta Inspired Modern Insurtech + Sigortam.net 9-Branch Hero Grid
   100% Dynamic Theme Variables Managed From Admin Panel
   ========================================================================== */
:root {
  --primary: #1B256B;
  --secondary: #0057FF;
  --accent: #00C896;
  --highlight: #FF3B6B;
  --bg: #F6F8FC;
  --surface: #FFFFFF;
  --text: #111827;
  --muted: #5B6478;
  --border: #E5EAF3;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(27, 37, 107, 0.06);
  --shadow-md: 0 14px 36px rgba(27, 37, 107, 0.1);
  --shadow-lg: 0 24px 56px rgba(27, 37, 107, 0.16);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1220px; margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section-white { background: #FFFFFF; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: rgba(0, 87, 255, 0.08); color: var(--secondary); font-weight: 700; font-size: 0.8rem; margin-bottom: 14px;
}
.section-title { font-size: clamp(1.85rem, 3.2vw, 2.55rem); font-weight: 800; color: var(--primary); letter-spacing: -0.03em; line-height: 1.18; margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 1.02rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 0.92rem; transition: all 0.25s ease;
}
.btn-primary { background: var(--secondary); color: #fff; box-shadow: 0 10px 24px rgba(0, 87, 255, 0.28); }
.btn-primary:hover { background: var(--primary); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #0B1B3B; box-shadow: 0 10px 24px rgba(0, 200, 150, 0.3); }
.btn-accent:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn-highlight { background: var(--highlight); color: #fff; box-shadow: 0 10px 24px rgba(255, 59, 107, 0.3); }
.btn-highlight:hover { transform: translateY(-2px); }
.btn-outline { border: 1.5px solid var(--border); background: #fff; color: var(--primary); }
.btn-outline:hover { border-color: var(--secondary); color: var(--secondary); }
.btn-sm { padding: 9px 18px; font-size: 0.84rem; }

/* Announcement Bar */
.top-announce {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 60%, var(--highlight) 100%);
  color: #fff; text-align: center; padding: 9px 16px; font-size: 0.84rem; font-weight: 600;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 18px; }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--primary); }
.brand-logo img { height: 38px; width: auto; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 0.9rem; color: var(--primary); }
.nav-menu a:hover { color: var(--secondary); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.mobile-menu-btn { display: none; padding: 8px; border-radius: 10px; background: var(--bg); color: var(--primary); font-weight: 800; }

/* HERO — SIGORTAM.NET STYLE 9-BRANCH PRODUCT SELECTOR + QUICK SIGORTA VIBRANT AESTHETIC */
.hero-section {
  position: relative; padding: 56px 0 76px; overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 87, 255, 0.12), transparent 40%),
    radial-gradient(circle at 92% 18%, rgba(0, 200, 150, 0.14), transparent 38%),
    radial-gradient(circle at 50% 100%, rgba(255, 59, 107, 0.08), transparent 45%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
}
.hero-intro { text-align: center; max-width: 820px; margin: 0 auto 38px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: #EEF4FF; color: var(--secondary); font-weight: 700; font-size: 0.82rem; margin-bottom: 16px;
  border: 1px solid rgba(0, 87, 255, 0.15);
}
.hero-badge span.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hero-title {
  font-size: clamp(2.1rem, 4.1vw, 3.25rem); font-weight: 800; color: var(--primary);
  letter-spacing: -0.035em; line-height: 1.12; margin-bottom: 14px;
}
.hero-sub { font-size: 1.08rem; color: var(--muted); max-width: 640px; margin: 0 auto; }

/* Sigortam.net Style Product Selector Box */
.product-selector-card {
  background: #FFFFFF; border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.branch-selector-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.branch-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 22px 16px 18px; border-radius: 20px; background: #F9FBFF;
  border: 1.5px solid #E6ECF7; transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.branch-tile:hover {
  background: #FFFFFF; border-color: var(--secondary); transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 87, 255, 0.12);
}
.branch-tile-badge {
  position: absolute; top: 10px; right: 10px; padding: 3px 9px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 800; background: #FFF1F5; color: var(--highlight);
}
.branch-tile-badge.green { background: #ECFDF5; color: #059669; }
.branch-tile-badge.blue { background: #EEF4FF; color: var(--secondary); }
.branch-tile-icon {
  width: 62px; height: 62px; margin-bottom: 12px; transition: transform 0.25s ease;
}
.branch-tile:hover .branch-tile-icon { transform: scale(1.08); }
.branch-tile-title { font-size: 1rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.branch-tile-sub { font-size: 0.78rem; color: var(--muted); margin-bottom: 14px; line-height: 1.4; }
.branch-tile-actions { display: flex; gap: 8px; width: 100%; justify-content: center; margin-top: auto; }
.tile-btn-main {
  padding: 7px 14px; border-radius: 999px; background: var(--secondary); color: #fff;
  font-size: 0.76rem; font-weight: 700; transition: 0.2s;
}
.tile-btn-main:hover { background: var(--primary); }
.tile-btn-link {
  padding: 7px 12px; border-radius: 999px; background: #EEF4FF; color: var(--primary);
  font-size: 0.76rem; font-weight: 700; transition: 0.2s;
}
.tile-btn-link:hover { background: #DCE8FF; }

.hero-trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
  margin-top: 26px; font-size: 0.86rem; font-weight: 700; color: var(--primary);
}
.hero-trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust-row i { color: var(--accent); font-style: normal; font-weight: 900; }

/* Stats Strip */
.stats-strip { background: var(--primary); color: #fff; padding: 36px 0; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-box strong { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat-box span { font-size: 0.88rem; color: #CBD5E1; font-weight: 600; }

/* Campaigns (Quick Sigorta Vibrant Cards) */
.campaigns-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.campaign-card {
  background: #FFFFFF; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: 0.25s;
}
.campaign-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.campaign-img { width: 100%; height: 185px; object-fit: cover; }
.campaign-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.campaign-tag { font-size: 0.74rem; font-weight: 800; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.campaign-body h3 { font-size: 1.15rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; line-height: 1.3; }
.campaign-body p { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }

/* Steps (How it works) */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  background: #FFFFFF; border-radius: var(--radius-lg); padding: 30px 26px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); position: relative;
}
.step-num {
  width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff; font-weight: 800; font-size: 1.1rem; display: grid; place-items: center; margin-bottom: 18px;
}
.step-card h3 { font-size: 1.12rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.step-card p { font-size: 0.92rem; color: var(--muted); }

/* Insurers Marquee */
.insurers-wrap { overflow: hidden; padding: 14px 0; }
.insurers-track { display: flex; gap: 18px; width: max-content; animation: marquee 28s linear infinite; }
.insurer-chip {
  padding: 12px 24px; border-radius: 14px; background: #F8FAFF; border: 1.5px solid var(--border);
  font-weight: 800; color: var(--primary); font-size: 0.92rem; white-space: nowrap;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Damage Support */
.damage-box {
  background: linear-gradient(135deg, var(--primary) 0%, #101A4D 100%);
  border-radius: 30px; padding: 48px; color: #fff;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.damage-steps { display: grid; gap: 14px; margin: 24px 0 28px; }
.damage-step {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px;
  border-radius: 16px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12);
}
.damage-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #0B1B3B; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; font-size: 0.82rem; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.testi-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.testi-stars { color: #F59E0B; letter-spacing: 2px; margin-bottom: 10px; font-size: 1rem; }
.testi-text { font-size: 0.96rem; color: var(--text); margin-bottom: 18px; }
.testi-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.84rem; }
.testi-badge { padding: 4px 11px; border-radius: 999px; background: #EEF4FF; color: var(--secondary); font-weight: 700; font-size: 0.75rem; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: 0.25s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-img { width: 100%; height: 175px; object-fit: cover; }
.blog-body { padding: 22px; }
.blog-meta { font-size: 0.76rem; font-weight: 700; color: var(--secondary); margin-bottom: 8px; }
.blog-body h3 { font-size: 1.06rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; line-height: 1.35; }
.blog-body p { font-size: 0.88rem; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; }
.faq-btn {
  width: 100%; padding: 19px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  text-align: left; font-weight: 700; font-size: 0.98rem; color: var(--primary);
}
.faq-ans { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-ans-in { padding: 0 22px 18px; color: var(--muted); font-size: 0.92rem; }
.faq-item.open { border-color: var(--secondary); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-arrow { transition: transform 0.25s ease; color: var(--secondary); }

/* Footer */
.site-footer { background: var(--primary); color: #CBD5E1; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-col h4 { color: #fff; font-size: 0.98rem; font-weight: 800; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.88rem; color: #CBD5E1; margin-bottom: 9px; transition: 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 0.82rem; color: #94A3B8; }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,0.1);
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 0.8rem;
}
.social-links a:hover { background: var(--accent); color: #0B1B3B; }

/* Branch Detail Page */
.branch-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #102060 100%);
  color: #fff; padding: 64px 0;
}
.branch-detail-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 42px; align-items: start; }
.quote-panel {
  background: #fff; color: var(--text); border-radius: 24px; padding: 30px; box-shadow: var(--shadow-lg);
}
.quote-panel label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.quote-panel input, .quote-panel select, .quote-panel textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border);
  background: #F8FAFC; font-family: inherit; font-size: 0.92rem; margin-bottom: 14px;
}
.quote-panel input:focus { outline: none; border-color: var(--secondary); background: #fff; }
.coverage-list { display: grid; gap: 12px; margin-top: 22px; }
.coverage-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); font-size: 0.94rem;
}

/* Modal & Floating WA */
.modal-bg { position: fixed; inset: 0; z-index: 200; background: rgba(15, 23, 66, 0.65); backdrop-filter: blur(6px); display: none; place-items: center; padding: 20px; }
.modal-bg.open { display: grid; }
.modal-box { width: 100%; max-width: 500px; background: #fff; border-radius: 24px; padding: 30px; position: relative; box-shadow: var(--shadow-lg); }
.modal-x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); font-weight: 800; color: var(--primary); }
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; border-radius: 999px;
  background: #16A34A; color: #fff; font-weight: 700; font-size: 0.88rem; box-shadow: 0 12px 28px rgba(22,163,74,0.4);
}

@media (max-width: 980px) {
  .branch-selector-grid { grid-template-columns: repeat(2, 1fr); }
  .campaigns-grid, .steps-grid, .blog-grid, .damage-box, .branch-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu { display: none; }
  .mobile-menu-btn { display: inline-flex; }
}
@media (max-width: 600px) {
  .branch-selector-grid, .stats-row, .testi-grid, .footer-grid { grid-template-columns: 1fr; }
  .damage-box { padding: 28px 20px; }
  .wa-fab span { display: none; }
}
