:root {
    --ink: #172033;
    --muted: #5f6b7a;
    --line: #dbe2ea;
    --paper: #f7faf7;
    --white: #ffffff;
    --teal: #0b6b62;
    --teal-dark: #084b47;
    --amber: #e7a72e;
    --coral: #d95d39;
    --leaf: #6a8f3f;
    --shadow: 0 18px 45px rgba(23, 32, 51, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: "Manrope", sans-serif;
}

a {
    color: inherit;
}

p {
    color: var(--muted);
    line-height: 1.7;
}

.page {
    display: none;
}

.error {
    max-width: 350px;
    margin: 45vh auto 0;
    padding: 24px;
    text-align: center;
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
}

.error i {
    display: block;
    margin-bottom: 12px;
    font-size: 40px;
    color: #dc3545;
}

#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 52%, rgba(231, 167, 46, 0.85) 100%);
    transition: opacity 0.45s ease;
}

.preloader-content {
    text-align: center;
}

.preloader-content img {
    width: 104px;
    animation: bounce 1s ease-in-out infinite alternate;
    filter: drop-shadow(0 10px 25px rgba(9, 31, 31, 0.35));
}

.preloader-content p {
    margin-top: 16px;
    color: var(--white);
    font-weight: 800;
}

.loader-circle-34 {
    position: relative;
    width: 34px;
    height: 34px;
    margin: 22px auto 0;
    border-radius: 50%;
}

.loader-circle-34::before,
.loader-circle-34::after {
    position: absolute;
    inset: 0;
    content: "";
    border: 5px solid transparent;
    border-radius: 50%;
}

.loader-circle-34::before {
    border-top-color: var(--amber);
    animation: spin 1s linear infinite;
}

.loader-circle-34::after {
    border-bottom-color: var(--coral);
    animation: spin 1s linear infinite reverse;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    color: var(--white);
    background: rgba(8, 75, 71, 0.96);
    box-shadow: 0 12px 30px rgba(8, 75, 71, 0.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.top-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(0, 0, 0, 0.18);
    font-size: 0.88rem;
}

.top-strip a {
    text-decoration: none;
    font-weight: 800;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
    text-decoration: none;
}

.brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: var(--white);
    border-radius: 8px;
    padding: 5px;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
}

.brand small {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav a {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

nav a:hover,
nav a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.nav-cta,
.primary-button,
.secondary-button,
.book-link,
.send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, filter 0.2s ease;
}

.nav-cta {
    padding: 10px 14px;
    color: var(--teal-dark);
    background: var(--amber);
    box-shadow: 0 12px 24px rgba(231, 167, 46, 0.2);
}

.nav-cta:hover,
.primary-button:hover,
.secondary-button:hover,
.book-link:hover,
.send:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 92vh;
    padding: 190px 22px 70px;
    color: var(--white);
    background-image: url("./assets/bg1.jpg");
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 35, 36, 0.88), rgba(8, 75, 71, 0.58) 54%, rgba(217, 93, 57, 0.38)),
        linear-gradient(0deg, rgba(23, 32, 51, 0.35), rgba(23, 32, 51, 0.1));
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    margin: 0 auto;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--coral);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-section .eyebrow {
    color: var(--amber);
}

h1,
h2,
h3 {
    font-family: "Space Grotesk", sans-serif;
    letter-spacing: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 18px;
    font-size: clamp(3.3rem, 8vw, 6.6rem);
    line-height: 0.92;
}

.hero-copy {
    max-width: 690px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.primary-button {
    padding: 12px 18px;
    color: var(--teal-dark);
    background: linear-gradient(135deg, var(--amber) 0%, #f3c669 100%);
    box-shadow: 0 16px 32px rgba(231, 167, 46, 0.22);
}

.secondary-button {
    padding: 12px 18px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 860px;
    margin-top: 44px;
}

.hero-stats span {
    padding: 16px;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.84);
}

.hero-stats strong {
    display: block;
    color: var(--white);
}

.section {
    padding: 88px 22px;
}

.section-heading {
    max-width: 920px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading.compact {
    max-width: 760px;
}

.section-heading h2,
.appointment-info h2 {
    margin-bottom: 14px;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
}

.value-grid,
.service-grid,
.pricing-grid {
    display: grid;
    max-width: 1180px;
    margin: 0 auto;
    gap: 18px;
}

.value-grid {
    grid-template-columns: repeat(3, 1fr);
}

.value-grid article,
.service-card,
.price-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(23, 32, 51, 0.06);
}

.value-grid article {
    padding: 28px;
}

.value-grid i,
.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    color: var(--white);
    background: var(--teal);
    border-radius: 8px;
    font-size: 1.45rem;
}

.value-grid h3,
.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.services-section {
    background:
        linear-gradient(180deg, rgba(106, 143, 63, 0.08), rgba(247, 250, 247, 0)),
        var(--white);
}

.service-grid {
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 26px;
}

.service-card.featured {
    border-top: 6px solid var(--amber);
}

.service-card p {
    margin-bottom: 14px;
}

.service-card ul {
    display: grid;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.service-card li {
    position: relative;
    padding-left: 24px;
    color: var(--muted);
    line-height: 1.45;
}

.service-card li::before {
    position: absolute;
    left: 0;
    color: var(--leaf);
    content: "\2713";
    font-weight: 900;
}

.book-link {
    width: 100%;
    margin-top: auto;
    padding: 10px 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    box-shadow: 0 12px 24px rgba(11, 107, 98, 0.16);
}

.mini-book-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 8px 12px;
    color: var(--white);
    background: var(--coral);
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.mini-book-link:hover {
    color: var(--white);
    background: #bd4b2d;
    transform: translateY(-2px);
}

.pricing-section {
    background: var(--paper);
}

.pricing-grid {
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 28px;
}

.price-card {
    padding: 24px;
}

.price-label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.price-card h3 {
    min-height: 58px;
    color: var(--teal-dark);
    font-size: 1.4rem;
}

.package-table-wrap {
    max-width: 1180px;
    margin: 0 auto;
    overflow-x: auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.package-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.package-table th,
.package-table td {
    padding: 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.package-table th {
    color: var(--white);
    background: var(--teal-dark);
    font-size: 0.84rem;
    text-transform: uppercase;
}

.package-table tr:last-child td {
    border-bottom: 0;
}

.package-table td:first-child,
.package-table td:last-child {
    color: var(--ink);
    font-weight: 900;
}

.appointment-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 34px;
    max-width: 1180px;
    margin: 0 auto;
}

.appointment-info {
    position: sticky;
    top: 150px;
    align-self: start;
}

.contact-stack {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.contact-stack a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    color: var(--teal-dark);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
}

.appointment-form {
    display: grid;
    gap: 18px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.booking-summary {
    padding: 16px;
    background: rgba(11, 107, 98, 0.08);
    border: 1px solid rgba(11, 107, 98, 0.22);
    border-radius: 8px;
}

.booking-summary span {
    display: block;
    margin-bottom: 5px;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.booking-summary strong {
    display: block;
    color: var(--ink);
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.15rem;
}

.booking-summary p {
    margin: 4px 0 0;
}

.form-row {
    display: grid;
    gap: 8px;
}

.form-row.split {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

label {
    color: var(--ink);
    font-weight: 900;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 13px;
    color: var(--ink);
    background: #fbfcfd;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    font: inherit;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(11, 107, 98, 0.18);
    border-color: var(--teal);
}

.char-count {
    margin: -4px 0 -2px;
    color: var(--muted);
    font-size: 0.82rem;
    text-align: right;
}

.char-count.warning,
.errormsg {
    color: #bf2f24;
}

.errormsg {
    min-height: 18px;
    margin: 0;
    font-size: 0.86rem;
}

.send {
    width: 100%;
    padding: 13px 18px;
    color: var(--teal-dark);
    background: linear-gradient(135deg, var(--amber) 0%, #f3c669 100%);
    box-shadow: 0 12px 24px rgba(231, 167, 46, 0.22);
}

footer {
    display: grid;
    gap: 6px;
    padding: 28px 22px;
    text-align: center;
    background: var(--teal-dark);
}

footer p,
footer a {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1060px) {
    .nav-shell {
        flex-wrap: wrap;
        justify-content: center;
    }

    .brand {
        width: 100%;
        justify-content: center;
    }

    .nav-cta {
        display: none;
    }

    .hero-section {
        padding-top: 225px;
    }

    .service-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .appointment-section {
        grid-template-columns: 1fr;
    }

    .appointment-info {
        position: static;
    }
}

@media (max-width: 760px) {
    .top-strip {
        display: none;
    }

    .nav-shell {
        padding: 12px;
        gap: 10px;
    }

    .brand img {
        width: 46px;
        height: 46px;
    }

    nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
    }

    nav a {
        padding: 7px 8px;
        font-size: 0.9rem;
    }

    .hero-section {
        min-height: 0;
        padding: 170px 18px 52px;
    }

    h1 {
        font-size: 3.4rem;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .hero-actions,
    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-stats,
    .value-grid,
    .service-grid,
    .pricing-grid,
    .form-row.split {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 18px;
    }

    .appointment-form {
        padding: 18px;
    }
}

@media (max-width: 420px) {
    .brand span {
        text-align: center;
    }

    h1 {
        font-size: 2.85rem;
    }

    .section-heading h2,
    .appointment-info h2 {
        font-size: 2rem;
    }

    .package-table th,
    .package-table td {
        padding: 14px;
    }
}

@media (max-width: 299px) {
    .page {
        display: block;
    }

    .content {
        display: none;
    }
}
