:root,
[data-theme="light"] {
    --primary: #C41E3A;
    --primary-dark: #b5895a;
    --secondary: #8B1A1A;
    --dark: #1A1A1A;
    --light: #F5F5F5;
    --light-card: #EEEEEE;
    --white: #FFFFFF;
    --accent: #A0152F;
    --danger: #dc3545;
    --font-title: 'Cinzel', serif;
    --font-text: 'Montserrat', sans-serif;
    --font-signature: 'Birthstone', cursive;
}

[data-theme="dark"] {
    --primary: #c93844;
    --primary-dark: #c72e3a;
    --dark: #F5F5F5;
    --light: #1A1C1C;
    --light-card: #2D2D2D;
    --white: #121212;
    --accent: #DC3545;
    --danger: #a4161a;
    --body-color: #E0E0E0;
    --navbar-bg: rgba(18, 18, 18, 0.95);
    --card-bg: #2a273f;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: var(--font-text);
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-title);
    color: var(--primary);
    cursor: default;
}

h4 {
    font-weight: 550;
}

p,
span,
.flex-grow-1,
.text-muted,
.pricing-table,
.methodology-step,
.footer-title,
.footer-tagline {
    cursor: default;
}

.table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; 
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.table td, .table th {
    white-space: normal;        
    word-wrap: break-word;
    max-width: 250px;        
    min-width: 100px;
    padding: 0.75rem 1rem;
    vertical-align: middle;
}

.table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.table tbody tr:last-child td,
.table tbody tr:last-child th {
    border-bottom: none !important;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: var(--navbar-bg) !important;
    padding: 0.5rem 0;
    box-shadow: 0 2px 15px var(--shadow);
}

.navbar-brand {
    font-family: var(--font-signature);
    font-size: 2.2rem;
    color: var(--primary) !important;
    font-weight: 400;
}

.nav-link {
    color: var(--body-color) !important;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.hero {
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('/imgs/banner.jpg') no-repeat center center/cover;
    min-height: 100vh;
    color: var(--white);
    padding: 160px 0;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero h1 {
    font-size: 5rem;
    color: var(--primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-family: var(--font-signature);
    cursor: default;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.btn-outline-light {
    border-color: white;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 1, 1);
}

.btn-outline-light:hover {
    background-color: #EEEEEE;
    color: var(--primary);
}

.btn-light {
    background-color: white;
    color: var(--primary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.section-title {
    position: relative;
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3rem);
    color: var(--primary);
    margin: 0 auto 4rem;
    padding: 0 20px;
    cursor: default;
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.service-card,
.instrument-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
}

.service-card {
    border-radius: 15px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.service-card h4,
.instrument-card h4,
.service-card .h5,
.instrument-card .h5 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-card:hover .service-icon {
    background: #C41E3A;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
}

.instrument-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.instrument-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.instrument-card:hover img {
    transform: scale(1.15);
}

.instrument-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.instrument-card:hover .instrument-overlay {
    transform: translateY(0);
    opacity: 1;
}

.event-type-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
}

.event-type-card:hover {
    transform: translateY(-12px);
}

.event-type-card img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.event-type-card:hover img {
    transform: scale(1.08);
}

.event-overlay {
    padding: 1.5rem;
    background: white;
}

.event-overlay h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.event-overlay .badge {
    background: var(--primary);
    color: white;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

.event-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 69, 19, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 1rem;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.portfolio-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h5 {
    color: white;
    margin-bottom: 0.5rem;
}

.repertoire-item {
    background: #f9f9f9;
    border-left: 4px solid var(--primary);
    padding: 1rem 1.5rem;
    border-radius: 0 10px 10px 0;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.repertoire-item:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.repertoire-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: цар 3rem 0;
    margin: 4rem 0;
    border-radius: 15px;
}

.contact-info i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    color: white;
    padding: 5rem 0;
    margin: 6rem 0;
    text-align: center;
}

.cta-section h3 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

footer {
    background-color: #1A1A1A;
    color: #ccc;
    padding: 1.5rem 0 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.footer-links {
    display: grid;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

footer p {
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.modal-content {
    border-radius: 24px;
    border: none;
    overflow: hidden;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.97);
}

.modal-header {
    border-bottom: none;
    padding: 2rem 2rem 1rem;
}

.modal-body {
    padding: 2rem 2.5rem 2.5rem;
}

.modal-open {
    overflow-y: auto !important;
    padding-right: 0 !important;
    --scrollbar-width: 17px;
}

body.modal-open {
    padding-right: 0 !important;
    margin-right: 0 !important;
}

body:not(.modal-open) {
    padding-right: var(--scrollbar-width, 0px) !important;
}

.modal-backdrop.show {
    width: calc(100% + var(--scrollbar-width, 0px));
    margin-left: calc(-1 * var(--scrollbar-width, 0px));
}

.form-control,
.form-select {
    border: 1.5px solid #e0e0e0;
    border-radius: 16px;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    background: white;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.15);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.no-resize {
    resize: none !important;
}

.page-hero {
    background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('/imgs/nadiia-ganzhyi-DNAkJbAd-eE-unsplash.jpg') no-repeat center center/cover;
    color: white;
    padding: 140px 0 60px;
    position: relative;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(3rem, 8vw, 4rem);
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0 0 1.5rem 0;
    position: relative;
}

.page-hero h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #C41E3A, transparent);
    border-radius: 2px;
}

.page-hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
    font-weight: 400;
    color: #f0f0f0;
    max-width: 720px;
    margin: 2rem auto 0;
    line-height: 1.7;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 1rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: white;
    font-weight: 500;
}

.about-img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 80%;
    height: auto;
    transition: all 0.3s ease;
    border: 8px solid white;
}

.about-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.bio-text {
    font-size: 1.1rem;
    text-align: justify;
    margin-bottom: 2rem;
    color: #555;
}

strong {
    color: var(--primary);
    font-weight: 500;
}

.highlight-box {
    background: linear-gradient(135deg, #f5e6d3, #fdf6e3);
    border-left: 5px solid var(--secondary);
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
    margin: 2rem 0;
    font-style: italic;
    color: var(--primary);
    font-weight: 500;
}

.methodology-step {
    position: relative;
    background: var(--card-bg);
    border-radius: 28px;
    padding: 2.8rem 2rem;
    height: 100%;
    text-align: center;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    cursor: default;
}

.methodology-step:hover {
    transform: translateY(-18px) scale(1);
    border-color: transparent;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #A0152F;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.faq-item {
    border: none;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.faq-item .accordion-button {
    font-weight: 600;
    color: var(--primary);
    padding: 1rem 1.25rem;
}

.faq-item .accordion-button:not(.collapsed) {
    color: var(--secondary);
    background-color: transparent;
    box-shadow: none;
}

.price-card {
    background: white;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: none;
    border-radius: 15px;
    padding: 1.2rem;
    color: #155724;
    font-weight: 500;
}

.icon-red {
    color: #C41E3A !important;
    font-weight: 600;
}

.mb-5 {
    margin-top: 2%;
}

[data-theme="dark"] body {
    background-color: #1A1C1C;
    color: #f0f6fc;
}

[data-theme="dark"] #eventos,
[data-theme="dark"] #servicos,
[data-theme="dark"] #instrumentos,
[data-theme="dark"] #sobre,
[data-theme="dark"] #portfolio,
[data-theme="dark"] #pacote-1,
[data-theme="dark"] #pacote-2 {
    background-color: #1A1C1C !important;
}

[data-theme="dark"] .bg-white {
    background-color: #212121 !important;
}

[data-theme="dark"] p {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .page-hero h1 {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .text-muted {
    color: #a0a0a0 !important;
}

[data-theme="dark"] .navbar {
    background-color: #191D23 !important;
    border-bottom: 1px solid #333;
}

[data-theme="dark"] .nav-link {
    color: #e0e0e0 !important;
}

[data-theme="dark"] .nav-link:hover {
    color: #cf3542 !important;
}

[data-theme="dark"] .bg-light {
    background-color: #1A1C1C !important;
}

[data-theme="dark"] .event-overlay {
    background: #212121 !important;
}

[data-theme="dark"] .card,
[data-theme="dark"] .accordion-item,
[data-theme="dark"] .modal-content {
    background-color: #252525 !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    color: #e0e0e0;
}

[data-theme="dark"] .faq-item {
    border: 1px solid var(--faq-border);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.25s ease;
}

[data-theme="dark"] .faq-item .accordion-button {
    background: transparent;
    border: none;
    box-shadow: none;
    transition: all 0.25s ease;
    position: relative;
}

[data-theme="dark"] .faq-item .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f85149'%3e%3cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    transform: rotate(90deg);
    transition: transform 0.3s ease, fill 0.3s ease;
}

[data-theme="dark"] .faq-item .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4a574'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .instrument-card,
[data-theme="dark"] .price-card,
[data-theme="dark"] .education-card,
[data-theme="dark"] .portfolio-item {
    background: #2D2D2D !important;
    border: 1px solid #292733;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .table-responsive {      
    border-radius: 12px;
}

[data-theme="dark"] .table,
[data-theme="dark"] .table>tbody,
[data-theme="dark"] .table>thead,
[data-theme="dark"] .table>tfoot,
[data-theme="dark"] .table>*>tr,
[data-theme="dark"] .table>*>tr>td,
[data-theme="dark"] .table>*>tr>th {
    background-color: #111418 !important;
    color: #f0f6fc;
}

[data-theme="dark"] .table>thead>tr>th {
    background-color: #1a1f24 !important;
    color: #f0f6fc;
}

[data-theme="dark"] .table {
    --bs-table-color: #f0f6fc;
    --bs-table-bg: #0d1117;
    --bs-table-border-color: #30363d;
    --bs-table-accent-bg: transparent;
    --bs-table-striped-bg: rgba(240, 246, 252, 0.05);
    --bs-table-active-bg: rgba(240, 246, 252, 0.1);
    --bs-table-hover-bg: rgba(240, 246, 252, 0.075);
}

[data-theme="dark"] .about-img {
    filter: brightness(0.85) contrast(1.1);
}

[data-theme="dark"] .event-type-card {
    background: linear-gradient(145deg, #1a1f26, #14181d);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(230, 57, 70, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #2a2f38;
}

[data-theme="dark"] .event-type-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(230, 57, 70, 0.15);
    border-color: #e63946;
}

[data-theme="dark"] .event-type-card img {
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.85) contrast(1.1);
}

[data-theme="dark"] .event-type-card:hover img {
    filter: brightness(0.9) contrast(1.15);
}

[data-theme="dark"] .event-overlay {
    background: linear-gradient(to top, #14181d, #1a1f26);
}

[data-theme="dark"] .event-overlay p {
    color: #b0b0b0;
}

[data-theme="dark"] .service-icon {
    border: 1px solid #292733 !important;
    color: #f85149;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background: #2e2d38;
    border: 1px solid var(--border-input);
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}

[data-theme="dark"] .form-control::placeholder,
[data-theme="dark"] .form-select::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] input.form-select:focus {
    border-color: var(--primary);
    background: #a8c5f024 !important;
    color: var(--text-primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--focus-ring);
}

[data-theme="dark"] .modal-backdrop.show {
    background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #1a1f24 0%, #2d1b3a 50%, #3a1a2e 100%);
}

[data-theme="dark"] footer {
    background-color: linear-gradient(180deg, #0f1419 0%, #0a0e12 100%) !important;
    border-top: 1px solid #2a2f38 !important;
}

[data-theme="dark"] .repertoire-item {
    background: #333 !important;
}

[data-theme="dark"] .btn-light {
    background-color: #f0ecec;
    color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .btn-light:hover {
    background-color: #f1f1f1;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    color: var(--primary-dark);
}

[data-theme="dark"] .btn-close {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f0f6fc'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    filter: none;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

[data-theme="dark"] .btn-close:hover {
    opacity: 1;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}

[data-theme="dark"] .btn-close:focus {
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.4);
    outline: none;
}

[data-theme="dark"] .methodology-step {
    background: #212121;
}

[data-theme="dark"] .methodology-step:hover {
    transform: translateY(-12px);
    border-color: var(--primary);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px var(--primary);
}

[data-theme="dark"] .step-number {
    background: linear-gradient(135deg, #C41E3A, #8B1A1A);
    color: white;
}

@media (max-width: 991.98px) {
    .nav-link.active::after {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-link.active::after {
        width: 100%;
    }

    .hero {
        padding: 100px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero .lead {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn-lg {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .footer-title {
        font-size: 1.4rem;
    }

    .footer-tagline {
        font-size: 0.85rem;
    }

    .social-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .footer-content {
        text-align: center !important;
        flex-direction: column;
    }

    .social-links {
        margin-top: 5%;
    }

    .w-100-mobile {
        width: 100% !important;
    }

    #sobre .row {
        text-align: center;
    }

    #sobre .section-title {
        text-align: center !important;
    }

    #sobre .about-img {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }

    #sobre .col-lg-7,
    #sobre .col-lg-5 {
        text-align: center;
    }

    #sobre .order-1 {
        order: 1;
    }

    #sobre .order-2 {
        order: 2;
    }

    .mt-5-mobile {
        margin-top: 10% !important;
    }

    .mt-3-mobile {
        margin-right: 0 !important;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .page-hero p {
        font-size: 1.1rem;
    }

    .price-card {
        margin-bottom: 2rem;
    }
}