/* =========================================================
   COLIBRÍ FINANCES — Landing premium
   Paleta: coral del logo + neutros cálidos + dorado sutil
   ========================================================= */

:root {
  --coral: #e8804a;
  --coral-dark: #c96534;
  --coral-soft: #fbe9dd;
  --gold: #c9a86a;
  --ink: #1f1d1b;
  --ink-soft: #4a4642;
  --muted: #8a847e;
  --line: #ece6df;
  --bg: #ffffff;
  --bg-soft: #faf6f1;
  --bg-dark: #1f1d1b;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(31, 29, 27, 0.05);
  --shadow: 0 20px 60px -20px rgba(31, 29, 27, 0.18);
  --shadow-lg: 0 40px 80px -30px rgba(200, 100, 50, 0.25);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--coral); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; font-family: var(--font-sans); font-weight: 600; }
h4 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; margin-bottom: 12px; color: var(--ink); }

p { color: var(--ink-soft); }

.accent { color: var(--coral); }

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(232, 128, 74, 0.6);
}
.btn--primary:hover {
  background: var(--coral-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px rgba(232, 128, 74, 0.7);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--coral); color: var(--coral); }
.btn--block { width: 100%; }
.btn--small { padding: 9px 18px; font-size: 14px; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.header__logo img { height: 42px; width: auto; }
.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.header__nav a:hover { color: var(--coral); }
.header__nav .btn { color: #fff; }

/* ===== Hero ===== */
.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(1100px 500px at 90% -10%, var(--coral-soft), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__text h1 { margin-bottom: 24px; }
.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero__trust {
  list-style: none;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* Hero visual card */
.hero__visual { display: flex; justify-content: center; }
.hero__card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero__card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--green { background: #29c46f; }
.dot--yellow { background: #f4c542; }
.dot--red { background: #ed5e5e; }
.hero__card-title {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.hero__card-body { padding: 24px 22px; }
.hero__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.hero__row span { color: var(--muted); }
.hero__row strong { font-weight: 600; font-size: 16px; }
.hero__row--highlight {
  background: var(--coral-soft);
  padding: 14px 14px;
  border-radius: var(--radius-sm);
  border: none;
  margin: 8px 0 18px;
}
.hero__row--highlight strong { color: var(--coral-dark); font-size: 17px; }
.hero__card-foot {
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
  text-align: center;
}

/* ===== Secciones ===== */
.section { padding: 90px 0; }
.section--light { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.75); }

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section__header p {
  margin-top: 14px;
  font-size: 1.05rem;
}
.section__header--light .eyebrow { color: var(--gold); }

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

/* ===== Cards ===== */
.card {
  background: #fff;
  padding: 32px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--coral-soft);
}
.card__icon {
  font-size: 32px;
  margin-bottom: 18px;
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  background: var(--coral-soft);
  border-radius: 12px;
}
.card p { font-size: 14px; line-height: 1.6; }

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}
.step {
  padding: 32px 28px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
}
.step__num {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--coral);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.9;
}
.step p { font-size: 14px; }

/* ===== Quotes ===== */
.quote {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 30px 28px;
  backdrop-filter: blur(6px);
}
.quote p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
}
.quote__author strong { display: block; color: var(--gold); font-family: var(--font-sans); font-weight: 600; }
.quote__author span { font-size: 13px; color: rgba(255,255,255,0.55); }

/* ===== Formulario ===== */
.section--form {
  background:
    radial-gradient(800px 400px at 10% 100%, var(--coral-soft), transparent 60%),
    var(--bg-soft);
}
.form__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.form__intro h2 { margin-bottom: 16px; }
.form__intro p { margin-bottom: 28px; }
.form__bullets {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 36px;
}
.form__bullets li {
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
}
.form__contact {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.form__contact p { font-size: 14px; margin-bottom: 6px; }
.form__phone {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--coral);
  margin: 6px 0 12px;
}

.form {
  background: #fff;
  padding: 38px 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form__row { margin-bottom: 20px; }
.form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__row--check { margin-top: 8px; }
.form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  outline: none;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  background: #fff;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(232, 128, 74, 0.12);
}
.form textarea { resize: vertical; min-height: 100px; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 400 !important;
  color: var(--ink-soft) !important;
  cursor: pointer;
  line-height: 1.5;
}
.checkbox input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--coral);
}
.checkbox a { color: var(--coral); text-decoration: underline; }

.form__legal {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
}
.form__success {
  margin-top: 18px;
  padding: 14px;
  background: #e9f8ef;
  color: #1d7a3f;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 60px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
}
.footer__brand img {
  height: 56px;
  width: auto;
  margin-bottom: 18px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
}
.footer__brand p { color: rgba(255,255,255,0.6); font-size: 14px; max-width: 320px; }
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.footer__cols h4 { color: #fff; }
.footer__cols p { font-size: 14px; line-height: 1.9; }
.footer__cols a { color: rgba(255,255,255,0.7); }
.footer__cols a:hover { color: var(--coral); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero { padding: 60px 0 70px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__wrapper { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 70px 0; }
  .header__nav { gap: 18px; }
  .header__nav a:not(.btn) { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .form { padding: 28px 22px; }
  .form__row--split { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .footer__cols { grid-template-columns: 1fr; }
}
