/* ============================================
   Dr. Allison N. Lee, DDS — Clean Clinical Trust
   Ocean Teal + Warm Coral | Plus Jakarta Sans
   ============================================ */

:root {
    --teal: #0d9488;
    --teal-dark: #075852;
    --teal-light: #ccfbf1;
    --teal-50: #f0fdfa;
    --coral: #f4a289;
    --coral-light: #fce4db;
    --coral-dark: #e8825f;
    --white: #ffffff;
    --cream: #faf9f7;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 16px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-teal: 0 8px 30px rgba(13,148,136,0.25);
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

.text-coral { color: var(--coral-dark); }

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 12px;
}

.section-label--center { display: block; text-align: center; }

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    text-align: center;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
    box-shadow: var(--shadow-teal);
}
.btn-primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(13,148,136,0.35);
}

.btn-secondary {
    background: var(--white);
    color: var(--gray-800);
    border-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--teal);
    border-color: var(--teal);
}
.btn-outline:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-teal);
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

.btn-pulse {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: var(--shadow-teal); }
    50% { box-shadow: 0 8px 40px rgba(13,148,136,0.45), 0 0 0 8px rgba(13,148,136,0.1); }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gray-900);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--teal);
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
}

.logo-text { display: none; }

@media (min-width: 768px) {
    .logo-text { display: inline; }
}

.header-nav {
    display: none;
    gap: 32px;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
    }
}

.header-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition);
}
.header-nav a:hover { color: var(--teal); }

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    background: var(--teal);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
}
.header-cta:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
}
.header-cta span { display: none; }
@media (min-width: 480px) {
    .header-cta span { display: inline; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(13,148,136,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(244,162,137,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(13,148,136,0.04) 0%, transparent 40%),
        var(--cream);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230d9488' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    animation: heroFadeIn 0.8s ease-out both;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: var(--white);
    box-shadow: var(--shadow);
    margin-bottom: 28px;
    animation: heroFadeIn 0.8s ease-out 0.15s both;
}

.badge-stars {
    display: flex;
    gap: 2px;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: heroFadeIn 0.8s ease-out 0.25s both;
}

.title-line {
    display: block;
    color: var(--gray-900);
}

.title-accent {
    display: block;
    color: var(--teal);
    font-size: 1.1em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--gray-500);
    max-width: 540px;
    margin: 0 auto 32px;
    line-height: 1.7;
    animation: heroFadeIn 0.8s ease-out 0.35s both;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 36px;
    animation: heroFadeIn 0.8s ease-out 0.45s both;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    animation: heroFadeIn 0.8s ease-out 0.55s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.trust-item svg { color: var(--teal); flex-shrink: 0; }

/* ============================================
   WHY SECTION
   ============================================ */
.why-section {
    padding: 80px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.why-text h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 20px;
}

.why-text p {
    margin-bottom: 16px;
    color: var(--gray-600);
}

.why-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.photo-grid img {
    border-radius: var(--radius-lg);
    aspect-ratio: 3/4;
    object-fit: cover;
    width: 100%;
    box-shadow: var(--shadow);
}

/* ============================================
   SERVICES
   ============================================ */
.services-section {
    padding: 80px 0;
    background: var(--teal-50);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230d9488' fill-opacity='0.025'%3E%3Cpath d='M20 0L40 20L20 40L0 20z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    position: relative;
}

@media (min-width: 480px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    background: var(--white);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13,148,136,0.15);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--teal-light);
    color: var(--teal);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   FEATURED REVIEW
   ============================================ */
.featured-review {
    padding: 80px 0;
    background:
        linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
    position: relative;
    overflow: hidden;
}

.featured-review::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(244,162,137,0.1) 0%, transparent 40%);
    pointer-events: none;
}

.featured-quote {
    position: relative;
    text-align: center;
    max-width: 740px;
    margin: 0 auto;
}

.quote-marks {
    font-size: 6rem;
    font-weight: 800;
    color: rgba(255,255,255,0.15);
    line-height: 1;
    margin-bottom: -24px;
}

.featured-quote blockquote p {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--white);
    line-height: 1.7;
    font-weight: 400;
    font-style: italic;
}

.quote-author {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.author-stars { display: flex; gap: 3px; }

.quote-author strong {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
}

.quote-author span {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-section {
    padding: 80px 0;
    background: var(--cream);
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
    background: var(--white);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition);
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 14px;
}

.review-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 18px;
    font-style: italic;
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-author strong {
    font-size: 0.9rem;
    color: var(--gray-800);
}

.review-author span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

.reviews-cta { text-align: center; }

/* ============================================
   GALLERY
   ============================================ */
.gallery-section {
    padding: 80px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-grid img {
    border-radius: var(--radius-lg);
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
    padding: 80px 0;
    background: var(--teal-50);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

@media (min-width: 768px) {
    .contact-grid { grid-template-columns: 1.2fr 0.8fr; gap: 64px; }
}

.contact-info h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-500);
    margin-bottom: 28px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.contact-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--teal-light);
    color: var(--teal);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-800);
}

.contact-item span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.hours-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hours-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--teal-light);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
}

.hours-row span:first-child {
    font-weight: 500;
    color: var(--gray-700);
}

.hours-row span:last-child {
    color: var(--gray-500);
}

.hours-closed span {
    color: var(--gray-400) !important;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: 40px 0;
    background: var(--gray-900);
    color: var(--gray-400);
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
}

.footer-brand .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
}

.footer-address {
    font-size: 0.85rem;
}

.footer-address a {
    color: var(--coral);
    font-weight: 600;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ============================================
   FLOATING CTA
   ============================================ */
.floating-cta {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    transition: all var(--transition);
    pointer-events: none;
    opacity: 0;
}

.floating-cta.visible {
    pointer-events: all;
    opacity: 1;
}

.btn-float {
    box-shadow: 0 8px 32px rgba(13,148,136,0.4);
    font-size: 0.95rem;
    padding: 14px 28px;
}

@media (min-width: 768px) {
    .floating-cta { display: none; }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--teal-dark); }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .btn-pulse { animation: none; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    .site-header, .floating-cta, .header-cta { display: none !important; }
    body { color: #000; }
    .hero { min-height: auto; padding: 40px 24px; }
    .hero-bg { display: none; }
}
