* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f4ef;
    color: #2f2f2f;
    line-height: 1.6;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 24px;
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    padding: 90px 20px;
    text-align: center;
    color: white;
    background:
        radial-gradient(circle at 50% 20%, rgba(255,255,255,0.14), transparent 28%),
        linear-gradient(135deg, #063f30, #0b5d46 45%, #074331);
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 70px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.12));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
    letter-spacing: -2px;
    text-shadow: 0 4px 18px rgba(0,0,0,0.28);
}

.hero-text {
    max-width: 760px;
    margin: 0 auto;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1.5;
    opacity: 0.96;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 34px;
    padding: 16px 38px;
    background: #fffaf0;
    color: #0b5d46;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.6rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease;

}

.button-icon {
    font-size: 3rem;
    line-height: 1;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.26);
}

/* Cards */

.card {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.intro-card {
    border-top: 5px solid #0b5d46;
    width: 100%;
}

h2 {
    color: #0b5d46;
    margin-top: 0;
}

.lead {
    font-size: 1.15rem;
    color: #555;
    max-width: 750px;
}

/* Info section */

.info-section,
.booking-section {
    display: flex;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature-list li {
    background: #f6f4ef;
    border-radius: 10px;
    padding: 12px 16px;
}

.feature-list li::before {
    content: "✓ ";
    color: #0b5d46;
    font-weight: bold;
}

/* Booking section */

.page-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 28px;
    align-items: stretch;
}

/* .booking-section {
    padding-top: 0;
    border-top: none;
} */

.booking-card {
    width: 100%;
}

/* .booking-card {
    margin-top: 0;
} */

.booking-card h2 {
    margin-bottom: 8px;
}

.booking-slot {
    display: grid;
    grid-template-columns: 1.1fr 0.45fr 2.1fr;
    gap: 20px;
    align-items: center;
}

.booking-time {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-icon {
    font-size: 1.4rem;
    color: #0b5d46;
}

.booking-time strong {
    color: #1f2933;
    font-size: 1rem;
}

.booking-price {
    color: #0b5d46;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    border-left: 1px solid #e1ddd2;
    border-right: 1px solid #e1ddd2;
    padding: 0 18px;
}

.booking-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.booking-inputs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-form input {
    width: 100%;
    max-width: none;
    padding: 9px 12px;
}

.booking-form .button {
    white-space: nowrap;
    padding: 12px 22px;
}

.booking-intro {
    margin-top: 0;
    color: #555;
}

.booking-divider {
    height: 1px;
    background: #e7e2d7;
    margin: 22px 0;
}

.booking-subtitle {
    margin: 0 0 18px;
    color: #0b5d46;
    font-size: 1.1rem;
}

.booking-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lesson-card {
    background: #fbfaf6;
    border: 1px solid #e1ddd2;
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lesson-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.lesson-summary {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.lesson-date {
    color: #0b5d46;
    font-weight: bold;
    font-size: 1.05rem;
}

.lesson-time {
    color: #555;
    margin-top: 4px;
}

.lesson-price {
    color: #0b5d46;
    font-weight: bold;
    font-size: 1.2rem;
    white-space: nowrap;
}

.lesson-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
}

.lesson-form input {
    width: 100%;
}

.lesson-button {
    white-space: nowrap;
}

.empty-message {
    color: #555;
}

/* Forms and buttons */

input {
    padding: 11px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
}

.button {
    background: #0b5d46;
    color: white;
    border: none;
    border-radius: 999px;
    padding: 12px 22px;
    cursor: pointer;
    font-size: 15px;
}

.button:hover {
    background: #084634;
}

/* Footer */

footer {
    text-align: center;
    padding: 30px 20px;
    color: #666;
}

footer a {
    color: #0b5d46;
}

.hero-words {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.word {
    position: absolute;
    white-space: nowrap;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

/* Positions */

.word-1 {
    top: 8%;
    left: 3%;
    transform: rotate(-5deg);
}

.word-2 {
    top: 7%;
    left: 22%;
    transform: rotate(3deg);
}

.word-3 {
    top: 8%;
    right: 4%;
    transform: rotate(2deg);
}

.word-4 {
    top: 26%;
    left: 9%;
    transform: rotate(-2deg);
}

.word-5 {
    top: 35%;
    left: 2%;
    transform: rotate(1deg);
}

.word-6 {
    bottom: 30%;
    left: 4%;
    transform: rotate(-4deg);
}

.word-7 {
    bottom: 40%;
    left: 20%;
    transform: rotate(2deg);
}

.word-8 {
    top: 40%;
    right: 14%;
    transform: rotate(-3deg);
}

.word-9 {
    top: 27%;
    right: 4%;
    transform: rotate(2deg);
}

.word-10 {
    bottom: 25%;
    right: 24%;
    transform: rotate(-2deg);
}

.word-11 {
    bottom: 16%;
    right: 3%;
    transform: rotate(1deg);
}

/* Visual styles */

.style-xl {
    font-family: Georgia, serif;
    font-size: 4.8rem;
    font-weight: bold;
    color: rgba(255,255,255,0.11);
}

.style-xl-italic {
    font-family: Georgia, serif;
    font-size: 4rem;
    font-weight: bold;
    font-style: italic;
    color: rgba(255,255,255,0.10);
}

.style-large {
    font-family: Georgia, serif;
    font-size: 3.2rem;
    font-weight: bold;
    color: rgba(255,255,255,0.09);
}

.style-large-light {
    font-family: "Times New Roman", serif;
    font-size: 3rem;
    font-weight: normal;
    letter-spacing: 1px;
    color: rgba(230,245,235,0.12);
}

.style-medium {
    font-family: Georgia, serif;
    font-size: 2.1rem;
    font-weight: normal;
    color: rgba(255,255,255,0.13);
}

.style-medium-italic {
    font-family: Georgia, serif;
    font-size: 2.3rem;
    font-style: italic;
    color: rgba(255,255,255,0.11);
}

.style-small {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.12);
}

.style-small-italic {
    font-family: Georgia, serif;
    font-size: 1.9rem;
    font-style: italic;
    color: rgba(255,255,255,0.16);
}

.style-small-bold {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.7rem;
    font-weight: bold;
    color: rgba(255,255,255,0.12);
}

.style-light {
    font-family: "Times New Roman", serif;
    font-size: 2.4rem;
    font-weight: normal;
    color: rgba(230,245,235,0.14);
}

.style-long {
    font-family: Georgia, serif;
    font-size: 1.8rem;
    font-style: italic;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.10);
}

/* Mobile */

@media (max-width: 750px) {
    
    .page-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .booking-slot {
        grid-template-columns: 1fr;
    }

    .booking-price {
        text-align: left;
        border-left: none;
        border-right: none;
        border-top: 1px solid #e1ddd2;
        border-bottom: 1px solid #e1ddd2;
        padding: 12px 0;
    }

    .booking-form {
        grid-template-columns: 1fr;
    }

    .booking-form .button {
        width: 100%;
    }


    .lesson-form {
        grid-template-columns: 1fr;
    }

    .lesson-button {
        width: 100%;
    }

    .hero {
        min-height: 360px;
        padding: 70px 20px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .word {
        opacity: 0.6;
    }

    .word-1,
    .word-3,
    .word-5,
    .word-8,
    .word-11 {
        display: none;
    }
}