/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fefefe;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 105, 75, 0.1);
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #8b694b;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #8b694b;
}

/* Dropdown submenu (nested menu – max 2 levels) */
.nav-menu > li {
    position: relative;
}

.has-submenu > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.submenu-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.has-submenu.open > a .submenu-arrow {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 105, 75, 0.12);
    border-radius: 10px;
    box-shadow: 0 12px 36px -8px rgba(139, 105, 75, 0.22);
    padding: 6px 0;
    list-style: none;
    margin: 0;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

/* Invisible bridge to prevent gap between trigger and dropdown */
.submenu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

/* Open state (toggled by JS click) */
.has-submenu.open > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.submenu li {
    width: 100%;
}



.submenu a {
    display: block;
    padding: 10px 14px;
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 0 6px;
}

.submenu a:hover,
.submenu a.active {
    color: #8b694b;
    background-color: rgba(139, 105, 75, 0.07);
}

/* Page layout for subpages */
.page-content {
    margin-top: 80px;
}

/* Hero sections for subpages */
.hero-section {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section .hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-section .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(254, 254, 254, 0.8) 0%, rgba(251, 247, 240, 0.6) 50%, rgba(139, 105, 75, 0.4) 100%);
    z-index: 1;
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-section .hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-section .hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #5a5a5a;
    font-weight: 300;
}

/* Content layout */
.info-section {
    padding: 80px 0;
    background-color: #fefefe;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.main-content {
    line-height: 1.7;
}

.main-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 24px;
    line-height: 1.2;
}

.main-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #2c2c2c;
    margin: 32px 0 16px;
}

.main-content h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #2c2c2c;
    margin: 24px 0 12px;
}

.main-content p {
    color: #5a5a5a;
    margin-bottom: 16px;
}

.benefits-list {
    list-style: none;
    margin: 0 0 24px 0;
    padding: 0;
}

.benefits-list li {
    color: #5a5a5a;
    padding: 8px 0 8px 24px;
    position: relative;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b694b;
    font-weight: bold;
}

.main-content ul:not(.benefits-list) {
    color: #5a5a5a;
    margin-bottom: 16px;
    padding-left: 20px;
}

.main-content ol {
    color: #5a5a5a;
    margin-bottom: 16px;
    padding-left: 20px;
}

/* Sidebar components */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.booking-card,
.price-card,
.info-card,
.medical-card,
.testimonial-card,
.postpartum-card,
.support-card,
.weather-info,
.benefits-card,
.tech-support,
.early-bird {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px -5px rgba(139, 105, 75, 0.15);
    border: 1px solid rgba(139, 105, 75, 0.1);
}

.booking-card h3,
.price-card h4,
.info-card h4,
.medical-card h4,
.testimonial-card h4,
.postpartum-card h4,
.support-card h4,
.weather-info h4,
.benefits-card h4,
.tech-support h4,
.early-bird h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 16px;
}

.booking-card p,
.price-card p,
.info-card p,
.medical-card p,
.testimonial-card p,
.postpartum-card p,
.support-card p,
.weather-info p,
.benefits-card p,
.tech-support p,
.early-bird p {
    color: #5a5a5a;
    margin-bottom: 16px;
    line-height: 1.6;
}

.cta-button {
    background-color: #8b694b;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    background-color: #9d7a5d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(139, 105, 75, 0.3);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(139, 105, 75, 0.1);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item span {
    color: #5a5a5a;
    font-size: 0.9rem;
}

.price-item strong {
    color: #8b694b;
    font-weight: 600;
    font-size: 1.1rem;
}

.price-item.special strong {
    font-size: 1.25rem;
    color: #2c2c2c;
}

.price-note {
    font-size: 0.8rem;
    color: #8b694b;
    margin-top: 12px;
}

.info-card ul,
.medical-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li,
.medical-card li {
    color: #5a5a5a;
    padding: 4px 0 4px 16px;
    position: relative;
    font-size: 0.9rem;
}

.info-card li::before,
.medical-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #8b694b;
}

.testimonial-card blockquote {
    font-style: italic;
    color: #5a5a5a;
    margin: 0 0 16px 0;
    padding: 0;
    border: none;
    line-height: 1.6;
}

.testimonial-card cite {
    color: #8b694b;
    font-style: normal;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Special sections for subpages */
.schedule-info {
    background-color: rgba(139, 105, 75, 0.05);
    border-radius: 8px;
    padding: 24px;
    margin: 32px 0;
}

.schedule-info h3 {
    color: #8b694b;
    margin-bottom: 16px;
}

.schedule-info p {
    margin-bottom: 8px;
}

.trimester,
.workshop-day,
.phase,
.type-card {
    background-color: rgba(139, 105, 75, 0.05);
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
}

.trimester h4,
.workshop-day h4,
.phase h4,
.type-card h4 {
    color: #8b694b;
    margin-bottom: 12px;
}

.training-structure,
.online-types {
    display: grid;
    gap: 16px;
    margin: 24px 0;
}

/* Contact page specific styles */
.contact-section {
    padding: 80px 0;
    background-color: #fefefe;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.contact-info-page h2,
.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 16px;
}

.contact-info-page .title,
.contact-info .title {
    color: #8b694b;
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.contact-details {
    margin-bottom: 32px;
}

.contact-details .contact-item {
    margin-bottom: 24px;
}

.contact-details .contact-item h3 {
    color: #2c2c2c;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.contact-details .contact-item p {
    color: #5a5a5a;
    margin-bottom: 4px;
}

.contact-details .contact-item small {
    color: #8b694b;
    font-size: 0.9rem;
}

.social-media {
    margin-top: 32px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-link {
    color: #8b694b;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #8b694b;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #8b694b;
    color: #ffffff;
}

/* Contact form */
.contact-form-section h2 {
    font-size: 2rem;
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 24px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

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

.form-group label {
    color: #2c2c2c;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid rgba(139, 105, 75, 0.3);
    border-radius: 6px;
    font-size: 1rem;
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b694b;
    box-shadow: 0 0 0 2px rgba(139, 105, 75, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.submit-button {
    background-color: #8b694b;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.submit-button:hover {
    background-color: #9d7a5d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(139, 105, 75, 0.3);
}

/* FAQ section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #fefefe 0%, #fbf7f0 100%);
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c2c2c;
    text-align: center;
    margin-bottom: 48px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px -5px rgba(139, 105, 75, 0.15);
    border: 1px solid rgba(139, 105, 75, 0.1);
}

.faq-item h3 {
    color: #2c2c2c;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.faq-item p {
    color: #5a5a5a;
    line-height: 1.6;
    margin: 0;
}


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

/* Hero Section for main page */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero .hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(254, 254, 254, 0.8) 0%, rgba(251, 247, 240, 0.6) 50%, rgba(139, 105, 75, 0.4) 100%);
}

.hero .hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hero .hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #2c2c2c;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero .hero-subtitle {
    display: block;
    color: #8b694b;
    font-weight: 500;
}

.hero .hero-description {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: #5a5a5a;
    font-weight: 300;
    max-width: 768px;
    margin: 0 auto 48px;
    line-height: 1.4;
}

.instructor-info {
    margin-bottom: 48px;
}

.instructor-name {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #2c2c2c;
    font-weight: 300;
    margin-bottom: 16px;
}

.instructor-title {
    font-size: 1.125rem;
    color: #5a5a5a;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 24px 32px;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.btn-primary {
    background-color: #8b694b;
    color: #fefefe;
    box-shadow: 0 10px 25px -5px rgba(139, 105, 75, 0.3);
}

.btn-primary:hover {
    background-color: #9d7a5d;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -5px rgba(139, 105, 75, 0.4);
}

.btn-outline {
    border: 2px solid #8b694b;
    color: #8b694b;
    background-color: transparent;
    box-shadow: 0 4px 15px -3px rgba(139, 105, 75, 0.2);
}

.btn-outline:hover {
    background-color: #8b694b;
    color: #fefefe;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(139, 105, 75, 0.3);
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    stroke-width: 2;
}

.full-width {
    width: 100%;
}

.hero .info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1024px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hero .info-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hero .info-card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(139, 105, 75, 0.2);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px -3px rgba(139, 105, 75, 0.1);
    text-align: center;
}

.hero .info-icon {
    width: 32px;
    height: 32px;
    color: #8b694b;
    margin: 0 auto 12px;
    stroke-width: 2;
}

.hero .info-card h3 {
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.hero .info-card p {
    font-size: 0.875rem;
    color: #5a5a5a;
}

/* About Section */
.about {
    padding: 96px 0;
    background-color: #fefefe;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 32px;
    line-height: 1.2;
}

.section-title.center {
    text-align: center;
}

.highlight {
    color: #8b694b;
    font-weight: 500;
}

.about-text {
    margin-bottom: 32px;
}

.about-text p {
    color: #5a5a5a;
    margin-bottom: 16px;
    line-height: 1.7;
}

.benefits h3 {
    color: #2c2c2c;
    font-weight: 500;
    margin-bottom: 16px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    color: #5a5a5a;
    padding: 8px 0;
    position: relative;
    padding-left: 24px;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #8b694b;
    font-weight: bold;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(139, 105, 75, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services {
    padding: 96px 0;
    background: linear-gradient(180deg, #fefefe 0%, #fbf7f0 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px -5px rgba(139, 105, 75, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 105, 75, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(139, 105, 75, 0.25);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: #8b694b;
    margin-bottom: 24px;
    stroke-width: 1.5;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 16px;
}

.service-card p {
    color: #5a5a5a;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    color: #5a5a5a;
    padding: 4px 0;
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
}

.service-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #8b694b;
}

/* Footer */
.footer {
    background-color: #ffffff;
    border-top: 1px solid rgba(139, 105, 75, 0.2);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-contact h3,
.footer-links h3,
.footer-cta h3 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: #8b694b;
    stroke-width: 2;
}

.contact-item span {
    color: #5a5a5a;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: #5a5a5a;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-nav a:hover {
    color: #8b694b;
}

.footer-cta p {
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-bottom {
    border-top: 1px solid rgba(139, 105, 75, 0.2);
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    font-size: 0.875rem;
    color: #5a5a5a;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    font-size: 0.875rem;
    color: #5a5a5a;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.legal-links a:hover {
    color: #8b694b;
}

/* Footer for subpages */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h3 {
    color: #2c2c2c;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.footer-section h4 {
    color: #2c2c2c;
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer-section p {
    color: #5a5a5a;
    margin-bottom: 8px;
}

.footer-section a {
    color: #5a5a5a;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #8b694b;
}

/* Hamburger Toggle Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #2c2c2c;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive design */
@media (max-width: 968px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(139, 105, 75, 0.1);
        font-size: 1rem;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: #8b694b;
        padding-left: 8px;
    }

    /* Submenu on mobile */
    .submenu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background-color: rgba(139, 105, 75, 0.04);
        padding: 0;
        margin: 0;
        min-width: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .submenu::before {
        display: none;
    }

    .has-submenu.open > .submenu {
        max-height: 500px;
        transform: none;
    }

    .submenu a {
        padding: 10px 0 10px 28px;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(139, 105, 75, 0.06);
        margin: 0;
        border-radius: 0;
    }

    .has-submenu > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Overlay when menu is open */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }

    .hero-content {
        padding: 0 16px;
    }

    .container {
        padding: 0 16px;
    }

    .service-card {
        padding: 24px;
    }

    .about {
        padding: 64px 0;
    }

    .services {
        padding: 64px 0;
    }

    .page-content {
        margin-top: 70px;
    }

    .hero-section {
        height: 300px;
    }

    .info-section,
    .contact-section,
    .faq-section {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-description {
        font-size: 1rem;
    }

    .cta-buttons {
        margin-bottom: 32px;
    }

    .btn {
        padding: 16px 24px;
        font-size: 1rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .service-card {
        padding: 20px;
    }

    .hero .info-cards {
        gap: 16px;
    }

    .footer {
        padding: 48px 0 0;
    }
}