:root {
  --acento: #1F6F5C;
  --acento-osc: #14503F;
  --tinta: #0F1B2D;
  --texto2: #3E4A5C;
  --fondo: #F6F7F4;
  --borde: #DDE1DA;
  --claro: #7FD1B9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--tinta); background: var(--fondo); line-height: 1.5; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; margin: 0; }
p { margin: 0; }
a { color: var(--acento); }
a:hover { color: var(--acento-osc); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.section h2 { font-size: 42px; line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
.band-white { background: #fff; border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }
.band-dark { background: var(--tinta); color: var(--fondo); }

/* Botones */
.btn { display: inline-flex; align-items: center; min-height: 44px; background: var(--acento); color: #fff; text-decoration: none; padding: 16px 26px; border-radius: 10px; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--acento-osc); color: #fff; }
.btn-sm { padding: 12px 20px; border-radius: 8px; font-size: 15px; }
.btn-outline { background: transparent; color: var(--tinta); border: 1.5px solid var(--tinta); padding: 15px 24px; }
.btn-outline:hover { background: var(--tinta); color: #fff; }

/* Encabezado */
.topbar { border-bottom: 1px solid var(--borde); background: var(--fondo); position: sticky; top: 0; z-index: 10; }
.topbar-in { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); }
.brand svg { color: var(--acento); }
.brand span { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--tinta); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--acento); }

/* Portada */
.hero { padding-top: 96px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.hero-text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--acento); }
.hero h1 { font-size: 60px; line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: 18px; line-height: 1.6; color: var(--texto2); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-card { flex: 1 1 340px; min-width: 0; background: var(--tinta); color: var(--fondo); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.hero-card h2 { font-size: 22px; font-weight: 600; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.checks li { position: relative; padding-left: 36px; font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Ccircle cx='11' cy='11' r='10' stroke='%237FD1B9' stroke-width='1.6'/%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' stroke='%237FD1B9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }

/* Grillas */
.grid { display: grid; gap: 24px; }
.grid-services { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-steps { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.grid-aud { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.section-head p { font-size: 18px; line-height: 1.6; color: var(--texto2); }
.card { border: 1px solid var(--borde); border-radius: 16px; padding: 32px; background: var(--fondo); display: flex; flex-direction: column; gap: 14px; }
.card .num { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; color: var(--acento); }
.card h3 { font-size: 22px; font-weight: 600; line-height: 1.25; }
.card p, .step p { font-size: 16px; line-height: 1.6; color: var(--texto2); }
.step { border-top: 3px solid var(--tinta); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.step-num { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; color: var(--acento); }
.step h3 { font-size: 20px; font-weight: 600; }
.aud { border: 1px solid #33425A; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.aud h3 { font-size: 21px; font-weight: 600; color: var(--claro); }
.aud p { font-size: 16px; line-height: 1.6; color: #C9D1DC; }

/* Preguntas frecuentes */
.faq details { border-bottom: 1px solid var(--borde); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--acento); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 22px; font-size: 16px; line-height: 1.65; color: var(--texto2); }

/* Contacto */
.contact { flex-direction: row; flex-wrap: wrap; gap: 56px; }
.contact-info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.info { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.form { flex: 999 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; background: var(--fondo); border: 1px solid var(--borde); border-radius: 16px; padding: 32px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #B8BFB4; border-radius: 8px; background: #fff; min-height: 44px; color: var(--tinta); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--acento); outline-offset: 1px; }
.form .full, .aviso { grid-column: 1 / -1; }
.full-start { grid-column: 1 / -1; justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aviso { padding: 14px 16px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.aviso.ok { background: #E3F3EC; color: #14503F; }
.aviso.error { background: #FBE9E7; color: #8A1C12; }

/* Pie */
.footer { background: var(--tinta); color: #C9D1DC; }
.footer-in { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 14px; }

/* Celular */
@media (max-width: 720px) {
  .wrap, .wrap-narrow { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section h2 { font-size: 32px; }
  .hero { padding-top: 56px; padding-bottom: 56px; gap: 40px; }
  .hero h1 { font-size: 40px; }
  .nav { gap: 14px; }
  .topbar { position: static; }
  .form { grid-template-columns: minmax(0, 1fr); padding: 22px; }
}
