/* ==========================================================================
   RESPONSIVE DESIGN - COMPRO ORO PALERMO
   ========================================================================== */

/* Tablets (768px y menores) */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

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

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

    .header-wrapper {
        flex-wrap: wrap;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    nav a {
        font-size: 0.9rem;
    }

    .col-2,
    .col-3,
    .col-4 {
        flex: 0 0 100%;
    }

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

    .btn-primary,
    .btn-secondary,
    .btn-solicitar {
        width: 100%;
    }

    .row {
        margin: -10px;
    }

    .col {
        padding: 10px;
    }

    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .location-info {
        flex-direction: column;
    }

    .map-container {
        height: 300px;
    }

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

    section {
        padding: 2rem 0;
    }
}

/* Móviles (480px y menores) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    h4 {
        font-size: 1rem;
    }

    p {
        font-size: 0.9rem;
    }

    .hero {
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.85rem;
    }

    .header-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }

    nav ul {
        gap: 0.25rem;
    }

    nav a {
        font-size: 0.8rem;
    }

    .btn-solicitar {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .product-card {
        padding: 1.5rem;
    }

    .product-icon {
        font-size: 2.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .testimonial {
        padding: 1.5rem;
    }

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

    .form-group input,
    .form-group textarea {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .form-submit {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .location-icon {
        font-size: 1.2rem;
    }

    .location-content h3 {
        font-size: 1rem;
    }

    .location-content p {
        font-size: 0.85rem;
    }

    .schedule-table td {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .map-container {
        height: 250px;
        margin-bottom: 1.5rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .whatsapp-button {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    footer {
        padding: 2rem 0 0.5rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 0.5rem;
    }

    section {
        padding: 1.5rem 0;
    }
}

/* Móviles muy pequeños (320px) */
@media (max-width: 320px) {
    h1 {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1rem;
    }

    h3 {
        font-size: 0.95rem;
    }

    p {
        font-size: 0.85rem;
    }

    .container {
        padding: 0 10px;
    }

    .hero {
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 1.2rem;
    }

    .hero-content p {
        font-size: 0.8rem;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-icon {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }

    nav a {
        font-size: 0.75rem;
    }

    .btn-solicitar {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    .product-card {
        padding: 1rem;
    }

    .product-icon {
        font-size: 2rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .whatsapp-button {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Orientación Landscape */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    section {
        padding: 1.5rem 0;
    }
}

/* Impresión */
@media print {
    .whatsapp-button,
    .btn-solicitar,
    nav {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }

    a {
        color: black;
    }

    section {
        page-break-inside: avoid;
    }
}
