* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #12312f;
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 34rem),
        linear-gradient(180deg, #f5fffd 0%, #ffffff 45%, #f8fafc 100%);
    line-height: 1.6;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.section-pad {
    padding: 84px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}

.nav-wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 800;
    background:
        linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 16px 34px rgba(15, 118, 110, 0.24);
}

.brand strong {
    display: block;
    line-height: 1.1;
    color: #0f2927;
}

.brand small {
    display: block;
    color: #63827e;
    font-size: 0.78rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 0.94rem;
    color: #315653;
}

.main-nav a {
    transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-cta {
    padding: 10px 16px;
    color: #fff !important;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 12px 22px rgba(15, 118, 110, 0.22);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #ecfdf5;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #0f2927;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
    font-size: 0.78rem;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 680px;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.6rem, 6vw, 5.7rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
    color: #09201e;
}

.hero-text {
    max-width: 590px;
    margin: 24px 0 0;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    color: #4b6b67;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 18px 35px rgba(15, 118, 110, 0.26);
}

.btn-soft {
    color: #0f3f3a;
    background: #ffffff;
    border: 1px solid rgba(15, 118, 110, 0.16);
    box-shadow: 0 16px 30px rgba(15, 118, 110, 0.1);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-points span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(15, 118, 110, 0.12);
    color: #315653;
    font-size: 0.9rem;
}

.hero-card {
    min-height: 520px;
    position: relative;
}

.smile-visual {
    min-height: 520px;
    border-radius: 46px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), transparent 9rem),
        linear-gradient(145deg, rgba(15, 118, 110, 0.92), rgba(19, 78, 74, 0.96));
    box-shadow: 0 35px 80px rgba(15, 118, 110, 0.28);
}

.smile-visual::before {
    content: "";
    position: absolute;
    width: 390px;
    height: 390px;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    border-radius: 48% 52% 42% 58%;
    background:
        radial-gradient(circle at 48% 30%, #ffffff 0 9%, transparent 10%),
        linear-gradient(180deg, #ffffff 0 52%, #e8fffb 53% 100%);
    box-shadow: inset 0 -30px 0 rgba(15, 118, 110, 0.08);
}

.smile-visual::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 70px;
    left: 50%;
    top: 58%;
    transform: translateX(-50%);
    border-radius: 0 0 120px 120px;
    background: var(--accent);
    opacity: 0.92;
}

.tooth-card,
.appointment-card,
.score-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 40px rgba(6, 36, 34, 0.18);
}

.tooth-card {
    left: 28px;
    right: 28px;
    bottom: 28px;
    padding: 18px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.tooth-card strong,
.appointment-card strong,
.score-card strong {
    color: #0f2927;
}

.tooth-card p,
.appointment-card p,
.appointment-card span,
.score-card span {
    margin: 0;
    color: #5a7773;
}

.tooth-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    flex: 0 0 56px;
    border-radius: 20px;
    background: #ecfdf5;
}

.tooth-icon span {
    width: 28px;
    height: 34px;
    display: block;
    background: #ffffff;
    border: 3px solid var(--primary);
    border-radius: 14px 14px 18px 18px;
}

.appointment-card {
    top: 34px;
    left: 26px;
    padding: 16px 18px;
    border-radius: 24px;
}

.appointment-card p {
    font-size: 0.82rem;
}

.appointment-card strong {
    display: block;
    font-size: 1.3rem;
}

.score-card {
    top: 112px;
    right: 24px;
    width: 108px;
    height: 108px;
    border-radius: 34px;
    display: grid;
    place-items: center;
    text-align: center;
}

.score-card strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.score-card span {
    display: block;
    font-size: 0.76rem;
}

.hero-bg-shape {
    position: absolute;
    border-radius: 999px;
    opacity: 0.5;
    filter: blur(2px);
}

.hero-shape-one {
    width: 280px;
    height: 280px;
    right: -70px;
    top: 110px;
    background: rgba(245, 158, 11, 0.22);
}

.hero-shape-two {
    width: 180px;
    height: 180px;
    left: -40px;
    bottom: 80px;
    background: rgba(15, 118, 110, 0.16);
}

.stats-strip {
    padding: 28px 0;
    background: #09201e;
    color: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stats-grid div {
    padding: 12px 8px;
}

.stats-grid strong {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    line-height: 1;
}

.stats-grid span {
    display: block;
    margin-top: 6px;
    color: #b7d6d2;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading h2,
.about-copy h2,
.faq-intro h2,
.contact-copy h2 {
    margin: 0;
    color: #09201e;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.section-heading p:last-child,
.about-copy p,
.faq-intro p,
.contact-copy p {
    color: #57736f;
    font-size: 1.02rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card,
.process-card,
.testimonial-card,
.contact-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 30px;
    box-shadow: 0 22px 50px rgba(15, 118, 110, 0.08);
}

.service-card {
    padding: 24px;
    min-height: 240px;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    right: -36px;
    bottom: -36px;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.08);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: #ecfdf5;
    color: var(--primary);
    font-weight: 900;
}

.service-card h3,
.process-card h3,
.showcase-card h3,
.testimonial-card strong,
.contact-card h3 {
    color: #0f2927;
}

.service-card p,
.process-card p,
.showcase-card p,
.testimonial-card p,
.contact-card p,
.form-note {
    color: #5a7773;
}

.about-section {
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(245, 158, 11, 0.08));
}

.about-grid,
.contact-grid,
.faq-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 52px;
    align-items: center;
}

.about-visual {
    min-height: 430px;
}

.clinic-window {
    height: 430px;
    border-radius: 42px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(236, 253, 245, 0.88));
    border: 1px solid rgba(15, 118, 110, 0.14);
    box-shadow: 0 34px 80px rgba(15, 118, 110, 0.16);
    position: relative;
    overflow: hidden;
}

.window-bar {
    position: absolute;
    top: 42px;
    left: 42px;
    right: 42px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.55;
}

.chair-shape {
    position: absolute;
    left: 70px;
    bottom: 72px;
    width: 230px;
    height: 126px;
    border-radius: 74px 74px 36px 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.chair-shape::before {
    content: "";
    position: absolute;
    left: 36px;
    bottom: 102px;
    width: 170px;
    height: 74px;
    border-radius: 46px 46px 20px 20px;
    background: #dffff8;
    transform: rotate(-9deg);
}

.lamp-shape {
    position: absolute;
    right: 58px;
    top: 104px;
    width: 18px;
    height: 170px;
    border-radius: 999px;
    background: #0f2927;
}

.lamp-shape::before {
    content: "";
    position: absolute;
    left: -54px;
    top: -28px;
    width: 96px;
    height: 54px;
    border-radius: 54px 54px 12px 12px;
    background: var(--accent);
    transform: rotate(-18deg);
}

.plant-shape {
    position: absolute;
    right: 52px;
    bottom: 54px;
    width: 74px;
    height: 88px;
    border-radius: 0 0 24px 24px;
    background: rgba(245, 158, 11, 0.24);
}

.plant-shape::before,
.plant-shape::after {
    content: "";
    position: absolute;
    bottom: 62px;
    width: 52px;
    height: 78px;
    border-radius: 50% 50% 8px 50%;
    background: rgba(15, 118, 110, 0.72);
}

.plant-shape::before {
    left: -24px;
    transform: rotate(-24deg);
}

.plant-shape::after {
    right: -20px;
    transform: rotate(28deg);
}

.trust-list {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.trust-list div {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 118, 110, 0.12);
}

.trust-list span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 28px;
    border-radius: 50%;
    color: white;
    background: var(--primary);
    font-weight: 900;
}

.trust-list p {
    margin: 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.process-card {
    padding: 26px;
}

.process-card span {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #ffffff;
    background: #09201e;
    font-weight: 900;
}

.gallery-section {
    background: #f8fafc;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-auto-rows: minmax(250px, auto);
    gap: 18px;
}

.showcase-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 34px;
    background: #ffffff;
    border: 1px solid rgba(15, 118, 110, 0.12);
    box-shadow: 0 24px 60px rgba(15, 118, 110, 0.08);
}

.showcase-card.large {
    grid-row: span 2;
}

.showcase-pattern {
    height: 230px;
    border-radius: 28px;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
}

.pattern-one {
    background:
        radial-gradient(circle at 20% 25%, #ffffff 0 7%, transparent 8%),
        linear-gradient(135deg, var(--primary), var(--secondary));
}

.pattern-one::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 42%;
    left: 15%;
    bottom: 18%;
    border-radius: 100px 100px 16px 16px;
    background: rgba(255, 255, 255, 0.78);
}

.pattern-two {
    background:
        linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,0.5) 1px, transparent 1px),
        linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(15, 118, 110, 0.76));
    background-size: 28px 28px, 28px 28px, auto;
}

.pattern-three {
    background:
        radial-gradient(circle at 50% 40%, white 0 20%, transparent 21%),
        radial-gradient(circle at 35% 58%, white 0 10%, transparent 11%),
        radial-gradient(circle at 65% 58%, white 0 10%, transparent 11%),
        linear-gradient(135deg, #dffff8, #ecfdf5);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testimonial-card {
    padding: 24px;
}

.stars {
    color: var(--accent);
    letter-spacing: 0.08em;
    font-weight: 900;
}

.testimonial-card strong {
    display: block;
    margin-top: 18px;
}

.testimonial-card span {
    color: #73908c;
    font-size: 0.9rem;
}

.faq-section {
    background:
        linear-gradient(180deg, #ffffff, #ecfdf5);
}

.faq-grid {
    align-items: start;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid rgba(15, 118, 110, 0.14);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    overflow: hidden;
}

.faq-item button {
    width: 100%;
    padding: 20px;
    border: 0;
    background: transparent;
    color: #0f2927;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.faq-item button span {
    color: var(--primary);
    font-size: 1.4rem;
    line-height: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.faq-answer p {
    margin: 0;
    padding: 0 20px 20px;
    color: #5a7773;
}

.faq-item.active .faq-answer {
    max-height: 160px;
}

.faq-item.active button span {
    transform: rotate(45deg);
}

.contact-section {
    background:
        radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.18), transparent 26rem),
        #09201e;
    color: #ffffff;
}

.contact-copy h2,
.contact-copy .eyebrow {
    color: #ffffff;
}

.contact-copy p {
    color: #b7d6d2;
}

.contact-details {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.contact-details a,
.contact-details span {
    display: block;
    padding: 16px 18px;
    border-radius: 20px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-card {
    padding: 28px;
    background: #ffffff;
    color: #12312f;
}

.contact-card form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.contact-card label {
    display: grid;
    gap: 7px;
    color: #315653;
    font-weight: 800;
}

.contact-card input,
.contact-card select {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 16px;
    padding: 0 14px;
    color: #0f2927;
    background: #f8fafc;
}

.form-note {
    margin: 0;
    font-size: 0.86rem;
}

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    color: #ffffff;
    background: #25d366;
    font-weight: 900;
    box-shadow: 0 18px 38px rgba(37, 211, 102, 0.35);
}

.site-footer {
    padding: 30px 0;
    background: #061715;
    color: #ffffff;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.footer-grid p,
.footer-grid span,
.footer-grid a {
    color: #b7d6d2;
}

.footer-grid p {
    margin: 6px 0 0;
}

.footer-grid div:last-child {
    display: grid;
    gap: 4px;
    text-align: right;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        inset: 76px 16px auto 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 24px;
        background: #ffffff;
        box-shadow: 0 24px 70px rgba(6, 36, 34, 0.18);
        border: 1px solid rgba(15, 118, 110, 0.14);
    }

    .main-nav a {
        padding: 12px;
    }

    body.nav-open .main-nav {
        display: flex;
    }

    body.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-grid,
    .about-grid,
    .contact-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-card,
    .smile-visual {
        min-height: 440px;
    }

    .service-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-card.large {
        grid-row: auto;
    }
}

@media (max-width: 620px) {
    .section-pad {
        padding: 62px 0;
    }

    .nav-wrap {
        min-height: 70px;
    }

    .brand small {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-card,
    .smile-visual {
        min-height: 380px;
    }

    .smile-visual::before {
        width: 270px;
        height: 270px;
    }

    .smile-visual::after {
        width: 160px;
        height: 50px;
    }

    .appointment-card {
        top: 18px;
        left: 18px;
    }

    .score-card {
        top: 96px;
        right: 18px;
        width: 92px;
        height: 92px;
        border-radius: 28px;
    }

    .tooth-card {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .service-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .clinic-window {
        height: 360px;
    }

    .chair-shape {
        left: 42px;
        width: 200px;
    }

    .lamp-shape {
        right: 42px;
    }

    .footer-grid {
        display: grid;
    }

    .footer-grid div:last-child {
        text-align: left;
    }

    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
    }
}