/* Briko Capital main site (brikocapital.com). Mobile first. Palette and type from the Briko KV,
   same tokens as /sba and /eventos so every page of the site looks like one brand. */
:root {
  --wine: #45010c; --wine-2: #7b0e1e; --wine-3: #991529; --wine-deep: #2c0108;
  --gold: #e2cda3; --gold-2: #c9a96a;
  --bg: #f7f2ec; --bg-2: #efe9de; --surface: #fdfbf8; --cream: #f3ece2;
  --ink: #2c0108; --muted: #6e5a5c; --line: #e2d8cc; --accent: #991529; --accent-soft: #f6e6e8;
  --rose: #d5c2c8;
  --font-display: "Caladea", Cambria, Georgia, serif;
  --font-body: "Carlito", Calibri, "Segoe UI", system-ui, sans-serif;
  --r: 18px; --gut: max(20px, env(safe-area-inset-left, 0px));
  --shadow: 0 1px 2px rgb(69 1 12 / 0.05), 0 8px 26px rgb(69 1 12 / 0.08);
  --bar-h: 64px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, li { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; letter-spacing: -0.012em; text-wrap: balance; line-height: 1.08; }
h1 em, h2 em, h3 em { font-style: italic; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- top bar ---------- */
.bar { position: sticky; top: 0; z-index: 40; background: rgb(247 242 236 / 0.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgb(69 1 12 / 0.08); padding-top: env(safe-area-inset-top, 0px); }
.bar .wrap { display: flex; align-items: center; gap: 10px; min-height: var(--bar-h); }
.brand { display: inline-flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.nav { display: none; }
.nav a, .nav button { font: 700 16px/1 var(--font-body); color: var(--wine); text-decoration: none; background: none; border: 0; padding: 10px 12px; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nav a:hover, .nav button:hover, .nav [aria-current="page"] { background: rgb(153 21 41 / 0.07); }
.nav [aria-current="page"] { color: var(--accent); }
.lang-pill { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 10px 0 9px; border-radius: 999px; border: 1px solid var(--gold-2); background: var(--surface); color: var(--wine); font: 700 13px/1 var(--font-body); letter-spacing: 0.06em; flex: none; }
.lang-pill svg { color: var(--accent); }
.lang-pill select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; color: var(--ink); background: #fff; }
.lang-pill:focus-within { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.bar .bar-cta { display: none; }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--wine); display: inline-grid; place-items: center; cursor: pointer; flex: none; }
.menu-btn svg { width: 22px; height: 22px; }

/* products drop-down (computer) */
.drop { position: relative; }
.drop-panel { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(720px, 92vw); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgb(44 1 8 / 0.18); padding: 22px; display: none; grid-template-columns: 1fr 1fr; gap: 6px 26px; }
.drop.open .drop-panel { display: grid; }
.drop-panel h4 { margin: 0 0 6px; font: 700 12px/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.drop-panel a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; margin: 0 -10px; border-radius: 10px; font-weight: 400; font-size: 16px; color: var(--ink); }
.drop-panel a:hover { background: var(--bg); }
.drop-panel .col { display: flex; flex-direction: column; }

/* mobile menu (full screen) */
.mnav { position: fixed; inset: 0; z-index: 60; background: linear-gradient(160deg, var(--wine-deep), var(--wine) 45%, var(--wine-2)); color: var(--cream); display: none; flex-direction: column; padding: calc(env(safe-area-inset-top, 0px) + 12px) var(--gut) calc(env(safe-area-inset-bottom, 0px) + 20px); overflow-y: auto; }
.mnav.open { display: flex; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.mnav-top img { height: 30px; }
.mnav-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgb(243 236 226 / 0.3); background: none; color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.mnav h4 { margin: 26px 0 8px; font: 700 12px/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.mnav a { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid rgb(243 236 226 / 0.12); text-decoration: none; font-size: 19px; }
.mnav .big a { font-family: var(--font-display); font-size: 28px; padding: 12px 0; }
.mnav .btn { margin-top: 26px; }
.mnav .soon-tag { background: rgb(226 205 163 / 0.18); color: var(--gold); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 14px; background: var(--accent); color: #fff; font: 700 18px/1 var(--font-body); text-decoration: none; border: 0; cursor: pointer; box-shadow: 0 6px 18px rgb(153 21 41 / 0.28), inset 0 -3px 0 rgb(0 0 0 / 0.18); transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #ad1a30; }
.btn:active { transform: translateY(1px); }
.btn.block { width: 100%; }
.btn.small { min-height: 44px; padding: 0 18px; font-size: 16px; border-radius: 12px; }
.btn.light { background: var(--cream); color: var(--wine); box-shadow: 0 6px 18px rgb(0 0 0 / 0.25), inset 0 -3px 0 rgb(69 1 12 / 0.12); }
.btn.light:hover { background: #fff; }
.btn.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgb(243 236 226 / 0.55); }
.btn.ghost:hover { background: rgb(243 236 226 / 0.1); }
.btn.outline { background: transparent; color: var(--wine); box-shadow: inset 0 0 0 1.5px var(--wine); }
.btn.outline:hover { background: rgb(69 1 12 / 0.05); }
.btn svg { width: 20px; height: 20px; flex: none; }
.tlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); text-decoration: none; }
.tlink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- common section bits ---------- */
section { position: relative; }
.sec { padding-block: 64px; }
.label { display: inline-block; font: 700 13px/1.2 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.h2 { font-size: clamp(34px, 6.4vw, 56px); color: var(--wine); }
.h2 em { color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 16px 0 0; }
.head { margin-bottom: 34px; }
.slash { color: var(--accent); font-style: italic; margin-right: 2px; }
.plus { position: absolute; width: 90px; height: 90px; pointer-events: none; opacity: .5; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; }
.plus::before { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.plus::after { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }

/* "foco" frame from the KV: thin line with marked corners */
.foco { position: relative; }
.foco::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgb(255 255 255 / 0.85); pointer-events: none; z-index: 2; }
.foco > .c { position: absolute; width: 11px; height: 11px; border: 1px solid #fff; z-index: 3; background: transparent; }
.foco > .c.tl { top: 9px; left: 9px; } .foco > .c.tr { top: 9px; right: 9px; } .foco > .c.bl { bottom: 9px; left: 9px; } .foco > .c.br { bottom: 9px; right: 9px; }
.foco.wine::before { border-color: rgb(153 21 41 / 0.6); }
.foco.wine > .c { border-color: var(--accent); }

/* ---------- hero ---------- */
.hero { overflow: hidden; background: linear-gradient(115deg, var(--wine-deep) 0%, var(--wine) 35%, var(--wine-2) 75%, var(--wine-3) 100%); color: var(--cream); overflow: hidden; }
.hero .wrap { display: grid; gap: 26px; padding-block: 22px 52px; }
.hero-photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: 0 30px 70px rgb(0 0 0 / 0.35); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.hero .label { color: var(--gold); }
.hero h1 { font-size: clamp(46px, 11.5vw, 88px); line-height: 1.0; }
.hero h1 em { display: block; color: var(--gold); }
.hero p.sub { font-size: 19px; margin: 18px 0 0; color: rgb(243 236 226 / 0.88); max-width: 560px; }
.hero .ctas { display: grid; gap: 12px; margin-top: 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 15px; color: rgb(243 236 226 / 0.82); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--gold); }
.hero .plus { color: var(--gold); right: -20px; top: 40px; opacity: .25; }

/* ---------- quick product cards ---------- */
.quick { margin-top: -26px; position: relative; z-index: 2; }
.quick-grid { display: grid; gap: 16px; }
.qcard { display: grid; grid-template-columns: 112px 1fr; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.qcard:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(69 1 12 / 0.05), 0 18px 40px rgb(69 1 12 / 0.13); }
.qcard .ph { position: relative; min-height: 100%; }
.qcard .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qcard .body { padding: 18px 18px 18px 16px; }
.qcard .k { font: 700 12px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.qcard h3 { font-size: 26px; color: var(--wine); margin-top: 6px; }
.qcard p { margin: 6px 0 10px; font-size: 16px; color: var(--muted); line-height: 1.45; }
.qcard .tlink { font-size: 16px; }

/* ---------- credentials band ---------- */
.creds { padding-block: 44px 10px; }
.creds ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.creds li { display: flex; align-items: center; gap: 12px; font: 700 14px/1.2 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--wine); }
.creds .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1.6px solid var(--wine); display: grid; place-items: center; }
.creds .ic svg { width: 24px; height: 24px; }
.seal { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; }
.seal .shield { width: 46px; height: 54px; flex: none; }
.seal span { font: 700 14px/1.2 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--wine); }

/* ---------- products showcase ---------- */
.tabs { display: inline-flex; padding: 5px; background: var(--bg-2); border-radius: 999px; gap: 4px; margin-bottom: 22px; }
.tabs button { border: 0; background: none; font: 700 16px/1 var(--font-body); color: var(--muted); padding: 12px 18px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--wine); color: var(--cream); }
.pgrid { display: grid; gap: 12px; }
.pgrid[hidden] { display: none; }
.pcard { display: grid; grid-template-columns: 52px 1fr; gap: 4px 14px; align-items: start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.pcard .pi { grid-row: span 3; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.pcard .pi svg { width: 28px; height: 28px; }
.pcard.soon .pi { background: var(--bg-2); color: var(--wine); }
.pcard h3 { font-size: 23px; color: var(--wine); display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pcard p { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.45; }
.pcard .act { margin-top: 8px; }
.pcard .act button.tlink { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; }
.on-tag, .soon-tag { display: inline-block; font: 700 11px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 8px 4px; border-radius: 6px; }
.on-tag { background: #e6f1e8; color: #1f5b2c; }
.soon-tag { background: #f3e6c8; color: #6b4b12; }
.note { font-size: 14px; color: var(--muted); margin: 20px 0 0; max-width: 820px; }

/* ---------- waitlist ---------- */
.wl { background: var(--bg-2); }
.wl-box { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: 26px 20px; position: relative; border: 1px solid var(--line); }
.wl-icons { display: flex; gap: 6px; margin-bottom: 14px; }
.wl-icons img { width: 52px; height: 52px; object-fit: contain; }
.pills { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 6px 0 4px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill > span { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-size: 16px; line-height: 1.2; font-weight: 700; color: var(--wine); transition: background .15s ease, border-color .15s ease; }
.pill > span::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.6px solid var(--gold-2); background: #fff center / 14px no-repeat; }
.pill input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.pill input:checked + span::before { background-color: var(--accent); border-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.pill input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.success { text-align: center; padding: 18px 4px; }
.success .ok { width: 64px; height: 64px; border-radius: 50%; background: #e6f1e8; color: #1f5b2c; display: grid; place-items: center; margin: 0 auto 14px; }
.success .ok svg { width: 32px; height: 32px; }
.success h3 { font-size: 34px; color: var(--wine); }
.success p { color: var(--muted); }
.success .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin-top: 12px; }

/* ---------- forms ---------- */
form { display: grid; gap: 18px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .field > label { font-weight: 700; color: var(--wine); font-size: 17px; margin-bottom: 8px; display: block; padding: 0; }
.hint { display: block; font-size: 15px; color: var(--muted); margin-top: -2px; margin-bottom: 8px; }
input[type=text], input[type=tel], input[type=email], textarea, select.ctl { width: 100%; min-height: 54px; padding: 12px 14px; border: 1.5px solid #d8c9b6; border-radius: 12px; background: #fff; font: 17px/1.3 var(--font-body); color: var(--ink); }
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select.ctl:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(153 21 41 / 0.15); }
.grid2 { display: grid; gap: 18px; }
.phone { display: flex; gap: 8px; }
.cc { position: relative; flex: none; display: flex; align-items: center; gap: 6px; min-height: 54px; padding: 0 30px 0 12px; border: 1.5px solid #d8c9b6; border-radius: 12px; background: #fff; font: 700 16px/1 var(--font-body); }
.cc .flag { font-size: 22px; line-height: 1; }
.cc svg { position: absolute; right: 10px; width: 12px; height: 8px; }
.cc select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cc:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(153 21 41 / 0.15); }
.phone input { flex: 1; min-width: 0; }
.err-msg { display: none; color: var(--accent); font-size: 15px; font-weight: 700; margin-top: 6px; }
.invalid .err-msg { display: block; }
.invalid input, .invalid textarea, .invalid select.ctl, .invalid .pill > span { border-color: var(--accent); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.form-err { display: none; background: var(--accent-soft); color: var(--accent); font-weight: 700; padding: 12px 14px; border-radius: 12px; font-size: 16px; }
.form-err.show { display: block; }
.mini { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 14px; color: var(--muted); margin: -4px 0 0; }
.mini span::before { content: "✓ "; color: #1f7a3a; font-weight: 700; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- big numbers ---------- */
.nums { background: linear-gradient(115deg, var(--wine-deep), var(--wine) 55%, var(--wine-2)); color: var(--cream); }
.nums .h2 { color: var(--cream); }
.nums .h2 em { color: var(--gold); }
.ngrid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; margin-top: 34px; }
.ngrid b { display: block; font: italic 400 clamp(46px, 11vw, 76px)/1 var(--font-display); color: var(--gold); }
.ngrid > div > span { display: block; margin-top: 8px; font-size: 16px; color: rgb(243 236 226 / 0.85); max-width: 230px; }

/* ---------- about teaser / split ---------- */
.split { display: grid; gap: 28px; align-items: center; }
.split .photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.split p { font-size: 18px; color: var(--muted); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px 20px 76px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--wine); color: var(--gold); display: grid; place-items: center; font: italic 22px/1 var(--font-display); }
.steps h3 { font-size: 24px; color: var(--wine); }
.steps p { margin: 6px 0 0; color: var(--muted); font-size: 17px; }

/* ---------- illustrative examples ---------- */
.ex-grid { display: grid; gap: 14px; }
.ex { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.ex .tag { display: inline-block; font: 700 11px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--gold-2); border-radius: 6px; padding: 5px 8px 4px; }
.ex h3 { font-size: 24px; color: var(--wine); margin-top: 14px; }
.ex p { margin: 8px 0 0; color: var(--muted); font-size: 17px; }

/* ---------- affiliate band with the KV "seta" ---------- */
.aff { background: var(--wine); color: var(--cream); overflow: hidden; }
.aff .seta { position: absolute; right: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); background: linear-gradient(120deg, rgb(153 21 41 / 0.9), rgb(213 194 200 / 0.35)); clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%); opacity: .55; }
.aff .wrap { position: relative; z-index: 1; }
.aff .h2 { color: var(--cream); }
.aff .h2 em { color: var(--gold); }
.aff p { font-size: 19px; color: rgb(243 236 226 / 0.88); max-width: 600px; }
.aff .btn { margin-top: 10px; }

/* ---------- offices ---------- */
.office { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.office .map { min-height: 260px; background: var(--bg-2); }
.office .map iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; }
.office .info { padding: 26px 22px; }
.office h3 { font-size: 32px; color: var(--wine); }
.office address { font-style: normal; font-size: 18px; margin-top: 10px; }
.office .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.office .meta { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 16px; color: var(--muted); }
.office .meta li { display: flex; gap: 8px; }
.office .meta svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }

/* ---------- final CTA ---------- */
.final { background: linear-gradient(115deg, var(--wine-deep), var(--wine) 50%, var(--wine-3)); color: var(--cream); text-align: center; }
.final .h2 { color: var(--cream); }
.final .h2 em { color: var(--gold); }
.final p { font-size: 19px; color: rgb(243 236 226 / 0.88); }
.final .ctas { display: grid; gap: 12px; max-width: 520px; margin: 26px auto 0; }

/* ---------- page hero (inner pages) ---------- */
.phero { background: linear-gradient(115deg, var(--wine-deep), var(--wine) 45%, var(--wine-2)); color: var(--cream); }
.phero .wrap { padding-block: 44px 54px; display: grid; gap: 26px; align-items: center; }
.phero .label { color: var(--gold); }
.phero h1 { font-size: clamp(42px, 9.5vw, 74px); }
.phero h1 em { color: var(--gold); }
.phero p { font-size: 19px; color: rgb(243 236 226 / 0.88); margin: 16px 0 0; max-width: 600px; }
.phero .photo { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: 0 30px 70px rgb(0 0 0 / 0.35); }
.phero .photo img { width: 100%; height: 100%; object-fit: cover; }
.phero .ctas { display: grid; gap: 12px; margin-top: 24px; }
.cards3 { display: grid; gap: 14px; }
.vcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.vcard h3 { font-size: 24px; color: var(--wine); }
.vcard p { margin: 8px 0 0; color: var(--muted); font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-weight: 700; color: var(--wine); font-size: 16px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font-weight: 700; color: var(--wine); font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font: 28px/1 var(--font-display); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }
.notice { background: var(--surface); border-left: 4px solid var(--accent); border-radius: 12px; padding: 18px 20px; color: var(--ink); }

/* ---------- footer ---------- */
footer { background: var(--wine-deep); color: rgb(243 236 226 / 0.85); padding: 52px 0 calc(110px + env(safe-area-inset-bottom, 0px)); font-size: 16px; }
footer .top { display: grid; gap: 30px; }
footer img { height: 32px; width: auto; }
footer .tag { font: italic 22px/1.2 var(--font-display); color: var(--gold); margin: 14px 0 0; }
footer h4 { margin: 0 0 12px; font: 700 12px/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; text-underline-offset: 3px; color: #fff; }
footer .legal { border-top: 1px solid rgb(243 236 226 / 0.14); margin-top: 36px; padding-top: 22px; font-size: 14px; line-height: 1.55; color: rgb(243 236 226 / 0.65); }
footer .copy { margin-top: 12px; font-size: 13px; color: rgb(243 236 226 / 0.5); }

/* ---------- bottom bar (phone) ---------- */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgb(253 251 248 / 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mbar .btn { min-height: 50px; font-size: 16px; padding: 0 12px; }
.mbar .btn.wa { background: #1f7a3a; box-shadow: 0 6px 18px rgb(31 122 58 / 0.25), inset 0 -3px 0 rgb(0 0 0 / 0.18); }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
.no-js .rv, .no-io .rv { opacity: 1; transform: none; }

/* ---------- larger screens ---------- */
@media (min-width: 600px) {
  .hero .ctas, .phero .ctas { grid-template-columns: auto auto; justify-content: start; }
  .quick-grid { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr 1fr; }
  .creds ul { grid-template-columns: repeat(4, 1fr); }
  .ex-grid, .cards3 { grid-template-columns: 1fr 1fr; }
  .wl-box { padding: 36px; }
  .final .ctas { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  .quick-grid { grid-template-columns: repeat(3, 1fr); }
  .qcard { grid-template-columns: 1fr; grid-template-rows: 190px auto; }
  .qcard .body { padding: 22px; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .ngrid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 78px 22px 24px; }
  .ex-grid, .cards3 { grid-template-columns: repeat(3, 1fr); }
  .office { grid-template-columns: 1.1fr 1fr; }
  .office .map, .office .map iframe { min-height: 100%; }
  .office .info { padding: 36px; }
  footer .top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
@media (min-width: 980px) {
  :root { --bar-h: 76px; }
  .brand img { height: 34px; }
  .nav { display: flex; align-items: center; gap: 2px; margin-right: 8px; }
  .menu-btn { display: none; }
  .bar .bar-cta { display: inline-flex; }
  .mbar { display: none; }
  footer { padding-bottom: 40px; }
  .sec { padding-block: 96px; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; padding-block: 64px 110px; }
  .hero-photo { order: 2; aspect-ratio: 4 / 4.4; }
  .hero-photo img { object-position: 54% 50%; }
  .quick { margin-top: -64px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.rev .photo { order: 2; }
  .wl-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
  .phero .wrap { grid-template-columns: 1.1fr 1fr; gap: 56px; padding-block: 72px 84px; }
  .aff .seta { right: 2%; width: 600px; height: 600px; opacity: .7; }
}

/* ---------- affiliates: two paths, partner branches ---------- */
.paths { display: grid; gap: 12px; margin-top: 26px; max-width: 920px; }
.path { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 18px; border-radius: 18px; background: rgb(243 236 226 / 0.08); border: 1px solid rgb(226 205 163 / 0.45); color: var(--cream); text-decoration: none; transition: background .15s ease, transform .15s ease; }
.path:hover { background: rgb(243 236 226 / 0.15); transform: translateY(-1px); }
.path .pi { width: 52px; height: 52px; border-radius: 14px; background: var(--cream); color: var(--accent); display: grid; place-items: center; }
.path .pi svg { width: 28px; height: 28px; }
.path b { display: block; font: 400 22px/1.15 var(--font-display); color: var(--gold); margin-bottom: 4px; }
.path b + span { font-size: 16px; color: rgb(243 236 226 / 0.85); line-height: 1.4; display: block; }
.path > svg { width: 24px; height: 24px; color: var(--gold); }
.roles { display: grid; gap: 14px; margin-top: 28px; }
.role { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; }
.role h3 { font-size: 28px; color: var(--wine); margin-bottom: 12px; }
.role ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.role li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; }
.role li svg { flex: none; color: var(--accent); margin-top: 1px; }
.role.briko { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.role.briko h3 { color: var(--gold); }
.role.briko li svg { color: var(--gold); }
.aff .aff-ctas { display: grid; gap: 12px; margin-top: 22px; }
.aff .aff-ctas .btn { margin-top: 0; }

/* ---------- events on the home page ---------- */
.ev { background: var(--bg-2); }
.ev [data-events] { margin-top: 30px; display: grid; gap: 22px; }
.ev-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.ev-date { width: 74px; height: 82px; border-radius: 16px; background: var(--wine); color: var(--gold); display: grid; place-content: center; text-align: center; line-height: 1; }
.ev-date b { font: 400 36px/1 var(--font-display); color: var(--cream); }
.ev-date span { font: 700 13px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 6px; }
.ev-date.sm { width: 56px; height: 62px; border-radius: 12px; }
.ev-date.sm b { font-size: 26px; }
.ev-date.sm span { font-size: 11px; margin-top: 4px; }
.ev-tag { display: inline-block; font: 700 12px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 6px 10px; border-radius: 999px; }
.ev-body h3 { font-size: clamp(28px, 5vw, 40px); color: var(--wine); margin: 10px 0 8px; }
.ev-meta { list-style: none; margin: 0 0 10px; padding: 0; color: var(--ink); font-weight: 700; font-size: 17px; display: grid; gap: 2px; }
.ev-body p { color: var(--muted); margin: 0 0 18px; font-size: 17px; }
.ev-others { font-size: 26px; color: var(--wine); margin-bottom: 10px; }
.ev-row { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); margin-bottom: 10px; }
.ev-row-t strong { display: block; font-size: 18px; color: var(--wine); }
.ev-row-t small { color: var(--muted); font-size: 15px; }
.ev-go { grid-column: 2; font-weight: 700; color: var(--accent); font-size: 15px; }
.ev-empty { margin: 0; padding: 22px; border-radius: 18px; border: 1px dashed var(--gold-2); color: var(--muted); background: var(--surface); }

@media (max-width: 520px) {
  .ev-card { grid-template-columns: 1fr; }
  .ev-card .btn { width: 100%; }
}
@media (min-width: 600px) {
  .aff .aff-ctas { grid-template-columns: auto auto; justify-content: start; }
  .ev-row { grid-template-columns: auto 1fr auto; }
  .ev-go { grid-column: auto; }
}
@media (min-width: 860px) {
  .paths { grid-template-columns: 1fr 1fr; }
  .roles { grid-template-columns: 1fr 1fr; }
  .ev-card { padding: 30px; gap: 28px; }
  .ev-date { width: 96px; height: 104px; }
  .ev-date b { font-size: 46px; }
}
@media (min-width: 980px) {
  .phero .paths { grid-template-columns: 1fr; margin-top: 0; }
}
.city-state { align-items: end; }

/* ---------- offices: next locations ---------- */
.next-offices { margin-top: 22px; padding: 20px 22px; border-radius: var(--r); border: 1px dashed var(--gold-2); background: var(--surface); }
.next-offices .label { margin-bottom: 6px; }
.next-offices p { margin: 0; font-size: 18px; color: var(--ink); }
.next-offices b { color: var(--wine); }
