/* ═══════════════════════════════════════════════════════════
   König & Pimentel — Instagram Bio Capture Pages
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --g900:   #052222;
  --g800:   #063030;
  --g700:   #074040;
  --gold:   #c2a878;
  --gold2:  #d4bc96;
  --wa:     #25D366;
  --wa2:    #1fba59;
  --white:  #ffffff;
  --text:   rgba(255,255,255,0.88);
  --muted:  rgba(255,255,255,0.48);
  --border: rgba(194,168,120,0.18);
  --r:      12px;
  --font:   'Plus Jakarta Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font);
  background: var(--g900);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
  padding-bottom: 2rem;
}
body.has-cookie { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── WRAPPER ───────────────────────────── */
#app { max-width: 480px; margin: 0 auto; }

/* ── HERO ──────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--g700) 0%, var(--g800) 50%, var(--g900) 100%);
  overflow: hidden;
  padding: 1.75rem 1.25rem 1.75rem;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%; transform: translateX(-50%);
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,168,120,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; }

/* logo */
.hero-logo {
  display: flex; align-items: center; justify-content: center;
  gap: 11px; margin-bottom: 1.1rem;
}
.hero-logo-mark {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--g700), var(--g800));
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--gold);
  box-shadow: 0 0 0 4px rgba(194,168,120,0.08), 0 0 22px rgba(194,168,120,0.22);
}
.hero-logo-text { text-align: left; line-height: 1.25; min-width: 0; }
.hero-logo-name {
  font-size: clamp(10px, 3vw, 13px); font-weight: 700; color: var(--white);
  letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-logo-sub {
  font-size: 8px; font-weight: 500; color: var(--gold);
  letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7;
}

.hero-divider {
  width: 36px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 0.7rem;
}
.hero-handle {
  font-size: 11px; font-weight: 600; color: var(--gold);
  letter-spacing: 0.06em; margin-bottom: 0.7rem; opacity: 0.72;
}
.hero-headline {
  font-size: clamp(1.5rem, 7vw, 1.9rem);
  font-weight: 800; color: var(--white);
  line-height: 1.18; letter-spacing: -0.025em;
  margin-bottom: 0.45rem;
}
.hero-headline span { color: var(--gold); }
.hero-sub {
  font-size: 12px; color: var(--muted);
  line-height: 1.6; margin-bottom: 1.25rem;
}

/* ── FORM ──────────────────────────────── */
.capture-form { text-align: left; }
.cap-input {
  width: 100%; display: block;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 10px; color: var(--white);
  font-size: 16px; font-family: var(--font);
  padding: 0.82rem 1rem; margin-bottom: 9px;
  outline: none; transition: border-color 0.18s, background 0.18s;
  -webkit-appearance: none;
}
.cap-input:focus { border-color: var(--gold); background: rgba(255,255,255,0.10); }
.cap-input::placeholder { color: rgba(255,255,255,0.3); font-size: 14px; }
.cap-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--wa); color: #fff; border: none; text-decoration: none;
  border-radius: 10px; padding: 0.95rem 1.25rem;
  font-family: var(--font); font-size: 0.97rem; font-weight: 800;
  cursor: pointer; letter-spacing: -0.01em;
  box-shadow: 0 4px 24px rgba(37,211,102,0.42);
  transition: all 0.2s;
  animation: pulse-wa 2.6s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
.cap-btn:active { background: var(--wa2); animation: none; transform: scale(0.99); }
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,.42), 0 0 0 0 rgba(37,211,102,.22); }
  60%      { box-shadow: 0 4px 24px rgba(37,211,102,.42), 0 0 0 12px rgba(37,211,102,0); }
}
.cap-disclaimer {
  text-align: center; font-size: 10px;
  color: rgba(255,255,255,0.28); margin-top: 9px; line-height: 1.5;
}

/* ── CREDS BAR ─────────────────────────── */
.creds-bar {
  background: rgba(194,168,120,0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
}
.creds-inner {
  display: flex; gap: 7px; padding: 0 1.25rem;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.creds-inner::-webkit-scrollbar { display: none; }
.cred-chip {
  display: inline-flex; align-items: center; white-space: nowrap;
  background: rgba(194,168,120,0.08); border: 1px solid rgba(194,168,120,0.22);
  color: var(--gold2); font-size: 10.5px; font-weight: 600;
  padding: 4px 11px; border-radius: 20px; flex-shrink: 0;
}

/* ── CONTENT BODY ──────────────────────── */
.content-body { padding: 0 1.25rem 0.5rem; }

.kp-section { padding-top: 1.1rem; }
.kp-section + .kp-section {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(194,168,120,0.07);
}

.section-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.65rem;
}

/* ── SITE LINK ─────────────────────────── */
.site-link-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(194,168,120,0.06); border: 1px solid rgba(194,168,120,0.22);
  border-radius: var(--r); padding: 13px 15px;
  text-decoration: none; color: var(--text); transition: all 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.site-link-card:active { border-color: rgba(194,168,120,0.45); background: rgba(194,168,120,0.10); }
.site-link-icon { font-size: 1.35rem; flex-shrink: 0; width: 32px; text-align: center; line-height: 1; }
.site-link-body { flex: 1; min-width: 0; }
.site-link-title { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.site-link-desc  { font-size: 11px; color: var(--muted); line-height: 1.4; }
.site-link-arrow { font-size: 0.95rem; color: var(--gold); flex-shrink: 0; }

/* ── PARTNERS ──────────────────────────── */
.partners-list { display: flex; flex-direction: column; gap: 10px; }
.partner-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255,255,255,0.035); border: 1px solid var(--border);
  border-radius: var(--r); padding: 14px;
}
.partner-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--g700), var(--g800));
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--gold);
  box-shadow: 0 0 14px rgba(194,168,120,0.16);
}
.partner-body { flex: 1; min-width: 0; }
.partner-name { font-size: 13.5px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.partner-role {
  font-size: 10px; font-weight: 600; color: var(--gold); opacity: 0.82;
  margin-bottom: 5px; line-height: 1.4;
}
.partner-desc { font-size: 11.5px; color: var(--muted); line-height: 1.55; }

/* ── SPECIALTIES ───────────────────────── */
.spec-list { display: flex; flex-direction: column; gap: 8px; }
.spec-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(194,168,120,0.04); border: 1px solid var(--border);
  border-radius: var(--r); padding: 13px 15px;
  text-decoration: none; color: var(--text); transition: all 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.spec-card:active { border-color: rgba(194,168,120,0.4); background: rgba(194,168,120,0.08); }
.spec-icon { font-size: 1.25rem; flex-shrink: 0; width: 30px; text-align: center; line-height: 1; margin-top: 1px; }
.spec-body { flex: 1; min-width: 0; }
.spec-title { font-size: 12.5px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.spec-desc  { font-size: 11px; color: var(--muted); line-height: 1.5; }
.spec-arrow { font-size: 0.9rem; color: var(--gold); flex-shrink: 0; align-self: center; }

/* ── HIGHLIGHTS ────────────────────────── */
.highlights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.highlight-chip {
  display: flex; align-items: flex-start; gap: 9px;
  background: rgba(194,168,120,0.05); border: 1px solid var(--border);
  border-radius: var(--r); padding: 12px 13px;
}
.hl-icon { font-size: 1.15rem; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.hl-body { flex: 1; min-width: 0; }
.hl-title { font-size: 11.5px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.hl-desc  { font-size: 10px; color: var(--muted); line-height: 1.4; }

/* ── OFFICES ───────────────────────────── */
.offices-list { display: flex; flex-direction: column; gap: 8px; }
.office-card {
  display: flex; align-items: center; gap: 11px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(194,168,120,0.11);
  border-radius: var(--r); padding: 12px 14px;
  text-decoration: none; color: var(--text); transition: all 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.office-card:active { border-color: rgba(194,168,120,0.32); background: rgba(255,255,255,0.06); }
.office-pin { font-size: 1.2rem; flex-shrink: 0; width: 28px; text-align: center; line-height: 1; }
.office-body { flex: 1; min-width: 0; }
.office-city    { font-size: 12.5px; font-weight: 700; color: var(--white); margin-bottom: 1px; }
.office-address { font-size: 11px; color: var(--muted); line-height: 1.4; }
.office-arrow { font-size: 0.8rem; color: var(--gold); flex-shrink: 0; opacity: 0.65; }

/* ── FOOTER ────────────────────────────── */
.bio-footer {
  text-align: center;
  padding: 1.5rem 1.25rem 0.5rem;
  font-size: 10px; color: rgba(255,255,255,0.16); line-height: 1.8;
}
.bio-footer a { color: var(--gold); opacity: 0.38; text-decoration: none; }
.bio-footer a:active { opacity: 0.7; }

/* ── COOKIE BANNER ─────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: var(--g800);
  border-top: 1px solid var(--border);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.35);
}
.cookie-text {
  flex: 1; font-size: 10.5px; color: var(--muted); line-height: 1.5;
}
.cookie-text a { color: var(--gold); text-decoration: none; }
.cookie-btn {
  flex-shrink: 0;
  background: var(--gold); color: var(--g900); border: none;
  border-radius: 8px; padding: 8px 18px;
  font-family: var(--font); font-size: 12px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

@media print { body { padding: 0; } .cookie-banner { display: none; } }
