/* Estilos específicos para la página de Albañilería */

/* --- VARIABLES (Identidad: Construcción / Ladrillo) --- */
:root {
    --color-primary: #ff6f00; /* Naranja Ladrillo */
    --color-primary-dark: #c43e00;
    --color-secondary: #263238; /* Gris Oscuro */
    --color-text: #455a64;
    --color-light-bg: #fff8e1; /* Fondo crema muy suave */
    --border-radius-card: 8px;
    --box-shadow-card: 0 4px 20px rgba(0,0,0,0.08);
}

body {
    color: var(--color-text);
}

/* --- LAYOUT & GRID SYSTEM --- */

/* Contenedor centrado */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

/* Filas y Columnas (Simulación Flexbox) */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-lg-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Espaciado */
.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-3 { margin-bottom: 1rem; }

/* Alineación */
.align-items-center { align-items: center; }
.text-center { text-align: center; }
.justify-content-center { justify-content: center; }

/* Media Queries para Desktop (Pantallas grandes) */
@media (min-width: 992px) {
    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .ps-lg-5 {
        padding-left: 3rem !important;
    }
    
    .mb-lg-0 {
        margin-bottom: 0 !important;
    }
}

/* --- COMPONENTES ESPECÍFICOS --- */

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(38, 50, 56, 0.8));
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content { color: white; z-index: 2; }
.hero-content h1 { font-size: 3.5rem; margin-bottom: 1rem; line-height: 1.2; font-weight: 800; }
.hero-subtitle { display: block; color: var(--color-primary); font-weight: bold; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.hero-lead { font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px; opacity: 0.9; }

/* Intro Section */
.intro-section img {
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.text-primary { color: var(--color-primary) !important; }
.fw-bold { font-weight: 700; }
.text-muted { color: #6c757d; }
.text-uppercase { text-transform: uppercase; }
.ls-2 { letter-spacing: 2px; }

/* Lista con checks */
.list-check { list-style: none; padding-left: 0; }
.list-check li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.list-check li::before {
    content: '\f00c'; /* Icono check FontAwesome */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary { background-color: var(--color-primary); color: white; }
.btn-primary:hover { background-color: var(--color-primary-dark); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 111, 0, 0.4); }

.btn-outline-light { background-color: transparent; color: white; border: 2px solid white; margin-right: 15px; }
.btn-outline-light:hover { background-color: white; color: var(--color-secondary); }

.btn-light { background-color: white; color: var(--color-primary); }
.btn-light:hover { background-color: #f0f0f0; }

/* Grid de Servicios */
.bg-light-alt { background-color: var(--color-light-bg); }
.container-narrow { max-width: 1100px; margin: 0 auto; }
.header-divider { height: 4px; width: 60px; background: var(--color-primary); margin-top: 20px; border-radius: 2px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--border-radius-card);
    box-shadow: var(--box-shadow-card);
    text-align: center;
    transition: transform 0.3s ease;
    border-bottom: 3px solid transparent;
}

.service-card:hover { transform: translateY(-10px); border-bottom-color: var(--color-primary); }
.service-card h3 { color: var(--color-secondary); margin-bottom: 15px; }

/* Iconos de Servicios */
.icon-box { 
    width: 70px; height: 70px; line-height: 70px;
    border-radius: 50%; margin: 0 auto 25px auto;
    font-size: 28px; transition: all 0.3s ease;
}

/* Colores específicos para Albañilería */
.icon-orange { background-color: rgba(255, 111, 0, 0.1); color: #ff6f00; }
.icon-blue   { background-color: rgba(33, 150, 243, 0.1); color: #2196f3; }
.icon-green  { background-color: rgba(76, 175, 80, 0.1); color: #4caf50; }
.icon-red    { background-color: rgba(244, 67, 54, 0.1); color: #f44336; }
.icon-purple { background-color: rgba(156, 39, 176, 0.1); color: #9c27b0; }
.icon-teal   { background-color: rgba(0, 150, 136, 0.1); color: #009688; }

.bg-primary { background-color: var(--color-primary) !important; }
.text-white { color: white !important; }
.shadow { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; }