:root {
  --brand-dark: #124156;
  --brand: white;
  --brand-light: #86a6b3;
  --brand-neutral: #fefefe;
   --ff-sans: "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --ff-serif:"Noto Serif", Georgia, Cambria, "Times New Roman", serif;
  --card-height: 500px;

}


        /* Estilos generales basados en la identidad corporativa */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            font-family: var(--ff-sans);
            color: #173e50;
            line-height: 1.6;
            background-color: #f7fbfd;
        }
        
        h1,h2,h3,h4{
            font-family: var(--ff-serif);
            font-weight: 900;
            letter-spacing: -0.01em;
            }
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        /* Header */
        header {
            background-color: white;
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
        }
        
        .logo-text {
            font-size: 28px;
            font-weight: 800;
            color: #ffffff;
            letter-spacing: 1px;
            text-transform: uppercase;
        }
        
        .logo-subtext {
            font-size: 12px;
            color: #cfe1e8;
            letter-spacing: 2px;
            margin-top: -5px;
            display: block;
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 25px;
        }
        
        nav ul li a {
            font-family: var(--ff-serif);
            text-decoration: none;
            color: #06556d;
            font-weight: 500;
            transition: color 0.3s;
            font-size: 16px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        nav ul li a:hover {
            color: #021924;
            transform: scale(1.5);
        }
        
        /* Hero Section */
        /*.hero {
            background: url('assets/img/abogados1.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
            padding: 120px 20px;
        }*/

/*.hero {
    //background: url('assets/img/mezquita2.jpg') no-repeat center center;
    background-size: cover;   /* asegura que la imagen cubra todo el espacio */
    background-attachment: fixed; /* opcional, efecto parallax */
    width: 100%;
    height: 100vh;   /* altura igual al alto de la ventana */
    color: white;
    text-align: center;
    display: flex;             /* centrado vertical */
    flex-direction: column;
    justify-content: center;   /* centrado vertical */
    align-items: center;       /* centrado horizontal */
    padding: 0 20px;           /* quito el padding superior grande */
}*/
        
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 30px;
            font-weight: 300;
        }
        
        .btn {
            display: inline-block;
            background-color: #145976;
            color: white;
            padding: 14px 30px;
            text-decoration: none;
            border-radius: 3px;
            font-weight: bold;
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: none;
            cursor: pointer;
        }
        
        .btn:hover {
            background-color: #0f4963;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }
        
        /* Secciones */
        section {
            padding: 0px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title h2 {
            font-size: 2.2rem;
            color: #124156;
            position: relative;
            padding-bottom: 15px;
			padding-top: 50px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: #145976;
        }
        
        /* Servicios */
        .services {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
            gap: 30px;
        }
        
        .service-card {
            font-family: var(--ff-sans);
            background-color: #ffffff;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: transform 0.3s;
        }

        /*
        
        .service-card:hover {
            transform: translateY(-10px);
        }
        
        .service-img {
            height: 200px;
            background-color: #124156;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #145976;
            font-size: 3rem;
        }*/

        .services {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    gap: 20px; /* espacio entre columnas/filas */
}

.service-card {
    font-family: var(--ff-sans);
    background-color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    text-align: center; /* opcional */
}

/* Para que las imágenes se vean cuadradas */
.service-card img {
    width: 100%;
    aspect-ratio: 1 / 1; /* asegura formato cuadrado */
    object-fit: cover;   /* recorta la imagen sin deformarla */
    display: block;
}
        
        .service-content {
            padding: 25px;
        }
        
        .service-content h3 {
            color: #124156;
            margin-bottom: 15px;
            font-size: 1.4rem;
        }
        
        .service-content p {
            color: #446779;
            line-height: 1.8;
        }
        
        /* Proyectos */
        .projects {
            background-color: #072635;
            color: white;
        }
        
        .projects .section-title h2 {
            color: white;
        }
        
       /* .gallery {
            display: inline-flex;
            grid-template-columns: repeat(auto-fill);
            gap: 25px;
        }
        
        .gallery-item {
            width: 50%;
            height: 50%;
            background-color: #124156;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #145976;
            border-radius: 5px;
            overflow: hidden;
            position: relative;
            transition: all 0.3s;
        }
        
        .gallery-item:hover {
            transform: scale(1.03);
        }
        
        .gallery-item::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, transparent 0%, rgba(18,65,86,0.8) 100%);
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .gallery-item:hover::after {
            opacity: 1;
        }*/

.gallery {
display: grid;
grid-template-columns: repeat(2, 1fr); /* 2 imágenes por fila */
gap: 20px;
}
.gallery-item.image-text-container {
position: relative;
overflow: hidden;
border-radius: 8px;
transition: transform 0.3s ease;
}
.gallery-item.image-text-container:hover {
transform: scale(1.05); /* efecto de escala al pasar por encima */
}
.gallery-item img {
width: 100%;
height: 480px; /* altura uniforme entre 450 y 500px */
object-fit: cover; /* asegura que las imágenes se recorten sin deformarse */
display: block;
border-radius: 8px;
}
.gallery-item .image-text {
position: absolute;
bottom: 10px;
left: 10px;
margin: 0;
padding: 8px 12px;
font-size: 1.2rem;
color: #fff;
background: rgba(0, 0, 0, 0.5);
border-radius: 6px;
}
.gallery-item a {
display: block;
color: inherit;
text-decoration: none;
}
        
        /* Puertas */
        .doors {
            background-color: #f4f9fb;
        }
        
        /* Contacto */
        .contact-info {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .contact-info p {
            font-size: 1.1rem;
            margin-bottom: 10px;
        }
        
        .contact-form {
            max-width: 700px;
            margin: 0 auto;
        }
        
        .form-group {
            margin-bottom: 25px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #124156;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 14px;
            border: 1px solid #cfe1e8;
            border-radius: 3px;
            font-size: 16px;
            transition: border-color 0.3s;
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #145976;
            outline: none;
        }
        
        .form-group textarea {
            min-height: 180px;
            resize: vertical;
        }
        
        /* Footer */
        footer {
            background-color: #124156;
            color: white;
            padding: 60px 0 20px;
        }
        
        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .footer-logo {
            font-size: 2rem;
            font-weight: 800;
            color: #fff;
            margin-bottom: 25px;
            text-transform: uppercase;
        }
        
        .footer-nav {
            margin-bottom: 30px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .footer-nav a {
            color: #e6f0f3;
            text-decoration: none;
            margin: 0 15px;
            transition: color 0.3s;
        }
        
        .footer-nav a:hover {
            color: #145976;
        }
        
        .social-links {
            margin-bottom: 30px;
        }
        
        .social-links a {
            color: #e6f0f3;
            font-size: 1.5rem;
            margin: 0 15px;
            transition: color 0.3s;
        }
        
        .social-links a:hover {
            color: #145976;
        }
        
        .copyright {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #173e50;
            width: 100%;
            text-align: center;
            color: #888;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
            }
            
            nav ul {
                margin-top: 20px;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            nav ul li {
                margin: 5px 10px;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .section-title h2 {
                font-size: 1.8rem;
            }
        }

