/* ==========================================================
   BGC Döviz — Ortak stil dosyası
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --blue: #1a8fd6;
  --blue-2: #0f6fb0;
  --gold: #f2b01e;
  --gold-2: #d99a0b;
  --ink: #1b2536;
  --muted: #6b7789;
  --line: #e6ebf2;
  --bg: #f5f8fc;
  --white: #ffffff;
  --up: #16a34a;
  --down: #dc2626;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ---------- Üst bilgi çubuğu ---------- */
.topbar {
  background: var(--navy);
  color: #cfe0f5;
  font-size: 13.5px;
}
.topbar .container {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  align-items: center; justify-content: space-between;
  padding-block: 9px;
}
.topbar .group { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 15px; height: 15px; fill: var(--gold); flex: none; }
.topbar .badge {
  background: rgba(242, 176, 30, .15); color: var(--gold);
  border: 1px solid rgba(242, 176, 30, .35);
  padding: 2px 10px; border-radius: 99px; font-weight: 600; font-size: 12px;
}

/* ---------- Header / Menü ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-block: 14px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 54px; height: 54px; flex: none; }
.logo-text small {
  display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .3px;
  color: var(--blue); text-transform: uppercase; line-height: 1.2;
}
.logo-text small b { color: #d33; font-weight: 700; }
.logo-text strong {
  display: block; font-size: 27px; font-weight: 800; letter-spacing: -.5px; line-height: 1.05;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-2) 55%, var(--navy) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 16px; border-radius: 12px; font-weight: 500; font-size: 15px;
  color: var(--ink); transition: background .2s, color .2s;
}
.nav a:hover { background: #eef5fc; color: var(--blue-2); }
.nav a.active { background: var(--navy); color: #fff; }
.nav .cta {
  margin-left: 8px; background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--navy); font-weight: 700;
  box-shadow: 0 6px 16px rgba(242, 176, 30, .35);
}
.nav .cta:hover { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy); }

.menu-btn {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: #eef5fc; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 22px; height: 3px; border-radius: 3px; background: var(--blue-2);
  position: relative; transition: transform .25s, background .25s;
}
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Kur kayan bandı ---------- */
.ticker {
  background: linear-gradient(90deg, var(--navy-2), var(--navy));
  color: #fff; overflow: hidden; border-bottom: 3px solid var(--gold);
}
.ticker-track {
  display: flex; gap: 40px; width: max-content; padding-block: 10px;
  animation: ticker 40s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; white-space: nowrap; }
.ticker-item b { color: var(--gold); font-weight: 600; }
.ticker-item .chg.up { color: #4ade80; }
.ticker-item .chg.down { color: #f87171; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% 20%, rgba(26, 143, 214, .18), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(242, 176, 30, .15), transparent 60%),
    linear-gradient(180deg, #eaf4fd 0%, #f5f8fc 100%);
}
.hero .container {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding-block: 80px 90px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 6px 14px 6px 8px; border-radius: 99px; font-size: 13px; font-weight: 500; color: var(--navy);
}
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.hero h1 {
  font-size: clamp(36px, 5.4vw, 64px); line-height: 1.08; letter-spacing: -1.5px;
  margin: 22px 0 18px; color: var(--navy); font-weight: 800;
}
.hero h1 .hl { color: var(--blue); }
.hero h1 .gold {
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 30px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px; font-weight: 600; font-size: 15px;
  border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(11, 31, 58, .25); }
.btn-primary:hover { background: var(--navy-2); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); box-shadow: 0 10px 24px rgba(242, 176, 30, .35); }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.hero-stats div strong { display: block; font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.hero-stats div span { font-size: 13px; color: var(--muted); }

/* Hero kart: canlı kur paneli */
.rate-card {
  background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 26px; position: relative; border: 1px solid var(--line);
}
.rate-card::before {
  content: ''; position: absolute; inset: -14px -14px auto auto; width: 120px; height: 120px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%); opacity: .35; z-index: -1; border-radius: 50%;
}
.rate-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.rate-card-head h3 { margin: 0; font-size: 18px; color: var(--navy); }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--up); }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--up); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); } 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }

.mini-rates { width: 100%; border-collapse: collapse; font-size: 15px; }
.mini-rates th { text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); padding: 6px 4px; text-transform: uppercase; letter-spacing: .5px; }
.mini-rates th:not(:first-child), .mini-rates td:not(:first-child) { text-align: right; }
.mini-rates td { padding: 11px 4px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; font-weight: 600; }
.cur { display: flex; align-items: center; gap: 10px; }
.flag {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: 18px; background: #f0f5fb; flex: none;
}
.cur small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; line-height: 1.2; }
.cur b { line-height: 1.2; }
.chg { font-size: 12.5px; font-weight: 600; }
.chg.up { color: var(--up); }
.chg.down { color: var(--down); }
.rate-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- Bölümler ---------- */
section.block { padding-block: 90px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; margin: 0 0 14px; color: var(--navy); letter-spacing: -.8px; }
.section-head h2 span { color: var(--blue); }
.section-head p { margin: 0; color: var(--muted); font-size: 16.5px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.icon-box {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, #e7f3fc, #d4ebfa);
}
.icon-box svg { width: 28px; height: 28px; fill: var(--blue-2); }
.icon-box.gold { background: linear-gradient(135deg, #fff5da, #ffe8a8); }
.icon-box.gold svg { fill: var(--gold-2); }
.card h3 { margin: 0 0 8px; font-size: 19px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Şube kartları ---------- */
.branch {
  position: relative; overflow: hidden; padding: 0;
}
.branch-top {
  padding: 28px 30px; color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue-2) 100%);
  position: relative;
}
.branch-top::after {
  content: '$'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 110px; font-weight: 800; color: rgba(255, 255, 255, .07); line-height: 1;
}
.branch-top .tag {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 99px; margin-bottom: 10px;
  letter-spacing: .5px; text-transform: uppercase;
}
.branch-top h3 { margin: 0; font-size: 22px; color: #fff; }
.branch-top p { margin: 4px 0 0; color: #bcd3ee; font-size: 14.5px; }
.branch-body { padding: 26px 30px 30px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding-block: 10px; }
.info-row + .info-row { border-top: 1px dashed var(--line); }
.info-row svg { width: 20px; height: 20px; fill: var(--blue); flex: none; margin-top: 3px; }
.info-row div { font-size: 15px; }
.info-row div small { display: block; color: var(--muted); font-size: 12.5px; }
.branch-body .btns { margin-top: 18px; }
.branch-body .btn { padding: 11px 18px; font-size: 14px; }
.map {
  width: 100%; height: 260px; border: 0; display: block; border-top: 1px solid var(--line);
}

/* ---------- Kur tablosu (tam) ---------- */
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.rates { width: 100%; border-collapse: collapse; min-width: 620px; }
.rates thead th {
  background: var(--navy); color: #fff; text-align: right; font-weight: 500; font-size: 13.5px;
  padding: 16px 22px; text-transform: uppercase; letter-spacing: .6px;
}
.rates thead th:first-child { text-align: left; }
.rates td { padding: 16px 22px; border-top: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 15.5px; }
.rates td:first-child { text-align: left; }
.rates tbody tr { transition: background .15s; }
.rates tbody tr:hover { background: #f5faff; }
.rates .group-row td {
  background: #fbf6e8; color: var(--gold-2); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; text-align: left;
}
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.tab {
  border: 1px solid var(--line); background: #fff; padding: 10px 20px; border-radius: 99px;
  font-family: inherit; font-weight: 600; font-size: 14px; color: var(--navy); cursor: pointer; transition: all .2s;
}
.tab.active, .tab:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.updated { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 16px; }

/* ---------- Çevirici ---------- */
.converter {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: 28px; padding: 44px; color: #fff; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center;
}
.converter::after {
  content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  right: -120px; bottom: -160px; background: radial-gradient(circle, rgba(242, 176, 30, .35), transparent 70%);
}
.converter h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 10px; line-height: 1.15; }
.converter h2 span { color: var(--gold); }
.converter p { color: #bcd3ee; margin: 0; }
.conv-form { position: relative; z-index: 1; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 24px; }
.conv-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; }
.field label { display: block; font-size: 12.5px; color: #bcd3ee; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .95); color: var(--ink); font-family: inherit; font-size: 15px; font-weight: 600;
}
.swap {
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--navy); display: grid; place-items: center; transition: transform .3s;
}
.swap:hover { transform: rotate(180deg); }
.swap svg { width: 20px; height: 20px; fill: currentColor; }
.conv-result {
  margin-top: 18px; padding: 18px; border-radius: 14px; background: rgba(0, 0, 0, .2);
  font-size: 15px; color: #bcd3ee;
}
.conv-result strong { display: block; font-size: 30px; color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- Slogan bandı ---------- */
.slogan {
  background:
    linear-gradient(120deg, rgba(11, 31, 58, .92), rgba(15, 111, 176, .85)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 12px, transparent 12px 24px);
  color: #fff; text-align: center; padding-block: 80px;
}
.slogan h2 { font-size: clamp(30px, 4.4vw, 52px); margin: 0 0 12px; letter-spacing: -1px; line-height: 1.1; }
.slogan h2 span { color: var(--gold); }
.slogan p { color: #cfe0f5; margin: 0 auto 28px; max-width: 620px; font-size: 17px; }
.slogan .btns { justify-content: center; }

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(242, 176, 30, .25), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 70%, var(--blue-2) 100%);
  color: #fff; padding-block: 70px 76px; text-align: center;
}
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); margin: 0 0 8px; letter-spacing: -1px; }
.page-hero p { margin: 0 auto; color: #cfe0f5; max-width: 620px; font-size: 17px; }
.crumbs { font-size: 13.5px; color: #9fbde0; margin-bottom: 14px; }
.crumbs a:hover { color: var(--gold); }

/* ---------- Hakkımızda ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual {
  aspect-ratio: 1 / 1; max-width: 100%; border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #e7f3fc, #fff5da);
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.about-visual svg.big { width: 62%; height: auto; filter: drop-shadow(0 20px 40px rgba(217, 154, 11, .35)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-3deg); } }
.about-visual .chip {
  position: absolute; background: #fff; border-radius: 14px; padding: 10px 16px; box-shadow: var(--shadow);
  font-size: 13.5px; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: 8px;
}
.about-visual .chip i { font-style: normal; font-size: 18px; }
.about-visual .c1 { top: 10%; left: 7%; }
.about-visual .c2 { bottom: 12%; right: 7%; }
.about h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 6px 0 16px; line-height: 1.15; color: var(--navy); letter-spacing: -.8px; }
.about h2 span { color: var(--blue); }
.about p { color: var(--muted); font-size: 16px; }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks li::before {
  content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 13px;
}

.steps { counter-reset: s; }
.step { position: relative; padding-top: 54px; }
.step::before {
  counter-increment: s; content: '0' counter(s);
  position: absolute; top: 22px; left: 30px; font-size: 44px; font-weight: 800; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold);
}

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 22px; }
.contact-item .icon-box { margin: 0; flex: none; }
.contact-item h4 { margin: 0; font-size: 13px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .6px; }
.contact-item a, .contact-item p { margin: 2px 0 0; font-size: 17px; font-weight: 600; color: var(--navy); display: block; }
.contact-item a:hover { color: var(--blue); }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 15px; background: #fafcff; transition: border .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 143, 214, .12); background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form-msg { display: none; padding: 14px 16px; border-radius: 12px; background: #e9f9ef; color: #166534; font-weight: 500; }
.form-msg.show { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #a9bfdc; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 36px; padding-bottom: 50px; }
.footer .logo-text strong { background: linear-gradient(90deg, #5cc0ff, #fff); -webkit-background-clip: text; background-clip: text; }
.footer .logo-text small { color: #7fc6f5; }
.footer p { font-size: 14.5px; margin: 16px 0 0; }
.footer h4 { color: #fff; font-size: 16px; margin: 0 0 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; }
.footer ul a:hover { color: var(--gold); }
.footer .f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer .f-contact svg { width: 16px; height: 16px; fill: var(--gold); flex: none; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 20px; font-size: 13px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
}

/* ---------- WhatsApp yüzen buton ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Görünür olunca animasyon ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; left: 16px; right: 16px; top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .25s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav .cta { margin: 6px 0 0; text-align: center; }
  .hero .container, .about, .contact-grid, .converter { grid-template-columns: 1fr; }
  .hero .container { padding-block: 56px 64px; gap: 36px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  section.block { padding-block: 64px; }
  .converter { padding: 28px; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-mark { width: 44px; height: 44px; }
  .logo-text strong { font-size: 22px; }
  .logo-text small { font-size: 8px; }
  .topbar .container { justify-content: center; }
  .topbar .badge { display: none; }
  .conv-row { grid-template-columns: 1fr; }
  .swap { justify-self: center; transform: rotate(90deg); }
  .swap:hover { transform: rotate(270deg); }
  .form .row { grid-template-columns: 1fr; }
  .rates { min-width: 0; }
  .rates thead th, .rates td { padding: 13px 12px; font-size: 14px; }
  .rates .flag { display: none; }
  .card { padding: 24px; }
  .branch-top, .branch-body { padding-inline: 22px; }
}
