/* =================================================================
   DPC Procuradores - Responsive.css
   Media Queries para Móviles y Tablets
   ================================================================= */

/* =================================================================
   Tablet (max-width: 1024px)
   ================================================================= */
@media (max-width: 1024px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Coverage Section */
    .coverage-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .coverage-image {
        order: -1;
    }
    
    /* Why Section */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* About Grid */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Contact Form Grid */
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Service Detail Card */
    .service-detail-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-detail-icon {
        margin: 0 auto;
    }
    
    .service-detail-content {
        text-align: center;
    }
    
    .service-detail-list {
        text-align: left;
    }
}

/* =================================================================
   Mobile (max-width: 768px)
   ================================================================= */
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }
    
    /* Typography */
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    /* Spacing */
    :root {
        --spacing-3xl: 4rem;
        --spacing-2xl: 3rem;
        --spacing-xl: 2rem;
    }
    
    /* Top Bar */
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .coverage-text {
        font-size: 0.8125rem;
    }
    
    /* Navigation */
    .navbar {
        position: relative;
    }
    
    .logo img {
        height: 50px;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--color-white);
        box-shadow: var(--shadow-lg);
        padding: 1rem;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        max-height: 500px;
        opacity: 1;
        padding: 1rem;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--color-gray-200);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    .navbar > .btn-primary {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Hero */
    .hero {
        min-height: 500px;
    }
    
    .hero-content {
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    /* Page Hero */
    .page-hero {
        min-height: 350px;
    }
    
    .page-hero-content {
        padding: var(--spacing-xl) 0;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: var(--spacing-lg);
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: var(--spacing-lg);
    }
    
    /* Coverage Section */
    .coverage-list {
        gap: 1rem;
    }
    
    .coverage-item {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 1rem;
        padding: 1rem;
    }
    
    .coverage-icon {
        grid-row: 1 / 3;
    }
    
    .coverage-count {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
        font-size: 1.5rem;
    }
    
    .coverage-province {
        font-size: 1.125rem;
    }
    
    .coverage-details {
        grid-column: 1 / 3;
        grid-row: 2;
    }
    
    .coverage-image img {
        height: 350px;
    }
    
    .coverage-badge {
        bottom: 1rem;
        right: 1rem;
        padding: 1rem;
    }
    
    .badge-number {
        font-size: 2rem;
    }
    
    /* Why Section */
    .why-image img {
        height: 350px;
    }
    
    .why-list {
        gap: 0.75rem;
    }
    
    .why-list li {
        font-size: 1rem;
    }
    
    /* CTA Section */
    .cta-description {
        font-size: 1.125rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* About Page */
    .about-image img {
        height: 350px;
    }
    
    /* Values Grid */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-card {
        padding: var(--spacing-lg);
    }
    
    /* Stats Grid Alt */
    .stats-grid-alt {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Services Detail */
    .service-detail-card {
        padding: var(--spacing-lg);
    }
    
    .service-detail-icon {
        width: 64px;
        height: 64px;
    }
    
    .service-detail-title {
        font-size: 1.5rem;
    }
    
    .service-detail-description {
        font-size: 1rem;
    }
    
    .service-detail-list {
        grid-template-columns: 1fr;
    }
    
    /* Jurisdictions Grid */
    .jurisdictions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Contact Info Grid */
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info-card {
        padding: var(--spacing-lg);
    }
    
    /* Contact Form */
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info-box {
        padding: var(--spacing-lg);
    }
    
    .info-box-title {
        font-size: 1.25rem;
    }
    
    .info-box-subtitle {
        font-size: 1rem;
    }
}

/* =================================================================
   Small Mobile (max-width: 480px)
   ================================================================= */
@media (max-width: 480px) {
    /* Typography */
    .hero-title {
        font-size: 1.75rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    /* Hero */
    .hero {
        min-height: 450px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* Page Hero */
    .page-hero {
        min-height: 300px;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    /* Stats */
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* Service Card */
    .service-icon {
        width: 56px;
        height: 56px;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
    
    /* Coverage */
    .coverage-image img {
        height: 300px;
    }
    
    .badge-number {
        font-size: 1.75rem;
    }
    
    .badge-text {
        font-size: 0.75rem;
    }
    
    /* Why Section */
    .why-image img {
        height: 300px;
    }
    
    /* About */
    .about-image img {
        height: 300px;
    }
    
    /* Value Card */
    .value-icon {
        width: 64px;
        height: 64px;
    }
    
    .value-title {
        font-size: 1.25rem;
    }
    
    /* Service Detail */
    .service-detail-icon {
        width: 56px;
        height: 56px;
    }
    
    .service-detail-title {
        font-size: 1.25rem;
    }
    
    /* Contact Info */
    .contact-info-icon {
        width: 56px;
        height: 56px;
    }
    
    .contact-info-title {
        font-size: 1rem;
    }
    
    .contact-info-value {
        font-size: 1rem;
    }
}

/* =================================================================
   Print Styles
   ================================================================= */
@media print {
    .top-bar,
    .header,
    .mobile-menu-toggle,
    .hero-buttons,
    .cta-section,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    a {
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}
