/* index.css */
/* ============================================================
   VARIABLES GLOBALES
   ============================================================ */
:root {
    --primary: #2c3e50;         /* Azul Marino Corporativo */
    --accent: #3498db;          /* Azul Brillante (Acción) */
    --accent-hover: #2980b9;    /* Azul más oscuro para Hover */
    --bg: #f4f7f6;              /* Gris muy claro de fondo */
    --text: #333333;            /* Gris oscuro para lectura */
    --white: #ffffff;
    /* --shadow: 0 4px 15px rgba(0,0,0,0.08); */
    /* Sombra más profunda: mayor radio de desenfoque y opacidad al 15% */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);   
}

/* ============================================================
   ESTILOS BASE
   ============================================================ */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

/* ============================================================
   HEADER Y LOGO
   ============================================================ */
header {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 0.5rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;         /* Tamaño del logo */
    height: 80px;
    border-radius: 50%;  /* Esto hace que el CONTENEDOR sea circular */
    overflow: hidden;    /* ¡IMPORTANTE! Corta las esquinas blancas de la imagen */
    background: none;    /* Eliminamos cualquier fondo previo */
    border: 2px solid rgba(255, 255, 255, 0.3); /* Un borde sutil opcional */
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Cubre todo el círculo sin dejar espacios */
}

header h1 {
    margin: 0;
    font-size: 2.8rem;
    letter-spacing: 4px;
    font-weight: 800;
    text-transform: uppercase;
    /* Efecto de degradado en el texto */
    background: linear-gradient(to right, #ffffff, #bdc3c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    font-size: 0.9rem;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-top: 5px;
    text-transform: uppercase;
}



/* ============================================================
   CONTENIDO EXTERNO (main.php)
   ============================================================ */
.external-content {
    background: var(--white);
    border: 2px dashed #dcdde1;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 3rem;
    position: relative;
}

.external-content small {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--bg);
    padding: 0 10px;
    color: #95a5a6;
    font-weight: bold;
}

/* ============================================================
   ACORDEONES
   ============================================================ */
.acordeon-contenedor {
    margin-bottom: 3rem;
}

.acordeon-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.acordeon-item summary {
    padding: 1.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
}

.acordeon-item summary:hover {
    background: #fafafa;
}

/* Flecha del acordeón */
.acordeon-item summary::after {
    content: '▼';
    position: absolute;
    right: 25px;
    font-size: 0.8rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.acordeon-item[open] summary::after {
    transform: rotate(180deg);
}

.acordeon-contenido {
    padding: 2rem;
    border-top: 1px solid #f0f0f0;
}

/* ============================================================
   FAQ Y FORMULARIO
   ============================================================ */
.faq-item h3 {
    margin-top: 0;
    color: var(--accent);
    font-size: 1.2rem;
}

.contact-section {
    background: var(--primary);
    color: var(--white);
    padding: 2.5rem;
    margin: -2rem; /* Se expande para llenar el acordeón */
}

.contact-form {
    display: grid;
    gap: 1.2rem;
}

.contact-form input, 
.contact-form textarea {
    padding: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.btn-submit {
    background: var(--accent);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: scale(1.01);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    text-align: center;
    padding: 4rem 1rem;
    background: #ecf0f1;
    color: #7f8c8d;
    font-size: 0.85rem;
}

footer strong {
    color: var(--primary);
}

 
