/* =====================
   RESET & BASE
===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #fff;
}

/* =====================
   HEADER
===================== */
header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
    color: white;
}

header.scrolled {
    background-color: #1a2a40;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.logo {
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.logo-icon {
    background-color: #d9534f;
    color: white;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

header nav ul li a:hover { opacity: 0.75; }

.btn-header-contacto {
    background-color: #d9534f;
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-header-contacto:hover { background-color: #c9302c; }

/* =====================
   HERO
===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 20px 80px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2a40 40%, #2c3e6b 70%, #3d2b4a 100%);
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 60%, rgba(255,140,0,0.12) 0%, transparent 65%),
                radial-gradient(ellipse at 30% 80%, rgba(61,43,74,0.5) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.88rem;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.tagline i { color: #ff8c00; }

.hero h1 {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 18px;
}

.hero p.slogan {
    color: #ff8c00;
    font-size: 1.35rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.hero p.description {
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.7;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons button {
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-whatsapp {
    background-color: #ff8c00;
    color: white;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 50px;
    padding: 16px 36px;
}
.btn-whatsapp:hover { background-color: #e67e00; transform: scale(1.04); }

.btn-servicios {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-servicios:hover { background-color: white; color: #1a2a40; transform: scale(1.04); }

/* =====================
   SOBRE NOSOTROS
===================== */
.about {
    padding: 90px 5%;
    background-color: #f9f9f9;
}

.about-container {
    display: flex;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.about-text { flex: 1.4; }

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    margin: 10px 0 20px;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.75;
    color: #555;
}

.about-images {
    flex: 1;
    display: flex;
    gap: 15px;
}

.placeholder-img {
    flex: 1;
    height: 300px;
    background-color: #e4e4e4;
    border: 2px dashed #ccc;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.85rem;
    gap: 8px;
}

.placeholder-img {
    object-fit: cover;
}

.placeholder-img i { font-size: 2rem; color: #bbb; }

/* =====================
   BENEFICIOS
===================== */
.features {
    padding: 50px 5% 80px;
    max-width: 1200px;
    margin: -50px auto 0;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.feature-card {
    padding: 36px 28px;
    border-radius: 18px;
    background: white;
    box-shadow: 0 8px 28px rgba(0,0,0,0.07);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }

.feature-card i {
    font-size: 2.3rem;
    color: #d9534f;
    margin-bottom: 18px;
    display: block;
}

.feature-card h4 { font-size: 1rem; color: #222; margin-bottom: 12px; font-weight: 600; }
.feature-card p { color: #666; font-size: 0.92rem; line-height: 1.6; }

/* =====================
   SERVICIOS
===================== */
.services {
    padding: 90px 5%;
    background-color: #fff;
    max-width: 1300px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 55px;
}

.services-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin: 10px 0 18px;
}

.services-header p {
    color: #666;
    font-size: 1rem;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.65;
}

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

.service-card {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 30px 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.09); }

.service-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 18px;
}

.service-icon.blue    { background-color: #2563eb; }
.service-icon.red     { background-color: #d9534f; }
.service-icon.gray    { background-color: #6b7280; }
.service-icon.blue2   { background-color: #1e40af; }
.service-icon.orange  { background-color: #ff8c00; }
.service-icon.teal    { background-color: #0891b2; }
.service-icon.green   { background-color: #16a34a; }
.service-icon.darkblue{ background-color: #1e3a5f; }

.service-card h4 { font-size: 1rem; color: #111; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: #666; font-size: 0.9rem; line-height: 1.6; }
.more-link { display: inline-block; margin-top: 12px; color: #2563eb; font-size: 0.88rem; text-decoration: none; font-weight: 500; }
.more-link:hover { text-decoration: underline; }

/* =====================
   COBERTURA
===================== */
.coverage {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2a40 60%, #1e3a5f 100%);
    padding: 90px 5%;
    color: white;
}

.coverage-header {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.coverage-title h2 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 10px;
}

.coverage-desc p {
    color: rgba(255,255,255,0.75);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 400px;
    padding-top: 30px;
}

.subtitle-white {
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.highlight-orange { color: #ff8c00; }

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.coverage-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(4px);
}

.coverage-img-placeholder {
    height: 160px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 2.5rem;
}

.coverage-info { padding: 18px; }
.coverage-info h4 { color: white; font-size: 0.98rem; font-weight: 700; margin-bottom: 12px; }

.comunas { display: flex; flex-wrap: wrap; gap: 6px; }
.comunas span {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
}

/* =====================
   TESTIMONIOS
===================== */
.testimonials {
    padding: 90px 5%;
    background-color: #f9f9f9;
}

.testimonials-container {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonials-img { flex: 1; }

.placeholder-img-tall {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
}


.placeholder-img-tall i { font-size: 2.5rem; color: #bbb; }

.testimonials-content { flex: 1.2; }

.testimonials-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111;
    margin: 10px 0 30px;
}

.testimonial-box {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
}

.testimonial-icon { color: #2563eb; font-size: 1.6rem; margin-bottom: 14px; display: block; }

.testimonial-box p { color: #555; line-height: 1.7; font-size: 0.95rem; margin-bottom: 18px; }

.testimonial-author { display: flex; align-items: center; justify-content: space-between; }
.testimonial-author strong { color: #111; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.85rem; }

.testimonial-dots { display: flex; gap: 8px; margin-top: 20px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; }
.dot.active { background: #2563eb; }

/* =====================
   CONTACTO
===================== */
.contact {
    position: relative;
    padding: 90px 5%;
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2a40 50%, #2c2040 100%);
    color: white;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 10% 50%, rgba(255,140,0,0.08) 0%, transparent 60%);
}

.contact-container {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-left { flex: 1; }

.contact-left h2 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-left p {
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    font-size: 0.98rem;
    margin-bottom: 28px;
    max-width: 400px;
}

.btn-whatsapp-contact {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-whatsapp-contact:hover { background: white; color: #1a2a40; }

.contact-right {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    backdrop-filter: blur(4px);
}

.contact-card-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}
.contact-card-icon.orange  { background: #ff8c00; }
.contact-card-icon.blue    { background: #2563eb; }
.contact-card-icon.teal2   { background: #0891b2; }

.contact-label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-card strong { display: block; color: white; font-size: 0.98rem; margin-bottom: 4px; }
.contact-card p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.5; margin: 0; }

/* =====================
   FOOTER
===================== */
footer {
    background-color: #0d1520;
    color: rgba(255,255,255,0.7);
    padding: 60px 5% 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin: 14px 0 20px;
    max-width: 320px;
}

.footer-logo { color: white !important; margin-bottom: 5px; }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: background 0.3s;
    text-decoration: none;
}
.social-icons a:hover { background: #d9534f; color: white; }

.footer-col h5 {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
}
.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: white; }

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    max-width: 1200px;
    margin: 0 auto;
}

/* =====================
   HELPERS
===================== */
.subtitle {
    color: #d9534f;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.82rem;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.highlight { color: #0056b3; }

/* =====================
   RESPONSIVE BÁSICO
===================== */
@media (max-width: 900px) {
    .hero h1 { font-size: 2.8rem; }
    .about-container, .coverage-header, .testimonials-container, .contact-container { flex-direction: column; }
    header nav { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .coverage-grid, .services-grid, .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    .footer-top { grid-template-columns: 1fr; }
    .coverage-grid, .services-grid, .features-grid { grid-template-columns: 1fr; }
}

.img-rancagua {
    background-image: url('rancagua.jpeg');
    background-size: cover;
    background-position: center;
}
.img-cachapoal {
    background-image: url('requinoa.jpg');
    background-size: cover;
    background-position: center;
}
.img-colchagua {
    background-image: url('san_fernando.png');
    background-size: cover;
    background-position: center;
}
.img-costa {
    background-image: url('santiago.jpg');
    background-size: cover;
    background-position: center;
}
.coverage-img-placeholder.img-rancagua i,
.coverage-img-placeholder.img-cachapoal i,
.coverage-img-placeholder.img-colchagua i,
.coverage-img-placeholder.img-costa i {
    display: none;
}


.google-reviews-box {
    background: white;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    text-align: center;
}

.google-reviews-stars {
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.google-reviews-box p {
    color: #555;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 22px;
}

.btn-google-reviews {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 50px;
    background-color: #2563eb;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-google-reviews:hover {
    background-color: #1e40af;
    transform: scale(1.03);
}

.btn-google-reviews i {
    font-size: 1.1rem;
}