/* ============================================================
   Адвокат Георги Петков — двуезичен сайт (BG / EN)
   Дизайн, изведен от vatandaslik.bg
   Палитра: navy #0b2545 · blue #1b6ca8 · gold #c8a24a
   ============================================================ */

:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --blue: #1b6ca8;
  --gold: #c8a24a;
  --gold-2: #e0be6c;
  --green: #12a150;
  --red: #d62839;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --text: #1b2430;
  --muted: #5b6b7d;
  --border: #e4e9f0;
  --shadow: 0 10px 30px rgba(11, 37, 69, .10);
  --radius: 16px;
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.sec { padding: 84px 0; }
.sec-soft { background: var(--bg-soft); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block; color: var(--blue); font-weight: 800; letter-spacing: 2px;
  font-size: 13px; text-transform: uppercase; margin-bottom: 14px;
}
h2.title { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; color: var(--navy); font-weight: 800; margin-bottom: 16px; }
.lead { color: var(--muted); font-size: 18px; max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: none; transition: .2s; white-space: nowrap; font-family: inherit;
}
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #2a2000; box-shadow: 0 8px 20px rgba(200,162,74,.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(200,162,74,.5); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }

/* ---------- Top contact bar ---------- */
.topbar { background: var(--navy); color: #e9eef6; font-size: 14px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #e9eef6; transition: color .2s; }
.topbar a:hover { color: var(--gold-2); }
.tb-left, .tb-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.tb-left a, .tb-hours { display: inline-flex; align-items: center; gap: 8px; }
.tb-ic { color: var(--gold-2); display: inline-flex; }
.tb-ic svg { width: 15px; height: 15px; }
.tb-social { display: inline-flex; align-items: center; gap: 13px; }
.tb-social a { display: inline-flex; }
.tb-social svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .topbar { font-size: 12.5px; }
  .topbar-in { justify-content: center; gap: 8px 16px; padding-top: 8px; padding-bottom: 8px; }
  .tb-left, .tb-right { gap: 12px 16px; }
}
@media (max-width: 440px) { .tb-email { display: none; } }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); font-size: 19px; }
.logo .mark {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: grid; place-items: center; color: #fff; font-size: 18px; font-weight: 800;
  position: relative; overflow: hidden;
}
.logo .mark::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 33%; background: var(--gold); }
.logo small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .3px; }
.logo img { height: 46px; width: auto; display: block; }
@media (max-width: 480px) { .logo img { height: 38px; } }

.menu { display: flex; gap: 26px; align-items: center; }
.menu a { color: var(--navy); font-weight: 600; font-size: 15px; transition: .2s; }
.menu a:hover, .menu a.active { color: var(--blue); }

.nav-cta { display: flex; gap: 12px; align-items: center; }
.social { display: flex; gap: 8px; align-items: center; }
.soc { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: .2s; }
.soc:hover { transform: translateY(-2px); opacity: .9; }
.soc-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.soc-fb { background: #1877f2; }
.soc svg { width: 18px; height: 18px; }

/* Language switch */
.lang-switch { display: flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.lang-switch button, .lang-switch a {
  border: 0; background: #fff; padding: 7px 13px; cursor: pointer; text-decoration: none;
  font-weight: 800; font-size: 13px; color: var(--muted); transition: all .18s; font-family: inherit; line-height: 1.4;
}
.lang-switch button.active, .lang-switch a.active { background: var(--navy); color: #fff; }

/* Dropdown (services) */
.menu .drop { position: relative; }
.menu .drop > .dt { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.menu .drop > .dt::after { content: "▾"; font-size: 11px; color: var(--muted); }
.menu .drop .panel {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow); padding: 10px; min-width: 320px;
  opacity: 0; visibility: hidden; transition: .18s; z-index: 60;
}
.menu .drop:hover .panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.menu .drop .panel::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.menu .drop .panel a { display: flex; gap: 11px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; margin: 0; }
.menu .drop .panel a:hover { background: var(--bg-soft); color: var(--navy); }
.menu .drop .panel a .di { font-size: 18px; line-height: 1.3; flex-shrink: 0; }
.menu .drop .panel a b { display: block; color: var(--navy); font-size: 14px; font-weight: 700; }
.menu .drop .panel a small { color: var(--muted); font-size: 12px; line-height: 1.4; font-weight: 400; }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(27,108,168,.55), transparent),
              linear-gradient(160deg, #0b2545, #13315c 60%, #0b2545);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding-top: 70px; padding-bottom: 80px; }
.flag-glow { position: absolute; inset: 0; z-index: 1; opacity: .10;
  background: linear-gradient(#fff 0 33%, #12a150 33% 66%, #d62839 66% 100%); filter: blur(2px); }
.hero h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; font-weight: 800; letter-spacing: -.5px; }
.hero h1 .hl { color: var(--gold-2); }
.hero p.sub { margin-top: 20px; font-size: 19px; color: #d6e2f0; max-width: 560px; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { margin-top: 34px; display: flex; gap: 26px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #cfe0f0; }
.hero-badge b { color: #fff; font-size: 20px; display: block; line-height: 1; }

.hero-portrait { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 22px 55px rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); }
.hero-portrait img { width: 100%; display: block; aspect-ratio: 4/5; object-fit: cover; object-position: top center; }
.hero-portrait .badge { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(11,37,69,.85); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; padding: 13px 18px; }
.hero-portrait .badge b { font-size: 18px; display: block; color: var(--gold-2); }
.hero-portrait .badge span { font-size: 13px; color: #cfe0f0; }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 40px 22px; text-align: center; }
.stat b { font-size: 34px; color: var(--gold-2); display: block; font-weight: 800; }
.stat span { color: #c3d2e2; font-size: 14px; }

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: .25s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfe0f0; }
.card .ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; background: linear-gradient(135deg, #eaf2fb, #d7e8f8); color: var(--blue); }
.card h3 { color: var(--navy); font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .tag { position: absolute; top: 18px; right: 18px; background: var(--gold); color: #2a2000; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .5px; }
.card ul { margin-top: 12px; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.card ul li { margin-bottom: 6px; }

/* ---------- Advantages / about wrap ---------- */
.adv-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.adv-list { list-style: none; display: grid; gap: 16px; margin-top: 10px; }
.adv-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.adv-list .chk { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 800; margin-top: 2px; }

.about-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; border: 1px solid var(--border); }
.about-photo img { width: 100%; display: block; aspect-ratio: 3/4; object-fit: cover; object-position: center; }
.about-photo .cap { position: absolute; left: 14px; bottom: 14px; background: rgba(11,37,69,.85); backdrop-filter: blur(6px); color: #fff; border-radius: 12px; padding: 10px 15px; }
.about-photo .cap b { display: block; color: var(--gold-2); font-size: 16px; }
.about-photo .cap span { font-size: 12.5px; color: #cfe0f0; }
.about-stats { display: flex; gap: 26px; margin-top: 18px; }
.about-stats b { color: var(--blue); font-size: 26px; font-weight: 800; display: block; line-height: 1; }
.about-stats small { color: var(--muted); font-size: 13px; }

.adv-visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: linear-gradient(160deg, var(--navy), var(--blue)); color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 18px; min-height: 100%; }
.adv-visual .passport { font-size: 60px; }
.adv-visual .big { font-size: 40px; font-weight: 800; color: var(--gold-2); line-height: 1.1; }

/* ---------- Office band ---------- */
.office-band { position: relative; min-height: 340px; display: flex; align-items: center; overflow: hidden; }
.office-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.office-band .ob-overlay { position: relative; z-index: 2; width: 100%; background: linear-gradient(90deg, rgba(11,37,69,.9) 0%, rgba(11,37,69,.72) 45%, rgba(11,37,69,.25) 100%); }
.office-band .ob-inner { padding: 56px 0; color: #fff; max-width: 560px; }
.office-band h2 { color: #fff; font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; margin: 8px 0 10px; }
.office-band p { color: #d6e2f0; font-size: 17px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.step .num { counter-increment: step; width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 800; font-size: 20px; display: grid; place-items: center; margin-bottom: 16px; }
.step .num::before { content: counter(step); }
.step h4 { color: var(--navy); font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- Values (about page) ---------- */
.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.val { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; }
.val .ic { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; background: linear-gradient(135deg, #fdf4e0, #f7e9c8); color: var(--gold); }
.val h3 { color: var(--navy); font-size: 18px; margin-bottom: 8px; }
.val p { color: var(--muted); font-size: 14.5px; }

/* ---------- Credentials ---------- */
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cred { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: .2s; }
.cred:hover { box-shadow: var(--shadow); border-color: #cfe0f0; }
.cred-badge { width: 76px; height: 60px; flex-shrink: 0; display: grid; place-items: center; }
.cred-badge svg { width: 76px; height: auto; border-radius: 4px; }
.cred-badge img { max-width: 76px; max-height: 60px; object-fit: contain; }
.cred-txt b { display: block; color: var(--navy); font-size: 16px; margin-bottom: 4px; }
.cred-txt span { color: var(--muted); font-size: 14px; display: block; margin-bottom: 4px; }
.cred-txt em { color: var(--blue); font-size: 13px; font-style: normal; font-weight: 700; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.quote .stars { color: var(--gold); font-size: 18px; margin-bottom: 12px; }
.quote p { font-style: italic; color: var(--text); font-size: 16px; margin-bottom: 18px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.quote .who b { color: var(--navy); display: block; font-size: 15px; }
.quote .who small { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq summary { padding: 20px 24px; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq .ans { padding: 18px 24px; color: var(--muted); font-size: 15px; }

/* ---------- Page hero (inner pages) ---------- */
.phero { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: 60px 0; }
.phero .crumb { color: #9fb4cc; font-size: 14px; margin-bottom: 14px; }
.phero .crumb a { color: var(--gold-2); }
.phero h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 800; margin-bottom: 12px; }
.phero p { color: #cfe0f0; font-size: 18px; max-width: 680px; }

/* ---------- About page intro ---------- */
.intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; align-items: start; }
.intro-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; border: 1px solid var(--border); position: sticky; top: 96px; }
.intro-photo img { width: 100%; display: block; aspect-ratio: 3/4; object-fit: cover; }
.intro-photo .cap { position: absolute; left: 14px; bottom: 14px; background: rgba(11,37,69,.85); backdrop-filter: blur(6px); color: #fff; border-radius: 12px; padding: 10px 15px; }
.intro-photo .cap b { display: block; color: var(--gold-2); font-size: 16px; }
.intro-photo .cap span { font-size: 12.5px; color: #cfe0f0; }

.team-banner { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 24px; }
.team-banner img { width: 100%; display: block; max-height: 440px; object-fit: cover; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact h2 { color: #fff; }
.contact .lead { color: #cfe0f0; }
.contact-info { display: grid; gap: 20px; margin-top: 30px; }
.contact-info a, .contact-info .ci { display: flex; gap: 16px; align-items: center; color: #e5eef8; }
.contact-info .ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.contact-info b { display: block; color: #fff; font-size: 16px; }
.contact-info small { color: #b9c9dc; }
.form { background: #fff; border-radius: 20px; padding: 34px; color: var(--text); }
.form h3 { color: var(--navy); margin-bottom: 6px; font-size: 22px; }
.form p.fp { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 11px; border: 1.5px solid var(--border); font-size: 15px; font-family: inherit; transition: .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,108,168,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; margin-top: 6px; }
.form .consent { font-size: 12px; color: var(--muted); margin-top: 12px; text-align: center; }
.map-embed { margin-top: 34px; border-radius: var(--radius); overflow: hidden; min-height: 300px; background: var(--bg-soft); border: 1px solid var(--border); display: grid; place-items: center; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; border-radius: 22px; padding: 56px 40px; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 12px; }
.cta p { color: #d6e2f0; font-size: 18px; max-width: 620px; margin: 0 auto 26px; }

/* ---------- WhatsApp float ---------- */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.5); font-size: 30px; transition: .2s; }
.wa:hover { transform: scale(1.08); }
.viber { position: fixed; right: 22px; bottom: 92px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #7360f2; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(115,96,242,.5); transition: .2s; }
.viber:hover { transform: scale(1.08); }
.viber svg { width: 30px; height: 30px; }

/* ---------- Footer ---------- */
footer { background: #071a30; color: #a9bcd0; padding: 56px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
footer a { display: block; color: #a9bcd0; font-size: 14px; margin-bottom: 10px; transition: .2s; }
footer a:hover { color: var(--gold-2); }
.foot-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: #fff; font-weight: 800; font-size: 19px; }
.foot-logo .mark { width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(135deg, var(--navy), var(--blue)); display: grid; place-items: center; color: #fff; font-weight: 800; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.disclaimer { font-size: 12px; color: #7b8ea3; margin-top: 14px; max-width: 760px; line-height: 1.6; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-4, .vals, .steps, .creds { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .contact-grid, .adv-wrap, .intro { grid-template-columns: 1fr; gap: 34px; }
  .intro-photo { position: static; max-width: 420px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu, .nav-cta .social, .nav-cta .btn { display: none; }
  .burger { display: flex; }
  .menu.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: #fff; padding: 18px 22px; gap: 6px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .menu.open a { width: 100%; padding: 11px 0; border-bottom: 1px solid var(--border); }
  .menu.open .drop { width: 100%; }
  .menu.open .drop > .dt { width: 100%; padding: 11px 0; border-bottom: 1px solid var(--border); }
  .menu.open .drop .panel { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; min-width: 0; padding: 4px 0 4px 10px; transition: none; }
  .menu.open .drop .panel a { padding: 9px 6px; }
  .menu.open .drop .panel a small { display: none; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .vals, .steps, .grid-2, .adv-wrap, .creds { grid-template-columns: 1fr !important; }
  .foot-grid { grid-template-columns: 1fr; }
  .sec { padding: 60px 0; }
  .cta { padding: 40px 24px; }
}
