* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", Arial, sans-serif;
}

body {
    background-color: #FFFFFF;
    color: #4B4B4B;
    padding-top: 90px;
    overflow-x: hidden;
}

/* CONTENEDOR */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    background-color: #990C0C;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    position: relative;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #990C0C;
    text-decoration: none;
}

.logo img {
    height: 110px;
}

.logo span {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
}

/* CONTENEDOR DERECHO */
.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* NAV */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.enl {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

.enl::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: #FFFFFF;
    transition: width 0.3s ease;
}

.enl:hover::after {
    width: 100%;
}

/* ICONOS SOCIALES */

/* Desktop */
.social-desktop {
    display: flex;
    gap: 20px;
}

.social-desktop img {
    width: 26px;
    height: 26px;
    transition: transform 0.3s ease;
}

.social-desktop img:hover {
    transform: scale(1.4);
}

/* Mobile */
.social-mobile {
    display: none;
    justify-content: left;
    gap: 20px;
    margin: 20px;
}

.social-mobile img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-mobile img:hover {
    transform: scale(1.4);
}

/* MENÚ RESPONSIVE */
#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    border-radius: 2px;
}

/* INICIO VIDEO */
.inicio-video {
    position: relative;
    height: calc(100vh - 90px);
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #000000;
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2;
}

.inicio-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    text-align: center;
    color: #FFFFFF;
}

.inicio-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.inicio-content p {
    font-size: 18px;
    line-height: 1.7;
    color: #F5EDED;
}

.scroll-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    animation: bounce 1.8s infinite;
}

.scroll-arrow img {
    width: 80px;
    height: auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(8px);
    }
    60% {
        transform: translateX(-50%) translateY(4px);
    }
}

html {
    scroll-behavior: smooth;
}

/* MARCAS / PRODUCTOS */
.marcas-productos {
    background-color: #FFFFFF;
    padding: 0 0 90px;
}

/* SEPARADOR FULL WIDTH */
.section-separador {
    width: 100%;
    background-color: #990C0C;
    padding: 28px 20px;
    text-align: center;
    margin-bottom: 45px;
}


.section-separador h2 {
    color: #FFFFFF;
    font-size: 30px;
    font-weight: 600;
    margin: 0;
}

/* GRID DE MARCAS */
.marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.marcas-grid img {
    width: 100%;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.marcas-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* INSTAGRAM */
.instagram-box {
    text-align: center;
    margin-bottom: 70px;
}

.instagram-box p {
    font-size: 18px;
    margin-bottom: 10px;
}

.instagram-box a {
    color: #990C0C;
    font-weight: bold;
    text-decoration: none;
    font-size: 20px;
}

.instagram-box a:hover {
    color: #740000;
}

/* SUBTÍTULO */
.section-subtitle {
    text-align: center;
    font-size: 28px;
    color: #990C0C;
    margin-bottom: 30px;
}

/* SLIDER DE PRODUCTOS */
.productos-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

.productos-slider::-webkit-scrollbar {
    height: 8px;
}

.productos-slider::-webkit-scrollbar-thumb {
    background-color: #990C0C;
    border-radius: 4px;
}

.producto-item {
    min-width: 250px;
    height: 250px;
    background-color: #F5EDED;
    border-radius: 6px;
    overflow: hidden;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.producto-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* QUIÉNES SOMOS */
.quienes-somos {
    background-color: #F5EDED;
    padding: 90px 0;
    position: relative;
}

.quienes-somos::before,
.quienes-somos::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #990C0C;
}

.quienes-somos::before {
    top: 0;
}

.quienes-somos::after {
    bottom: 0;
}

.quienes-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quienes-somos h2 {
    font-size: 36px;
    color: #990C0C;
    margin-bottom: 30px;
}

.texto-superior,
.texto-inferior {
    font-size: 17px;
    line-height: 1.8;
    color: #4B4B4B;
    margin: 35px 0;
}

/* VIDEO */
.video-container {
    position: relative;
    padding-top: 56.25%;
}

.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 6px;
}

/* NUESTRA FORMA DE TRABAJAR */
.nuestro-servicio {
    background-color: #FFFFFF;
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.section-title-alt {
    text-align: center;
    font-size: 34px;
    color: #990C0C;
    margin-bottom: 70px;
}

/* GRID GENERAL */
.servicios-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* ITEM */
.servicio-item {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* INVERTIR ORDEN */
.servicio-item.reverse {
    flex-direction: row-reverse;
}

/* IMAGEN */
.servicio-img {
    flex: 1;
}

.servicio-img img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* TEXTO */
.servicio-texto {
    flex: 1;
}

.servicio-texto h3 {
    font-size: 26px;
    color: #990C0C;
    margin-bottom: 15px;
}

.servicio-texto p {
    font-size: 17px;
    line-height: 1.8;
    color: #4B4B4B;
}

/* SECCIÓN GRIFERÍAS FV & FERRUM */

.griferias-showroom {
    position: relative;
    background-color: #F5EDED;
    color: #990C0C;
    overflow: hidden;
}

/* CURVAS */
.curva {
    width: 100%;
    line-height: 0;
}

.curva svg {
    width: 100%;
    height: 90px;
    display: block;
}

.curva svg path {
    fill: #990C0C;
}

/* CONTENIDO */
.griferias-content {
    padding: 110px 20px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: center;
}

/* TEXTO */
.griferias-texto h2 {
    font-size: 50px;
    margin-bottom: 25px;
    font-weight: 700;
}

.griferias-intro {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #740000;
}

.griferias-texto p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #740000;
}

/* GALERÍA */
.griferias-galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

/* ITEM */
.griferia-item {
    position: relative;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
}

/* IMAGEN */
.griferia-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* VIDEO */
.griferia-item video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* ACTIVO */
.griferia-item.active img {
    opacity: 0;
    transform: scale(1.05);
}

.griferia-item.active video {
    opacity: 1;
}

/* SUTIL OVERLAY */
.griferia-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15),
        rgba(0,0,0,0.4)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.griferia-item:hover::after {
    opacity: 1;
}

/* SOMBRA */
.griferia-item {
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* SECCIÓN UBICACIÓN */

.ubicacion {
    position: relative;
    background-color: #F5EDED;
    padding-bottom: 120px;
    overflow: hidden;
}

/* SEPARADOR SUPERIOR */
.separador-ubicacion {
    width: 100%;
    line-height: 0;
}

.separador-ubicacion svg {
    width: 100%;
    height: 100px;
    display: block;
}

.separador-ubicacion path {
    fill: #990C0C;
}

/* CONTENIDO */
.ubicacion-content {
    margin-top: 90px;
    text-align: center;
}

/* TÍTULO */
.ubicacion-content h2 {
    font-size: 36px;
    color: #990C0C;
    margin-bottom: 25px;
}

/* INTRO */
.ubicacion-intro {
    max-width: 720px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.8;
    color: #4B4B4B;
}

/* MAPA */
.mapa-box {
    max-width: 900px;
    margin: 0 auto 80px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mapa-box iframe {
    width: 100%;
    height: 420px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* BOTÓN MAPAS */
.btn-mapas {
    align-self: center;
    background-color: #990C0C;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 17px;
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-mapas:hover {
    background-color: #740000;
    transform: translateY(-3px);
}

/* GRID INFERIOR */
.ubicacion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

/* ITEM */
.ubicacion-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.ubicacion-item:hover {
    transform: translateY(-6px);
}

/* IMAGEN */
.ubicacion-item img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

/* TEXTO */
.ubicacion-item p {
    padding: 22px;
    font-size: 16px;
    line-height: 1.7;
    color: #4B4B4B;
}

/* SECCIÓN CERÁMICOS */

.ceramicos {
    background-color: #FFFFFF;
}

/* SEPARADOR ROJO SIMPLE */
.separador-rojo {
    width: 100%;
    background-color: #990C0C;
    padding: 35px 20px;
    text-align: center;
    margin-bottom: 80px;
}

.separador-rojo h2 {
    color: #FFFFFF;
    font-size: 34px;
    font-weight: 600;
}

/* INTRO */
.ceramicos-intro {
    max-width: 850px;
    margin: 0 auto 90px;
    text-align: center;
}

.ceramicos-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #4B4B4B;
    margin-bottom: 18px;
}

/* BLOQUE AMBIENTE */
.ceramico-ambiente {
    display: flex;
    align-items: center;
    gap: 70px;
    margin-bottom: 100px;
}

/* INVERTIDO */
.ceramico-ambiente.reverse {
    flex-direction: row-reverse;
}

/* IMAGEN */
.ceramico-img {
    flex: 1.1;
}

.ceramico-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
}

/* TEXTO */
.ceramico-texto {
    flex: 0.9;
}

.ceramico-texto h3 {
    font-size: 30px;
    color: #990C0C;
    margin-bottom: 18px;
}

.ceramico-texto p {
    font-size: 17px;
    line-height: 1.8;
    color: #4B4B4B;
}

/* SEPARADOR CURVO */

.separador-curvo {
    width: 140vw;
    height: 70px;
    background-color: #990C0C;

    margin: 0px auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);

    border-radius: 80% / 100%;
}

/* SECCION CONTACTO */

.contacto {
    background-color: #FFFFFF;
    padding: 120px 0;
    position: relative;
}

/* CONTENIDO */
.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 90px;
    align-items: center;
}

/* TEXTO IZQUIERDA */
.contacto-texto h2 {
    font-size: 42px;
    color: #4B4B4B;
    line-height: 1.2;
    font-weight: 700;
}

.contacto-texto span {
    color: #990C0C;
    
}

/* CONTENEDOR TARJETAS */
.contacto-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* TARJETA */
.contacto-card {
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 35px 40px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.2);
}

/* TARJETA TELÉFONO (no clickeable) */
.contacto-card.telefono {
    cursor: default;
}

.contacto-card.telefono:hover {
    transform: none;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* BLOQUE ICONO */
.contacto-icon {
    display: flex;
    background-color: #F5EDED;
    align-items: center;
    gap: 16px;
    padding: 22px 28px;
    border-radius: 12px;
    min-width: 210px;
}

/* ICONOS */
.contacto-icon img {
    width: 32px;
    height: auto;
}

/* TEXTO ICONO */
.contacto-icon span {
    color: #4B4B4B;
    font-size: 20px;
    font-weight: 600;
}

/* VARIANTES DE COLOR */

/* WhatsApp */
.contacto-card.whatsapp .contacto-icon {
    background-color: #F5EDED;
}

.contacto-card.whatsapp .contacto-icon span {
    color: #990C0C;
}

/* WhatsApp - icono verde */
.contacto-card.whatsapp img {
    filter: brightness(0) saturate(100%)
            invert(42%)
            sepia(77%)
            saturate(464%)
            hue-rotate(96deg)
            brightness(93%)
            contrast(95%);
}

/* Teléfono - icono azul */
.contacto-card.telefono img {
    filter: brightness(0) saturate(100%)
            invert(24%)
            sepia(91%)
            saturate(2916%)
            hue-rotate(211deg)
            brightness(92%)
            contrast(96%);
}

/* Teléfono */
.contacto-card.telefono .contacto-icon {
    background-color: #F5EDED;
}

.contacto-card.telefono .contacto-icon span {
    color: #990C0C;
}

/* INFO */
.contacto-info {
    flex: 1;
    padding-left: 35px;
}

.contacto-info p {
    font-size: 20px;
    margin-bottom: 6px;
    color: #4B4B4B;
}

/* FLECHA */
.contacto-arrow {
    font-size: 34px;
    color: #BBBBBB;
}

/* FOOTER */

.footer {
    background-color: #990C0C;
    color: #FFFFFF;
    padding: 70px 0;
}

/* CONTENIDO */
.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 120px;
}

/* IZQUIERDA */
.footer-info h4 {
    font-size: 22px;
    margin-bottom: 12px;
}

.footer-info p {
    font-size: 17px;
    margin-bottom: 8px;
}

/* LOGO */
.footer-logo {
    display: flex;
    justify-content: center;
}

.footer-logo img {
    height: 160px;
}

/* DERECHA */
.footer-contacto {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-end;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 17px;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.75;
}

.footer-link img {
    width: 26px;
    height: auto;
}

/* Menu responsive */

@media (max-width: 992px) {
    .griferias-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .griferias-texto h2 {
        text-align: center;
    }

    .griferias-texto p {
        text-align: center;
    }
    
    .ubicacion-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mapa-box iframe {
        height: 360px;
    }

    .ceramico-ambiente,
    .ceramico-ambiente.reverse {
        flex-direction: column;
        gap: 35px;
        margin-bottom: 70px;
    }

    .ceramico-img img {
        height: 340px;
    }

    .ceramico-texto {
        text-align: center;
    }

}

@media (max-width: 768px) {

    .menu-icon {
        display: flex;
    }

    .navbar {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: #990C0C;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .navbar ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        text-align: left;
    }

    #menu-toggle:checked ~ .header-right .navbar {
        max-height: 350px;
    }

    .social-desktop {
        display: none;
    }

    .social-mobile {
        display: flex;
    }

    .inicio-content h1 {
        font-size: 30px;
    }

    .inicio-content p {
        font-size: 16px;
    }

    .section-separador h2 {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 22px;
    }

    .quienes-somos h2 {
        font-size: 28px;
    }
    .section-title-alt {
        font-size: 26px;
        margin-bottom: 50px;
    }

    .servicios-grid {
        gap: 50px;
    }

    .servicio-item,
    .servicio-item.reverse {
        flex-direction: column;
        gap: 25px;
    }

    .servicio-img img {
        height: 240px;
    }

    .servicio-texto h3 {
        font-size: 22px;
        text-align: center;
    }

    .servicio-texto p {
        font-size: 16px;
        text-align: center;
    }

    .contacto {
        padding: 90px 0;
    }

    .contacto-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .contacto-texto h2 {
        font-size: 32px;
    }

    .contacto-card {
        flex-direction: column;
        gap: 22px;
        padding: 30px;
    }

    .contacto-icon {
        justify-content: center;
        min-width: auto;
    }

    .contacto-info {
        padding-left: 0;
    }

    .contacto-arrow {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .footer-logo img {
        height: 120px;
    }

    .footer-info h4 {
        font-size: 20px;
    }

    .footer-info p,
    .footer-link {
        font-size: 16px;
    }

    .footer-link img {
        width: 24px;
    }

    .footer-contacto {
        align-items: center;
    }

}

@media (max-width: 600px) {

    .griferias-content {
        padding: 80px 20px;
    }

    .griferias-galeria {
        grid-template-columns: 1fr;
    }

    .griferia-item {
        height: 200px;
    }

    .griferias-texto h2 {
        font-size: 30px;
    }

    .griferias-intro {
        font-size: 17px;
    }

    .griferias-texto p {
        font-size: 16px;
    }
    .ubicacion-content h2 {
        font-size: 28px;
    }

    .ubicacion-intro {
        font-size: 16px;
    }

    .mapa-box iframe {
        height: 300px;
    }

    .btn-mapas {
        font-size: 16px;
        padding: 12px 30px;
    }

    .separador-rojo h2 {
        font-size: 26px;
    }

    .ceramicos-intro {
        margin-bottom: 60px;
    }

    .ceramicos-intro p {
        font-size: 16px;
    }

    .ceramico-img img {
        height: 260px;
    }

    .ceramico-texto h3 {
        font-size: 24px;
    }

    .ceramico-texto p {
        font-size: 16px;
    }

    .separador-curvo {
        height: 50px;
        width: 160vw;
        margin: 40px auto;
    }

}