/*
Theme Name: Instalaciones del SAZ
Description: Tema personalizado para empresa de canalones e impermeabilización
Version: 1.0
Author: Grupo G&G
*/
span.wpcf7-form-control.wpcf7-acceptance{
    border: none !important;
}
.wpcf7-list-item {
    font-size: 12px;
}
.whatsapp-float{
  position:fixed; right:20px; bottom:20px;
  width:56px; height:56px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 20px rgba(0,0,0,.2); z-index:9999;
  transition:transform .2s ease;
}
.whatsapp-float:hover{ transform:translateY(-2px); }

@media (max-width:480px){
  .whatsapp-float{ right:14px; bottom:14px; width:52px; height:52px; }
}

img.logo-kit {
    width: 100%;
    margin: 30px 0px;
}
.gallery-image { position: relative; }
.play-badge{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
}
.play-badge::before{
  content:""; width:64px; height:64px; border-radius:50%;
  background:rgba(0,0,0,.55);
  box-shadow:0 4px 16px rgba(0,0,0,.25);
}
.play-badge::after{
  content:""; position:absolute; width:0; height:0;
  border-left:18px solid #fff; border-top:12px solid transparent; border-bottom:12px solid transparent;
  margin-left:6px;
}
a.gallery-item{
    text-decoration: none;
}
    /* Estilos específicos para la página de canalones */
    .canalones-page {
        padding-top: 112px;
        /* Compensar header fijo */
    }

    .breadcrumb-section {
        background: #f8f9fa;
        padding: 1rem 0;
    }

    .breadcrumb a {
        color: #666;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .breadcrumb a:hover {
        color: #000;
    }

    .canalones-hero {
        position: relative;
        padding: 5rem 0;
        color: white;
        text-align: left;
    }

    .canalones-hero .hero-background {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
    }

    .canalones-hero .hero-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
    }

    .canalones-hero .hero-content {
        position: relative;
        max-width: 800px;
        z-index: 2;
    }

    .canalones-hero h1 {
        font-size: 3rem;
        font-weight: bold;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 2rem;
        color: #f0f0f0;
    }

    .canalones-content {
        padding: 5rem 0;
    }

    .content-grid {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }

    .main-content h2 {
        font-size: 2.5rem;
        color: #000;
        margin-bottom: 2rem;
    }

    .content-text .lead {
        font-size: 1.25rem;
        color: #333;
        margin-bottom: 2rem;
    }

    .content-text h3 {
        font-size: 1.5rem;
        color: #000;
        margin: 2rem 0 1rem;
    }

    .content-text p {
        font-size: 1.1rem;
        color: #555;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .benefits-card {
        background: #f8f9fa;
        border-radius: 12px;
        padding: 2rem;
        position: sticky;
        top: 120px;
    }

    .benefits-card h3 {
        font-size: 1.5rem;
        color: #000;
        margin-bottom: 1.5rem;
    }

    .benefits-list {
        margin-bottom: 2rem;
    }

    .benefit-item {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .benefit-icon {
        font-size: 1.5rem;
        margin-top: 0.25rem;
    }

    .benefit-item h4 {
        color: #000;
        margin-bottom: 0.5rem;
    }

    .benefit-item p {
        color: #666;
        font-size: 0.9rem;
    }

    .cta-card {
        background: #000;
        color: white;
        border-radius: 8px;
        padding: 1.5rem;
        text-align: left;
    }

    .cta-card .btn-primary {
        background: #fff;
        color: #000;
    }

    .cta-card h4 {
        margin-bottom: 0.5rem;
    }

    .cta-card p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        opacity: 0.9;
    }

    .materials-section {
        background: #f8f9fa;
        padding: 5rem 0;
    }

    .materials-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .material-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    .material-image {
        height: 200px;
        overflow: hidden;
    }

    .material-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .material-content {
        padding: 1.5rem;
    }

    .material-content h3 {
        font-size: 1.25rem;
        color: #000;
        margin-bottom: 1rem;
    }

    .material-features {
        list-style: none;
    }

    .material-features li {
        color: #555;
        margin-bottom: 0.5rem;
    }

    .canalones-gallery {
        padding: 5rem 0;
    }

    .cta-section {
        background: #000;
        color: white;
        padding: 5rem 0;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .cta-content p {
        font-size: 1.25rem;
        color: #ccc;
        margin-bottom: 2rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .content-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .canalones-hero h1 {
            font-size: 2rem;
        }

        .hero-buttons {
            flex-direction: column;
        }

        .materials-grid {
            grid-template-columns: 1fr;
        }

        .cta-buttons {
            flex-direction: column;
            align-items: center;
        }
    }
/* Reset y base */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.custom-logo {
    height: 80px;
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #000;
}

.header-contact {
    display: flex;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #000;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: left;
    padding-top: 117px;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 2;
        padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: rgb(254 249 195);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-info-box {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.hero-description {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1rem;
}

.hero-location {
    font-size: 1.1rem;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #000;
    color: white;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: #000;
}

.btn-outline {
    background: transparent;
    color: #000;
    border: 2px solid #000;
}

.btn-outline:hover {
    background: #000;
    color: white;
}

.btn-arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    height: 20px;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.feature-icon {
   /* margin-bottom: 1rem;*/
}

.feature-card h3 {
    color: #333;
    font-size: 1.1rem;
   
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Sections */
.about-section,
.services-section,
.gallery-section,
.contact-section {
    padding: 5rem 0;
}

.about-section {
    background: #f8f9fa;
}

.services-section {
    background: white;
}

.gallery-section {
    background: #f8f9fa;
}

.contact-section {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h3 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cert-item {
    color: #22c55e;
    font-weight: 500;
}

.about-image img {
    width: 584px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.25rem;
    color: #000;
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.service-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0,0,0,0.15);
}

.service-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #747474 0%, #ffffff 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: .75rem;
    background-position: center;
    background-size: cover;
}

.service-icon {
    height: 56px;
    background: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 1rem;
}

.service-content p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 30px;
    line-height: 18px;
    color: #000;
    font-weight: bold;
}

.service-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Gallery Section */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: white;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filter-btn:hover,
.filter-btn.active {
    background: #000;
    color: white;
    transform: translateY(-2px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.gallery-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.proyectos .gallery-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}
.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-image.proyectos {
    position: relative;
    height: 337px !important;
    overflow: hidden;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-content {
    color: #000000;
    padding: 1.5rem;
}

/*.gallery-item:hover .gallery-content {
    transform: translateY(0);
}*/

.gallery-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    /*line-height: 21px;*/
}

.category {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: capitalize;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    margin-top: 0.25rem;
}

.contact-item h4 {
    color: #000;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
}

.contact-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #000;
}

.service-area {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.service-area h4 {
    color: #000;
    margin-bottom: 1rem;
}

.service-area p {
    color: #666;
}

.contact-form {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
}

.location-map {
    text-align: center;
}

.location-map h3 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 1.5rem;
}

.map-placeholder {
    background: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 12px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.map-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background: #000;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 120px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-description {
    color: #ccc;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

.footer-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: white;
}

.footer-contact .contact-item {
    margin-bottom: 1rem;
}

.footer-contact .contact-item span {
    color: #ccc;
}

.footer-contact .contact-item a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact .contact-item a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .about-image img {
        width: 100%;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .header-contact {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-info-box {
        padding: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}