/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - CENTRI ESTIVI 2026 CHIETI
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: #d32f2f; /* Chieti Red */
    --primary-light: #ff6659;
    --primary-dark: #9a0007;
    --secondary: #fbc02d; /* Chieti Gold/Yellow */
    --secondary-light: #fff263;
    --secondary-dark: #c49000;
    --accent: #0288d1; /* Summer Sky Blue */
    --accent-light: #5eb8ff;
    --accent-dark: #005b9f;
    
    /* Neutral Colors */
    --bg-main: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-color: rgba(226, 232, 240, 0.8);
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* Layout & Shadows */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    font-size: 1rem;
    color: var(--text-muted);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.mt-xs { margin-top: 8px; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 32px; }
.mt-xl { margin-top: 48px; }
.mb-xs { margin-bottom: 8px; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 32px; }
.mb-xl { margin-bottom: 48px; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(211, 47, 47, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(211, 47, 47, 0.5);
}

.btn-secondary {
    background-color: var(--secondary);
    color: #1e293b;
    box-shadow: 0 4px 14px 0 rgba(251, 192, 45, 0.4);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(251, 192, 45, 0.5);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.btn-outline-dark {
    border-color: var(--border-color);
    color: var(--text-main);
    background-color: #fff;
}

.btn-outline-dark:hover {
    background-color: #f1f5f9;
    border-color: var(--text-muted);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.main-header {
    background-color: rgba(211, 47, 47, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--secondary);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.crest-img {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    transition: var(--transition-fast);
}

.brand-logo-link {
    display: flex;
    align-items: center;
}

.brand-logo-link:hover .crest-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.brand-text h1 {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.brand-text p {
    font-size: 0.85rem;
    color: var(--secondary-light);
    font-weight: 500;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.85;
}

.nav-link:hover {
    opacity: 1;
    color: var(--secondary-light);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(180deg, #fff4e5 0%, var(--bg-main) 100%);
    overflow: hidden;
}

.hero-background-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    animation: floatBlob 12s infinite alternate ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background-color: var(--secondary-light);
    top: -100px;
    right: -50px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background-color: var(--accent-light);
    bottom: -50px;
    left: -50px;
    animation-delay: 3s;
}

@keyframes floatBlob {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(40px) scale(1.1); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(211, 47, 47, 0.08);
    color: var(--primary);
    border: 1px solid rgba(211, 47, 47, 0.15);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(211, 47, 47, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
    }
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: rotate(1deg);
    transition: var(--transition-slow);
}

.hero-image-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-illustration {
    border-radius: var(--radius-md);
    width: 100%;
    object-fit: cover;
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.grid {
    display: grid;
    gap: 32px;
}

.grid-2-cols {
    grid-template-columns: 1fr 1fr;
}

.gap-lg { gap: 40px; }

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.card-premium {
    backdrop-filter: blur(16px);
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-md);
}

.card-premium:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.85);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary-dark); }
.bg-accent { background-color: var(--accent); }

/* ==========================================================================
   TAB CONTAINER
   ========================================================================== */
.tabs-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background-color: #f1f5f9;
    padding: 8px;
    border-radius: var(--radius-lg);
    margin-bottom: 48px;
    box-shadow: var(--shadow-inner);
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    transition: var(--transition-normal);
}

.tab-btn.active {
    background-color: #white;
    background-color: #fff;
    box-shadow: var(--shadow-md);
}

.tab-icon {
    font-size: 1.75rem;
    color: var(--text-muted);
    transition: var(--transition-normal);
}

.tab-btn.active .tab-icon {
    color: var(--primary);
}

#tab-btn-gestori.active .tab-icon {
    color: var(--secondary-dark);
}

.tab-title {
    display: block;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-main);
}

.tab-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   TAB CONTENT DETAILED STYLES
   ========================================================================== */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.section-sub-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.styled-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.styled-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.styled-list li i {
    margin-top: 4px;
}

/* Downloads styling */
.download-box h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-main);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn-download.download-odt {
    border-left-color: var(--secondary-dark);
}

.btn-download:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    background-color: #f8fafc;
}

.btn-download i {
    font-size: 1.5rem;
    color: var(--primary);
}

.btn-download.download-odt i {
    color: var(--secondary-dark);
}

.btn-download div span {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.btn-download div small {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* Right column layout container */
.right-column-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ==========================================================================
   INTERACTIVE TOOLS (CHECKBOX & CALCULATOR)
   ========================================================================== */
/* Custom Checkboxes */
.check-container {
    display: block;
    position: relative;
    padding-left: 36px;
    margin-bottom: 14px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    user-select: none;
}

.check-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #e2e8f0;
    border-radius: 6px;
    transition: var(--transition-fast);
}

.check-container:hover input ~ .checkmark {
    background-color: #cbd5e1;
}

.check-container input:checked ~ .checkmark {
    background-color: var(--primary);
}

#tab-btn-gestori.active ~ .tab-content .check-container input:checked ~ .checkmark,
#tab-content-gestori .check-container input:checked ~ .checkmark {
    background-color: var(--secondary-dark);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.check-container input:checked ~ .checkmark:after {
    display: block;
}

.check-container .checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checklist-interactive {
    display: flex;
    flex-direction: column;
}

.eligibility-box {
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-normal);
}

.alert-neutral {
    background-color: #f1f5f9;
    color: var(--text-muted);
    border: 1px dashed var(--text-light);
}

.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-warning {
    background-color: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Calculator Form */
.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group select {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background-color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.form-group select:focus {
    border-color: var(--primary);
}

.calc-result-box {
    background-color: #fffbeb;
    border: 1px solid #fef08a;
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.calc-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #854d0e;
    margin-bottom: 6px;
}

.calc-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ca8a04;
    margin-bottom: 8px;
}

.calc-note {
    font-size: 0.75rem;
    color: #854d0e;
    opacity: 0.85;
}

/* ==========================================================================
   TIMELINE (FAMIGLIE)
   ========================================================================== */
.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    position: relative;
    margin-top: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 10px;
    right: 10px;
    height: 4px;
    background-color: var(--border-color);
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.timeline-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #fff;
    border: 4px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
    transition: var(--transition-normal);
}

.timeline-item:hover .timeline-number {
    background-color: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.timeline-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.timeline-content p {
    font-size: 0.825rem;
    line-height: 1.5;
}

/* Vertical steps for Gestori */
.steps-vertical {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-v-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-v-badge {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.step-v-text h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.step-v-text p {
    font-size: 0.85rem;
}

.email-link {
    color: var(--primary);
}

.email-link:hover {
    text-decoration: underline;
}

.alert-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
}

.alert-box i {
    font-size: 1.25rem;
    margin-top: 2px;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--text-light);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-chevron {
    color: var(--text-light);
    transition: var(--transition-normal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease-out;
    background-color: #f8fafc;
    border-top: 0 solid var(--border-color);
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 20px 0;
}

/* Opened FAQ state (via JS class) */
.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.active .faq-answer {
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   CONTACTS SECTION
   ========================================================================== */
.contatti-section {
    padding: 80px 0;
    background-color: #f1f5f9;
}

.contact-card {
    padding: 48px;
    background-color: #fff;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.25rem;
    color: var(--primary);
    margin-top: 4px;
}

.contact-item div strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.contact-item div span, 
.contact-item div a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.contact-item div a:hover {
    color: var(--primary);
}

.contact-visual {
    display: flex;
    justify-content: center;
}

.map-placeholder {
    width: 100%;
    background-color: #f8fafc;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-inner);
}

.map-icon {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.map-placeholder h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.map-placeholder p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.alignment-center {
    align-items: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: #1e293b;
    color: #94a3b8;
    padding: 40px 0;
    border-top: 4px solid var(--primary);
    text-align: center;
    margin-top: auto;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-container p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-brand {
    display: flex;
    justify-content: center;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1) opacity(0.7);
    transition: var(--transition-fast);
}

.footer-logo:hover {
    filter: brightness(0) invert(1) opacity(1);
    transform: scale(1.05);
}

.footer-link {
    color: #fff;
    font-weight: 600;
}

.footer-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-card {
        max-width: 500px;
    }
    
    .grid-2-cols {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: left;
        margin-left: 20px;
        border-left: 4px solid var(--border-color);
        padding-left: 24px;
    }
    
    .timeline-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
    }
    
    .timeline-number {
        margin-bottom: 0;
        min-width: 40px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .tabs-container {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .card {
        padding: 24px;
    }
    
    .contact-card {
        padding: 24px;
    }
}
