/* ==========================================================================
   Grupo Feint — Holding de Inversión
   Hoja de estilos principal
   Paleta: #AB9372 (oro), #D4A76A (oro claro), #4F4E4E, #141313 (texto)
   Tipografía: Inter
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
  --gold: #AB9372;
  --gold-light: #D4A76A;
  --gray-dark: #4F4E4E;
  --text: #141313;
  --text-soft: #4b4b4b;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --bg-softer: #f3f4f6;
  --border: #e8e6e2;
  --white: #ffffff;
  --dark-1: #1a1a1a;
  --dark-2: #2d2d2d;

  --gold-grad: linear-gradient(135deg, #AB9372 0%, #D4A76A 100%);
  --gold-grad-deep: linear-gradient(135deg, #AB9372 0%, #4F4E4E 100%);
  --tint: linear-gradient(135deg, rgba(171,147,114,.10) 0%, rgba(171,147,114,.04) 100%);

  --shadow-sm: 0 2px 12px rgba(0,0,0,.05);
  --shadow-md: 0 12px 30px -10px rgba(0,0,0,.10);
  --shadow-lg: 0 24px 50px -12px rgba(0,0,0,.16);
  --shadow-gold: 0 14px 34px -8px rgba(171,147,114,.45);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --maxw: 1200px;
  --ease: cubic-bezier(.4, 0, .2, 1);

  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 10px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--tint); }

.section-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.section-eyebrow {
  display: block; font-size: .8rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.section-sub { font-size: 1.15rem; color: var(--text-soft); }
.rule {
  width: 88px; height: 4px; border-radius: 99px; margin: 22px auto 0;
  background: var(--gold-grad-deep);
}
.text-gold { color: var(--gold); }
.text-gold-light { color: var(--gold-light); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px; border-radius: 14px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-primary {
  background: var(--gold-grad); color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -8px rgba(171,147,114,.6); }
.btn-ghost {
  background: rgba(255,255,255,.08); color: #fff;
  border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-3px); }
.btn-deep { background: var(--gold-grad-deep); color: #fff; }
.btn-deep:hover { transform: scale(1.04); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.icon-circle {
  width: 60px; height: 60px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tint); color: var(--gold);
  font-weight: 800; font-size: 1.5rem;
  flex-shrink: 0;
}
.icon-circle svg { width: 30px; height: 30px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.06); border-bottom-color: var(--border); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; height: 100%;
  padding: 0 24px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; object-fit: contain; }
.brand__name { font-size: 1.45rem; font-weight: 800; color: var(--gold); letter-spacing: -.02em; }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__link {
  position: relative; font-size: .92rem; font-weight: 500; color: var(--text);
  padding: 6px 0; transition: color .25s ease;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  height: 2px; width: 0; background: var(--gold); transition: width .3s ease;
}
.nav__link:hover, .nav__link.active { color: var(--gold); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

.nav__cta { padding: 10px 22px; font-size: .9rem; }

.burger { display: none; padding: 8px; color: var(--text); }
.burger svg { width: 26px; height: 26px; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(82vw, 320px); z-index: 120;
  background: #fff; box-shadow: -10px 0 40px rgba(0,0,0,.18);
  transform: translateX(100%); transition: transform .35s var(--ease);
  padding: 24px; overflow-y: auto;
}
.drawer.open { transform: none; }
.drawer__close { margin-bottom: 24px; color: var(--text); padding: 6px; }
.drawer__close svg { width: 26px; height: 26px; }
.drawer__links { display: flex; flex-direction: column; gap: 6px; }
.drawer__links a { padding: 12px 6px; font-weight: 500; border-radius: 10px; }
.drawer__links a:hover { background: var(--bg-soft); color: var(--gold); }
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 110;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.overlay.show { opacity: 1; visibility: visible; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding-top: var(--nav-h);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s ease-in-out; transform: scale(1.06);
}
.hero__slide.active { opacity: 1; transform: scale(1); transition: opacity 1.2s ease-in-out, transform 6s ease-out; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,.55) 0%, rgba(15,15,15,.45) 45%, rgba(15,15,15,.72) 100%);
}
.hero__content {
  position: relative; z-index: 3; max-width: 920px; margin: 0 auto;
  text-align: center; color: #fff; padding: 40px 24px;
}
.hero__eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-light);
  border: 1px solid rgba(212,167,106,.5); border-radius: 99px; padding: 8px 18px; margin-bottom: 26px;
}
.hero__title {
  font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 800; margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero__lead { font-size: clamp(1.05rem, 2.4vw, 1.4rem); font-weight: 300; opacity: .94; margin-bottom: 14px; }
.hero__badge {
  font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 800; color: var(--gold-light);
  margin-bottom: 38px; text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero__dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 10px; }
.hero__dots button {
  width: 11px; height: 11px; border-radius: 99px; background: rgba(255,255,255,.45);
  transition: all .3s ease;
}
.hero__dots button.active { background: var(--gold-light); width: 30px; }

/* ==========================================================================
   Quiénes somos
   ========================================================================== */
.prose { max-width: 820px; margin: 0 auto; }
.prose .card { padding: 44px; background: var(--tint); border-color: rgba(171,147,114,.18); }
.prose p { font-size: 1.12rem; color: var(--text-soft); margin-bottom: 22px; text-align: justify; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--gold-light); font-weight: 700; }

/* ---------- Grid utilities ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.stack { display: flex; flex-direction: column; gap: 24px; }

/* ---------- Estructura ---------- */
.struct-card { padding: 36px; }
.struct-card h3 { font-size: 1.4rem; color: var(--gold); margin-bottom: 12px; }
.struct-card p { color: var(--text-soft); font-size: 1.05rem; }
.branch { display: flex; gap: 16px; margin-top: 18px; }
.branch__num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--gold-grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0;
}
.branch p { font-size: 1rem; }

/* ---------- Enfoque ---------- */
.feature-banner {
  max-width: 880px; margin: 0 auto 48px; padding: 44px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(171,147,114,.15) 0%, rgba(171,147,114,.07) 100%);
  border: 2px solid rgba(171,147,114,.28); text-align: center;
}
.feature-banner p:first-child { font-size: 1.35rem; font-weight: 600; color: var(--gold); margin-bottom: 16px; }
.feature-banner p:last-child { font-size: 1.1rem; color: var(--text); }

.principle { padding: 40px 32px; text-align: center; }
.principle .icon-circle { margin: 0 auto 24px; }
.principle h3 { font-size: 1.35rem; color: var(--gold); margin-bottom: 12px; }
.principle p { color: var(--text-soft); }

.frames { max-width: 960px; margin: 56px auto 0; padding: 44px; }
.frames h3 { font-size: 1.4rem; color: var(--gold); margin-bottom: 14px; }
.frames > p { color: var(--text-soft); margin-bottom: 28px; font-size: 1.05rem; }
.frame-box {
  padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.7);
  border: 1px solid var(--border);
}
.frame-box h4 { font-size: 1.25rem; color: var(--gold); margin-bottom: 10px; }
.frame-box p { color: var(--text-soft); }

/* ==========================================================================
   Criptomonedas (dark)
   ========================================================================== */
.crypto {
  background: linear-gradient(135deg, var(--dark-1) 0%, var(--dark-2) 100%);
  color: #f0f0f0; padding: 110px 0;
}
.crypto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.crypto__visual { display: flex; justify-content: center; position: relative; }
.crypto__glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: var(--gold-grad); opacity: .28; filter: blur(80px);
}
.crypto__visual img { position: relative; z-index: 2; width: 360px; height: 360px; border-radius: 50%; object-fit: cover; }
.crypto h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: var(--gold-light); margin-bottom: 18px; }
.crypto .rule { margin: 0 0 26px; background: var(--gold-grad); }
.crypto__intro { font-size: 1.12rem; margin-bottom: 30px; color: #e6e6e6; }
.crypto__list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 28px; }
.crypto__item { display: flex; gap: 16px; }
.crypto__item .ico {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,167,106,.18); border: 2px solid var(--gold-light);
}
.crypto__item .ico svg { width: 24px; height: 24px; stroke: var(--gold-light); }
.crypto__item h3 { font-size: 1.2rem; color: var(--gold-light); margin-bottom: 6px; }
.crypto__item p { color: #cfcfcf; font-size: .98rem; }
.crypto__note {
  font-style: italic; color: #b3b3b3; border-left: 3px solid var(--gold-light); padding-left: 20px;
}

/* ==========================================================================
   Cómo operamos — línea de proceso
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.process::before {
  content: ''; position: absolute; top: 26px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, rgba(171,147,114,.12), var(--gold) 20%, var(--gold) 80%, rgba(171,147,114,.12));
}
.process__step { text-align: center; padding: 0 8px; position: relative; }
.process__marker {
  width: 52px; height: 52px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--gold-grad); color: #fff; font-weight: 800; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--bg-soft), 0 10px 22px -6px rgba(171,147,114,.55);
}
.process__step h3 { font-size: 1.18rem; color: var(--gold); margin-bottom: 10px; }
.process__step p { color: var(--text-soft); font-size: .95rem; }

@media (max-width: 980px) {
  .process { display: flex; flex-direction: column; gap: 0; }
  .process::before {
    top: 8px; bottom: 40px; left: 25px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--gold), rgba(171,147,114,.12));
  }
  .process__step {
    display: grid; grid-template-columns: 52px 1fr; column-gap: 20px;
    text-align: left; padding: 0 0 34px;
  }
  .process__marker { grid-row: 1 / span 2; margin: 0; }
  .process__step h3 { align-self: center; margin-bottom: 6px; }
}

/* ==========================================================================
   Sectores — mosaico
   ========================================================================== */
.sector-mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.sector-tile {
  grid-column: span 2;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 32px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.sector-tile:nth-child(4), .sector-tile:nth-child(5) { grid-column: span 3; }
.sector-tile::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.sector-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(171,147,114,.35); }
.sector-tile:hover::before { transform: scaleX(1); }
.sector-tile__icon {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 22px;
  background: var(--gold-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px -6px rgba(171,147,114,.5);
}
.sector-tile__icon svg { width: 28px; height: 28px; }
.sector-tile h3 { font-size: 1.3rem; margin-bottom: 10px; }
.sector-tile p { color: var(--text-soft); font-size: .98rem; }

@media (max-width: 980px) {
  .sector-tile, .sector-tile:nth-child(4), .sector-tile:nth-child(5) { grid-column: span 3; }
}
@media (max-width: 640px) {
  .sector-mosaic { grid-template-columns: 1fr; }
  .sector-tile, .sector-tile:nth-child(4), .sector-tile:nth-child(5) { grid-column: auto; }
}

/* ==========================================================================
   Criterios — lista editorial numerada
   ========================================================================== */
.criteria-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; max-width: 1020px; margin: 0 auto; }
.criteria-item { display: flex; gap: 24px; padding: 32px 0; border-top: 1px solid var(--border); }
.criteria-item:nth-child(-n+2) { border-top: none; padding-top: 8px; }
.criteria-item:last-child { grid-column: 1 / -1; }
.criteria-item__num {
  font-size: 2.2rem; font-weight: 800; line-height: 1; letter-spacing: -.02em;
  color: var(--gold); opacity: .4; min-width: 58px;
}
.criteria-item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.criteria-item p { color: var(--text-soft); font-size: .98rem; }

@media (max-width: 768px) {
  .criteria-list { grid-template-columns: 1fr; }
  .criteria-item:nth-child(2) { border-top: 1px solid var(--border); padding-top: 32px; }
}

/* ==========================================================================
   Valores — panel de gobernanza
   ========================================================================== */
.values-panel {
  background: var(--tint); border: 1px solid rgba(171,147,114,.18);
  border-radius: var(--radius-xl); padding: 18px 48px;
}
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 72px; }
.value-item { position: relative; padding: 28px 0 28px 32px; border-bottom: 1px solid rgba(171,147,114,.16); }
.value-item:nth-last-child(-n+2) { border-bottom: none; }
.value-item::before {
  content: ''; position: absolute; left: 0; top: 36px; width: 11px; height: 11px;
  background: var(--gold-grad); transform: rotate(45deg); border-radius: 2px;
}
.value-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.value-item p { color: var(--text-soft); font-size: .96rem; }

@media (max-width: 768px) {
  .values-panel { padding: 12px 28px; }
  .values-grid { grid-template-columns: 1fr; gap: 0; }
  .value-item:nth-last-child(2) { border-bottom: 1px solid rgba(171,147,114,.16); }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { margin-bottom: 16px; overflow: hidden; }
.faq__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 26px 30px; text-align: left;
}
.faq__btn h3 { font-size: 1.18rem; font-weight: 700; }
.faq__btn .chev { width: 26px; height: 26px; flex-shrink: 0; color: var(--gold); transition: transform .3s ease; }
.faq__btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq__panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__panel-inner { padding: 0 30px 26px; color: var(--text-soft); font-size: 1.05rem; }
.faq__panel-inner ul { margin: 14px 0; }
.faq__panel-inner li { margin-bottom: 6px; }

.faq-cta {
  margin-top: 48px; padding: 44px; text-align: center; border-radius: var(--radius-xl);
  background: var(--tint);
}
.faq-cta h3 { font-size: 1.5rem; margin-bottom: 12px; }
.faq-cta p { color: var(--text-soft); margin-bottom: 24px; }

/* ==========================================================================
   Contacto
   ========================================================================== */
.contact { max-width: 880px; margin: 0 auto; }
.contact__card { padding: 44px; }
.contact__card h3 { font-size: 1.5rem; color: var(--gold); margin-bottom: 8px; }
.contact__card > p { color: var(--text-soft); margin-bottom: 30px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 2px solid var(--border); font-size: 1rem; font-family: inherit;
  transition: border-color .25s ease, box-shadow .25s ease; background: #fff; color: var(--text);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(171,147,114,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 26px; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.check label { font-size: .9rem; color: var(--text-soft); }
.check a { color: var(--gold); text-decoration: underline; }
.form-btn { width: 100%; }

.form-alert { margin-top: 24px; padding: 22px; border-radius: 14px; display: none; gap: 16px; align-items: center; }
.form-alert.show { display: flex; }
.form-alert svg { width: 30px; height: 30px; flex-shrink: 0; }
.form-alert.success { background: rgba(34,197,94,.12); border: 2px solid #22c55e; color: #15803d; }
.form-alert.error { background: rgba(239,68,68,.12); border: 2px solid #ef4444; color: #b91c1c; }
.form-alert strong { display: block; font-size: 1.1rem; margin-bottom: 2px; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.contact-cards .card { padding: 28px; text-align: center; }
.contact-cards svg { width: 32px; height: 32px; margin: 0 auto 14px; color: var(--gold); }
.contact-cards h4 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-cards a, .contact-cards p { color: var(--text-soft); font-size: .95rem; }
.contact-cards a:hover { color: var(--gold); }

/* ==========================================================================
   Legal disclaimer + Footer
   ========================================================================== */
.disclaimer { padding: 52px 0; border-top: 1px solid var(--border); text-align: center; }
.disclaimer p { color: var(--text-soft); font-size: .9rem; max-width: 960px; margin: 0 auto 10px; }
.disclaimer .copy { font-size: .8rem; color: #9a9a9a; }

.footer { padding: 64px 0 40px; background: var(--bg-soft); border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__brand img { height: 78px; width: auto; object-fit: contain; }
.footer__brand span { font-size: 1.25rem; font-weight: 800; color: var(--gold); }
.footer__about { color: var(--text-soft); font-size: .95rem; max-width: 340px; }
.footer h3 { font-size: 1.05rem; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; font-size: .95rem; color: var(--text-soft); }
.footer a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 28px; text-align: center; }
.footer__legal { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.footer__legal a { color: var(--gold); font-size: .9rem; }
.footer__legal a:hover { text-decoration: underline; }
.footer__copy { font-size: .85rem; color: #9a9a9a; }

/* ==========================================================================
   Floating: WhatsApp/AI chat, back-to-top
   ========================================================================== */
.chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.chat-box {
  width: min(90vw, 380px); height: 520px; max-height: 70vh;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; overflow: hidden;
}
.chat-box.open { display: flex; }
.chat-head { padding: 22px; display: flex; justify-content: space-between; align-items: center; background: var(--gold-grad); color: #fff; }
.chat-head h3 { font-size: 1.1rem; margin-bottom: 3px; }
.chat-head p { font-size: .85rem; opacity: .9; }
.chat-head button { color: #fff; font-size: 1.4rem; line-height: 1; }
.chat-body { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(135deg, #f9fafb, #f3f4f6); }
.bubble { max-width: 85%; padding: 12px 16px; border-radius: 18px; font-size: .9rem; line-height: 1.5; }
.bubble.bot { background: #e8f5e9; color: #1f2937; align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.user { background: var(--gold); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bubble strong { font-weight: 700; }
.chat-foot { padding: 16px; border-top: 1px solid var(--border); background: #fff; }
.chat-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.chat-quick button {
  font-size: .78rem; padding: 8px 10px; border-radius: 9px; font-weight: 500;
  background: rgba(171,147,114,.1); color: var(--gold); border: 1px solid var(--gold);
  transition: transform .2s ease;
}
.chat-quick button:hover { transform: scale(1.04); }
.chat-input { display: flex; gap: 8px; }
.chat-input input {
  flex: 1; padding: 12px 16px; border-radius: 99px; border: 2px solid var(--border);
  font-size: .9rem; font-family: inherit; background: #fafafa;
}
.chat-input input:focus { outline: none; border-color: var(--gold); }
.chat-input button {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; color: #fff;
  display: flex; align-items: center; justify-content: center; background: var(--gold-grad);
}
.chat-input button svg { width: 20px; height: 20px; }

.fab {
  width: 66px; height: 66px; min-width: 66px; aspect-ratio: 1 / 1;
  flex-shrink: 0; padding: 0; box-sizing: border-box;
  border-radius: 50%; position: relative; background: #fff;
  box-shadow: var(--shadow-md); transition: transform .3s ease;
  animation: pulse-glow 2.4s ease-in-out infinite;
}
.fab:hover { transform: scale(1.08); animation: none; }
.fab img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; display: block; }
.fab .dot { position: absolute; top: 2px; right: 2px; width: 15px; height: 15px; border-radius: 50%; background: #22c55e; border: 2px solid #fff; }

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(171,147,114,.35); }
  50% { box-shadow: 0 0 0 12px rgba(171,147,114,0); }
}

.to-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%; background: var(--gold-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
  transform: translateY(12px); transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; }

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 130;
  padding: 22px; background: linear-gradient(135deg, var(--dark-1), var(--dark-2)); color: #fff;
  transform: translateY(110%); transition: transform .5s var(--ease);
}
.cookie.show { transform: none; }
.cookie__inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cookie__text { flex: 1; min-width: 280px; }
.cookie__text h3 { font-size: 1.1rem; margin-bottom: 6px; }
.cookie__text p { font-size: .88rem; color: #cfcfcf; }
.cookie__text a { color: var(--gold-light); text-decoration: underline; }
.cookie__actions { display: flex; gap: 12px; }
.cookie__actions button { padding: 11px 22px; border-radius: 10px; font-weight: 600; font-size: .9rem; }
.cookie__reject { border: 2px solid #6b6b6b; color: #d8d8d8; }
.cookie__reject:hover { border-color: #999; }
.cookie__accept { background: var(--gold-grad); color: #fff; }

/* ==========================================================================
   Modals (legal)
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); }
.modal__box {
  position: relative; max-width: 760px; width: calc(100% - 32px); max-height: 88vh;
  margin: 6vh auto; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow-y: auto;
}
.modal__head {
  position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--border);
  padding: 22px 28px; display: flex; justify-content: space-between; align-items: center;
}
.modal__head h2 { font-size: 1.6rem; }
.modal__close { font-size: 1.5rem; color: var(--gray-dark); line-height: 1; }
.modal__body { padding: 30px 28px; }
.modal__body section { margin-bottom: 26px; }
.modal__body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.modal__body p, .modal__body li { color: var(--text-soft); }
.modal__body ul { margin: 12px 0 0 20px; list-style: disc; }
.modal__body li { margin-bottom: 8px; }
.modal__body a { color: var(--gold); text-decoration: underline; }
.modal__date { font-size: .85rem; color: #9a9a9a; }
.info-box { margin-top: 16px; padding: 18px; border-radius: 12px; background: var(--tint); }
.info-box p { color: var(--text); margin-bottom: 4px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .crypto__grid { grid-template-columns: 1fr; gap: 40px; }
  .crypto__visual { order: -1; }
  .crypto__glow { width: 300px; height: 300px; }
  .crypto__visual img { width: 260px; height: 260px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .prose .card, .contact__card, .frames, .feature-banner { padding: 28px; }
  .hero { min-height: 92vh; }
  .cookie__inner { flex-direction: column; align-items: stretch; }
  .cookie__actions { justify-content: stretch; }
  .cookie__actions button { flex: 1; }
}
