/* ==========================================================================
   VARIABLES Y FUENTES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

:root {
    /* Paleta de colores basada en las capturas */
    --magenta: #d90076; /* Ajustado al tono de las imágenes */
    --black: #000000;
    --white: #ffffff;
    --light-pink: #fdf5f8; /* Fondo suave para la sección nosotros */
    
    /* Tipografía actualizada a Chakra Petch */
    --font-main: 'Chakra Petch', sans-serif;
    
    /* Variables de diseño Neobrutalista */
    --border-thick: 3px;
    --shadow-offset: 6px;
    --shadow-offset-btn: 4px;
    --radius-large: 16px;
    --radius-medium: 12px;
    --radius-small: 8px;
    
    /* Espaciado de secciones */
    --section-padding: 80px 20px;
}

/* ==========================================================================
   RESET Y ESTILOS BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==========================================================================
   CLASES DE UTILIDAD
   ========================================================================== */
.text-magenta { color: var(--magenta); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.bg-magenta { background-color: var(--magenta); }

/* ==========================================================================
   COMPONENTES (Botones y Tarjetas)
   ========================================================================== */
.btn--primary {
    background-color: var(--magenta);
    color: var(--white);
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    border: var(--border-thick) solid var(--black);
    box-shadow: var(--shadow-offset-btn) var(--shadow-offset-btn) 0 var(--black);
    display: inline-block;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn--primary:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--black);
}

.btn--primary:active {
    transform: translate(4px, 4px);
    box-shadow: 0 0 0 var(--black);
}

.brutalist-card {
    background-color: var(--white);
    border: var(--border-thick) solid var(--black);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--black);
    padding: 30px;
    transition: transform 0.2s ease;
}

.brutalist-card:hover {
    transform: translateY(-5px);
}

/* ==========================================================================
   HEADER (Navegación)
   ========================================================================== */
.header {
    background-color: var(--white);
    border-bottom: var(--border-thick) solid var(--black);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
}

.header__menu {
    display: flex;
    gap: 25px;
}

.header__menu a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.header__menu a:hover {
    color: var(--magenta);
}

/* ==========================================================================
   SECCIÓN HERO
   ========================================================================== */
.hero {
    /* Patrón de puntos sutil para el fondo */
    background-image: radial-gradient(#e0e0e0 2px, transparent 2px);
    background-size: 30px 30px;
    padding: 80px 20px 120px;
}

.hero__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero__title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero__description {
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 90%;
}

.hero__image-wrapper {
    position: relative;
    width: 70%;
}

.hero__image {
    position: relative;
    z-index: 2;
    border: var(--border-thick) solid var(--black);
    border-radius: var(--radius-large);
    width: 100%;
}

.hero__image-shadow {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background-color: var(--magenta);
    border-radius: var(--radius-large);
    z-index: 1;
}

/* ==========================================================================
   SECCIÓN NOSOTROS
   ========================================================================== */
.about {
    background-color: var(--light-pink);
    padding: var(--section-padding);
    border-bottom: var(--border-thick) solid var(--black);
    border-top: var(--border-thick) solid var(--black);
}

.about__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__image-wrapper {
    display: flex;
    justify-content: center;
}

.about__logo {
    border-radius: 50%; /* Hace la imagen circular */
    border: var(--border-thick) solid var(--black);
    box-shadow: 8px 8px 0 var(--black);
    width: 100%;
    max-width: 450px;
    background-color: var(--magenta);
}

.about__title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about__text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 500;
}

/* ==========================================================================
   SECCIÓN SERVICIOS
   ========================================================================== */
.services {
    padding: var(--section-padding);
}

.services__container {
    max-width: 1200px;
    margin: 0 auto;
}

.services__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    padding: 20px; 
}

.service-card__image-container {
    position: relative;
    border: 2px solid var(--black);
    border-radius: var(--radius-small);
    overflow: hidden;
    margin-bottom: 20px;
}

.service-card__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card__icon {
    position: absolute;
    bottom: 12px;
    right: 12px;
    color: var(--white);
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.service-card__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card__text {
    font-size: 0.95rem;
    font-weight: 400;
}

/* ==========================================================================
   SECCIÓN DIFERENCIADORES (FILOSOFÍA)
   ========================================================================== */
.features {
    padding: var(--section-padding);
    border-top: var(--border-thick) solid var(--black);
}

.features__container {
    max-width: 1200px;
    margin: 0 auto;
}

.features__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card__icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card__text {
    font-size: 0.95rem;
    font-weight: 400;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--black);
    color: var(--white);
}

.footer__top-bar {
    height: 15px;
    width: 100%;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 20px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer__logo {
    width: 120px;
    margin-bottom: 15px;
}

.footer__slogan {
    font-size: 0.95rem;
    max-width: 250px;
    color: #cccccc;
    font-weight: 300;
}

.footer__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer__contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #cccccc;
    font-weight: 300;
}

.footer__social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    color: var(--black);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.footer__copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #888;
    font-weight: 300;
}

/* ==========================================================================
   DISEÑO RESPONSIVO (Móviles y Tablets)
   ========================================================================== */
@media (max-width: 992px) {
    .hero__title {
        font-size: 3rem;
    }
    
    .about__container {
        gap: 30px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header__container {
        flex-direction: column;
        gap: 15px;
    }
    
    .header__menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero__container, 
    .about__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__description {
        margin: 0 auto;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__contact-list li {
        justify-content: center;
    }

    .footer__social-links {
        justify-content: center;
    }
    
    .footer__slogan {
        margin: 0 auto;
    }
}