/* -------------------------------------------------------
   RESET BÁSICO
------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* -------------------------------------------------------
   TIPOGRAFÍA Y BASE GLOBAL
------------------------------------------------------- */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #f7f7f7;
}

/* -------------------------------------------------------
   CONTENEDORES
------------------------------------------------------- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* -------------------------------------------------------
   BARRA SUPERIOR (CORREGIDA)
------------------------------------------------------- */
.top-info {
    display: flex;
    justify-content: flex-end; /* evita romper sticky */
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 6px 20px;
    background: #111;
    color: #fff;
    font-size: 0.9rem;
}

.top-info span {
    display: inline-block;
}

/* -------------------------------------------------------
   UTILIDADES GENERALES
------------------------------------------------------- */

/* Botones base */
.btn {
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

/* Colores corporativos */
.btn-yellow {
    background: #d4a017;
    color: #fff;
}

.btn-dark {
    background: #222;
    color: #fff;
}

/* Secciones */
.section {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #1a1f29;
}

.section-subtitle {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* -------------------------------------------------------
   INPUTS Y FORMULARIOS
------------------------------------------------------- */
input,
textarea {
    padding: 12px;
    border: 1px solid #bbb;
    border-radius: 5px;
    width: 100%;
    font-size: 1rem;
    background: #fff;
}

textarea {
    height: 140px;
    resize: vertical;
}

/* Enfoque accesible */
input:focus,
textarea:focus {
    border-color: #d4a017;
    outline: none;
    box-shadow: 0 0 4px rgba(212, 160, 23, 0.4);
}

/* -------------------------------------------------------
   FIX PARA ANCLAS
------------------------------------------------------- */
#contacto {
    scroll-margin-top: 140px; /* evita que el header tape el título */
}

/* -------------------------------------------------------
   FIX PARA INTRODUCCIÓN (si existe esa sección)
------------------------------------------------------- */
.intro-tecnicas {
    padding-top: 40px;
    padding-bottom: 20px;
    background: #fff;
}