/* VTV Junín - Modern Clean Stylesheet */
/* Inspired by https://vtv.gba.gob.ar */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
    /* Colors */
    --color-primary: #d60064;       /* Official GBA Magenta/Pink */
    --color-primary-light: #0b7c93; /* GBA Teal/Cyan (Gradient start) */
    --color-accent: #00adc6;        /* GBA Service Card Bright Cyan */
    --color-accent-hover: #0096ab;  /* Darker Cyan */
    --color-accent-light: rgba(0, 173, 198, 0.15); /* Light Cyan tint */
    --color-success: #d60064;       /* GBA Magenta for Action Buttons */
    --color-success-hover: #b50054;
    --color-warning: #ffc107;       /* Yellow */
    --color-danger: #dc3545;        /* Red */
    --color-bg-page: #f4f6f9;       /* Light Gray background */
    --color-bg-card: #ffffff;       /* White card background */
    --color-border: #e2e8f0;        /* Gray border */
    
    /* Text Colors */
    --color-text-main: #334155;     /* Dark gray/slate for readability */
    --color-text-dark: #0f172a;     /* Near black for headings */
    --color-text-muted: #64748b;    /* Slate gray for secondary text */
    
    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-max-width: 1200px;
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --box-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --box-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-page);
    color: var(--color-text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

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

a:hover {
    color: var(--color-accent-hover);
}

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

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- HEADER & NAVIGATION --- */
header {
    background-color: transparent;
    z-index: 100;
    position: relative;
}

/* Dark Mode Header Option 2 (Transparente) */
.nav-bar.dark-mode {
    background-color: rgba(17, 24, 39, 0.3); /* Transparente / Glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dark-menu li a {
    color: #e2e8f0;
}

.dark-menu li.active a,
.dark-menu li a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 173, 198, 0.8);
}

.dark-menu li.active a::after {
    background-color: #00adc6;
    box-shadow: 0 0 8px #00adc6;
}

.btn-gradient {
    background: linear-gradient(135deg, #0b7c93 0%, #d60064 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #d60064 0%, #0b7c93 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 0, 100, 0.4);
    color: white;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.top-bar .logos-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar .logo-gba {
    height: 50px;
}

.top-bar .logo-min-transporte {
    height: 38px;
    border-left: 1px solid var(--color-border);
    padding-left: 1.5rem;
}

.top-bar .logo-vtvnoroeste {
    height: 45px;
    transition: transform var(--transition-fast);
}

.top-bar .logo-vtvnoroeste:hover {
    transform: scale(1.02);
}

.nav-bar {
    background-color: #ffffff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.main-menu {
    display: flex;
    list-style: none;
}

.main-menu li a {
    display: block;
    padding: 1rem 1.25rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
    text-transform: uppercase;
    transition: all var(--transition-fast);
}

.main-menu li a:hover,
.main-menu li.active a {
    background-color: rgba(214, 0, 100, 0.05);
    border-bottom-color: var(--color-primary);
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(100deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: #ffffff;
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(circle at 80% 50%, rgba(0, 150, 214, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--box-shadow-sm);
}

.btn-primary {
    background-color: var(--color-accent);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-md);
}

.btn-success {
    background-color: var(--color-success);
    color: #ffffff;
}

.btn-success:hover {
    background-color: var(--color-success-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #e2e8f0;
    color: var(--color-text-dark);
}

.btn-secondary:hover {
    background-color: #cbd5e1;
    transform: translateY(-2px);
}

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

.hero-image img {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    max-height: 250px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- SCAM ALERT BANNER --- */
.alert-banner {
    background-color: #fef3c7;
    border-left: 4px solid #d97706;
    color: #92400e;
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius-sm);
    margin: 2rem 0;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    box-shadow: var(--box-shadow-sm);
}

.alert-banner .alert-icon {
    font-size: 1.75rem;
    color: #d97706;
    margin-top: 0.1rem;
}

.alert-banner h4 {
    color: #78350f;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.alert-banner p {
    font-size: 0.925rem;
    line-height: 1.5;
}

/* --- GRID MAIN MENU CARDS (Home Page) --- */
.home-section-title {
    text-align: center;
    margin: 2.5rem 0 1.5rem;
    position: relative;
}

.home-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.service-card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
    box-shadow: var(--box-shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--color-accent-light);
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-fast);
}

.service-card:hover .service-icon-wrapper {
    background-color: var(--color-accent);
    color: #ffffff;
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    flex-grow: 1;
}

/* --- MAIN CONTENT & PAGE TEMPLATES --- */
main {
    flex-grow: 1;
}

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

.page-card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--box-shadow-md);
    margin-bottom: 2.5rem;
}

.page-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.text-content p {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: var(--color-text-main);
}

.text-content p strong {
    color: var(--color-text-dark);
}

.text-content ul, .text-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.text-content li {
    margin-bottom: 0.5rem;
}

/* --- ACORDION (FAQs) --- */
.accordion {
    margin-top: 1.5rem;
}

.accordion-item {
    border: 1px solid var(--color-border);
    background-color: #ffffff;
    border-radius: var(--border-radius-sm);
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
}

.accordion-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-fast);
}

.accordion-header:hover {
    background-color: var(--color-bg-page);
}

.accordion-icon {
    font-size: 1rem;
    color: var(--color-accent);
    transition: transform var(--transition-normal);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
}

.accordion-body {
    padding: 1.5rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.95rem;
    color: var(--color-text-main);
    background-color: #fafbfc;
}

.accordion-body p {
    margin-bottom: 1rem;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

/* --- TABLAS (Tarifas) --- */
.table-responsive {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-border);
    box-shadow: var(--box-shadow-sm);
}

.table-custom {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background-color: #ffffff;
}

.table-custom th, .table-custom td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.table-custom th {
    background-color: var(--color-primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
}

.table-custom tbody tr:nth-of-type(even) {
    background-color: #f8fafc;
}

.table-custom tbody tr:last-of-type td {
    border-bottom: none;
}

.table-custom tbody tr:hover {
    background-color: var(--color-accent-light);
}

.badge-green {
    background-color: #def7ec;
    color: #03543f;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* --- CALCULADORA DE PATENTE --- */
.patente-calc-box {
    background-color: #fafbfc;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    margin: 2rem 0;
}

.patente-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    margin-top: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 150, 214, 0.15);
}

.calc-result {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    display: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- INTERACTIVE SELECTOR (Plantas) --- */
.tabs-header {
    display: flex;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 2rem;
    gap: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all var(--transition-fast);
    margin-bottom: -2px;
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-accent);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.plantas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.planta-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.planta-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-md);
}

.planta-header {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.planta-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.15rem;
}

.planta-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.planta-info-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.planta-info-item i {
    color: var(--color-accent);
    font-size: 1.15rem;
    margin-top: 0.2rem;
}

.planta-info-item span {
    font-size: 0.95rem;
}

.planta-card-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--color-border);
    background-color: #fafbfc;
    display: flex;
    gap: 0.75rem;
}

.badge-active {
    background-color: #d1fae5;
    color: #065f46;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-inactive {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* --- LIGHTBOX (Certificados ISO) --- */
.iso-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.iso-item {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 1rem;
    text-align: center;
    box-shadow: var(--box-shadow-sm);
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.iso-item:hover {
    transform: scale(1.03);
    box-shadow: var(--box-shadow-md);
}

.iso-item img {
    max-height: 220px;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
    border: 1px solid #f1f5f9;
}

.iso-item h4 {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

/* Modal lightbox style */
.modal-lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    position: relative;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    border: 4px solid #ffffff;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
}

/* --- CLIENT SIDE FORMS --- */
.static-form-wrapper {
    background-color: #fafbfc;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    max-width: 600px;
    margin: 1.5rem auto;
    box-shadow: var(--box-shadow-sm);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.invalid-feedback {
    color: var(--color-danger);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.form-control.is-invalid {
    border-color: var(--color-danger);
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.form-help {
    font-size: 0.825rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

/* --- CUSTOM DIALOG MODALS --- */
.dialog-overlay {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(3px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dialog-overlay.active {
    display: flex;
    opacity: 1;
}

.dialog-box {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    width: 100%;
    max-width: 500px;
    box-shadow: var(--box-shadow-lg);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.dialog-header {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dialog-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.15rem;
}

.dialog-body {
    padding: 1.5rem;
    font-size: 0.95rem;
}

.dialog-footer {
    padding: 1rem 1.5rem;
    background-color: #fafbfc;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.close-dialog-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
}

/* --- FOOTER --- */
footer {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.85);
    padding: 1.25rem 0 0.5rem; /* Reducido un 33% adicional a pedido */
    font-size: 0.9rem;
    border-top: 5px solid var(--color-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.75);
    transition: all var(--transition-fast);
}

.footer-links li a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

.footer-logos {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: center;
}

.footer-logo-img {
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 4px;
    border-radius: var(--border-radius-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

/* --- RESPONSIBILITY & MOBILE TUNING --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .top-bar .logo-min-transporte {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 0.5rem 0;
    }
    .top-bar .logo-gba {
        height: 38px;
    }
    .top-bar .logo-vtvnoroeste {
        height: 32px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .main-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #ffffff;
        position: absolute;
        top: 100%;
        left: 0;
        border-top: 1px solid var(--color-border);
        box-shadow: var(--box-shadow-md);
        padding: 0.5rem 0;
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .main-menu li a {
        padding: 0.85rem 1.5rem;
        border-bottom: none;
        border-left: 3px solid transparent;
        color: var(--color-primary);
    }
    
    .main-menu li a:hover,
    .main-menu li.active a {
        border-left-color: var(--color-primary);
        background-color: rgba(214, 0, 100, 0.05);
        color: var(--color-primary);
    }
    
    .nav-bar .container {
        position: relative;
        padding: 0.25rem 1.5rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .page-card {
        padding: 1.5rem;
    }
    
    .patente-form {
        grid-template-columns: 1fr;
    }
}

/* --- GBA STYLE INFO SECTION (Home Page Gradient) --- */
.gba-info-section {
    background: linear-gradient(100deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    padding: 3.5rem 2rem;
    border-radius: var(--border-radius-md);
    color: #ffffff;
    text-align: center;
    box-shadow: var(--box-shadow-md);
    margin: 3rem 0;
}

.gba-info-section .home-section-title {
    color: #ffffff !important;
    margin-top: 0;
}

.gba-info-section .home-section-title::after {
    background-color: #ffffff !important;
}

.gba-info-section .services-grid {
    margin-bottom: 0;
}

.gba-info-section .service-card {
    background-color: var(--color-accent); /* Bright Cyan Box */
    border: none;
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.gba-info-section .service-card h3 {
    color: #ffffff;
    margin-top: 0.5rem;
    font-size: 1.15rem;
}

.gba-info-section .service-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    line-height: 1.4;
}

.gba-info-section .service-icon-wrapper {
    background-color: transparent;
    color: #ffffff;
    font-size: 2.75rem;
    width: auto;
    height: auto;
    margin-bottom: 1rem;
}

.gba-info-section .service-card:hover {
    background-color: #009bb3; /* Slightly darker cyan */
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.gba-info-section .service-card:hover .service-icon-wrapper {
    transform: scale(1.1);
}

/* Footer dropdown styles */
.footer-dropdown summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    list-style: none;
}
.footer-dropdown summary::-webkit-details-marker {
    display: none;
}
.footer-dropdown[open] summary i {
    transform: rotate(180deg);
}
.footer-dropdown summary i {
    transition: transform 0.3s ease;
}

/* --- FULL SCREEN SINGLE-VIEW LAYOUT FOR DESKTOP --- */
@media (min-width: 992px) {
    body.home-page {
        display: flex;
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }
    
    body.home-page header, 
    body.home-page footer {
        flex-shrink: 0;
    }
    
    body.home-page main {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
    }
    
    body.home-page .gba-info-section {
        margin: 0;
        padding: 3vh 3vw;
    }
    
    body.home-page .home-section-title {
        font-size: 3.5vh;
        margin-bottom: 1vh;
    }
    
    body.home-page .home-section-subtitle {
        margin-bottom: 3vh;
        font-size: 2vh;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
    }
    
    body.home-page .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2vh 2vw;
    }
    
    body.home-page .service-card {
        padding: 2.5vh 1.5vw;
    }
    
    body.home-page .service-icon-wrapper {
        font-size: 4vh;
        margin-bottom: 1.5vh;
    }
    
    body.home-page .service-card h3 {
        font-size: 2.2vh;
        margin-bottom: 1vh;
    }
    
    body.home-page .service-card p {
        font-size: 1.6vh;
    }
}
