/*
Theme Name: MolarHome
Description: Custom theme for MolarHome Dental (molarhome.com), migrated from the original static site.
Author: MolarHome
Version: 1.0
*/

:root {
  --green-900:#1A3A0A;--green-800:#2D5016;--green-700:#3B6B1E;--green-600:#4A8526;
  --green-200:#C8E6B0;--green-100:#E6F4DA;--green-50:#F4FAF0;
  --gold:#C9A84C;--gold-light:#E8D5A3;--gold-dark:#8B6B1E;
  --white:#FFFFFF;--off-white:#FAFDF8;--text-body:#3D3D3D;--text-muted:#6B7B61;--border:#D8EAC8;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:'DM Sans',sans-serif;background:var(--white);color:var(--text-body);font-size:16px;line-height:1.7;}
h1,h2,h3,h4{font-family:'Cormorant Garamond',serif;color:var(--green-800);line-height:1.2;}
em{font-style:italic;color:var(--gold-dark);}
a{text-decoration:none;color:inherit;}

/* NAV */
nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(255,255,255,0.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--border);padding:0 3rem;display:flex;align-items:center;justify-content:space-between;height:68px;}
.nav-logo{font-family:'Cormorant Garamond',serif;font-size:1.55rem;font-weight:600;color:var(--green-800);letter-spacing:0.04em;cursor:pointer;margin-right:2.5rem;}
.nav-logo span{color:var(--gold);}
.nav-links{display:flex;align-items:center;gap:2.5rem;list-style:none;}
.nav-links a{font-size:0.85rem;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;color:var(--green-700);transition:color 0.2s;cursor:pointer;}
.nav-links a:hover{color:var(--gold-dark);}
.nav-cta{background:var(--green-800)!important;color:var(--white)!important;padding:0.55rem 1.4rem;border-radius:2px;}
.nav-cta:hover{background:var(--green-700)!important;}

section{padding:6rem 3rem;}
.container{max-width:1100px;margin:0 auto;}
.section-label{font-family:'DM Sans',sans-serif;font-size:0.75rem;font-weight:500;letter-spacing:0.2em;text-transform:uppercase;color:var(--gold-dark);margin-bottom:1rem;display:flex;align-items:center;gap:0.75rem;}
.section-label::before{content:'';display:inline-block;width:28px;height:1px;background:var(--gold);}
.btn-primary{background:var(--green-800);color:var(--white);padding:0.85rem 2rem;border-radius:2px;font-size:0.85rem;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;transition:background 0.2s;cursor:pointer;border:none;display:inline-block;}
.btn-primary:hover{background:var(--green-700);color:var(--white);}
.btn-outline{background:transparent;color:var(--green-800);padding:0.85rem 2rem;border-radius:2px;font-size:0.85rem;font-weight:500;letter-spacing:0.08em;text-transform:uppercase;border:1.5px solid var(--green-200);transition:border-color 0.2s,color 0.2s;cursor:pointer;display:inline-block;}
.btn-outline:hover{border-color:var(--green-600);color:var(--green-700);}
.gold-divider{width:48px;height:2px;background:var(--gold);margin:1.5rem 0 2rem;}

.coming-soon-banner{background:var(--green-900);padding:1rem 3rem;text-align:center;}
.coming-soon-banner p{font-family:'Cormorant Garamond',serif;font-size:1.1rem;font-weight:400;color:var(--gold-light);letter-spacing:0.12em;}

/* HERO */
.hero{min-height:100vh;display:flex;align-items:center;background:var(--off-white);padding-top:68px;position:relative;overflow:hidden;}
.hero::before{content:'';position:absolute;top:-100px;right:-100px;width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,var(--green-100) 0%,transparent 70%);pointer-events:none;}
.hero::after{content:'';position:absolute;bottom:-80px;left:-80px;width:400px;height:400px;border-radius:50%;background:radial-gradient(circle,var(--gold-light) 0%,transparent 70%);opacity:0.3;pointer-events:none;}
.hero-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1.1fr 0.9fr;gap:5rem;align-items:center;position:relative;z-index:1;}
.hero h1{font-size:clamp(2.8rem,5vw,4.2rem);font-weight:300;color:var(--green-900);margin-bottom:0.75rem;line-height:1.1;}
.hero-mantra{font-family:'Cormorant Garamond',serif;font-size:1.15rem;font-style:italic;color:var(--gold-dark);letter-spacing:0.05em;margin-bottom:1.25rem;border-left:3px solid var(--gold);padding-left:1rem;}
.hero p{font-size:1.05rem;color:var(--text-muted);margin-bottom:2rem;line-height:1.8;max-width:480px;}

.opening-announcement{background:var(--green-800);padding:5rem 3rem;text-align:center;}
.opening-announcement .eyebrow{font-family:'DM Sans',sans-serif;font-size:0.78rem;font-weight:500;letter-spacing:0.25em;text-transform:uppercase;color:var(--gold);margin-bottom:1.5rem;}
.opening-announcement h2{font-family:'Cormorant Garamond',serif;font-size:clamp(3rem,6vw,5rem);font-weight:300;color:var(--white);line-height:1.1;margin-bottom:1.5rem;}
.opening-announcement h2 em{color:var(--gold-light);font-style:italic;}
.opening-announcement p{font-size:1.05rem;color:rgba(255,255,255,0.72);max-width:580px;margin:0 auto 2.5rem;}
.waitlist-inline{max-width:580px;margin:0 auto;}
.waitlist-inline .wl-fields{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:0.75rem;align-items:end;}
.waitlist-inline input,.waitlist-inline select{padding:0.75rem 1rem;border:1.5px solid rgba(255,255,255,0.2);border-radius:2px;font-family:'DM Sans',sans-serif;font-size:0.9rem;color:var(--white);background:rgba(255,255,255,0.1);outline:none;width:100%;transition:border-color 0.2s;}
.waitlist-inline input::placeholder{color:rgba(255,255,255,0.45);}
.waitlist-inline input:focus,.waitlist-inline select:focus{border-color:var(--gold);}
.waitlist-inline select{color:rgba(255,255,255,0.7);}
.waitlist-inline select option{color:var(--text-body);background:var(--white);}
.waitlist-success{display:none;background:rgba(201,168,76,0.15);border:1px solid var(--gold);color:var(--gold-light);padding:1.25rem 1.5rem;border-radius:4px;font-size:0.95rem;margin-top:1rem;}

.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:2.5rem;background:var(--white);border:1px solid var(--border);border-radius:4px;box-shadow:0 4px 32px rgba(45,80,22,0.06);}
.hero-stat{text-align:center;padding:0.5rem;}
.hero-stat:not(:last-child){border-right:1px solid var(--border);}
.hero-stat-num{font-family:'Cormorant Garamond',serif;font-size:2.8rem;font-weight:500;color:var(--green-800);line-height:1;margin-bottom:0.25rem;}
.hero-stat-label{font-size:0.75rem;color:var(--text-muted);letter-spacing:0.05em;line-height:1.4;}
.hero-stat-sublabel{font-size:0.68rem;color:var(--gold-dark);letter-spacing:0.04em;font-style:italic;margin-top:0.2rem;}

.services-strip{background:var(--green-800);padding:2.5rem 3rem;}
.services-strip-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);}
.strip-item{padding:1.5rem 2rem;border-right:1px solid rgba(255,255,255,0.12);text-align:center;}
.strip-item:last-child{border-right:none;}
.strip-icon{font-size:1.6rem;margin-bottom:0.75rem;}
.strip-item h4{font-family:'Cormorant Garamond',serif;font-size:1.15rem;font-weight:500;color:var(--white);margin-bottom:0.35rem;}
.strip-item p{font-size:0.8rem;color:rgba(255,255,255,0.65);line-height:1.5;}

.mantra-section{background:var(--white);padding:5rem 3rem;border-bottom:1px solid var(--border);}
.mantra-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr 1fr;gap:0;}
.mantra-pillar{text-align:center;padding:3rem 2.5rem;position:relative;}
.mantra-pillar:not(:last-child)::after{content:'';position:absolute;right:0;top:20%;height:60%;width:1px;background:var(--border);}
.mantra-number{font-family:'Cormorant Garamond',serif;font-size:4rem;font-weight:300;color:var(--green-100);line-height:1;margin-bottom:0.5rem;}
.mantra-word{font-family:'Cormorant Garamond',serif;font-size:2rem;font-weight:500;color:var(--green-800);margin-bottom:0.75rem;}
.mantra-pillar p{font-size:0.9rem;color:var(--text-muted);line-height:1.8;max-width:220px;margin:0 auto;}
.mantra-gold-line{width:32px;height:2px;background:var(--gold);margin:1rem auto;}

.origin{background:var(--green-50);}
.origin-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 1.2fr;gap:6rem;align-items:center;}
.origin-quote{font-family:'Cormorant Garamond',serif;font-size:1.75rem;font-weight:300;color:var(--green-900);line-height:1.4;margin-bottom:2rem;position:relative;padding-left:2rem;}
.origin-quote::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--gold);}
.origin p{font-size:0.95rem;color:var(--text-muted);line-height:1.9;margin-bottom:1.25rem;}
.origin-callout{background:var(--white);border:1px solid var(--border);border-radius:4px;padding:2rem;margin-top:2rem;}
.origin-callout h4{font-family:'Cormorant Garamond',serif;font-size:1.2rem;color:var(--green-800);margin-bottom:1rem;}
.origin-callout ul{list-style:none;display:flex;flex-direction:column;gap:0.75rem;}
.origin-callout ul li{display:flex;align-items:flex-start;gap:0.75rem;font-size:0.88rem;color:var(--text-muted);}
.origin-callout ul li::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--gold);flex-shrink:0;margin-top:0.55rem;}

.why{background:var(--white);}
.why h2{font-size:clamp(2rem,3.5vw,2.8rem);font-weight:300;margin-bottom:3.5rem;max-width:520px;}
.why-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem;}
.why-card{padding:2.5rem;background:var(--off-white);border:1px solid var(--border);border-radius:4px;border-left:3px solid var(--gold);transition:transform 0.2s,box-shadow 0.2s;}
.why-card:hover{transform:translateY(-2px);box-shadow:0 8px 32px rgba(45,80,22,0.08);}
.why-num{font-family:'Cormorant Garamond',serif;font-size:1rem;color:var(--gold-dark);font-weight:500;letter-spacing:0.1em;margin-bottom:0.75rem;}
.why-card h3{font-size:1.35rem;font-weight:500;margin-bottom:0.75rem;}
.why-card p{font-size:0.95rem;color:var(--text-muted);}

.testimonials{background:var(--green-50);}
.testimonials h2{font-size:clamp(2rem,3.5vw,2.8rem);font-weight:300;text-align:center;margin-bottom:3.5rem;}
.testimonials-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
.testimonial-card{background:var(--white);border:1px solid var(--border);border-radius:4px;padding:2.5rem;position:relative;}
.testimonial-card::before{content:'\201C';font-family:'Cormorant Garamond',serif;font-size:5rem;color:var(--gold-light);position:absolute;top:0.5rem;left:1.5rem;line-height:1;}
.stars{color:var(--gold);font-size:0.85rem;letter-spacing:2px;margin-bottom:1rem;}
.testimonial-card p{font-size:0.95rem;color:var(--text-body);line-height:1.8;margin-bottom:1.5rem;font-style:italic;}
.testimonial-author{font-size:0.8rem;font-weight:500;color:var(--green-700);letter-spacing:0.05em;}

.waitlist-cta{background:var(--green-900);padding:5rem 3rem;text-align:center;}
.waitlist-cta h2{font-size:clamp(2rem,4vw,3rem);font-weight:300;color:var(--white);margin-bottom:1rem;}
.waitlist-cta p{color:rgba(255,255,255,0.65);margin-bottom:2.5rem;font-size:1.05rem;}
.waitlist-form-box{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);border-radius:4px;padding:2.5rem;max-width:700px;margin:0 auto;}
.wl-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem;margin-bottom:1rem;}
.wl-field label{display:block;font-size:0.72rem;font-weight:500;letter-spacing:0.15em;text-transform:uppercase;color:var(--gold-light);margin-bottom:0.4rem;}
.wl-field input,.wl-field select{width:100%;padding:0.75rem 1rem;border:1.5px solid rgba(255,255,255,0.15);border-radius:2px;font-family:'DM Sans',sans-serif;font-size:0.9rem;color:var(--white);background:rgba(255,255,255,0.08);outline:none;transition:border-color 0.2s;}
.wl-field input::placeholder{color:rgba(255,255,255,0.35);}
.wl-field input:focus,.wl-field select:focus{border-color:var(--gold);}
.wl-field select{color:rgba(255,255,255,0.65);}
.wl-field select option{color:var(--text-body);background:var(--white);}
.wl-note{font-size:0.75rem;color:rgba(255,255,255,0.4);margin-top:0.75rem;}

footer{background:var(--white);border-top:1px solid var(--border);padding:4rem 3rem 2rem;}
.footer-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:3rem;margin-bottom:3rem;}
.footer-brand p{font-size:0.9rem;color:var(--text-muted);max-width:260px;line-height:1.7;margin-top:0.75rem;}
.footer-col h5{font-family:'DM Sans',sans-serif;font-size:0.75rem;font-weight:500;letter-spacing:0.15em;text-transform:uppercase;color:var(--green-700);margin-bottom:1.25rem;}
.footer-col ul{list-style:none;}
.footer-col ul li{margin-bottom:0.6rem;}
.footer-col ul a{font-size:0.9rem;color:var(--text-muted);transition:color 0.2s;cursor:pointer;}
.footer-col ul a:hover{color:var(--green-700);}
.footer-col p{font-size:0.9rem;color:var(--text-muted);line-height:1.8;}
.footer-bottom{max-width:1100px;margin:0 auto;padding-top:1.5rem;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;font-size:0.8rem;color:var(--text-muted);}
.coming-tag{display:inline-flex;align-items:center;gap:0.4rem;background:#FBF2DF;color:var(--gold-dark);font-size:0.72rem;font-weight:500;letter-spacing:0.1em;text-transform:uppercase;padding:0.35rem 0.85rem;border-radius:20px;margin-top:0.75rem;}

.page-header{background:var(--green-50);padding:8rem 3rem 4rem;border-bottom:1px solid var(--border);}
.page-header-inner{max-width:1100px;margin:0 auto;}
.page-header h1{font-size:clamp(2.5rem,5vw,3.8rem);font-weight:300;margin-bottom:1rem;}
.page-header p{font-size:1.1rem;color:var(--text-muted);max-width:560px;}

.service-item{display:grid;grid-template-columns:120px 1fr auto;gap:2rem;align-items:start;padding:2.5rem 0;border-bottom:1px solid var(--border);}
.service-num{font-family:'Cormorant Garamond',serif;font-size:1rem;color:var(--gold-dark);font-weight:500;letter-spacing:0.08em;padding-top:0.3rem;}
.service-content h3{font-size:1.5rem;font-weight:500;margin-bottom:0.5rem;}
.service-content p{font-size:0.95rem;color:var(--text-muted);max-width:560px;line-height:1.8;}
.service-tag{background:var(--green-100);color:var(--green-700);font-size:0.72rem;font-weight:500;letter-spacing:0.1em;text-transform:uppercase;padding:0.4rem 0.9rem;border-radius:20px;white-space:nowrap;}
.service-tag.tag-gold{background:#FBF2DF;color:var(--gold-dark);}

.about-doc-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:6rem;align-items:start;}
.doctor-photo-placeholder{background:var(--green-100);border:1px solid var(--border);border-radius:4px;aspect-ratio:3/4;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--green-600);font-size:0.85rem;gap:0.75rem;}
.credentials-list{list-style:none;margin:2rem 0;display:flex;flex-direction:column;gap:0.75rem;}
.credentials-list li{display:flex;align-items:center;gap:0.75rem;font-size:0.9rem;color:var(--text-muted);}
.credentials-list li::before{content:'';width:6px;height:6px;background:var(--gold);border-radius:50%;flex-shrink:0;}
.values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;margin-top:3.5rem;}
.value-card{padding:2.5rem;background:var(--white);border:1px solid var(--border);border-radius:4px;text-align:center;}
.value-roman{font-family:'Cormorant Garamond',serif;font-size:2rem;color:var(--gold);font-weight:300;margin-bottom:1rem;}
.value-card h3{font-size:1.3rem;font-weight:500;margin-bottom:0.75rem;}
.value-card p{font-size:0.9rem;color:var(--text-muted);}

.contact-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 1.4fr;gap:5rem;}
.info-block{padding:1.5rem 0;border-bottom:1px solid var(--border);}
.info-block-label{font-size:0.72rem;font-weight:500;letter-spacing:0.15em;text-transform:uppercase;color:var(--gold-dark);margin-bottom:0.5rem;}
.info-block p{font-size:0.95rem;color:var(--text-body);line-height:1.7;}
.info-block a{color:var(--green-700);}
.hours-grid{display:grid;grid-template-columns:1fr 1fr;gap:0.4rem 1rem;margin-top:0.5rem;}
.hours-day{font-size:0.9rem;color:var(--text-muted);}
.hours-time{font-size:0.9rem;color:var(--text-body);font-weight:500;}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem;}
.form-field{display:flex;flex-direction:column;gap:0.4rem;margin-bottom:1rem;}
.form-field label{font-size:0.8rem;font-weight:500;letter-spacing:0.05em;color:var(--green-700);text-transform:uppercase;}
.form-field input,.form-field select,.form-field textarea{padding:0.75rem 1rem;border:1.5px solid var(--border);border-radius:2px;font-family:'DM Sans',sans-serif;font-size:0.95rem;color:var(--text-body);background:var(--white);transition:border-color 0.2s;outline:none;width:100%;}
.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--green-600);}
.form-field textarea{min-height:120px;resize:vertical;}
.form-note{font-size:0.78rem;color:var(--text-muted);margin-bottom:1.5rem;line-height:1.6;}
.success-msg{display:none;background:var(--green-100);color:var(--green-800);padding:1rem 1.5rem;border-radius:4px;border-left:3px solid var(--green-600);font-size:0.95rem;margin-bottom:1rem;}

/* Keep the WP admin bar from covering the fixed nav */
body.admin-bar nav{top:32px;}
@media screen and (max-width:782px){ body.admin-bar nav{top:46px;} }
