/* ==========================================================================
   Reset + primitivas compartidas
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  color: var(--color-navy);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

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

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

/* --- Contenedor --------------------------------------------------------- */

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

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

/* --- Solo para lectores de pantalla ------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

/* --- Eyebrow (etiqueta pequeña en rojo sobre los títulos) ---------------- */

.eyebrow {
  font-size: 13px;
  font-weight: var(--fw-semibold);
  letter-spacing: 2px;
  color: var(--color-red);
  text-transform: uppercase;
}

/* --- Títulos de sección ------------------------------------------------- */

.section-title {
  font-size: 48px;
  font-weight: var(--fw-bold);
  line-height: 1.12;
  color: var(--color-navy);
}

.gold-underline {
  width: 56px;
  height: 3px;
  background: var(--gradient-gold);
  border: 0;
  margin: 0;
}

/* --- Botones ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  padding-left: 32px;
  color: var(--color-white);
  background: var(--color-red);
}

.btn--primary:hover {
  background: #8e191c;
}

.btn--primary .btn__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.btn--gold {
  border: 1.5px solid var(--color-gold);
  background: transparent;
}

.btn--gold span {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn--gold:hover {
  border-color: var(--color-gold-light);
}

/* Botón de WhatsApp: usa el verde de la marca para que se reconozca al vuelo,
   con el icono en blanco (assets/icons/whatsapp-blanco.svg). */
.btn--whatsapp {
  padding-left: 24px;
  color: var(--color-white);
  background: #1fa855;
}

.btn--whatsapp:hover {
  background: #17904a;
}

.btn--whatsapp .btn__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.btn--sm {
  padding: 12px 28px;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Enlace dentro de un párrafo
   Los anchors heredan color y no llevan subrayado (ver reset), así que un
   enlace en medio de un texto necesita marcarse de forma explícita.
   -------------------------------------------------------------------------- */

.enlace-inline {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(209, 172, 97, 0.7);
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.enlace-inline:hover {
  color: var(--color-gold-light);
  text-decoration-color: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   FORMULARIOS: avisos, errores y campo trampa
   -------------------------------------------------------------------------- */

/* Señuelo antispam: fuera de la vista, del tabulador y de los lectores de
   pantalla. Si llega relleno, el envío es de un bot. */
.campo-trampa {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-aviso {
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.5;
  border-radius: 8px;
  border-left: 3px solid currentColor;
}

.form-aviso--ok {
  color: #14713c;
  background: #e8f6ee;
}

.form-aviso--error {
  color: var(--color-red);
  background: #fdecec;
}

.form-aviso strong {
  font-weight: var(--fw-bold);
}

.campo__error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--color-red);
}
