:root {
    --primary-color: #4CAF50;
    --primary-color-light: #81C784;
    --primary-color-dark: #388E3C;
    --accent-color: #FF7F7F;
    --accent-color-light: #FFCDD2;
    --dark-color: #212121;
    --dark-color-light: #424242;
    --light-color: #F5F5F5;
    --light-color-dark: #E0E0E0;
    --success-color: #66BB6A;
    --warning-color: #FFA726;
    --error-color: #F44336;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
    position: relative;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.wave-fill {
    fill: var(--light-color);
}

.wave-fill-alt {
    fill: var(--light-color-dark);
}

section:nth-child(odd) {
    background-color: var(--light-color);
}

section:nth-child(even) {
    background-color: white;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.btn:hover::before {
    width: 100%;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: var(--primary-color-dark);
    color: white;
    transform: translateY(-3px);
}

.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(-3px);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo svg {
    margin-right: 0.8rem;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::after {
    width: 100%;
}

.hero {
    min-height: 85vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding: 3rem 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(255, 127, 127, 0.05) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--dark-color-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.program-card {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--light-color-dark);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color-light);
}

.program-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.program-card h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color-dark);
}

.program-card p {
    margin-bottom: 1.5rem;
}

.program-card ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.program-card ul li {
    margin-bottom: 0.5rem;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.benefits-infographic img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-item {
    display: flex;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.benefit-icon {
    flex-shrink: 0;
}

.benefit-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--light-color-dark);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color-light);
}

.testimonial-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.testimonial-card:hover .testimonial-image img {
    transform: scale(1.05);
}

.testimonial-content {
    padding: 1.5rem;
}

.testimonial-content h3 {
    color: var(--primary-color-dark);
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    color: var(--primary-color-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.compare-table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background-color: white;
}

.compare-table th,
.compare-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-color-dark);
}

.compare-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table tr:nth-child(even) {
    background-color: var(--light-color);
}

.compare-table tr:hover {
    background-color: var(--light-color-dark);
}

.precautions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.precautions-image img {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.precautions-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.recommendation,
.contraindications {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--light-color-dark);
}

.recommendation {
    border-left: 5px solid var(--success-color);
}

.contraindications {
    border-left: 5px solid var(--warning-color);
}

.recommendation h3,
.contraindications h3 {
    margin-bottom: 1rem;
}

.recommendation ul,
.contraindications ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.recommendation ul li,
.contraindications ul li {
    margin-bottom: 0.5rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color-dark);
}

.contact-map {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-container {
    background-color: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--light-color-dark);
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--light-color);
    border: 1px solid var(--light-color-dark);
    border-radius: 4px;
    transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
    background-color: var(--light-color-dark);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 5rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    margin-top: 1rem;
    color: white;
}

.footer-logo p {
    color: var(--light-color-dark);
}

.footer-nav,
.footer-links,
.footer-policy {
    display: flex;
    flex-direction: column;
}

.footer-nav h4,
.footer-links h4,
.footer-policy h4 {
    color: var(--primary-color-light);
    margin-bottom: 1.5rem;
}

.footer-nav ul,
.footer-links ul,
.footer-policy ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a,
.footer-links a,
.footer-policy a {
    color: var(--light-color);
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-links a:hover,
.footer-policy a:hover {
    color: var(--primary-color-light);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--light-color-dark);
    font-size: 0.9rem;
}

@media screen and (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 6rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin: 0 auto;
        max-width: 500px;
    }
    
    .about-content,
    .benefits-content,
    .precautions-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .wave-divider svg {
        height: 70px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .testimonials-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-nav ul,
    .footer-links ul,
    .footer-policy ul {
        align-items: center;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .compare-table th,
    .compare-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .benefit-item,
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon,
    .contact-icon {
        margin: 0 auto 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 375px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo svg {
        width: 40px;
        height: 40px;
    }
    
    nav a {
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .program-card,
    .testimonial-content,
    .recommendation,
    .contraindications {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
    }
}

.policy-page {
    padding: 3rem 0;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policy-content h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-top: 2.5rem;
}

.policy-content h2::after {
    left: 0;
    transform: none;
    width: 60px;
}

.policy-content p,
.policy-content ul {
    margin-bottom: 1.5rem;
}

.policy-content ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.policy-content ul li {
    margin-bottom: 0.5rem;
}

.back-btn {
    display: inline-block;
    margin-top: 2rem;
}

.thank-you-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 0;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    margin: 0 auto 2rem;
    width: 100px;
    height: 100px;
}

.thank-you-content h1 {
    margin-bottom: 1.5rem;
}

.thank-you-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.back-home {
    display: inline-block;
    margin-top: 1rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shiftRight {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(0);
    }
}

.primary-btn:hover,
.secondary-btn:hover {
    animation: pulse 1s infinite;
}

.benefit-icon:hover svg,
.contact-icon:hover svg,
.program-icon:hover svg {
    animation: shiftRight 1s ease-in-out;
}

.program-card:hover .program-icon svg,
.benefit-item:hover .benefit-icon svg,
.contact-item:hover .contact-icon svg {
    transform: rotate(5deg) scale(1.1);
    transition: transform 0.3s ease;
}

.program-card:hover h3,
.benefit-item:hover h3,
.contact-item:hover h3 {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

html {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%234CAF50" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 8v8"/><path d="M8 12h8"/></svg>') 12 12, auto;
}

a, button, .btn, .gallery-item, .program-card, .testimonial-card {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%234CAF50" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M8 12l4 4"/><path d="M12 16l4-4"/><path d="M12 8v8"/></svg>') 12 12, pointer;
}