/* ========================================
   INICIO - PÁGINA PRINCIPAL
   ======================================== */

/* ======== SECTION HEADERS ======== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    text-transform: uppercase;
    color: var(--color-primary);
    letter-spacing: 3px;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: 0.75rem auto 0;
}

.section-header p {
    color: var(--color-text-light);
    margin-top: 1rem;
}

/* ======== HERO BUTTONS ======== */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

/* ======== THREE COLUMNS SECTION ======== */
.three-columns-section {
    padding: var(--spacing-xxl) 0;
}

.three-columns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.column-card {
    background: white;
    padding: var(--spacing-xxl) var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid rgba(139,90,60,0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.column-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(139,90,60,0.15);
}

.column-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 20px rgba(139,90,60,0.4),
        0 0 40px rgba(139,90,60,0.2),
        0 4px 15px rgba(139,90,60,0.3);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.column-card:hover .column-icon {
    box-shadow: 
        0 0 30px rgba(139,90,60,0.6),
        0 0 60px rgba(139,90,60,0.3),
        0 6px 20px rgba(139,90,60,0.4);
    transform: scale(1.05);
}

.column-card .column-icon i {
    color: white;
    font-size: 2rem;
}

.column-card h3 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.column-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ======== NUESTROS PRODUCTOS SECTION ======== */
#productos {
    padding: var(--spacing-xxl) 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: var(--spacing-lg);
}

.project-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139,90,60,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(139,90,60,0.25);
    border-color: rgba(212,165,116,0.4);
}

.project-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    margin: 0;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.05);
}

.project-card-content {
    padding: var(--spacing-lg);
    padding-top: var(--spacing-md);
    flex-grow: 1;
    text-align: center;
}



.project-card h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.project-card .quote {
    color: var(--color-primary);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.project-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-link:hover {
    color: var(--color-primary-dark);
}

/* ======== SERVICIOS SECTION ======== */
.skills-section {
    padding: var(--spacing-xxl) 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.skills-section .skill-card {
    background: white;
    border: 1px solid rgba(139,90,60,0.12);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.skills-section .skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139,90,60,0.15);
}

.skills-section .skill-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 20px rgba(139,90,60,0.4),
        0 0 40px rgba(139,90,60,0.2),
        0 4px 15px rgba(139,90,60,0.3);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.skills-section .skill-card:hover .skill-icon {
    box-shadow: 
        0 0 30px rgba(139,90,60,0.6),
        0 0 60px rgba(139,90,60,0.3),
        0 6px 20px rgba(139,90,60,0.4);
    transform: scale(1.05);
}

.skills-section .skill-icon i {
    color: white;
    font-size: 2rem;
    display: block;
}

.skills-section .skill-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skills-section h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.skills-section p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* ======== RECETAS NUEVAS SECTION ======== */
.featured-projects {
    padding: var(--spacing-xxl) 0;
}

.featured-projects .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.featured-projects .project-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(139,90,60,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
    position: relative;
    padding: 0;
}

.featured-projects .project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(139,90,60,0.25);
    border-color: rgba(212,165,116,0.4);
}

.featured-projects .project-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin: 0;
    position: relative;
}

.featured-projects .project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.featured-projects .project-card:hover .project-card-image img {
    transform: scale(1.05);
}

.featured-projects .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 
        0 0 15px rgba(139,90,60,0.6),
        0 0 30px rgba(139,90,60,0.3),
        0 4px 10px rgba(139,90,60,0.4);
}

.featured-projects .project-card-content {
    padding: var(--spacing-lg);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
    gap: var(--spacing-sm);
}

.featured-projects .project-card h3 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 0;
    font-weight: 700;
}

.featured-projects .project-card p {
    color: rgba(42,31,26,0.8);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
    flex-grow: 1;
}

.featured-projects .btn-secondary {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(139,90,60,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.featured-projects .btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.featured-projects .btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.featured-projects .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(139,90,60,0.4);
}

.featured-projects .btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 15px rgba(139,90,60,0.3);
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
    .three-columns-grid,
    .projects-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }
}
