/* ================================================
   ENHANCED STYLES FOR SUBPAGES - 2025
   Matching main page typography and design
   ================================================ */

/* Apply Inter font globally */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1;
    font-kerning: normal;
    color: var(--color-text-primary, #1A202C);
    line-height: 1.6;
}

/* ================================================
   PAGE HEADER - Modern Design
   ================================================ */

.page-header {
    background: linear-gradient(135deg, #FF6600 0%, #CC5500 100%);
    padding: 4rem 1.5rem 3rem;
    margin-top: -1px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 0.5rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: -0.02em;
}

.page-header__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ================================================
   CONTENT SECTIONS
   ================================================ */

.content-section {
    padding: 3rem 0;
    background: #FEFEFE;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Content Grid Layout */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }
}

/* Main Content Area */
.content-main h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #1A202C;
    margin: 2.5rem 0 1rem 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main h3 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 600;
    color: #2D3748;
    margin: 1.5rem 0 0.75rem 0;
    line-height: 1.4;
}

.content-main p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.938rem, 1.5vw, 1.063rem);
    line-height: 1.8;
    color: #4A5568;
    margin-bottom: 1.25rem;
}

/* Lists Styling */
.feature-list,
.numbered-list,
.services-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li,
.numbered-list li,
.services-list li {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.938rem, 1.5vw, 1.063rem);
    line-height: 1.7;
    color: #4A5568;
    margin-bottom: 1rem;
    padding-left: 1.75rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FF6600;
    font-weight: 700;
    font-size: 1.25em;
}

.numbered-list {
    counter-reset: list-counter;
}

.numbered-list li {
    counter-increment: list-counter;
}

.numbered-list li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 0;
    color: #FF6600;
    font-weight: 700;
}

.services-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FF6600;
    font-size: 1.5em;
    line-height: 0.8;
}

.feature-list li strong,
.numbered-list li strong {
    color: #1A202C;
    font-weight: 600;
}

/* ================================================
   SIDEBAR STYLING
   ================================================ */

.content-sidebar {
    position: relative;
}

.sidebar-widget {
    background: linear-gradient(145deg, #FFFFFF 0%, #F7FAFC 100%);
    border-radius: 1rem;
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A202C;
    margin: 0 0 1.25rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #FF6600;
}

.contact-info,
.certifications,
.stats {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li,
.certifications li,
.stats li {
    font-family: 'Inter', sans-serif;
    font-size: 0.938rem;
    line-height: 1.8;
    color: #4A5568;
    margin-bottom: 0.875rem;
    padding-left: 0;
}

.contact-info li:last-child,
.certifications li:last-child,
.stats li:last-child {
    margin-bottom: 0;
}

.contact-info strong,
.stats strong {
    display: block;
    color: #1A202C;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info a {
    color: #FF6600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info a:hover {
    color: #CC5500;
    text-decoration: underline;
}

.certifications li::before {
    content: none;
}

.stats li {
    padding: 0.75rem;
    background: rgba(255, 102, 0, 0.05);
    border-radius: 0.5rem;
    margin-bottom: 0.625rem;
}

/* ================================================
   CTA SECTION
   ================================================ */

.cta-section {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.05) 0%, rgba(204, 85, 0, 0.05) 100%);
    border-radius: 1rem;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
    border: 2px solid rgba(255, 102, 0, 0.1);
}

.cta-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #1A202C;
    margin: 0 0 0.75rem 0;
}

.cta-section p {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: #4A5568;
    margin-bottom: 2rem;
}

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

/* ================================================
   CONTACT PAGE SPECIFIC
   ================================================ */

.contact-page {
    padding: 3rem 0;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .contact-methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .contact-methods-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background: #FFFFFF;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A202C;
    margin: 1rem 0 0.5rem 0;
}

.contact-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #4A5568;
    line-height: 1.6;
}

.contact-card__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-card__highlight {
    color: #FF6600;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-card__number,
.contact-card__email {
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-card__number a,
.contact-card__email a {
    color: #FF6600;
    text-decoration: none;
}

.opening-hours {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.opening-hours li {
    font-family: 'Inter', sans-serif;
    font-size: 0.938rem;
    line-height: 1.8;
    color: #4A5568;
    padding-left: 0;
}

/* Contact Form */
.contact-form-section {
    background: #F7FAFC;
    border-radius: 1rem;
    padding: 2.5rem;
    margin: 3rem 0;
}

.contact-form-section h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #1A202C;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.contact-form-section > p {
    font-family: 'Inter', sans-serif;
    text-align: center;
    color: #4A5568;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 0.938rem;
    font-weight: 600;
    color: #2D3748;
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: 'Inter', sans-serif;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #E2E8F0;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #1A202C;
    background: #FFFFFF;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4A5568;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
}

.checkbox-label a {
    color: #FF6600;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Info Sections */
.contact-info-section,
.faq-section {
    margin: 3rem 0;
}

.info-grid,
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .info-grid,
    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.info-card,
.faq-item {
    background: #FFFFFF;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.info-card:hover,
.faq-item:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.info-card h3,
.faq-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A202C;
    margin: 0 0 1rem 0;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.info-card li {
    font-family: 'Inter', sans-serif;
    font-size: 0.938rem;
    color: #4A5568;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.info-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FF6600;
    font-weight: 700;
}

.highlight-phone {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.highlight-phone a {
    color: #FF6600;
    text-decoration: none;
}

/* ================================================
   LEGAL PAGES
   ================================================ */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.legal-content h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #FF6600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.legal-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 700;
    color: #1A202C;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.legal-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 600;
    color: #2D3748;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.legal-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #4A5568;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-content li {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #4A5568;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-content li strong {
    color: #1A202C;
    font-weight: 600;
}

.legal-content a {
    color: #FF6600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: #CC5500;
    text-decoration: underline;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-family: 'Inter', sans-serif;
}

.legal-content table th,
.legal-content table td {
    padding: 0.875rem;
    border: 1px solid #E2E8F0;
    text-align: left;
    font-size: 0.938rem;
}

.legal-content table th {
    background-color: #F7FAFC;
    font-weight: 600;
    color: #1A202C;
}

.legal-content table td {
    color: #4A5568;
}

.last-updated {
    background: linear-gradient(145deg, #F7FAFC 0%, #EDF2F7 100%);
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    border-left: 4px solid #FF6600;
    font-family: 'Inter', sans-serif;
}

.last-updated strong {
    color: #1A202C;
    font-weight: 600;
}

.highlight-box {
    background: linear-gradient(145deg, #FFF9E6 0%, #FFFBEF 100%);
    border-left: 4px solid #FF6600;
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.highlight-box p {
    margin-bottom: 0.5rem;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.highlight-box strong {
    color: #1A202C;
}

.cookie-category {
    background: linear-gradient(145deg, #F8F9FA 0%, #F1F3F5 100%);
    padding: 1.75rem;
    border-radius: 0.75rem;
    margin: 1.25rem 0;
    border: 1px solid #E2E8F0;
}

.cookie-category h3 {
    margin-top: 0;
    color: #FF6600;
    font-family: 'Inter', sans-serif;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 768px) {
    .page-header {
        padding: 3rem 1rem 2rem;
    }

    .content-section {
        padding: 2rem 0;
    }

    .sidebar-widget {
        padding: 1.5rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }

    .contact-form-section {
        padding: 2rem 1.5rem;
    }

    .legal-content {
        padding: 2rem 1rem;
    }

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

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ================================================
   PRINT STYLES
   ================================================ */

@media print {
    .page-header {
        background: none;
        color: #000;
    }

    .sidebar-widget,
    .cta-section {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
