:root {
    --primary-blue: #5C5B60;
    --accent-red: #EB823F;
    --light-gray: #F4F6F8;
    --dark-gray: #333333;
    --white: #FFFFFF;
    --font-family: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
}

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

/* Header & Navbar */
header {
    background-color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
    height: 80px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    height: auto;
    width: auto;
    max-height: 150px;
    margin-right: 10px;
    margin-top: 10px;
    margin-left: -30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--primary-blue);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
#hero {
    position: relative;
    height: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    color: var(--white);
    overflow: hidden;
    background-image: url('project-1.png');
    background-size: cover;
    background-position: center center;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 40, 100, 0.95) 0%,
        rgba(10, 40, 100, 0.95) 40%,
        rgba(10, 40, 100, 0.95) 50%,
        rgba(230, 57, 70, 0.4) 70%,
        rgba(230, 57, 70, 0.2) 100%
    );
    z-index: 1;
}

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

#hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

#hero p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 40px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Trust Badges */
.mini-trust-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    margin-top: 30px;
}

.mini-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s ease;
    font-size: 12px;
    font-weight: 600;
    color: #2c3e50;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mini-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.mini-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    font-weight: bold;
}

.verified { background: linear-gradient(135deg, #00C851, #00A544); }
.rating { background: linear-gradient(135deg, #FFD700, #FFA000); }
.customers { background: linear-gradient(135deg, #2196F3, #1976D2); }

.stars-mini {
    display: flex;
    gap: 1px;
}

.star-mini {
    color: #FFC107;
    font-size: 10px;
    line-height: 1;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

/* Animación de bombeo para el botón */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    }
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background-color: var(--accent-red);
    color: var(--white);
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.cta-button.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button.primary:hover::before {
    left: 100%;
}

.cta-button.primary:hover {
    background-color: #c5303a;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.6);
    animation: none;
}

/* Timeline */
.timeline-container {
    max-width: 800px;
    margin: 50px auto 0;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 0;
    gap: 40px;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 140px;
}

.timeline-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
    border: 1px solid rgba(255,255,255,0.3);
}

.timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-date {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    line-height: 1.2;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.timeline-text {
    font-size: 12px;
    color: var(--white);
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Projects Section */
#projects {
    padding: 80px 0;
    background-color: var(--light-gray);
}

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

.project-card {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: var(--white);
    padding: 40px 20px 20px;
    transition: opacity 0.3s ease;
}

/* Degradados alternados para proyectos */
.project-card:nth-child(1) .project-info,
.project-card:nth-child(3) .project-info {
    background: linear-gradient(to top, rgba(22, 114, 181, 0.9), rgba(22, 114, 181, 0));
}

.project-card:nth-child(2) .project-info,
.project-card:nth-child(4) .project-info {
    background: linear-gradient(to top, rgba(230, 57, 70, 0.9), rgba(230, 57, 70, 0));
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

/* Roof Types Section - Actualizado */
#roof-types {
    padding: 80px 0;
    background-color: var(--white);
}

#roof-types h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

#roof-types h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-red);
}

.roof-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.roof-type-card {
    text-align: center;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.roof-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.roof-type-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 25px 0 20px;
}

.roof-type-image {
    width: 100%;
    height: 220px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

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

.roof-type-description {
    padding: 20px 25px 30px;
    text-align: left;
}

.roof-type-description .highlight {
    font-weight: 700;
    color: var(--accent-red);
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
}

.roof-type-description p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Why Choose Us Section - Diseño Empresarial */
#why-choose-us {
    padding: 80px 0;
    background-color: var(--white);
}

#why-choose-us h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

#why-choose-us h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-red);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 60px;
    font-weight: 300;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

/* Tarjetas empresariales profesionales */
.feature-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f0f7ff, #e6f2ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-red));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-card:hover .feature-icon::after {
    opacity: 0.2;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--primary-blue);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-red);
    opacity: 0.1;
    position: absolute;
    right: 30px;
    top: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
    display: inline-block;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.feature-card ul {
    list-style: none;
    margin-top: 20px;
}

.feature-card li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: #555;
    font-size: 0.95rem;
}

.feature-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: bold;
}

/* Sección adicional después de las tarjetas */
.roofing-coverage {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.roofing-coverage h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.roofing-coverage p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.roofing-coverage .cta-wrapper {
    margin-top: 40px;
}

/* Video Showcase Section */
#video-showcase {
    padding: 80px 0;
    background-color: var(--light-gray);
}

#video-showcase h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

#video-showcase h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-red);
}

.video-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background-color: #000;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.video-container:hover .video-overlay {
    background: rgba(0, 0, 0, 0.1);
}

.play-button {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.play-button:hover {
    transform: scale(1.1);
}

.video-container.playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

.video-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.video-description h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-weight: 700;
}

.video-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* General Section Styling */
section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-red);
}

/* Services Section */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-card .cta-wrapper {
    margin-top: 25px;
}

/* Testimonials Section - Estilo Google Reviews */
#testimonials {
    padding: 80px 0;
    background-color: var(--white);
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ddd;
    margin-right: 15px;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
}

.google-logo {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.verified-badge svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stars {
    color: #fbbc04;
    font-size: 16px;
    letter-spacing: 2px;
}

.rating-date {
    font-size: 0.9rem;
    color: #666;
}

.testimonial-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.testimonial-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.testimonial-image {
    width: 100%;
    height: 80px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-image:hover {
    transform: scale(1.05);
}

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

/* Google Reviews Summary */
.google-reviews-summary {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 10px;
}

.review-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.score-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.score-stars {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.score-stars .stars {
    font-size: 24px;
    color: #fbbc04;
}

.review-count {
    font-size: 0.9rem;
    color: #666;
}

.powered-by-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
}

/* Service Areas Section con Mapa */
#service-areas {
    padding: 80px 0;
    background: var(--white);
}

.service-areas-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-areas-content {
    text-align: left;
}

.service-areas-content h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-weight: 700;
}

.service-areas-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.city-item {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.city-item::before {
    content: '✓';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    color: var(--accent-red);
    opacity: 0.1;
    transition: all 0.3s ease;
}

.city-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.city-item:hover::before {
    left: -10px;
    opacity: 0.2;
}

/* Mapa de Florida */
.florida-map-container {
    position: relative;
    background: var(--light-gray);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.florida-map {
    width: 100%;
    height: 400px;
    position: relative;
    background: url('florida-map.svg') no-repeat center;
    background-size: contain;
}

/* Marcadores del mapa */
.map-marker {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--accent-red);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-marker::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--white);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.map-marker:hover {
    transform: rotate(-45deg) scale(1.2);
    background: var(--primary-blue);
}

/* Posiciones de las ciudades */
.marker-miami { top: 80%; left: 75%; }
.marker-fort-myers { top: 70%; left: 60%; }
.marker-cape-coral { top: 70%; left: 58%; }
.marker-orlando { top: 40%; left: 65%; }
.marker-kissimmee { top: 42%; left: 63%; }
.marker-tampa { top: 45%; left: 55%; }
.marker-jacksonville { top: 20%; left: 70%; }
.marker-port-charlotte { top: 68%; left: 58%; }
.marker-punta-gorda { top: 68%; left: 56%; }

/* Tooltip del mapa */
.map-tooltip {
    position: absolute;
    background: var(--white);
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-gray);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.map-marker:hover + .map-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-blue), #1056a0);
    padding: 50px;
    border-radius: 20px;
    color: var(--white);
    box-shadow: 0 15px 40px rgba(22, 114, 181, 0.3);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 0.8;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact p {
    text-align: center;
    max-width: 600px;
    margin: -30px auto 40px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(22, 114, 181, 0.2);
}

.contact-form button {
    align-self: center;
    cursor: pointer;
    border: none;
}

/* Modal para formulario de presupuesto */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--white);
    margin: 50px auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
    overflow: hidden;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-blue), #1056a0);
    color: var(--white);
    padding: 40px;
    text-align: center;
    position: relative;
}

.modal-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--white);
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 40px;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(22, 114, 181, 0.1);
}

.submit-btn {
    background-color: var(--accent-red);
    color: var(--white);
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #c5303a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        text-align: center;
        transition: left 0.3s ease-in-out;
        padding-top: 50px;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    #hero {
        height: auto;
        min-height: 100vh;
        padding-bottom: 60px;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1.1rem;
    }
    
    .mini-badge {
        font-size: 10px;
        padding: 5px 10px;
    }
    
    .mini-trust-row {
        gap: 6px;
        margin-bottom: 30px;
        margin-top: 40px;
    }
    
    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 2rem;
    }
    
    .timeline {
        gap: 15px;
    }
    
    .timeline-step {
        min-width: 100px;
    }
    
    .timeline-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .timeline-step:not(:last-child)::after {
        top: 30px;
    }
    
    .timeline-circle svg {
        width: 20px;
        height: 20px;
    }
    
    .timeline-date {
        font-size: 12px;
        padding: 6px 10px;
        min-height: 48px;
    }
    
    .timeline-text {
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    /* Tipos de techos responsive */
    .roof-types-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .roof-type-card h3 {
        font-size: 1.4rem;
    }

    .roof-type-image {
        height: 180px;
    }

    /* Reducir animación del botón en móvil */
    .cta-button.primary {
        animation: pulse 3s ease-in-out infinite;
    }

    /* Video responsive */
    .video-container {
        border-radius: 10px;
    }

    .video-description h3 {
        font-size: 1.6rem;
    }

    .video-description p {
        font-size: 1rem;
    }

    .play-button svg {
        width: 50px;
        height: 50px;
    }

    /* Why Choose Us responsive */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card {
        padding: 30px 25px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .roofing-coverage h3 {
        font-size: 1.6rem;
    }

    .roofing-coverage p {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* Testimonials responsive */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .google-reviews-summary {
        padding: 20px;
    }

    .score-number {
        font-size: 2.5rem;
    }

    /* Service areas responsive */
    .service-areas-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .city-item {
        font-size: 1rem;
        padding: 15px;
    }

    .florida-map-container {
        padding: 20px;
    }

    .florida-map {
        height: 300px;
    }

    /* Contact responsive */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info,
    .contact-form {
        padding: 30px 20px;
    }

    /* Modal responsive */
    .modal-content {
        margin: 20px auto;
        width: 95%;
    }

    .modal-header {
        padding: 30px 20px;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }

    .modal-body {
        padding: 30px 20px;
    }

    /* Projects responsive */
    .project-grid {
        grid-template-columns: 1fr;
    }
}

/* === SV Roofing LLC Theme Overrides (2025-09-03) === */
header, .navbar { background-color: #000000 !important; }
.nav-menu a { color: #FFFFFF !important; }
.hamburger span { background-color: #FFFFFF !important; }
/* Mobile menu background */
@media (max-width: 768px) {
  .nav-menu { background-color: #000000 !important; }
  .nav-menu a { color: #FFFFFF !important; }
}

/* Hero overlay: black + EB823F instead of blue/red */
#hero::before {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.95) 50%,
    rgba(235, 130, 63, 0.40) 70%,
    rgba(235, 130, 63, 0.20) 100%
  ) !important;
}

/* CTA + form buttons in EB823F */
.cta-button.primary,
.submit-btn {
  background-color: var(--accent-red) !important;
}
.cta-button.primary:hover,
.submit-btn:hover {
  background-color: #CF6C2D !important;
  box-shadow: 0 10px 24px rgba(235, 130, 63, 0.35) !important;
}

/* Timeline dates use the new accent color */
.timeline-date { color: var(--accent-red) !important; }

/* Projects overlays: swap blue/red for black/orange */
.project-card:nth-child(1) .project-info,
.project-card:nth-child(3) .project-info {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0)) !important;
}
.project-card:nth-child(2) .project-info,
.project-card:nth-child(4) .project-info {
  background: linear-gradient(to top, rgba(235, 130, 63, 0.85), rgba(235, 130, 63, 0)) !important;
}

/* Contact card gradient: black -> orange */
.contact-info {
  background: linear-gradient(135deg, #000000, #EB823F) !important;
  box-shadow: 0 15px 40px rgba(235, 130, 63, 0.30) !important;
}

/* Footer to black */
footer { background-color: #000000 !important; }


/* Botón flotante WhatsApp */
#wa-float{
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10050;
    transition: transform .2s ease, box-shadow .2s ease;
}
#wa-float:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.3);
}
#wa-float svg{
    width: 28px;
    height: 28px;
    fill: white;
}

/* Sección solo móvil */
.only-mobile{ display: none; }

/* Videos móviles */
#video-testimonios-mobile .video-mobile-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
#video-testimonios-mobile video{
    width: 100%;
    height: auto;
    border-radius: 12px;
    background: #000;
    display: block;
}
#video-testimonios-mobile small{
    display: block;
    margin-top: 6px;
    text-align: center;
    color: #666;
}

/* Mostrar solo en móviles */
@media (max-width: 768px){
  .only-mobile{ display: block; }
}



/* ===== VSL Autoplay con overlay ===== */
.vsl-container{
  position: relative;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  background:#000;
  box-shadow: 0 15px 40px rgba(0,0,0,.12);
}
.vsl-container video{
  display:block;
  width:100%;
  height:100%;
  object-fit: cover;
}
.vsl-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.25));
  color:#fff;
  text-align:center;
  transition: opacity .25s ease;
  cursor:pointer;
  padding: 18px;
}
.vsl-play-icon{
  font-size: 62px;
  line-height: 1;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.45));
}
.vsl-badge{
  font-weight: 700;
  font-size: 15px;
  background: rgba(0,0,0,.55);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
}
.vsl-container.playing .vsl-overlay{ opacity: 0; pointer-events:none; }
.vsl-container.unmuted .vsl-overlay{ opacity: 0; pointer-events:none; }

/* grid y relaciones para la sección móvil */
#video-testimonios-mobile .video-mobile-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
}
.video-vertical .vsl-container video{ aspect-ratio: 9/16; }
.video-horizontal .vsl-container video{ aspect-ratio: 16/9; }

/* Solo en móvil */
.only-mobile{ display:none; }
@media (max-width: 768px){
  .only-mobile{ display:block; }
}



/* Ocultar overlay (eliminado) */
.vsl-overlay{ display:none !important; }

/* Fijar relación de aspecto por defecto para evitar caja negra */
.vsl-container video{
  aspect-ratio: 16 / 9;
}

/* Asegurar que el video del showcase tenga altura visible */
#video-showcase .vsl-container video{
  width:100%;
  height:auto;
  display:block;
}



/* Ajuste específico para "Descubra Nuestro Proceso": sin recorte */
#video-showcase .vsl-container{
  background: #000;
}
#video-showcase .vsl-container video{
  aspect-ratio: auto !important;
  object-fit: contain !important;
  width: 100%;
  height: auto;
  background: #000;
}



/* ===== Fix "Descubra Nuestro Proceso" sin recortes ===== */
#video-showcase .video-container{ padding: 0 !important; height: auto !important; }
#video-showcase .vsl-showcase{ aspect-ratio: auto !important; width: 100%; height: auto; background:#000; border-radius: 16px; overflow: hidden; }
#video-showcase .vsl-showcase video{
  display:block;
  width:100%;
  height:auto !important;
  object-fit: contain !important;
  background:#000;
}
/* evitar que reglas globales afecten al showcase */
#video-showcase .vsl-showcase video[style]{ height:auto !important; }



/* ===== Showcase como los primeros videos (visible, 16:9, cover) ===== */
#video-showcase .video-container{ padding: 0 !important; }
#video-showcase .vsl-showcase{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 220px; /* reserva espacio en móviles si el navegador bloquea autoplay */
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,.12);
}
#video-showcase .vsl-showcase video{
  width: 100%;
  height: 100%;
  object-fit: cover; /* igual a los primeros videos */
  display: block;
  background: #000;
}
/* Opcional: en pantallas pequeñas, si prefieres sin recorte, usa contain */
@media (max-width: 480px){
  #video-showcase .vsl-showcase video{ object-fit: cover; } /* cambia a contain si lo quieres sin recorte */
}



/* ===== Galería de fotos después de Testimonios ===== */
.testimonial-photos{
  margin-top: 18px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 75%;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 6px 2px;
  scroll-snap-type: x mandatory;
}
@media (min-width: 768px){
  .testimonial-photos{ grid-auto-columns: 33%; }
}
.testimonial-photos .tphoto{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background:#000;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  scroll-snap-align: start;
}
.testimonial-photos img{
  display:block;
  width:100%;
  height:100%;
  object-fit: cover;
}



/* Avatar con imagen dentro de Testimonios */
.testimonial-avatar-img{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 56px;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  border: 2px solid #fff;
}
@media (min-width:768px){
  .testimonial-avatar-img{ width: 64px; height: 64px; flex-basis: 64px; }
}

