/* Sintsoft · componentes (prefijo sf-). Requiere tokens.css; las animaciones están en motion.css. */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700;800;900&display=swap');

/* Sintsoft — estilos de componentes. Todos los valores salen de tokens.css (--nombre). Prefijo: sf- */

.sf-root { font-family: var(--font-sans); color: var(--ink); background: var(--surface-0); }
.sf-root *, .sf-root *::before, .sf-root *::after { box-sizing: border-box; }
.sf-root a { color: inherit; text-decoration: none; }
.sf-accent { color: var(--brand); }

/* Foco visible en todo control */
.sf-root a:focus-visible, .sf-root button:focus-visible, .sf-root input:focus-visible,
.sf-root textarea:focus-visible, .sf-root select:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Button */
.sf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
  min-height: 48px; padding: 0 24px; border: 2px solid transparent; border-radius: var(--radius-lg);
  font-family: var(--font-sans); font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer;
  transition: transform var(--duration-press) var(--ease-out-strong), box-shadow var(--duration-press) var(--ease-out-strong), background-color var(--duration-press) var(--ease-out-strong);
}
.sf-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .sf-btn:hover { transform: translateY(-2px); } .sf-btn:active { transform: scale(0.97); } }
.sf-btn--lg { min-height: 58px; padding: 0 30px; font-size: 19px; }
.sf-btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-button); }
.sf-btn--outline { background: rgba(255, 255, 255, 0.85); border-color: var(--brand); color: var(--navy); }
.sf-btn--navy { background: var(--navy); border-color: var(--glow); color: var(--on-navy); box-shadow: var(--shadow-button-navy); }
.sf-btn--light { background: var(--on-navy); color: var(--navy); box-shadow: 0 16px 36px rgba(4, 20, 60, 0.35); }
.sf-btn[disabled], .sf-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }
.sf-btn svg { flex: none; }

/* NavBar */
.sf-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; }
.sf-nav__logo { display: block; height: 76px; width: auto; }
.sf-nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; font-size: 18px; font-weight: 600; }
.sf-nav__link { padding: 10px 0; border-bottom: 3px solid transparent; transition: color var(--duration-press) var(--ease-out-strong); }
.sf-nav__link[aria-current="page"] { border-bottom-color: var(--brand); }
@media (hover: hover) and (pointer: fine) { .sf-nav__link:hover { color: var(--brand); } }

/* Hero */
.sf-hero { position: relative; overflow: hidden; background: var(--hero-wash); }
.sf-hero__inner { position: relative; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-7); }
.sf-hero__title { margin: 0; font-size: 92px; line-height: 1; font-weight: 900; letter-spacing: -0.04em; }
.sf-hero__lead { margin: 0; max-width: 600px; font-size: 22px; line-height: 1.5; }
.sf-hero__lead strong { font-weight: 800; }

/* ProductCard (vidrio) */
.sf-glass { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); }
.sf-product { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 40px; text-align: center; border-radius: var(--radius-xl);
  transition: transform var(--duration-card) var(--ease-out-strong), box-shadow var(--duration-card) var(--ease-out-strong); }
@media (hover: hover) and (pointer: fine) { .sf-product:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); } }
.sf-product__logo { width: 100%; max-width: 380px; height: auto; display: block; }
.sf-product__text { margin: 0; font-size: 22px; line-height: 1.4; font-weight: 600; }

/* TrustBar */
.sf-trust { background: var(--band-navy); color: var(--on-navy); }
.sf-trust__inner { max-width: var(--container-max); margin: 0 auto; padding: 36px var(--space-7); display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between; }
.sf-trust__item { flex: 1 1 260px; display: flex; align-items: center; gap: 18px; }
.sf-trust__text { margin: 0; font-size: 19px; line-height: 1.35; font-weight: 500; }

/* StatCard */
.sf-stat { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 320px; padding: var(--space-7); border-radius: var(--radius-2xl); background: var(--surface-0); color: var(--ink);
  box-shadow: var(--shadow-stat); transition: transform var(--duration-card) var(--ease-out-strong), box-shadow var(--duration-card) var(--ease-out-strong); }
.sf-stat--navy { background: var(--navy); color: var(--on-navy); }
.sf-stat__figure { margin: 0; font-size: 150px; line-height: 0.9; font-weight: 900; letter-spacing: -0.05em; color: var(--brand); }
.sf-stat--navy .sf-stat__figure { color: var(--on-navy); }
.sf-stat__label { margin: 0; font-size: 21px; line-height: 1.35; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .sf-stat:hover { transform: translateY(-4px); } }

/* CtaBand */
.sf-cta { position: relative; overflow: hidden; background: var(--cta-blue); color: var(--on-navy); }
.sf-cta__inner { position: relative; max-width: var(--container-max); margin: 0 auto; padding: 120px var(--space-7); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.sf-cta__title { margin: 0; flex: 1 1 520px; font-size: 76px; line-height: 1; font-weight: 900; letter-spacing: -0.04em; }

/* SiteFooter */
.sf-footer { background: var(--surface-0); }
.sf-footer__inner { max-width: var(--container-max); margin: 0 auto; padding: 64px var(--space-7) 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.sf-footer__logo { height: 84px; width: auto; display: block; }
.sf-footer__links { display: flex; flex-wrap: wrap; gap: 32px; font-size: 17px; font-weight: 600; }
.sf-footer__note { margin: 0; font-size: 16px; color: var(--ink-muted); }

/* Field (formulario de contacto) */
.sf-field { display: flex; flex-direction: column; gap: var(--space-2); font-family: var(--font-sans); }
.sf-field__label { font-size: 16px; font-weight: 700; color: var(--ink); }
.sf-field__control { width: 100%; min-height: 52px; padding: 12px 16px; font: 500 18px/1.4 var(--font-sans); color: var(--ink); background: var(--surface-50); border: 2px solid var(--control-border); border-radius: var(--radius-md); }
textarea.sf-field__control { min-height: 140px; resize: vertical; }
.sf-field__control::placeholder { color: var(--ink-muted); }
.sf-field__hint { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--ink-muted); }
.sf-field--error .sf-field__control { border-color: var(--danger); }
.sf-field__error { display: flex; align-items: center; gap: var(--space-2); margin: 0; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--danger); }

/* Color de texto de los botones: el selector con .sf-root a gana a .sf-root a { color: inherit } */
.sf-root a.sf-btn--primary, .sf-root button.sf-btn--primary, .sf-root a.sf-btn--navy { color: var(--on-brand); }
.sf-root a.sf-btn--navy { color: var(--on-navy); }
.sf-root a.sf-btn--outline, .sf-root a.sf-btn--light, .sf-root button.sf-btn--light { color: var(--navy); }
