
:root {
    --primary-color: #2a7d2e;
    --secondary-color: #7e6bab;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --border-color: #e4e4e4;
    --text-color: #333;
    --border-radius: 6px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Spectral', serif;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
}

.btn svg {
    margin-right: 0.5rem;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: #236b27;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(42, 125, 46, 0.3);
}

.primary-btn:hover svg {
    animation: pulse 1.5s infinite;
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.secondary-btn:hover svg {
    animation: spin 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    margin-right: 0.8rem;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    position: relative;
    padding: 0.5rem 0;
    color: var(--dark-color);
    font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background-color: var(--primary-color);
}

.hero {
    position: relative;
    background-image: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0.7)
    ),
    url('images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    padding: 5rem 0 7rem;
    margin-bottom: 4rem;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    max-width: 500px;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-calendar {
    flex: 1;
    max-width: 450px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    margin-left: 2rem;
}

.calendar-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: center;
}

.calendar-header h3 {
    margin-bottom: 0.5rem;
}

.calendar-header p {
    margin-bottom: 0;
    font-weight: 500;
}

.calendar-body {
    padding: 1rem;
}

.calendar-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.calendar-row div {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.calendar-days div {
    font-weight: 500;
    color: var(--dark-color);
}

.has-event {
    position: relative;
    color: var(--primary-color);
    font-weight: 500;
}

.has-event:after {
    content: '';
    position: absolute;
    bottom: 5px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.calendar-legend {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.legend-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 80px;
}

section {
    padding: 4rem 0;
    position: relative;
}

section:nth-child(odd) {
    background-color: white;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.corner-decoration {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--secondary-color);
    opacity: 0.7;
}

.top-left {
    top: -10px;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.bottom-right {
    bottom: -10px;
    right: 0;
    border-left: none;
    border-top: none;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.program-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.program-image {
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-content {
    padding: 1.5rem;
}

.program-features {
    margin: 1.5rem 0;
}

.program-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.program-features li svg {
    margin-right: 0.8rem;
    flex-shrink: 0;
}

.programs-comparison {
    margin-top: 3rem;
}

.programs-comparison h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

thead {
    background-color: var(--primary-color);
    color: white;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

tbody tr:hover {
    background-color: rgba(42, 125, 46, 0.05);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
}

.home-exercises {
    margin-top: 4rem;
}

.home-exercises h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.exercises-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.exercise {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.exercise-image {
    height: 100%;
}

.exercise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exercise-content {
    padding: 1.5rem;
}

.exercise-content h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.exercise-steps {
    margin-top: 1.5rem;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step p {
    margin-bottom: 0;
}

.trainers-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.trainer-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.trainer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.trainer-image {
    height: 250px;
    overflow: hidden;
}

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-image img {
    transform: scale(1.05);
}

.trainer-info {
    padding: 1.5rem;
}

.trainer-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.trainer-qualification {
    margin-bottom: 1.5rem;
}

.trainer-qualification h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.trainer-qualification ul {
    list-style: disc;
    margin-left: 1.5rem;
}

.trainer-qualification li {
    margin-bottom: 0.5rem;
}

.trainer-quote {
    font-style: italic;
    color: var(--dark-color);
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin-bottom: 0;
}

.locations-map {
    margin-bottom: 3rem;
}

.locations-map img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.locations-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.location-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.location-icon {
    margin-bottom: 1rem;
}

.location-details h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.location-features li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.location-features li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.recommendations-infographic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.recommendations-column,
.contraindications-column {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.recommendations-column h3,
.contraindications-column h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.contraindications-column h3 {
    color: var(--secondary-color);
}

.recommendations-list li,
.contraindications-list li {
    display: flex;
    align-items: start;
    margin-bottom: 1rem;
}

.recommendations-list li svg,
.contraindications-list li svg {
    margin-right: 1rem;
    flex-shrink: 0;
}

.recommendations-list li p,
.contraindications-list li p {
    margin-bottom: 0;
}

.recommendations-note {
    text-align: center;
    font-style: italic;
    color: var(--dark-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-block {
    margin-bottom: 2rem;
}

.contact-icon {
    margin-bottom: 1rem;
}

.contact-block h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-block p {
    margin-bottom: 0.5rem;
}

.contact-support {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-support h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.support-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 500;
}

.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-form-container h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(42, 125, 46, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: start;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.8rem;
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    color: white;
    margin-top: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav h3,
.footer-programs h3,
.footer-legal h3,
.footer-support h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-nav ul li,
.footer-programs ul li,
.footer-legal ul li {
    margin-bottom: 0.8rem;
}

.footer-nav ul li a,
.footer-programs ul li a,
.footer-legal ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-nav ul li a:hover,
.footer-programs ul li a:hover,
.footer-legal ul li a:hover {
    color: white;
    text-decoration: underline;
}

.footer-support p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero-calendar {
        max-width: 100%;
        margin-left: 0;
    }
    
    .exercise {
        grid-template-columns: 1fr;
    }
    
    .exercise-image {
        height: 250px;
    }
    
    .recommendations-infographic {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-logo,
    .footer-support {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.8rem 0.5rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .trainers-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 3rem 0 5rem;
    }
    
    .calendar-row div {
        height: 30px;
        font-size: 0.9rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-logo,
    .footer-support {
        grid-column: auto;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .program-card,
    .benefit-card,
    .trainer-card,
    .location-card {
        padding: 1rem;
    }
    
    th, td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

.thank-you-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    padding: 3rem 1rem;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.thank-you-content p {
    max-width: 600px;
    margin-bottom: 2rem;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.policy-header h1 {
    color: var(--primary-color);
}

.policy-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.policy-content h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    margin-bottom: 1.5rem;
}

.policy-content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-content ul li {
    margin-bottom: 0.5rem;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    margin-top: 2rem;
    font-weight: 500;
}

.back-to-home svg {
    margin-right: 0.5rem;
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

svg path {
    transition: fill 0.3s ease;
}

.benefit-icon:hover svg path,
.contact-icon:hover svg path,
.location-icon:hover svg path {
    fill: var(--secondary-color);
}

.benefits,
.trainers,
.contact {
    position: relative;
}

.benefits::before,
.trainers::before,
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232a7d2e' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.recommendations-infographic .recommendations-column,
.recommendations-infographic .contraindications-column {
    position: relative;
}

.recommendations-infographic .recommendations-column::before,
.recommendations-infographic .contraindications-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border-top: 3px solid var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.recommendations-infographic .recommendations-column::after,
.recommendations-infographic .contraindications-column::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid var(--primary-color);
    border-right: 3px solid var(--primary-color);
}

.recommendations-infographic .contraindications-column::before,
.recommendations-infographic .contraindications-column::after {
    border-color: var(--secondary-color);
}

:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}