/*
Theme Name: USA Dental Rebuilt 2026
Description: Lean, accessible USA Dental templates using the existing page content and media.
Author: Energize Group
Version: 0.4.4
Text Domain: usa-dental-rebuilt-2026
*/
:root{--ink:#14243d;--navy:#102f49;--navy-deep:#0b2942;--red:#b52f31;--red-hover:#8f2027;--cream:#f7f8fa;--line:#dce2e8;--white:#fff;--focus:#145dd6}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--white);font:400 18px/1.62 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
img{max-width:100%;height:auto}
iframe{border:0}
a{color:#15507c;text-underline-offset:.15em}
a:hover{color:#a8242b}
:where(a,button,summary,input,select,textarea):focus-visible{outline:3px solid var(--focus);outline-offset:3px}
h1,h2,h3,h4,p{margin-top:0}
h1,h2,h3,h4{line-height:1.16;letter-spacing:-.025em}
h1{font-size:clamp(2.9rem,5.5vw,5.6rem)}
h2{font-size:clamp(2rem,3.4vw,3.2rem)}
h3{font-size:clamp(1.35rem,2vw,1.8rem)}
p{margin-bottom:1.15em}
.usa-shell{width:min(100% - 48px,1280px);margin-inline:auto}
.usa-skip{position:absolute;z-index:1000;top:-100px;left:20px;padding:10px 16px;background:var(--white);color:var(--ink)}
.usa-skip:focus{top:10px}
.usa-header{position:relative;z-index:50;background:var(--white);box-shadow:0 2px 15px #0b29420a}
.usa-header-inner{min-height:174px;display:flex;align-items:center;gap:clamp(20px,3vw,50px)}
.usa-brand{display:inline-flex;flex:none;align-items:center}
.usa-brand img{display:block;width:clamp(125px,12vw,180px);height:auto}
.usa-desktop-nav{display:flex;gap:clamp(15px,1.8vw,30px);align-items:center;margin-inline:auto}
.usa-desktop-nav>a,.usa-desktop-nav summary{display:block;padding:12px 0;color:var(--ink);font-size:1rem;font-weight:600;text-decoration:none;white-space:nowrap;cursor:pointer}
.usa-desktop-nav>a:hover,.usa-desktop-nav summary:hover{color:var(--red)}
.usa-desktop-nav details{position:relative}
.usa-desktop-nav summary{list-style:none}
.usa-desktop-nav summary::-webkit-details-marker,.usa-mobile-nav summary::-webkit-details-marker{display:none}
.usa-desktop-nav summary::after{content:"";display:inline-block;width:7px;height:7px;margin:0 0 3px 10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}
.usa-dropdown{position:absolute;top:100%;left:-20px;min-width:250px;padding:10px;background:var(--white);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 35px #0b294226}
.usa-dropdown a{display:block;padding:9px 12px;border-radius:7px;color:var(--ink);font-size:.95rem;text-decoration:none}
.usa-dropdown a:hover,.usa-dropdown a:focus-visible{background:#eef3f7;color:var(--navy)}
.usa-header-actions{display:flex;gap:14px;align-items:center;flex:none}
.usa-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:13px 25px;border:2px solid var(--red);border-radius:100px;background:var(--red);color:var(--white);font-size:1rem;font-weight:600;line-height:1.2;text-align:center;text-decoration:none;white-space:nowrap;transition:background-color .16s,border-color .16s,color .16s}
.usa-button:hover,.usa-button:focus-visible{background:var(--red-hover);border-color:var(--red-hover);color:var(--white)}
#main-content a.usa-button{color:var(--white);text-decoration:none}
#main-content a.usa-button:hover,#main-content a.usa-button:focus-visible{color:var(--white);text-decoration:none}
.usa-button--outline{background:var(--white);border-color:var(--navy);color:var(--navy)}
.usa-button--outline:hover,.usa-button--outline:focus-visible{background:var(--navy);border-color:var(--navy);color:var(--white)}
.usa-mobile-nav{display:none}
.usa-hero{position:relative;overflow:hidden;display:flex;align-items:center;min-height:390px;margin:0 24px 30px;border-radius:34px;background:var(--red);color:var(--white);text-align:center}
.usa-hero--inner .usa-shell{position:relative;z-index:1}
.usa-hero--inner h1{margin:0;padding:55px 0}
.usa-hero--home{min-height:min(760px,75vh);background:var(--navy);text-align:left}
.usa-hero--home::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0b2942ea 0%,#0b2942ce 52%,#0b29428c 100%)}
.usa-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.usa-hero-content{position:relative;z-index:1;padding-block:90px}
.usa-hero--home h1{max-width:830px;margin-bottom:24px;color:var(--white)}
.usa-hero-copy{max-width:720px;margin-bottom:32px;color:var(--white);font-size:clamp(1.1rem,1.8vw,1.35rem)}
.usa-hero-copy p:last-child{margin:0}
.usa-hero-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.usa-hero-actions .usa-button--video{background:transparent;border-color:var(--white);color:var(--white)}
.usa-hero-actions .usa-button--video:hover,.usa-hero-actions .usa-button--video:focus-visible{background:var(--white);border-color:var(--white);color:var(--navy)}
#main-content .usa-hero-actions a.usa-button--video:hover,#main-content .usa-hero-actions a.usa-button--video:focus-visible{color:var(--navy)}
.usa-hero-video{position:absolute;z-index:3;inset:0;width:100%;height:100%;object-fit:contain;background:#061d2d}
.usa-section{padding:clamp(65px,7vw,105px) 0}
.usa-section:nth-of-type(even){background:var(--cream)}
.usa-section .usa-shell>.usa-group{max-width:100%}
.usa-group{min-width:0}
.usa-group--stack{display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.usa-group--columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:clamp(32px,5vw,80px)}
.usa-group--cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:25px}
.usa-group--logos{display:flex;flex-wrap:wrap;align-items:center;gap:24px;width:100%}
.usa-group--logos .usa-image{width:auto;max-width:min(42%,180px);max-height:130px;object-fit:contain;border-radius:0}
.usa-group--card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:25px;border:1px solid var(--line);border-radius:22px;background:var(--white);box-shadow:0 10px 30px #102f490a}
.usa-group--card .usa-button{margin-top:auto}
.usa-group--card h3,.usa-image-box h3{margin:4px 0 0}
.usa-section h2{margin-bottom:10px}
.usa-section h3{margin-bottom:4px}
.usa-align-center{text-align:center;width:100%}
.usa-align-right{text-align:right;width:100%}
.usa-copy{max-width:860px}
.usa-copy>:last-child{margin-bottom:0}
.usa-copy ul,.usa-icon-list{padding-left:24px}
.usa-copy li,.usa-icon-list li{margin-bottom:10px}
.usa-section .usa-button{margin-top:12px}
.usa-image{display:block;width:100%;max-height:580px;object-fit:cover;border-radius:24px}
.usa-card-image{display:block;width:100%;height:210px;object-fit:cover;border-radius:16px}
.usa-image-box{display:flex;flex-direction:column;gap:10px;width:100%}
.usa-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;width:100%}
.usa-gallery figure{margin:0;overflow:hidden;border-radius:20px}
.usa-gallery-image{display:block;width:100%;height:280px;object-fit:cover}
.usa-section--gallery{background:var(--navy)!important;color:var(--white)}
.usa-section--gallery :is(h2,h3,p){color:var(--white)}
.usa-section--gallery .usa-group--stack,.usa-section--reviews .usa-group--stack{align-items:center}
.usa-section--gallery :is(h2,h3,.usa-copy),.usa-section--reviews :is(h2,h3,.usa-copy){text-align:center}
.usa-section--reviews{background:#edf3f7!important}
.usa-section--reviews .usa-group{width:100%}
.usa-review-frame{width:100%;min-height:520px;border-radius:20px;background:var(--white)}
.usa-review-frame iframe{display:block;width:100%;min-height:520px}
.usa-page--about-us .usa-section--1 .usa-group--stack{align-items:center;text-align:center}
.usa-page--about-us .usa-section--2 .usa-group--columns{align-items:start}
.usa-page--about-us .usa-section--2 .usa-image{max-height:700px;object-position:center top}
.usa-form-frame{width:100%;overflow:hidden;border-radius:20px;background:var(--white)}
.usa-form-frame iframe{display:block;width:100%;height:980px}
.usa-section--form .usa-group--columns{align-items:start}
.usa-section--form .usa-group--cards{display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.usa-legal-copy{max-width:900px}
.usa-legal-copy h2{margin:32px 0 10px;font-size:clamp(1.3rem,2vw,1.65rem);line-height:1.3}
.usa-legal-copy h2:first-of-type{margin-top:22px}
.usa-legal-copy p,.usa-legal-copy li{max-width:76ch;line-height:1.75}
.usa-legal-copy ul{padding-left:24px;margin:12px 0 22px}
.usa-legal-copy li{margin-bottom:8px}
.usa-legal-copy a{color:#164d76;text-decoration:underline;text-underline-offset:3px}
.usa-footer-map iframe{display:block;width:100%;height:340px;background:#e9eef2}
.usa-footer-cta{padding:75px 0;background:var(--navy);color:var(--white)}
.usa-footer-cta-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:50px;align-items:center}
.usa-footer-cta h2{color:var(--white)}
.usa-footer-cta p{max-width:760px;margin-bottom:0}
.usa-footer-buttons{display:flex;gap:14px;align-items:center}
.usa-button--light{border-color:var(--white);background:var(--white);color:var(--ink)}
.usa-button--light:hover,.usa-button--light:focus-visible{border-color:var(--red);background:var(--red);color:var(--white)}
.usa-footer{padding:65px 0 25px;background:#f6f8fa;color:var(--ink)}
.usa-footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:55px}
.usa-footer-grid h2{font-size:1.15rem;text-transform:uppercase;letter-spacing:.08em}
.usa-footer-grid a:not(.usa-footer-brand){display:block;margin:0 0 9px;color:#184e73}
.usa-footer-grid a:hover{color:var(--red)}
.usa-footer-brand img{display:block;width:150px;height:auto;margin-bottom:20px}
.usa-footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;margin-top:55px;padding-top:20px;border-top:1px solid var(--line);font-size:.86rem}
.usa-footer-bottom>div{display:flex;flex-wrap:wrap;gap:18px}
.usa-chat-launch{position:fixed;right:24px;bottom:24px;z-index:900;min-height:48px;padding:10px 18px;border:2px solid var(--navy);border-radius:999px;background:var(--navy);box-shadow:0 5px 20px #102f4940;color:var(--white);font:700 16px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
.usa-chat-launch:hover,.usa-chat-launch:focus-visible{background:#fff;color:var(--navy)}
.usa-chat-launch:disabled{cursor:wait}
@media(max-width:1100px){.usa-header-inner{min-height:120px}.usa-desktop-nav,.usa-header-actions{display:none}.usa-mobile-nav{display:block;margin-left:auto;position:relative}.usa-mobile-nav>summary{display:flex;align-items:center;gap:10px;padding:12px;color:var(--ink);font-weight:700;cursor:pointer;list-style:none}.usa-menu-icon{width:22px;height:17px;background:linear-gradient(currentColor,currentColor) top/100% 2px no-repeat,linear-gradient(currentColor,currentColor) center/100% 2px no-repeat,linear-gradient(currentColor,currentColor) bottom/100% 2px no-repeat}.usa-mobile-nav>nav{position:absolute;top:100%;right:0;width:min(360px,calc(100vw - 48px));max-height:80vh;overflow:auto;padding:15px;background:var(--white);border:1px solid var(--line);border-radius:16px;box-shadow:0 15px 30px #102f4933}.usa-mobile-nav nav a,.usa-mobile-nav nav summary{display:block;padding:11px;border-radius:7px;color:var(--ink);font-size:1rem;font-weight:600;text-decoration:none;cursor:pointer}.usa-mobile-nav nav a:hover,.usa-mobile-nav nav summary:hover{background:#eef3f7}.usa-mobile-nav nav details>div{padding-left:17px}.usa-mobile-nav nav .usa-button{margin-top:10px;color:var(--white)}.usa-footer-cta-inner{grid-template-columns:1fr}.usa-footer-buttons{flex-wrap:wrap}}
@media(max-width:700px){body{font-size:16px}.usa-shell{width:min(100% - 36px,1280px)}.usa-header-inner{min-height:98px}.usa-brand img{width:108px}.usa-hero{min-height:300px;margin:0 12px 16px;border-radius:22px}.usa-hero--home{min-height:600px}.usa-hero--home::after{background:linear-gradient(#0b2942dc,#0b2942e8)}.usa-hero-content{padding-block:65px}.usa-section{padding:55px 0}.usa-group--columns,.usa-group--cards{grid-template-columns:1fr}.usa-group--columns{gap:25px}.usa-group--card{padding:20px}.usa-card-image{height:220px}.usa-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.usa-gallery-image{height:170px}.usa-review-frame,.usa-review-frame iframe{min-height:470px}.usa-footer-map iframe{height:260px}.usa-page--about-us .usa-section--2 .usa-image{max-height:520px}.usa-footer-cta{padding:55px 0}.usa-footer-buttons{display:grid;grid-template-columns:1fr 1fr}.usa-footer-buttons .usa-button{white-space:normal;padding:12px}.usa-footer-grid{grid-template-columns:1fr 1fr;gap:35px}.usa-footer-grid>div:first-child{grid-column:1/-1}.usa-footer-bottom{margin-top:40px}}
@media(max-width:430px){.usa-footer-buttons{grid-template-columns:1fr}.usa-gallery{grid-template-columns:1fr 1fr}.usa-gallery-image{height:135px}.usa-footer-grid{grid-template-columns:1fr}.usa-footer-grid>div:first-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.usa-button{transition:none}}
