/*
Theme Name: ABU Gutters 
Theme URI: https://abugutterscb.com/
Author: mediOX Identidad Digital 
Description: Tema premium optimizado creado y ultra-rápido para ABU Gutters.
Version: 1.0.0
Text Domain: abu-gutters
*/

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f5f7fb;
    color:#1b1b1b;
    overflow-x:hidden;
    line-height:1.6;
}

img{
    max-width:100%;
    display:block;
}

.container{
    width:92%;
    max-width:1280px;
    margin:auto;
}

/* GLOBAL */
section{
    position:relative;
}

.btn-main{
    background:linear-gradient(45deg,#ff9800,#ffb300);
    color:#fff;
    text-decoration:none;
    padding:18px 34px;
    border-radius:14px;
    font-weight:700;
    transition:.4s;
    box-shadow:0 15px 35px rgba(255,152,0,.35);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    border:none;
    cursor:pointer;
}

.btn-main:hover{
    transform:translateY(-5px);
    box-shadow:0 20px 45px rgba(255,152,0,.45);
}

.btn-main:active{
    transform:scale(.98);
}

/* NAVBAR */
header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:999;
    background:#000;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
    backdrop-filter:blur(10px);
}

.navbar{
    height:90px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo img{
    width:230px;
    object-fit:contain;
}

.nav-links{
    display:flex;
    gap:35px;
}

.nav-links a{
    text-decoration:none;
    color:#fff;
    font-weight:600;
    transition:.3s;
    position:relative;
}

.nav-links a::after{
    content:'';
    position:absolute;
    width:0;
    height:2px;
    background:#ffb300;
    left:0;
    bottom:-6px;
    transition:.3s;
}

.nav-links a:hover::after{
    width:100%;
}

.nav-links a:hover{
    color:#ffb300;
}

.nav-btn{
    background:linear-gradient(45deg,#ff9800,#ffb300);
    color:#fff;
    text-decoration:none;
    padding:13px 22px;
    border-radius:12px;
    font-weight:700;
    box-shadow:0 10px 20px rgba(255,152,0,.35);
    transition:.3s;
}

.nav-btn:hover{
    transform:translateY(-3px);
}

/* HERO */
.hero {
    position: relative;
    background-color: #f4f7f6; 
    background-image: url('img/gutter.png'); 
    background-repeat: no-repeat;
    background-position: right 100% center; 
    background-size: auto 100%; 
    padding: 120px 0 50px 0; /* Mayor espacio superior por la barra de navegación fija */
    overflow: hidden; 
}

/* Ajustes del Gutter en Pantallas Medianas y Pequeñas */
@media (max-width: 1024px) {
    .hero {
        background-position: right -50px center;
        background-size: auto 90%;
    }
}

@media (max-width: 768px) {
    .hero {
        background-position: right -100px center;
        background-size: auto 80%;
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .hero {
        background-position: center center;
        background-size: cover; 
        opacity: 0.95; 
    }
}

.hero::before{
    content:'';
    position:absolute;
    width:600px;
    height:600px;
    background:radial-gradient(circle,#00b7ff33 0%, transparent 70%);
    top:-150px;
    right:-200px;
}

.hero::after{
    content:'';
    position:absolute;
    width:500px;
    height:500px;
    background:radial-gradient(circle,#76b82a33 0%, transparent 70%);
    bottom:-200px;
    left:-150px;
}

.hero-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1fr 430px;
    gap:70px;
    align-items:center;
}

.hero-content{
    text-align: center;         /* Mantiene los elementos centrados entre sí */
    max-width: 900px;           /* Limita el ancho horizontal del bloque de texto */
    margin-left: 40px;          /* 🚀 Mueve todo el bloque estructurado hacia la derecha */
    margin-right: -240px;
    padding-right: 11px;        /* Colchón de seguridad para no colisionar con el formulario/gutter */
}

.hero-logo{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:10px;
}

.hero-logo img{
    width:500px;
    max-width:100%;
    margin:0 auto;
    filter:drop-shadow(0 10px 20px rgba(0,0,0,.15));
}

/* 🏷️ ESTILOS PARA TU NUEVO H1 EN DOS LÍNEAS */
.hero-content h1 {
    font-size: 36px;
    margin-top: 10px;
    margin-bottom: 15px;
    color: #005f87;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

.hero-text {
    font-size: 18px;            
    line-height: 1.5;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(255,255,255,.35);
    text-align: center;         
}

.hero-text span {
    display: inline-block;
    font-size: 40px;
    font-weight: 700;
    background: linear-gradient(45deg,#005f87,#00b7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.hero-buttons {
    display: flex;
    justify-content: center;    
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.hero-badges {
    display: flex;
    flex-direction: column;
    align-items: center;        
    gap: 16px;
}

.badge{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:18px;
    font-weight:600;
}

.badge-icon{
    width:36px;
    height:36px;
    border-radius:50%;
    background:#005f87;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:18px;
    box-shadow:0 0 20px rgba(0,95,135,.4);
}

/* FORM */
.quote-box{
    background:rgba(255,255,255,.92);
    border:4px solid #11b3ff;
    border-radius:28px;
    padding:35px;
    backdrop-filter:blur(10px);
    box-shadow:0 20px 50px rgba(0,0,0,.15);
}

.quote-box h3{
    color:#005f87;
    margin-bottom:25px;
    font-size:30px;
}

.form-group{
    margin-bottom:16px;
}

input, textarea, select{
    width:100%;
    padding:16px;
    border-radius:12px;
    border:1px solid #d7d7d7;
    font-family:inherit;
    font-size:15px;
    transition:.3s;
    background:#fff;
}

input:focus, textarea:focus, select:focus{
    outline:none;
    border-color:#11b3ff;
    box-shadow:0 0 0 4px rgba(17,179,255,.15);
}

.form-btn{
    width:100%;
    padding:18px;
    border:none;
    border-radius:14px;
    background:linear-gradient(45deg,#ff9800,#ffb300);
    color:#fff;
    font-weight:700;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
    box-shadow:0 10px 30px rgba(255,152,0,.25);
}

.form-btn:hover{
    transform:translateY(-3px);
}

/* SERVICES */
.services{
    padding:110px 0;
    background:#fff;
}

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title h2{
    font-size:52px;
    color:#005f87;
    margin-bottom:12px;
    line-height:1.1;
}

.section-title p{
    color:#666;
    font-size:20px;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.service-card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.4s;
    position:relative;
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 50px rgba(0,0,0,.12);
}

.service-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.service-content{
    padding:25px;
}

.service-content h3{
    margin-bottom:12px;
    color:#005f87;
    font-size:24px;
}

.service-content p{
    color:#555;
}

/* TRUSTED LOGOS */
.trusted-logos{
    margin-top:70px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    padding-top:40px;
}

.trusted-logos img{
    width:220px;
    transition:.4s;
    filter:drop-shadow(0 10px 20px rgba(0,0,0,.12));
}

/* TESTIMONIALS */
.testimonials{
    padding:110px 0;
    background:linear-gradient(180deg,#f4f8fc,#ffffff);
}

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

.testimonial{
    background:#fff;
    padding:35px;
    border-radius:24px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.3s;
}

.testimonial:hover{
    transform:translateY(-8px);
}

.stars{
    color:#ffb300;
    margin-bottom:15px;
    font-size:20px;
}

/* ABOUT */
.about{
    padding:110px 0;
    background:#fff;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-content h2{
    font-size:52px;
    color:#005f87;
    margin-bottom:25px;
    line-height:1.1;
}

.about-content p{
    margin-bottom:20px;
    color:#555;
    font-size:18px;
}

.about-image img{
    border-radius:30px;
    box-shadow:0 20px 50px rgba(0,0,0,.15);
}

/* COVERAGE */
.coverage{
    position:relative;
    padding:140px 0;
    background:#071722;
    overflow:hidden;
}

.coverage::before{
    content:'';
    position:absolute;
    width:700px;
    height:700px;
    background:radial-gradient(circle,#00b7ff33 0%, transparent 70%);
    top:-250px;
    right:-250px;
}

.coverage-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.coverage-left h2{
    font-size:58px;
    line-height:1.1;
    color:#fff;
    margin-bottom:25px;
}

.coverage-left p{
    color:#c8d7e3;
    font-size:20px;
    margin-bottom:40px;
}

.coverage-cities{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:45px;
}

.coverage-city{
    padding:15px 22px;
    border:1px solid #00b7ff;
    border-radius:40px;
    color:#fff;
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(12px);
    transition:.4s;
}

.coverage-city:hover{
    background:#00b7ff;
    transform:translateY(-5px);
    box-shadow:0 0 25px #00b7ff;
}

/* COVERAGE MAP SVG */
.map-card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:30px;
    padding:20px;
    backdrop-filter:blur(10px);
    box-shadow:0 20px 60px rgba(0,0,0,.35);
}

.map-svg{
    width:100%;
    height:auto;
}

.line{
    stroke:#00b7ff;
    stroke-width:3;
    opacity:.6;
    stroke-dasharray:10;
    animation:dashMove 8s linear infinite;
}

@keyframes dashMove{ to{ stroke-dashoffset:-100; } }

.center-point{
    fill:#00b7ff;
    filter:drop-shadow(0 0 15px #00b7ff);
}

.pulse{
    fill:none;
    stroke:#00b7ff;
    stroke-width:3;
    opacity:.7;
    transform-origin:center;
    animation:pulse 2s infinite;
}

@keyframes pulse{
    0%{ transform:scale(.8); opacity:1; }
    100%{ transform:scale(1.8); opacity:0; }
}

.point circle{
    fill:#ffb300;
    filter:drop-shadow(0 0 10px #ffb300);
}

.point text{
    fill:#fff;
    font-size:16px;
    font-weight:600;
}

/* CTA */
.cta{
    padding:120px 0;
    background: linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.65)), #071722;
    text-align:center;
}

.cta h2{
    color:#fff;
    font-size:62px;
    margin-bottom:20px;
    line-height:1.1;
}

.cta p{
    color:#ddd;
    font-size:22px;
    margin-bottom:40px;
}

/* FOOTER */
footer{
    background:#031018;
    padding:90px 0 30px;
    color:#fff;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:50px;
}

.footer-grid h3{ margin-bottom:20px; }
.footer-grid ul{ list-style:none; }
.footer-grid li{ margin-bottom:12px; }
.footer-grid a{ color:#fff; text-decoration:none; transition:.3s; }
.footer-grid a:hover{ color:#ffb300; }
.copy{
    text-align:center;
    margin-top:60px;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.1);
    color:#aaa;
}

/* RESPONSIVE */
@media(max-width:992px){
    .hero-grid, .about-grid, .coverage-grid, .footer-grid{ grid-template-columns:1fr; }
    .nav-links{ display:none; }
    .coverage-left h2, .about-content h2, .section-title h2, .cta h2{ font-size:42px; }
    
    /* Reseteo para pantallas medianas: eliminamos márgenes de empuje y centramos al eje de pantalla */
    .hero{ text-align:center; padding-top: 130px; }
    
    .hero-content { 
        margin-left: auto; 
        margin-right: auto; 
        padding-right: 0; 
    }
    
    /* Adaptación del tamaño del h1 en tablets */
    .hero-content h1 {
        font-size: 32px;
    }
}

@media(max-width:600px){
    .hero-logo img{ width:340px; }
    .logo img{ width:180px; }
    .hero-text{ font-size:20px; }
    .btn-main{ width:100%; text-align:center; }
    .section-title h2, .coverage-left h2, .about-content h2, .cta h2{ font-size:34px; }
    
    /* Reducción extra del h1 para pantallas de celular */
    .hero-content h1 {
        font-size: 26px;
    }
}.badge-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    background:transparent;
    box-shadow:none;
    border:none;
}

.badge-icon img{
    width:250px;
    height:250;
    object-fit:contain;
    background:transparent;
}
.map-card{
    position:relative;
    overflow:hidden;

    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:30px;
    padding:20px;
    backdrop-filter:blur(10px);
    box-shadow:0 20px 60px rgba(0,0,0,.35);
}

/* Mapa de fondo */
.map-card::before{
    content:'';
    position:absolute;
    inset:0;

    background:url('img/corpus-christi-map.png') center center no-repeat;
    background-size:cover;

    opacity:.12; /* transparencia */
    filter:grayscale(100%) brightness(1.2);

    z-index:1;
}

/* Mantener SVG por encima */
.map-svg{
    position:relative;
    z-index:2;
    width:100%;
    height:auto;
}