/* drfarahsalem.com — shared stylesheet for every page */

/* ===== Site base & home page ===== */
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:16px/1.65 'DM Sans',Arial,sans-serif;background:#fff}a{color:inherit}button,a{ -webkit-tap-highlight-color:transparent} .container{max-width:1190px;margin:auto;padding:0 28px}
.topbar{background:var(--navy2);color:#e9f5f2;font-size:13px}.topbar .container{display:flex;gap:20px;justify-content:space-between;padding-top:9px;padding-bottom:9px}.topbar a{text-decoration:none}.topbar a:hover{text-decoration:underline}
header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.97);box-shadow:0 2px 24px #10384610}header .container{min-height:85px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--navy);line-height:1.2}.brand-mark{width:48px;height:48px;border:2px solid var(--teal);border-radius:50%;display:grid;place-items:center;font:28px 'Playfair Display',serif;color:var(--teal)}.brand strong{font-family:'Playfair Display',serif;font-size:22px;display:block}.brand small{display:block;font-size:10px;letter-spacing:.19em;text-transform:uppercase;margin-top:5px;color:var(--teal);font-weight:700}
nav{display:flex;align-items:center;gap:26px}nav a{text-decoration:none;color:var(--navy);font-size:14px;font-weight:700}nav a:hover{color:var(--teal)}.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;border-radius:5px;padding:14px 23px;font-size:14px;font-weight:700;text-decoration:none;background:var(--teal);color:white;border:1px solid var(--teal);transition:.2s}.btn:hover{background:var(--navy);border-color:var(--navy)}.btn.light{background:white;color:var(--navy);border-color:white}.btn.outline{background:transparent;color:var(--navy);border-color:#a8c3bd}.btn.outline:hover{background:var(--mint)}.menu{display:none;background:transparent;border:0;color:var(--navy);font-size:28px;cursor:pointer}
.hero{overflow:hidden}.hero-inner{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;min-height:605px;gap:32px}.eyebrow{color:var(--teal);font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;margin:0 0 17px}.hero h1,h2,h3{font-family:'Playfair Display',Georgia,serif;color:var(--navy)}h1{font-size:clamp(43px,5.4vw,72px);line-height:1.12;letter-spacing:-.035em;margin:0 0 22px}h1 em{font-style:normal;color:var(--teal)}.hero p.lead{font-size:18px;max-width:560px;color:#4c6266;margin:0 0 27px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.micro{display:flex;gap:16px;flex-wrap:wrap;margin-top:27px;color:var(--navy);font-weight:700;font-size:13px}.micro span:before{content:'✓';color:var(--teal);margin-right:7px}
.hero-visual{position:relative;min-height:500px;display:grid;place-items:center}.hero-visual:before{content:'';width:460px;height:460px;max-width:100%;border-radius:50%;background:radial-gradient(circle at 27% 23%,#fff 0,#d5e9e3 58%,#a7d2c8 100%);box-shadow:0 28px 70px #23646522;position:absolute}.visual-card{z-index:1;width:76%;min-height:350px;border-radius:200px 200px 24px 24px;background:linear-gradient(160deg,#20767b,#103d50);position:relative;overflow:hidden;box-shadow:18px 24px 50px #124a4d33}.visual-card:before{content:'';position:absolute;width:260px;height:260px;border:1px solid #ffffff30;border-radius:50%;top:-100px;right:-90px}.visual-card:after{content:'';position:absolute;width:290px;height:290px;border:1px solid #ffffff29;border-radius:50%;bottom:-140px;left:-100px}.plus{position:absolute;inset:0;display:grid;place-items:center;font-family:Georgia,serif;font-size:195px;font-weight:400;color:#ffffff1d}.medical-seal{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:white;text-align:center;padding:30px}.floating{position:absolute;z-index:2;background:#fff;box-shadow:0 12px 30px #0d434320;border-radius:7px;padding:16px 20px;bottom:46px;left:-18px;color:var(--navy);font-size:13px;font-weight:700;max-width:200px}
.section{padding:90px 0}h2{font-size:clamp(32px,3.4vw,46px);line-height:1.18;margin:0 0 19px}h3{font-size:23px;margin:0 0 9px}p{margin-top:0}.intro{font-size:17px;color:var(--muted);max-width:730px}.center{text-align:center}.center .intro{margin-left:auto;margin-right:auto}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:38px}.service-card{border:1px solid var(--line);padding:31px 29px;border-radius:7px;background:white;box-shadow:0 10px 35px #1b545509}.service-card .symbol{width:48px;height:48px;border-radius:12px;background:var(--mint);color:var(--teal);display:grid;place-items:center;font-size:24px;margin-bottom:20px}.service-card p{color:var(--muted);font-size:14px;line-height:1.75;margin:0}
.tint{background:var(--cream)}.about-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:center}.about-art{min-height:420px;border-radius:9px;background:linear-gradient(145deg,#dbece5,#b8d9cf);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.about-art:before{content:'';width:320px;height:320px;border:2px solid #ffffff70;border-radius:50%;position:absolute}.years{position:absolute;z-index:2;bottom:24px;right:24px;padding:17px 22px;background:var(--navy);color:#fff;border-radius:6px;font-size:14px;font-weight:700}.about-layout p{color:#5b6c70}.detail{border-top:1px solid var(--line);padding:15px 0}.detail strong{display:block;color:var(--navy)}.detail span{color:var(--muted);font-size:14px}
.banner{background:var(--navy);color:#fff;padding:56px 0}.banner .container{display:flex;align-items:center;justify-content:space-between;gap:35px}.banner h2{color:#fff;font-size:34px;margin:0 0 7px}.banner p{color:#c9e1dd;margin:0}
.visit-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:stretch}.contact-card{background:var(--mint);padding:38px;border-radius:8px}.contact-row{display:flex;gap:15px;padding:17px 0;border-bottom:1px solid #bcd7cf}.contact-row:last-child{border:0}.contact-row b{display:block;color:var(--navy)}.contact-row a{text-decoration:none;color:var(--teal);font-weight:600}.contact-row span{color:var(--muted)}.contact-icon{font-size:22px}.map-box{min-height:360px;background:linear-gradient(135deg,#e5f0e9,#f7f4e9);border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px}.map-box svg{width:55px;color:var(--teal);margin-bottom:15px}.map-box strong{font:26px 'Playfair Display',serif;color:var(--navy)}.map-box p{color:var(--muted);margin:12px 0 20px}
footer{background:var(--navy2);color:#d3e3e1;padding:50px 0 20px}footer .footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:36px}footer h3{font-size:22px;color:white}footer p,footer a{font-size:14px;color:#c6d9d6}footer a{text-decoration:none}footer a:hover{text-decoration:underline}.footer-bottom{border-top:1px solid #ffffff20;margin-top:32px;padding-top:22px;font-size:12px;color:#b0c4c0}a:focus-visible,button:focus-visible{outline:3px solid #dbad67;outline-offset:3px}
@media(max-width:920px){nav{gap:13px}nav a{font-size:12px}.hero-inner{grid-template-columns:1fr 0.8fr}.about-layout{gap:35px}.service-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.topbar .container{flex-direction:column;gap:1px;text-align:center}header .container{min-height:72px}.brand strong{font-size:18px}.menu{display:block}nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:20px 28px;box-shadow:0 18px 24px #102d2d18;flex-direction:column;align-items:stretch}nav.open{display:flex}nav a{font-size:16px;padding:5px 0}.hero-inner{grid-template-columns:1fr}.hero-visual{min-height:340px}.hero-visual:before{width:310px;height:310px}.visual-card{min-height:295px;max-width:270px}.floating{bottom:0;left:0}.section{padding:65px 0}.service-grid,.about-layout,.visit-grid,footer .footer-grid{grid-template-columns:1fr}.about-art{min-height:300px}.banner .container{align-items:flex-start;flex-direction:column}.banner h2{font-size:29px}.contact-card{padding:25px}.container{padding-left:21px;padding-right:21px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}
.service-more{display:inline-block;font-size:14px;font-weight:700;text-decoration:none;color:var(--teal)}.service-more:hover{text-decoration:underline}.office-hours{margin-top:22px;border-collapse:collapse;width:100%;color:var(--navy)}.office-hours td{padding:9px 6px;border-bottom:1px solid #bcd7cf}.office-hours td:last-child{text-align:right}@media(max-width:700px){.office-hours td{font-size:13px}}.office-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:35px 0 34px}.office-photo{margin:0;background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:0 9px 24px #16454813}.office-interior-img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain}.office-photo-picture{width:100%;aspect-ratio:1/1;background-image:url('/assets/office-gallery.jpg');background-size:200% 200%;background-repeat:no-repeat}.office-photo-picture.front{background-position:100% 0}.office-photo-picture.door{background-position:0 100%}.office-photo-picture.sign{background-position:100% 100%}.office-photo figcaption{padding:13px 14px;color:var(--navy);font-weight:700;font-size:14px;text-align:center}@media(max-width:700px){.office-photo-grid{grid-template-columns:1fr;max-width:470px;margin:27px auto}.office-photo-picture{aspect-ratio:4/3}}#new-patients{scroll-margin-top:100px} @media(min-width:701px) and (max-width:1100px){header .container{flex-wrap:wrap;padding-top:12px;padding-bottom:12px}nav{flex-wrap:wrap}} 
/* Deep teal, warm ivory and muted gold from the supplied design reference. */
:root{--navy:#214e54;--navy2:#173c41;--teal:#285f65;--mint:#edf2ed;--cream:#f8f5ef;--ink:#34454b;--muted:#5b6b6e;--gold:#b39b76;--line:#dedbd2}
.hero{background:linear-gradient(115deg,#f8f5ef 0%,#f8f5ef 56%,#ecebe1 100%)}
.hero .eyebrow{color:#78613e}.hero h1{font-size:clamp(28px,8.6cqi,65px)}
.care-values{background:var(--navy);color:#fff;text-align:center;padding:19px 24px;font-size:16px;font-weight:500}
.care-values span{padding:0 12px}
section[id]{scroll-margin-top:115px}.service-card{display:flex;flex-direction:column;min-width:0}.service-card h3{overflow-wrap:break-word}.service-more{margin-top:auto;padding-top:19px}
@media(max-width:700px){.care-values{font-size:14px}.care-values span{padding:0 5px}}
.hero-experience{margin:26px 0 28px;padding-top:23px;border-top:1px solid var(--gold)}.hero-experience .eyebrow{margin-bottom:10px}.hero-experience h2{font-size:28px;margin-bottom:14px}.hero-experience p:not(.eyebrow){font-size:16px;line-height:1.65;color:var(--muted);margin-bottom:13px}.hero-inner{padding-top:55px;padding-bottom:55px}@media(max-width:700px){.hero-experience h2{font-size:25px}.hero-inner{padding-top:42px;padding-bottom:40px}}

/* Hero headline: keep "Experienced Medicine." on one line at every width */
.hero-inner>div:first-child{container-type:inline-size}
.hero h1 .h1-line{white-space:nowrap}

/* Home page photos (moved from inline style attributes) */
.hero-portrait{display:block;width:auto;height:auto;max-width:82%;max-height:275px;object-fit:contain;border-radius:10px;box-shadow:0 8px 30px #102d2d40}
.about-portrait{position:relative;z-index:1;max-height:350px;max-width:75%;width:auto;border-radius:8px;object-fit:contain;box-shadow:0 10px 25px #164c4c40}
@media(max-width:700px){.about-portrait{max-height:250px;margin:25px 0}}

/* ===== Service pages (body.service-page) ===== */
/* Neutralize home-page element rules so service pages keep their own look */
body.service-page header{position:static;z-index:auto;box-shadow:none}
.service-page h1{letter-spacing:normal}
.service-page h2{margin:.83em 0}
.service-page p{margin:1em 0}
.service-page .eyebrow{margin:0}
.service-page .hero p.lead{color:inherit;margin:1em 0}
.service-page footer a{font-size:inherit;color:inherit}
.service-page footer a{text-decoration:underline}
body.service-page{margin:0;font:17px/1.8 Arial,sans-serif;color:#34474a;background:#f8f5ef}
.service-page .wrap{max-width:1010px;padding:0 26px;margin:auto}
.service-page header{background:#214e54;color:white;padding:21px 0}
.service-page header .wrap{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;align-items:center}
.service-page header a{color:white;text-decoration:none}
.service-page h1,.service-page h2{font-family:Georgia,serif;color:#214e54;line-height:1.25}
.service-page .hero{padding:72px 0 58px;background:#edf2ed}
.service-page .eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:2px;font-weight:bold;color:#285f65}
.service-page .hero h1{font-size:clamp(38px,5vw,60px);margin:10px 0}
.service-page .hero p.lead{font-size:20px;max-width:810px}
.service-page .content{background:#fff;padding:55px 0}
.service-page .content h2{font-size:29px;margin-top:34px}
.service-page .content p{max-width:850px}
.service-page .notice{padding:23px;background:#edf2ed;border-left:4px solid #285f65;margin:42px 0}
.service-page .button{display:inline-block;background:#285f65;color:white!important;padding:12px 22px;border-radius:5px;text-decoration:none;font-weight:bold;margin:10px 15px 10px 0}
.service-page .hours{border-collapse:collapse;margin-top:12px}
.service-page .hours td{padding:7px 20px 7px 0;border-bottom:1px solid #ddd}
.service-page footer{background:#214e54;color:white;padding:32px 0;font-size:14px}
.service-page footer a{color:white}
.service-page a:focus-visible{outline:3px solid #dab47a}
.service-page .content a:not(.button){color:var(--teal)}
