:root {
  --yellow: #f4cd45;
  --yellow-2: #ffd966;
  --black: #000;
  --ink: #111;
  --grey: #7d7d7d;
  --light: #f5f4f3;
  --line: #e6e6e6;
  --teal: #09373c;
  --white: #fff;
  --radius: 2px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", "Open Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, 92vw); margin: 0 auto; }
.u { color: var(--yellow); }

/* header */
.header { position: sticky; top: 0; z-index: 40; background: var(--black); color: var(--white); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header .logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--yellow); }
.phone { font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--yellow); color: var(--black); border: 2px solid var(--yellow);
  padding: 13px 24px; font: 700 14px/1 "Inter", sans-serif; letter-spacing: .02em;
  text-transform: uppercase; text-decoration: none; border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--yellow); }
.btn.dark { background: var(--black); border-color: var(--black); color: var(--white); }
.btn.dark:hover { background: transparent; color: var(--black); }
.btn.ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn.ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* hero */
.hero {
  position: relative; color: var(--white); background: #000 url("assets/imagen01.jpg") center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.78) 55%, rgba(0,0,0,.55) 100%); }
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; padding: 80px 0 90px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700; color: var(--yellow); margin: 0 0 18px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; font-weight: 800; margin: 0 0 22px; letter-spacing: -.02em; }
.hero p.lead { font-size: 18px; color: #d9d9d9; max-width: 560px; margin: 0 0 30px; }
.hero .ticks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.hero .ticks li { display: flex; gap: 12px; align-items: flex-start; color: #e8e8e8; }
.hero .ticks li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: 7px; background: var(--yellow); border-radius: 50%; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* chat */
.chat {
  background: var(--white); color: var(--ink); border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45); display: flex; flex-direction: column; height: 600px; max-height: 80vh;
}
.chat-head { background: var(--black); color: var(--white); padding: 16px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 4px solid var(--yellow); }
.chat-head .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: #000; display: grid; place-items: center; font-weight: 800; }
.chat-head strong { display: block; font-size: 15px; }
.chat-head small { color: #bbb; font-size: 12px; }
.chat-head .online { width: 8px; height: 8px; background: #3ecf6e; border-radius: 50%; display: inline-block; margin-right: 6px; }
.chat-body { flex: 1; overflow-y: auto; padding: 20px; background: var(--light); display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 85%; padding: 11px 15px; border-radius: 14px; font-size: 14.5px; white-space: pre-wrap; word-wrap: break-word; }
.msg.bot { background: var(--white); border: 1px solid var(--line); border-top-left-radius: 3px; align-self: flex-start; }
.msg.user { background: var(--black); color: var(--white); border-top-right-radius: 3px; align-self: flex-end; }
.msg.ok { background: #fff8dc; border: 1px solid var(--yellow); align-self: stretch; max-width: 100%; font-size: 13px; }
.typing span { display: inline-block; width: 7px; height: 7px; margin: 0 2px; background: #aaa; border-radius: 50%; animation: b 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes b { 0%, 80%, 100% { transform: translateY(0); opacity: .5 } 40% { transform: translateY(-5px); opacity: 1 } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--black); background: var(--white); padding: 7px 12px; border-radius: 20px; font-size: 13px; cursor: pointer; font-family: inherit; }
.chip:hover { background: var(--yellow); border-color: var(--yellow); }
.consent { padding: 14px 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: #555; display: flex; gap: 10px; align-items: flex-start; }
.consent input { margin-top: 3px; accent-color: #000; }
.chat-foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--white); }
.chat-foot textarea { flex: 1; resize: none; border: 1px solid #d0d0d0; border-radius: 4px; padding: 11px 12px; font: 14.5px "Inter", sans-serif; height: 46px; max-height: 120px; }
.chat-foot textarea:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--yellow); border-color: var(--yellow); }
.chat-foot .btn { padding: 0 18px; }

/* sections */
section { padding: 96px 0; }
.section-title { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; line-height: 1.1; margin: 0 0 16px; letter-spacing: -.01em; }
.section-sub { color: var(--grey); max-width: 640px; margin: 0 0 48px; font-size: 17px; }
.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.service { position: relative; min-height: 340px; color: var(--white); background: #000 center/cover; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; overflow: hidden; cursor: pointer; text-decoration: none; }
.service::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.88)); transition: background .3s; }
.service:hover::before { background: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.95)); }
.service > * { position: relative; }
.service h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.15; }
.service h3::after { content: ""; display: block; width: 34px; height: 4px; background: var(--yellow); margin-top: 12px; }
.service p { margin: 0; font-size: 13.5px; color: #ddd; }

.dark { background: var(--black); color: var(--white); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stat b { display: block; font-size: clamp(48px, 6vw, 78px); font-weight: 800; color: var(--yellow); line-height: 1; }
.stat span { letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: #ccc; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 32px 24px 0 0; }
.step .n { font-size: 54px; font-weight: 800; color: var(--yellow); line-height: 1; }
.step h4 { margin: 14px 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--grey); font-size: 14.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.form { background: var(--light); padding: 36px; display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border: 1px solid #d4d4d4; border-radius: var(--radius); font: 15px "Inter", sans-serif; background: var(--white); }
.field textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.small { font-size: 12.5px; color: #666; }
.notice { padding: 12px 14px; font-size: 14px; border-left: 4px solid var(--yellow); background: var(--white); }
.notice.err { border-color: #cf2e2e; }

.commit { background: var(--yellow); color: var(--black); padding: 60px 0; }
.commit .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.commit h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); font-weight: 800; }

.footer { background: var(--black); color: #bbb; padding: 60px 0 30px; font-size: 14px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer img { height: 30px; width: auto; margin-bottom: 18px; }
.footer h5 { color: var(--white); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; margin: 0 0 14px; }
.footer a { text-decoration: none; display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--yellow); }
.footer .legal { border-top: 1px solid #222; margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; }

.page { padding: 70px 0; max-width: 820px; }
.page h1 { font-size: 38px; }
.page h2 { font-size: 20px; margin-top: 34px; }

@media (max-width: 1000px) {
  .hero .container, .split { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav a:not(.phone) { display: none; }
  .footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .services, .steps, .stats, .row2 { grid-template-columns: 1fr; }
  .hero .container { padding: 44px 0; }
  section { padding: 64px 0; }
  .chat { height: 560px; }
  .header .logo img { height: 26px; }
}
