﻿
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700;1,900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --teal: #0fa884;
    --teal-dark: #0a7a60;
    --teal-deep: #0a4a3a;
    --teal-light: #3dcfb0;
    --teal-pale: #e8f8f5;
    --teal-mist: #d0f0eb;
    --white: #ffffff;
    --text-dark: #063028;
    --text-mid: #2d7a68;
    --text-soft: #7ab8ae;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--teal-pale);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ════ HERO ════ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 55% 45%;
    overflow: hidden;
}

.hero-panel {
    background: var(--teal-deep);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 80px 100px 72px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

    .hero-panel::before {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        border: 1px solid rgba(15,168,132,0.2);
        top: -120px;
        left: -180px;
        pointer-events: none;
    }

    .hero-panel::after {
        content: '';
        position: absolute;
        right: -80px;
        top: 0;
        bottom: 0;
        width: 160px;
        background: var(--teal-deep);
        clip-path: polygon(0 0, 40% 0, 100% 100%, 0 100%);
        z-index: 3;
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15,168,132,0.18);
    border: 1px solid rgba(15,168,132,0.35);
    padding: 8px 20px;
    border-radius: 100px;
    width: fit-content;
    margin-bottom: 44px;
    opacity: 0;
    animation: fadeUp 0.7s 0.1s forwards;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal-light);
    animation: pulse 2s infinite;
}

.hero-badge span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal-light);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(52px, 5.5vw, 80px);
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeUp 0.7s 0.25s forwards;
}

    .hero-title .line-teal {
        display: block;
        color: var(--teal-light);
        font-style: italic;
    }

.hero-desc {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-soft);
    max-width: 420px;
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeUp 0.7s 0.4s forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.7s 0.55s forwards;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--teal);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 18px 40px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
}

    .btn-main::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--teal-light);
        transform: translateX(-101%);
        transition: transform 0.35s ease;
    }

    .btn-main:hover::after {
        transform: translateX(0);
    }

    .btn-main:hover {
        color: var(--teal-deep);
    }

    .btn-main > * {
        position: relative;
        z-index: 1;
    }

    .btn-main .ico {
        font-size: 20px;
        transition: transform 0.3s;
    }

    .btn-main:hover .ico {
        transform: translateX(5px);
    }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-soft);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s;
}

    .btn-ghost:hover {
        color: var(--teal-light);
    }

.play-ring {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(122,184,174,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: border-color 0.3s, background 0.3s;
}

.btn-ghost:hover .play-ring {
    border-color: var(--teal-light);
    background: rgba(61,207,176,0.1);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(122,184,174,0.2);
    opacity: 0;
    animation: fadeUp 0.7s 0.7s forwards;
}

.hstat-num {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

    .hstat-num span {
        color: var(--teal-light);
    }

.hstat-label {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-soft);
    margin-top: 5px;
    letter-spacing: 0.5px;
}

.hero-visual {
    position: relative;
    overflow: hidden;
}

    .hero-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 15%;
        filter: brightness(0.78) saturate(0.88);
        animation: slowZoom 10s ease forwards;
    }

.hero-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10,74,58,0.45) 0%, transparent 55%);
}

.hero-card {
    position: absolute;
    bottom: 52px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-radius: 12px;
    padding: 22px 30px;
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
    box-shadow: 0 20px 60px rgba(10,74,58,0.2);
    opacity: 0;
    animation: fadeUp 0.7s 0.9s forwards;
    border-top: 3px solid var(--teal);
}

.hero-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.hero-card-text strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.hero-card-text span {
    font-size: 12px;
    color: var(--text-mid);
    font-weight: 400;
}

/* ════ TICKER ════ */
.ticker {
    background: var(--teal);
    padding: 18px 0;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    animation: ticker 28s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding-right: 32px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal-deep);
}

.ticker-sep {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(10,74,58,0.35);
    flex-shrink: 0;
    display: inline-block;
}

/* ════ SECTION COMMON ════ */
.sec-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 18px;
}

    .sec-label::before {
        content: '';
        width: 28px;
        height: 2px;
        background: var(--teal);
        display: inline-block;
    }

.sec-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: clamp(38px, 4vw, 60px);
    line-height: 1.1;
    color: var(--text-dark);
}

    .sec-heading em {
        font-style: italic;
        color: var(--teal);
    }

/* ════ SERVICES ════ */
.services {
    padding: 130px 72px;
    background: var(--white);
}

.services-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 72px;
}

.link-all {
    font-size: 13px;
    font-weight: 500;
    color: var(--teal);
    text-decoration: none;
    border-bottom: 1px solid var(--teal);
    padding-bottom: 2px;
    transition: opacity 0.3s;
    white-space: nowrap;
    margin-bottom: 4px;
}

    .link-all:hover {
        opacity: 0.7;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.svc-card {
    background: var(--teal-pale);
    border-radius: 16px;
    padding: 48px 40px 44px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid var(--teal-mist);
}

    .svc-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--teal), var(--teal-light));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .svc-card:hover::after {
        transform: scaleX(1);
    }

    .svc-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 32px 80px rgba(15,168,132,0.15);
    }

.svc-num {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 900;
    color: rgba(15,168,132,0.1);
    line-height: 1;
    margin-bottom: 28px;
    transition: color 0.4s;
}

.svc-card:hover .svc-num {
    color: rgba(15,168,132,0.2);
}

.svc-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(15,168,132,0.3);
}

    .svc-icon-wrap svg {
        width: 28px;
        height: 28px;
        color: white;
    }

.svc-name {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    line-height: 1.2;
}

.svc-desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-mid);
}

.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    font-size: 13px;
    font-weight: 600;
    color: var(--teal-dark);
    text-decoration: none;
    transition: gap 0.3s;
}

    .svc-link:hover {
        gap: 14px;
    }

/* ════ WHY US ════ */
.why {
    padding: 130px 72px;
    background: var(--teal-deep);
    position: relative;
    overflow: hidden;
}

    .why::before {
        content: 'SMILECARE';
        position: absolute;
        bottom: -20px;
        right: -20px;
        font-family: 'Playfair Display', serif;
        font-size: 180px;
        font-weight: 900;
        color: rgba(15,168,132,0.06);
        pointer-events: none;
        line-height: 1;
        letter-spacing: -4px;
    }

.why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-content .sec-label {
    color: var(--teal-light);
}

    .why-content .sec-label::before {
        background: var(--teal-light);
    }

.why-content .sec-heading {
    color: var(--white);
}

    .why-content .sec-heading em {
        color: var(--teal-light);
    }

.why-list {
    margin-top: 52px;
}

.why-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(15,168,132,0.15);
    transition: border-color 0.3s;
}

    .why-row:first-child {
        padding-top: 0;
    }

    .why-row:hover {
        border-color: rgba(15,168,132,0.4);
    }

.why-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(15,168,132,0.15);
    border: 1px solid rgba(15,168,132,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
    transition: background 0.3s;
}

.why-row:hover .why-icon {
    background: rgba(15,168,132,0.25);
}

.why-row-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.why-row-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-soft);
}

.why-visual {
    position: relative;
}

.why-img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    border-radius: 20px;
    filter: brightness(0.8) saturate(0.85);
}

.why-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: var(--teal);
    border-radius: 16px;
    padding: 32px 36px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(15,168,132,0.4);
}

.why-badge-num {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.why-badge-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-top: 6px;
}

.why-rating {
    position: absolute;
    top: 28px;
    right: -20px;
    background: var(--white);
    border-radius: 12px;
    padding: 18px 22px;
    box-shadow: 0 12px 40px rgba(10,74,58,0.25);
    text-align: center;
}

.why-rating-stars {
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.why-rating-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.why-rating-sub {
    font-size: 11px;
    color: var(--text-mid);
    font-weight: 400;
}

/* ════ CTA ════ */
.cta {
    padding: 120px 72px;
    background: var(--teal-pale);
    position: relative;
    overflow: hidden;
    text-align: center;
}

    .cta::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 700px;
        height: 700px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(15,168,132,0.15) 0%, transparent 70%);
        pointer-events: none;
    }

.cta-inner {
    position: relative;
    z-index: 1;
}

    .cta-inner .sec-heading {
        max-width: 720px;
        margin: 12px auto 20px;
    }

.cta-sub {
    font-size: 17px;
    font-weight: 300;
    color: var(--text-mid);
    margin-bottom: 52px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--teal);
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 20px 52px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s;
    box-shadow: 0 12px 40px rgba(15,168,132,0.35);
}

    .btn-cta-primary::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--teal-dark);
        transform: translateY(101%);
        transition: transform 0.35s;
    }

    .btn-cta-primary:hover::after {
        transform: translateY(0);
    }

    .btn-cta-primary > * {
        position: relative;
        z-index: 1;
    }

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--teal-dark);
    color: var(--teal-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 20px 52px;
    border-radius: 6px;
    transition: all 0.35s;
}

    .btn-cta-outline:hover {
        background: var(--teal-dark);
        color: var(--white);
    }

/* ════ FOOTER ════ */
.foot {
    background: var(--teal-deep);
    padding: 32px 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.foot-brand {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 900;
    color: var(--teal-light);
    letter-spacing: 1px;
}

    .foot-brand span {
        color: var(--white);
    }

.foot-info {
    font-size: 13px;
    color: var(--text-soft);
    text-align: center;
}

.foot-hours {
    font-size: 13px;
    color: var(--text-soft);
    text-align: right;
}

    .foot-hours strong {
        color: var(--teal-light);
        font-weight: 600;
    }

/* ════ ANIMATIONS ════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* ════ RESPONSIVE ════ */
@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-panel {
        padding: 80px 40px;
    }

        .hero-panel::after {
            display: none;
        }

    .hero-visual {
        height: 420px;
    }

    .hero-stats {
        gap: 28px;
    }

    .services, .why, .cta {
        padding: 80px 36px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .why-inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .why-badge {
        left: 0;
    }

    .why-rating {
        right: 0;
    }

    .foot {
        flex-direction: column;
        text-align: center;
        padding: 28px 36px;
    }

    .foot-hours {
        text-align: center;
    }
}
