/* =========================================================
   SMILECARE DENTAL STUDIO
   Premium Clinic Website - V1
   ========================================================= */

:root {
    --primary: #126b68;
    --primary-dark: #0b4f4d;
    --accent: #d9a441;
    --cream: #f7f5ef;
    --white: #ffffff;
    --dark: #173334;
    --text: #526364;
    --border: #e3e8e6;
    --soft: #eef5f3;
    --shadow: 0 18px 50px rgba(20, 55, 55, 0.10);
    --radius: 18px;
    --container: 1180px;
}

/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

/* ================= HEADER ================= */

.site-header {
    height: 82px;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid rgba(20,50,50,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    display: grid;
    place-items: center;
    font-size: 20px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-text strong {
    font-family: "Manrope", sans-serif;
    font-size: 19px;
    letter-spacing: -0.5px;
}

.logo-text small {
    font-size: 8px;
    letter-spacing: 2px;
    color: var(--primary);
    margin-top: 5px;
    font-weight: 700;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.desktop-nav a {
    font-size: 13px;
    color: #506061;
    font-weight: 600;
    transition: 0.25s;
}

.desktop-nav a:hover {
    color: var(--primary);
}

.header-call {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--dark);
}

.call-icon {
    width: 38px;
    height: 38px;
    background: var(--soft);
    color: var(--primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.header-call small,
.header-call strong {
    display: block;
}

.header-call small {
    font-size: 9px;
    color: #778484;
}

.header-call strong {
    font-size: 12px;
}

.menu-toggle {
    display: none;
    background: transparent;
    font-size: 25px;
    color: var(--dark);
    cursor: pointer;
}

/* ================= MOBILE MENU ================= */

.mobile-menu {
    display: none;
}

/* ================= HERO ================= */

.hero {
    background: var(--cream);
    padding: 70px 0 80px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: 70px;
}

.hero-content {
    padding: 20px 0;
}

.eyebrow,
.section-label {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 2.2px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
}

.hero h1 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1.03;
    letter-spacing: -3px;
    color: var(--dark);
    margin-bottom: 25px;
}

.hero h1 span,
.intro-section h2 span {
    color: var(--primary);
}

.hero p {
    max-width: 470px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.btn {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px rgba(18,107,104,0.18);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid #cbd7d4;
    background: white;
    color: var(--dark);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-hours {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    color: #718080;
}

.hero-hours strong {
    color: var(--dark);
}

.hero-image {
    position: relative;
}

.hero-image img {
    height: 550px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hero-badge {
    position: absolute;
    left: -25px;
    bottom: 30px;
    background: white;
    padding: 17px 22px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.hero-badge strong {
    display: block;
    color: var(--primary);
    font-family: "Manrope", sans-serif;
    font-size: 26px;
}

.hero-badge span {
    display: block;
    font-size: 10px;
    color: var(--text);
}

/* ================= INTRO ================= */

.intro-section {
    padding: 100px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.intro-section h2,
.section-heading h2,
.dentist-content h2,
.location-info h2,
.appointment-card h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -1.8px;
}

.intro-text {
    color: var(--text);
    font-size: 15px;
}

.intro-text p + p {
    margin-top: 18px;
}

/* ================= SERVICES ================= */

.services-section {
    background: #f8faf9;
    padding: 100px 0;
}

.section-heading {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 55px;
}

.section-heading h2 {
    margin-bottom: 14px;
}

.section-heading p {
    color: var(--text);
    font-size: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-card {
    background: white;
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: var(--radius);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.service-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--soft);
    font-size: 22px;
    margin-bottom: 22px;
}

.service-card h3 {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    margin-bottom: 9px;
}

.service-card p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.7;
}

.center-button {
    text-align: center;
    margin-top: 40px;
}

.text-button {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

/* ================= DENTIST ================= */

.dentist-section {
    padding: 100px 0;
    background: white;
}

.dentist-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: center;
}

.dentist-image img {
    height: 540px;
    object-fit: cover;
    border-radius: 22px;
}

.dentist-content h2 {
    margin-bottom: 10px;
}

.dentist-content h3 {
    color: var(--primary);
    font-size: 13px;
    margin-bottom: 22px;
}

.dentist-content p {
    color: var(--text);
    font-size: 14px;
    margin-bottom: 15px;
}

.dentist-points {
    list-style: none;
    margin: 25px 0 30px;
}

.dentist-points li {
    font-size: 13px;
    margin-bottom: 10px;
    color: var(--dark);
    font-weight: 600;
}

/* ================= APPOINTMENT ================= */

.appointment-card {
    grid-column: 1 / -1;
    margin-top: 20px;
    background: var(--primary);
    color: white;
    padding: 55px;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(18,107,104,0.18);
}

.section-label.light {
    color: #b8dfda;
}

.appointment-card h2 {
    margin-bottom: 10px;
}

.appointment-card > p {
    color: #cde4e1;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.appointment-card input,
.appointment-card select,
.appointment-card textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.09);
    color: white;
    padding: 15px;
    border-radius: 9px;
    outline: none;
    margin-bottom: 14px;
}

.appointment-card input::placeholder,
.appointment-card textarea::placeholder {
    color: #b9d4d1;
}

.appointment-card select {
    color: #cde4e1;
}

.appointment-card option {
    color: #222;
}

.appointment-button {
    background: white;
    color: var(--primary);
    cursor: pointer;
    margin-top: 4px;
}

.appointment-button:hover {
    transform: translateY(-2px);
}

/* ================= STATS ================= */

.stats-section {
    background: var(--dark);
    padding: 60px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    padding: 10px 30px;
    border-right: 1px solid rgba(255,255,255,0.12);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 34px;
    color: white;
    margin-bottom: 3px;
}

.stat span {
    display: block;
    font-weight: 700;
    font-size: 13px;
}

.stat small {
    display: block;
    color: #a8bbbb;
    font-size: 11px;
    margin-top: 7px;
}

/* ================= TESTIMONIALS ================= */

.testimonials-section {
    padding: 100px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.testimonial {
    padding: 30px;
    background: #f8faf9;
    border-radius: 18px;
}

.stars {
    color: var(--accent);
    letter-spacing: 2px;
    font-size: 13px;
    margin-bottom: 18px;
}

.testimonial p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.testimonial strong {
    font-size: 12px;
}

/* ================= LOCATION ================= */

.location-section {
    padding: 100px 0;
    background: var(--cream);
}

.location-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: stretch;
}

.location-info h2 {
    margin-bottom: 25px;
}

.location-info h3 {
    font-size: 17px;
    margin-bottom: 20px;
}

.location-info p {
    color: var(--text);
    font-size: 13px;
    margin-bottom: 12px;
}

.location-info .btn {
    margin-top: 20px;
}

.map-placeholder {
    min-height: 420px;
    border-radius: 22px;
    background:
        linear-gradient(rgba(18,107,104,0.07), rgba(18,107,104,0.07)),
        repeating-linear-gradient(
            45deg,
            #e8eeeb,
            #e8eeeb 20px,
            #f4f6f4 20px,
            #f4f6f4 40px
        );
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.map-content {
    background: white;
    padding: 22px 30px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.map-pin {
    font-size: 30px;
}

.map-content strong {
    font-size: 14px;
}

.map-content span:last-child {
    color: var(--text);
    font-size: 11px;
}

/* ================= FOOTER ================= */

.site-footer {
    background: #102b2d;
    color: white;
}

.footer-grid {
    padding: 75px 0;
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 35px;
}

.footer-logo .logo-icon {
    background: var(--primary);
}

.footer-brand p {
    color: #9eb4b4;
    font-size: 12px;
    line-height: 1.8;
    max-width: 260px;
    margin-top: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-column h4 {
    font-size: 12px;
    margin-bottom: 10px;
    letter-spacing: 0.4px;
}

.footer-column a,
.footer-column span {
    color: #9eb4b4;
    font-size: 11px;
    line-height: 1.6;
}

.footer-column a:hover {
    color: white;
}

.footer-column .closed {
    margin-top: 7px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.09);
}

.footer-bottom-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom span,
.footer-bottom a {
    color: #829999;
    font-size: 10px;
}

.footer-bottom-inner div {
    display: flex;
    gap: 20px;
}

/* ================= MOBILE ACTIONS ================= */

.mobile-actions {
    display: none;
}

/* ================= TABLET ================= */

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 16px;
    }

    .desktop-nav a {
        font-size: 12px;
    }

    .header-call {
        display: none;
    }

    .hero-grid {
        gap: 40px;
    }

    .hero h1 {
        font-size: 55px;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

/* ================= MOBILE ================= */

@media (max-width: 760px) {

    body {
        padding-bottom: 65px;
    }

    .container {
        width: min(100% - 30px, 600px);
    }

    .site-header {
        height: 72px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        z-index: 999;
        padding: 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
        display: none;
        flex-direction: column;
        gap: 4px;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu a {
        padding: 13px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
    }

    .mobile-menu a:hover {
        background: var(--soft);
        color: var(--primary);
    }

    .hero {
        padding: 45px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 49px;
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-image img {
        height: 400px;
    }

    .hero-badge {
        left: 15px;
        bottom: 18px;
    }

    .intro-section,
    .services-section,
    .dentist-section,
    .testimonials-section,
    .location-section {
        padding: 70px 0;
    }

    .intro-grid,
    .dentist-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-grid {
        gap: 25px;
    }

    .services-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 25px;
    }

    .dentist-image img {
        height: 420px;
    }

    .appointment-card {
        padding: 32px 22px;
        border-radius: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stats-section {
        padding: 45px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 35px;
    }

    .stat {
        border-right: 0;
        padding: 0 15px;
    }

    .stat strong {
        font-size: 28px;
    }

    .map-placeholder {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        padding: 55px 0;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom-inner {
        padding: 20px 0;
        flex-direction: column;
        text-align: center;
    }

    .mobile-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 62px;
        background: white;
        display: grid;
        grid-template-columns: 1fr 1fr;
        z-index: 2000;
        box-shadow: 0 -8px 25px rgba(0,0,0,0.12);
    }

    .mobile-actions a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 13px;
        font-weight: 700;
    }

    .mobile-actions a:first-child {
        background: var(--primary);
        color: white;
    }

    .mobile-actions a:last-child {
        background: #eaf5f2;
        color: var(--primary);
    }

}

/* ================= SMALL MOBILE ================= */

@media (max-width: 420px) {

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-hours {
        flex-wrap: wrap;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

}