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

:root {
    --primary-orange: #FF6B35;
    --secondary-orange: #FF8C42;
    --light-orange: #FFE5D9;
    --white: #FFFFFF;
    --dark-gray: #2C2C2C;
    --light-gray: #F5F5F5;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

/* Accessibility */
.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;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

/* Top Contact Bar */
.top-contact-bar {
    background: var(--primary-orange);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.contact-info-top {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
}

.contact-info-top a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(20%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(95%) contrast(95%);
}

.email-label {
    color: #333333;
    font-weight: bold;
}

.contact-info-top a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-container {
    background: var(--white);
    box-shadow: none;
}

@media (max-width: 768px) {
    .contact-info-top {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .top-contact-bar {
        padding: 10px 0;
    }
    
    .logo h1 {
        display: none;
    }
    
    .logo-image {
        height: 150px;
    }
    
    .nav-container {
        justify-content: center;
    }
}

.nav-container {
    background: var(--white);
    box-shadow: none;
    width: 100%;
    padding: 0.5rem 0;
}

.nav-container .container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 140px;
    position: relative;
}

.logo {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    line-height: 0;
}

.logo-image {
    height: 250px;
    width: auto;
    object-fit: contain;
    display: block;
}

.mobile-menu-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 20px;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-orange);
}

.logo-accent {
    color: #888888;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
    color: var(--primary-orange);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-orange);
    margin: 3px 0;
    transition: var(--transition);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--primary-orange);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-orange);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-orange);
}

.btn-secondary:hover {
    background: var(--primary-orange);
    color: var(--white);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: calc(150vh - 100px);
    padding: 40px 20px 80px;
    background: url('images/autocarro1.jpeg') center center/cover no-repeat;
    position: relative;
    margin-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-image {
    display: none;
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-orange);
    margin: 1rem auto;
    border-radius: 2px;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-text {
    max-width: 800px;
}

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

.hero-image-mobile {
    display: none;
}

.hero-bg-image-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero-bg-image {
        max-width: 300px;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-bg-image {
        max-width: 300px;
    }
}

/* Services Section */
.services {
    padding: 80px 20px;
    background: var(--white);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    border-left: 4px solid var(--primary-orange);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 255, 255, 1) 100%);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(45%) sepia(85%) saturate(2274%) hue-rotate(8deg) brightness(102%) contrast(101%);
}

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

.service-card p {
    color: var(--text-light);
}

/* Portfolio Section */
.portfolio {
    padding: 60px 20px;
    background: var(--white);
}

.portfolio-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.portfolio h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.portfolio p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.portfolio-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.portfolio-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.portfolio-img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

/* Reviews Section */
.reviews {
    padding: 80px 20px;
    background: var(--light-gray);
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-orange);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.review-stars {
    margin-bottom: 1rem;
}

.review-stars span {
    color: #FFD700;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.review-author {
    color: var(--primary-orange);
    font-weight: 600;
}

/* About Section */
.about {
    padding: 80px 20px;
    background: var(--light-gray);
}

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

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.features-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-weight: 500;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-orange);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: var(--white);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-orange);
}

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

.contact-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
    margin-top: 0.7rem;
    flex-shrink: 0;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
}

.contact-item a {
    color: var(--primary-orange);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Form Styles */
.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-orange);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
}

.checkbox-group a {
    color: var(--primary-orange);
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 180px;
    width: auto;
    object-fit: contain;
}

.footer-logo h3 {
    margin: 0;
    color: var(--primary-orange);
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 40px 20px 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-orange);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-orange);
}

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container .container {
        height: 120px;
        padding: 1rem 20px;
        justify-content: space-between;
        overflow: visible;
    }

    .logo {
        justify-content: center;
    }

    .logo-image {
        height: 150px;
    }

    .logo h1 {
        display: none;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 20px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1000;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hero {
        padding: 40px 20px 60px;
        min-height: calc(200vh - 200px);
        margin-top: 120px;
    }

    .hero-text h2 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .services,
    .reviews,
    .about,
    .contact {
        padding: 60px 20px;
    }

    .services h2,
    .reviews h2,
    .about h2,
    .contact h2 {
        font-size: 2rem;
    }

    .services-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .portfolio-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .portfolio-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .portfolio-img {
        height: 120px;
    }

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

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 1rem;
    }

    .stat {
        padding: 1rem;
        flex: 1;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .contact-form {
        padding: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        max-width: 120px;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-text {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo-image {
        height: 200px;
    }

    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 15px 50px;
        min-height: calc(120vh - 100px);
        margin-top: 100px;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .services,
    .about,
    .contact {
        padding: 50px 15px;
    }

    .services h2,
    .about h2,
    .contact h2 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.2rem;
    }

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

    .portfolio-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .portfolio-img {
        height: 180px;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat {
        padding: 1.2rem;
    }

    .contact-form {
        padding: 1.2rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px;
        font-size: 16px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 20px;
        font-size: 16px;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .cookie-banner {
        padding: 15px;
    }

    .cookie-text {
        font-size: 0.9rem;
    }

    .cookie-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .top-contact-bar {
        font-size: 0.8rem;
        padding: 6px 0;
    }

    .contact-info-top {
        gap: 0.8rem;
    }

    .contact-info-top a {
        padding: 6px;
        font-size: 0.8rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-orange: #CC5500;
        --text-light: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* Contact Container - Legacy support */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-container h2 {
    text-align: center;
    color: var(--primary-orange);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Quote Page Styles */
.quote-page {
    padding: 140px 20px 60px;
    min-height: 100vh;
    background: var(--light-gray);
}

.quote-header {
    text-align: center;
    margin-bottom: 3rem;
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.quote-header h1 {
    color: var(--primary-orange);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quote-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.quote-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-gray);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 2rem;
}

.form-section h2 {
    color: var(--primary-orange);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h2::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

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

.service-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-option:hover {
    background: rgba(255, 107, 53, 0.1);
}

.service-option input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.service-option label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}

.form-actions {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
}

.form-note {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .quote-page {
        padding: 120px 20px 60px;
    }
    
    .quote-header {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .quote-header h1 {
        font-size: 2rem;
    }
    
    .quote-form {
        padding: 2rem 1.5rem;
        margin-top: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .quote-page {
        padding: 100px 15px 50px;
    }
    
    .quote-header {
        padding: 1.5rem 1rem;
    }
    
    .quote-header h1 {
        font-size: 1.8rem;
    }
    
    .quote-form {
        padding: 1.5rem 1rem;
    }
    
    .form-section h2 {
        font-size: 1.3rem;
    }
}


.legal-page section {
    margin-bottom: 2rem;
}

.legal-page ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

.legal-page a {
    color: var(--primary-orange);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.hero-slideshow .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.85) 0%, rgba(255, 107, 53, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: auto;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 0 20px;
    gap: 10px;
    font-weight: 500;
    font-size: 14px;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-text {
    display: block;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
    }
    
    .whatsapp-text {
        display: none;
    }
}
.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.contact-divider {
    width: 100px;
    height: 2px;
    background: var(--primary-orange);
    border: none;
    margin: 2rem auto;
}
.hero-logo-mobile {
    display: none;
    text-align: center;
    margin-top: 2rem;
}

.hero-logo-mobile img {
    max-width: 250px;
    height: auto;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero-logo-mobile {
        display: block;
    }
}
.hero-silhouettes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.15;
}

.silhouette {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    animation: float 6s ease-in-out infinite;
}

.silhouette.truck {
    width: 120px;
    height: 50px;
    top: 60%;
    right: 10%;
    animation-delay: -2s;
}

.silhouette.worker1 {
    width: 40px;
    height: 60px;
    top: 50%;
    right: 25%;
    animation-delay: 0s;
}

.silhouette.worker2 {
    width: 40px;
    height: 60px;
    top: 45%;
    right: 35%;
    animation-delay: -4s;
}

.silhouette.boxes {
    width: 60px;
    height: 40px;
    top: 70%;
    right: 40%;
    animation-delay: -1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .hero-silhouettes {
        opacity: 0.1;
    }
    
    .silhouette.truck {
        width: 80px;
        height: 35px;
        right: 5%;
    }
    
    .silhouette.worker1,
    .silhouette.worker2 {
        width: 30px;
        height: 45px;
    }
    
    .silhouette.boxes {
        width: 45px;
        height: 30px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 3px solid var(--primary-orange);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary-orange);
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.cookie-btn.accept {
    background: var(--primary-orange);
    color: var(--white);
}

.cookie-btn.accept:hover {
    background: var(--secondary-orange);
}

.cookie-btn.reject {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid #ddd;
}

.cookie-btn.reject:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 900px;
    }

    .nav-container .container {
        max-width: 900px;
    }

    .hero {
        padding: 160px 40px 80px;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .portfolio-content {
        grid-template-columns: 1fr 1.5fr;
    }

    .about-content {
        grid-template-columns: 1.5fr 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1025px) {
    .hero {
        min-height: 100vh;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .nav-menu a {
        position: relative;
    }

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

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

@media (hover: hover) {
    .service-card:hover {
        transform: translateY(-8px);
    }

    .portfolio-img:hover {
        transform: scale(1.08);
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 140px 20px 40px;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }

    .about-stats {
        flex-direction: row;
    }
}
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        background: none;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        padding: 0;
        gap: 2rem;
        margin-top: 10px;
    }
}

.legal-page {
    padding: 120px 0 60px;
    min-height: 100vh;
}

.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    color: var(--primary-orange);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.legal-page h2 {
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.legal-page h3 {
    color: var(--text-dark);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.2rem;
}

.legal-page section {
    margin-bottom: 2rem;
}

.legal-page ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
}

.legal-page a {
    color: var(--primary-orange);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}
/* Quote page mobile fix */
@media (max-width: 768px) {
    .contact[style*="padding-top: 300px"] {
        padding-top: 280px !important;
    }
}

@media (max-width: 480px) {
    .contact[style*="padding-top: 300px"] {
        padding-top: 260px !important;
    }
}

/* Reviews Section */
.reviews {
    padding: 80px 20px;
    background: var(--light-gray);
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-orange);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.review-stars {
    margin-bottom: 1rem;
}

.review-stars span {
    color: #FFD700;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.review-author {
    color: var(--primary-orange);
    font-weight: 600;
}