/* ==========================================================================
   Container Pack — Landing (replica)
   Mobile-first. Breakpoints: 480 / 768 / 1024 / 1280
   ========================================================================== */

:root {
  --yellow: #ffcb10;
  --yellow-dark: #e6b700;
  --dark: #101112;
  --text: #1d293f;
  --muted: #706c6c;
  --bg-light: #f7f8fa;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --blue: #1b86f1;
  --footer-bg: #2d2d2d;
  --radius-pill: 50px;
  --radius-card: 16px;
  --max-width: 1180px;
  --font-heading: "Sora", sans-serif;
  --font-body: "Sora", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

fieldset { border: 0; padding: 0; min-width: 0; }

h1, h2, h6 { font-family: var(--font-heading); font-weight: 800; margin: 0 0 16px; line-height: 1.25; }

h1 { font-size: 1.9rem; }
h2 { font-size: 1.6rem; }
h6 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }

p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.container.narrow { max-width: 780px; text-align: center; }

.section { padding: 56px 0; }

.section-title { text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--dark);
  cursor: pointer;
  text-align: center;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.btn-primary {
  background: var(--dark);
  color: #fff;
}

.btn-primary:hover { transform: translateY(-2px); background: #000; }

.btn-block { display: block; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  background: var(--yellow);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo img { width: 84px; height: auto; }

.header-phone {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #fff8e1 0%, #ffffff 65%);
  padding: 40px 0 48px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-title { font-size: 1.75rem; }

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 12px;
}

.check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
}

/* ---------- Form card ---------- */
.hero-form-card,
.cotizar-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: 0 5px 50px rgba(0,0,0,.12), 0 5px 20px rgba(0,0,0,.08);
  padding: 28px 22px;
}

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--yellow-dark);
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.price-note {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.field { margin-bottom: 16px; }

.field label,
.radio-field legend {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
}

.req { color: #d32f2f; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .95rem;
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--dark);
}

.field textarea { resize: vertical; }

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}

.radio-pill input { accent-color: var(--dark); }

.radio-pill:has(input:checked) {
  border-color: var(--dark);
  background: #fdf3d0;
}

.form-warning {
  display: none;
  color: #d32f2f;
  font-size: .82rem;
  margin: 8px 0;
}

.form-warning.visible { display: block; }

.form-success {
  color: #1b7f3a;
  font-size: .9rem;
  font-weight: 600;
  margin-top: 14px;
  text-align: center;
}

.form-noscript {
  font-size: .82rem;
  color: var(--muted);
  margin-top: 10px;
}

/* ---------- Confianza ---------- */
.section-confianza { text-align: center; }
.section-confianza .section-title { text-align: center; }
.section-lead { color: var(--muted); font-size: 1.02rem; }

/* ---------- Benefits ---------- */
.benefits-grid { display: flex; flex-direction: column; gap: 32px; }

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.benefit-item:last-child { border-bottom: none; }

.benefit-item img { width: 44px; height: 44px; flex: 0 0 auto; }

.benefit-item p { color: var(--muted); font-size: .92rem; }

.benefits-image img,
.process-image img {
  border-radius: var(--radius-card);
  object-fit: cover;
  width: 100%;
}

/* ---------- Process ---------- */
.process-grid { display: flex; flex-direction: column-reverse; gap: 32px; }

.steps li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.steps li:last-child { margin-bottom: 0; }

.step-number {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-heading);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps p { color: var(--muted); font-size: .92rem; }

/* ---------- Standalone CTA ---------- */
.cta-standalone { text-align: center; padding: 8px 0 48px; }

/* ---------- Cotizar final ---------- */
.section-cotizar { background: var(--bg-light); }

.cotizar-grid { display: flex; flex-direction: column; gap: 32px; }

.cotizar-image { border-radius: var(--radius-card); margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}

.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.footer-brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; }

.footer-contact a { color: #fff; text-decoration: underline; }

.footer-address { color: #c9c9c9; margin-bottom: 8px; }

.site-footer .btn { margin: 12px 0 20px; }

.footer-legal { font-size: .82rem; color: #c9c9c9; }
.footer-legal a { text-decoration: underline; }

/* ---------- Scroll-reveal animation ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Breakpoints — mobile-first progressive enhancement
   ========================================================================== */

@media (min-width: 480px) {
  .container { padding: 0 24px; }
}

@media (min-width: 768px) {
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.9rem; }
  .hero-title { font-size: 2.1rem; }
  .section { padding: 72px 0; }

  .benefits-grid { flex-direction: row; align-items: center; }
  .benefits-image, .benefits-list { flex: 1; min-width: 0; }

  .process-grid { flex-direction: row; align-items: center; }
  .process-list, .process-image { flex: 1; min-width: 0; }

  .cotizar-grid { flex-direction: row; align-items: flex-start; }
  .cotizar-copy, .cotizar-form-card { flex: 1; min-width: 0; }
}

@media (min-width: 1024px) {
  .header-inner { height: 100px; }
  .logo img { width: 100px; }

  .hero-grid { flex-direction: row; align-items: flex-start; gap: 60px; }
  .hero-copy { flex: 1.1; min-width: 0; padding-top: 20px; }
  .hero-form-card { flex: 1; min-width: 0; }

  .hero-title { font-size: 2.5rem; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2.1rem; }

  .hero-form-card, .cotizar-form-card { padding: 36px; }
}

@media (min-width: 1280px) {
  .header-inner { height: 116px; }
  .logo img { width: 116px; }
  .section { padding: 96px 0; }
}
