/* Responsive Styles */

/* Tablet - Desktop */
@media (max-width: 1100px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 55px;
    }
    
    .btn-primary {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.grande {
        grid-column: span 2;
    }
    
    .gallery-item.horizontal {
        grid-column: span 2;
    }
    
    .gallery-item.vertical {
        grid-row: span 1;
    }
    
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .publications h2 {
        font-size: 58px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-left {
        max-width: 500px;
        margin: auto;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
    }
    
    .about-title h2 {
        font-size: 46px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        justify-content: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .badge {
        display: none;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .about-photo-info {
        position: relative;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .about-title h2 {
        font-size: 38px;
    }
    
    .areas {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: 42px;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .area-card {
        min-height: auto;
    }
    
    .publications {
        padding: 80px 0;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .publications h2 {
        font-size: 46px;
    }
    
    .post-card h3 {
        font-size: 30px;
    }
    
    .post-card .post-image img {
        height: 220px;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact h2 {
        font-size: 48px;
    }
    
    .contact-form .form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: #111;
        transition: var(--transition);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        display: flex !important;
    }
    
    .nav-link {
        font-size: 18px;
        display: block;
        padding: 15px;
        border-bottom: 1px solid #333;
        color: var(--text-white);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content {
        padding: 40px 15px;
    }
    
    .hero-sub {
        font-size: 12px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .btn-outline {
        margin-left: 10px;
        margin-top: 10px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Small Mobile */
@media (max-width: 600px) {
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo img {
        max-height: 45px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 13px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 34px;
    }
    
    .area-card {
        padding: 30px;
    }
    
    .area-card .number {
        font-size: 34px;
    }
    
    .area-card .icon {
        width: 50px;
        height: 50px;
    }
    
    .area-card .icon i {
        font-size: 20px;
    }
    
    .gallery {
        padding: 50px 15px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    
    .gallery-item.grande,
    .gallery-item.horizontal,
    .gallery-item.vertical {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery h1 {
        font-size: 36px;
    }
    
    .gallery-subtitle {
        font-size: 10px;
        letter-spacing: 3px;
    }
    
    .gallery p {
        font-size: 14px;
    }
    
    .gallery-btn {
        width: 100%;
    }
    
    .publications {
        padding: 60px 0;
    }
    
    .publications h2 {
        font-size: 38px;
        line-height: 1.1;
    }
    
    .publications .section-label {
        font-size: 10px;
        letter-spacing: 4px;
    }
    
    .post-card h3 {
        font-size: 28px;
    }
    
    .post-card .post-content {
        padding: 22px;
    }
    
    .post-card .post-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-publications {
        width: 100%;
    }
    
    .contact h2 {
        font-size: 38px;
    }
    
    .contact .section-label {
        letter-spacing: 4px;
    }
    
    .contact-company h3 {
        font-size: 34px;
    }
    
    .contact-form-wrapper {
        padding: 22px;
    }
    
    .contact-form button {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-form .whatsapp-link {
        justify-content: center;
    }
    
    .contact-form {
        padding: 25px 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Footer Responsive */
@media (max-width: 1100px) {
    .footer .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-bottom {
        margin-top: 40px;
    }
    
    .floating {
        right: 20px;
        bottom: 20px;
    }
    
    .floating a {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .footer .container {
        gap: 30px;
    }
    
    .footer h4 {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .footer .logo h3 {
        font-size: 20px;
    }
    
    .footer-bottom {
        font-size: 11px;
    }
}

/* Slideshow Responsive */
@media (max-width: 768px) {
    .slideshow-dots {
        bottom: 80px;
    }
    
    .slideshow-prev,
    .slideshow-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slideshow-prev {
        left: 15px;
    }
    
    .slideshow-next {
        right: 15px;
    }
    
    .slide-content {
        max-width: 100%;
        padding: 0 15%;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .slideshow-dots {
        bottom: 60px;
        gap: 8px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .slideshow-prev,
    .slideshow-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .slide-content {
        padding: 0 10%;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-sub {
        font-size: 12px;
        letter-spacing: 4px;
    }
    
    .hero-description {
        font-size: 13px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .scroll-top,
    .mobile-toggle {
        display: none;
    }
    
    .hero {
        background: none;
        color: var(--text-dark);
    }
    
    .hero::before {
        display: none;
    }
    
    .hero-content {
        color: var(--text-dark);
    }
    
    section {
        page-break-inside: avoid;
    }
}
