/*
Theme Name: Ínfimo Café
Author: Pedro Salusso
Author URI: https://pedrosalusso.com
Description: Catálogo Landing
Version: 1.0
*/

/* ==========================================================================
   1. VARIABLES GLOBALES (Tokens de diseño)
   ========================================================================== */
:root {
    --bg-color: #F3F1EC;
    --text-color: #2D2722;
    --brown-dark: #554A40;
    --accent: #D4E157;
    --blue-grey: #6791A0;
    --product-color-yellow: #D2DB37;
    --product-color-orange: #CD7035;
    --product-color-pink: #CF749F;
}

@import url("https://use.typekit.net/urr7iwo.css");


/* ==========================================================================
   2. RESET & BASE (Configuración purista)
   ========================================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Karla', sans-serif;
    background-color: var(--bg-color); 
    color: var(--text-color); 
}

/* ==========================================================================
   3. CLASES UTILITARIAS (Layout y Tipografía)
   ========================================================================== */
/* Estructura */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-py { padding: 80px 0; }

/* Flexbox */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-20 { gap: 20px; }

/* CSS Grid (Responsive automático sin media queries) */
.grid-fluid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Textos */
.text-center { text-align: center; }
.titulo-seccion { 
    font-size: 2.5rem; 
    font-weight: 700; 
    color: var(--brown-dark); 
    margin-bottom: 40px; 
}

/* ==========================================================================
   4. TIPOGRAFÍA BASE (Jerarquía)
   ========================================================================== */
h1 {
    font-family: 'area-normal', sans-serif;
    font-size: 1.75rem; /* 28px */
    font-weight: 700;   /* 'display-bold' */
    color: #EAE8E5;
    line-height: 1.2;
    letter-spacing: 2%;
}

h2 {
    font-family: 'area-normal', sans-serif;
    font-size: 1.5rem; /* 24px */
    font-weight: 800;   /* 'display-extrabold' */
    color: #EAE8E5;
    line-height: 1.3;
    letter-spacing: 2%;
}

p {
    font-family: 'area-normal', sans-serif;
    font-size: 1rem; /* 16px */
    font-weight: 400;
    color: #EAE8E5;
    line-height: 1.5;
}

a {
    color: #EAE8E5;
    text-decoration: none;
    transition: color 0.3s ease;
}

strong, b {
    font-family: 'area-normal', sans-serif;
    font-weight: 700;
}

.textos-dinamicos p {
    margin-bottom: 25px!important;
}

/* ==========================================================================
   5. SECCIONES ESPECÍFICAS: PORTADA (Hero)
   ========================================================================== */
.hero-portada {
    position: relative;
    width: 100%;
    height: 100vh; /* Altura total de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--brown-dark);
}

.hero-bg {
    position: absolute;
    top: 0; 
    right: 0; 
    bottom: 0; 
    left: 0; 
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-contenido {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    padding: 20px;
}

.hero-logo {
    max-width: 450px;
    width: 100%;
    height: auto;
}

