/* ===== Rapids Dental – static HTML/CSS rebuild ===== */
:root {
  --accent: #39bdc6;
  --text: #000;
  --dark: #111212;
  --serif: "Playfair Display", serif;
  --sans: "Nunito Sans", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .3s, background .3s; }
a:hover { color: #000; }
ul { list-style: none; }
h2 { font-family: var(--serif); font-weight: 400; font-size: 60px; line-height: 1.2; }

.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.container.narrow { max-width: 920px; }

/* ================= HEADER ================= */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 999; background: transparent; }
.header-inner {
  max-width: 1430px; margin: 0 auto; padding: 30px 20px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.logo img { width: 200px; }

.nav-toggle { display: none; }
.menu-btn { display: none; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; width: 26px; height: 3px; margin: 5px 0; background: #fff; transition: .3s; }

.menu { display: flex; align-items: center; }
.menu > li { position: relative; }
.menu > li > a {
  display: block; padding: 0 20px; line-height: 60px;
  font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff;
}
.menu > li > a:hover, .menu > li.current > a { color: var(--accent); }
.caret { font-size: 10px; }
.menu .tel a { font-weight: 800; }
.menu .req-btn { margin-left: 10px; }
.menu .req-btn a {
  background: var(--accent); color: #fff; line-height: 1; padding: 13px 25px;
  font-weight: 800; letter-spacing: 2px; border-radius: 3px;
}
.menu .req-btn a:hover { background: #fff; color: var(--accent); }

.sub-menu {
  position: absolute; top: 100%; left: 0; width: 240px; background: #f0f0f0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s; z-index: 10;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a {
  display: block; padding: 12px 20px; color: #000;
  font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.sub-menu a:hover { color: var(--accent); }

/* ================= HERO SLIDER (pure CSS fade, pauses on hover) ================= */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; background: #833ca3; }
.slide { position: absolute; inset: 0; animation: fade 10s infinite; }
.slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: kenburns 10s infinite; }
.slide-inner { position: relative; height: 100%; display: flex; align-items: center; padding: 100px 0 0 70px; }
.slide-content { max-width: 60%; color: #fff; animation: zoomIn 10s infinite; }
/* slide 2 runs the same cycle, half a cycle ahead */
.slide-2, .slide-2 .slide-bg, .slide-2 .slide-content { animation-delay: -5s; }
.hero:hover .slide, .hero:hover .slide-bg, .hero:hover .slide-content { animation-play-state: paused; }
.slide-heading { font-family: var(--serif); font-size: 50px; font-weight: 400; line-height: 1.2; margin-bottom: 30px; }
.slide-desc { font-size: 20px; margin-bottom: 30px; }
.slide-btn {
  display: inline-block; padding: 12px 24px; border: 2px solid #fff; border-radius: 10px;
  color: #fff; font-size: 15px;
}
.slide-btn:hover { background: #fff; color: #4571eb; border-color: #4571eb; }

@keyframes fade {
  0%, 45%  { opacity: 1; z-index: 2; }
  50%, 95% { opacity: 0; z-index: 1; }
  100%     { opacity: 1; z-index: 2; }
}
@keyframes kenburns { 0% { transform: scale(1); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes zoomIn {
  0%   { opacity: 0; transform: scale(.3); }
  6%, 100% { opacity: 1; transform: scale(1); }
}

/* ================= ABOUT ================= */
.about { padding: 100px 0; }
.about-grid { display: flex; align-items: center; }
.about-text { width: 53%; padding-right: 50px; }
.about-text h2 { padding-bottom: 30px; }
.about-text p { margin-bottom: 30px; }
.btn-outline {
  display: inline-block; padding: 15px 50px; border: 2px solid var(--accent); color: #000;
  font-size: 14px; font-weight: 800; letter-spacing: 1px;
}
.btn-outline:hover { background: var(--accent); color: #fff; }
.about-media { width: 47%; margin-left: 120px; position: relative; align-self: flex-end; }
.about-caption {
  position: absolute; left: -10px; bottom: 60px; width: 290px;
  background: rgba(255,255,255,.88); padding: 12px 16px;
  font-family: var(--serif); font-size: 34px; letter-spacing: 5px; line-height: 1.2;
}
.about-tag { margin-top: 20px; font-size: 13px; font-weight: 700; letter-spacing: 8px; }

/* ================= NO INSURANCE ================= */
.insurance-grid { display: flex; }
.insurance-left { width: 52%; text-align: center; }
.insurance-img { position: relative; display: inline-block; }
.insurance-img img { margin: 0 auto; }
.insurance-badge {
  position: absolute; left: 0; bottom: 40%;
  background: var(--accent); color: #fff; padding: 5px 15px;
  font-size: 45px; font-weight: 800; line-height: 1.2;
}
.insurance-lead { font-size: 25px; font-weight: 600; margin: 40px 0 20px; }
.insurance-phone { font-size: 42px; font-weight: 700; line-height: 1; margin-bottom: 20px; }
.insurance-phone a { color: #000; }
.insurance-phone a:hover { color: var(--accent); }
.insurance-note { font-weight: 500; line-height: 2em; margin-bottom: 20px; }
.insurance-note small { font-size: 15px; }
.stars { margin: 10px auto 0; }
.insurance-right { width: 48%; margin-top: 20%; padding-left: 29px; }
.insurance-right blockquote { font-size: 35px; font-weight: 600; line-height: 1.2; }
.quote-author { text-align: right; padding-top: 20px; font-size: 16px; font-weight: 700; letter-spacing: 5px; }

/* ================= THREE IMAGES ================= */
.features { display: flex; gap: 1px; padding: 120px 0; }
.feature { position: relative; flex: 1; }
.feature img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 {
  position: absolute; left: 0; right: 0; bottom: 8%; text-align: center;
  color: #fff; font-family: var(--sans); font-size: 35px; font-weight: 800; padding: 0 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,.25);
}

/* ================= TREATMENTS ================= */
.treatments { padding-bottom: 140px; text-align: center; }
.treatments h2 { line-height: 1.1; padding-bottom: 20px; }
.treatments p { line-height: 1.7; }

/* ================= PHILOSOPHY ================= */
.philosophy-bg img { width: 100%; }
.philosophy { margin-top: -28%; padding-bottom: 140px; position: relative; }
.philosophy-grid { display: flex; align-items: flex-end; max-width: 1270px; }
.philosophy-img { width: 52%; margin-right: -9%; position: relative; z-index: 1; }
.philosophy-content { width: 48%; position: relative; z-index: 2; }
.philosophy-box { background: var(--accent); color: #fff; padding: 40px 60px 50px 80px; margin-bottom: 12%; }
.philosophy-box h2 { margin-bottom: 20px; }
.philosophy-box ul { list-style: disc; margin-left: 15px; }
.philosophy-box li { font-weight: 600; line-height: 2em; letter-spacing: 2px; }
.philosophy-note { font-size: 18px; font-weight: 800; padding-left: 130px; }

/* ================= FOOTER ================= */
.footer-widgets { background: var(--dark); color: #fff; padding: 60px 0; }
.footer-grid { display: flex; align-items: center; gap: 40px; }
.footer-logo { margin: auto 0; }
.footer-info {
  border-left: 1px solid #333; padding-left: 40px;
  font-size: 14px; font-weight: 300; letter-spacing: 4px; text-transform: uppercase;
}
.footer-info p { margin-bottom: 15px; }
.footer-info .address { line-height: 2em; }
.footer-info a { color: #fff; }
.footer-info a:hover { color: var(--accent); }
.social { display: flex; align-items: center; margin-top: 20px; }
.social img { margin-right: 22px; }
.site-info {
  background: #fff; text-align: center; padding: 20px;
  font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
}


/* Appointment Form */

.appointment-form {
    background-color: #36b8c1;
    margin-top: 100px;
    margin-bottom: 0px;
    margin-left: 50px;
    margin-right: 50px;
    padding: 70px;
    width: 94%;
    align-items: center;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Appointment form Two Column Layout */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.form-group label,
.insurance-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
}

/* Input Fields */

.form-group input,
.form-group select {
    width: 100%;
    height: 40px;
    padding: 12px 17px;
    font-size: 16px;
    border: 1px solid #000;
    border-radius: 5px;
    background: #fff;
    color: #000;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: 2px solid #168e9b;
}

/* Full Width Fields */

.full-width {
    grid-column: 1 / -1;
}

/* Appointment Time */

.time-fields {
    display: flex;
    gap: 18px;
}

.time-fields select {
    width: 50%;
}

/* Insurance Section */

.insurance-section {
    margin-top: 60px;
}

.insurance-title {
    display: block;
    margin-bottom: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.radio-option input {
    width: 20px;
    height: 20px;
    accent-color: #2453e8;
}

/* Insurance Note */

.insurance-note {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-top: 25px;
}

/* Submit Button */

.submit-btn {
    background-color: #2453e8;
    color: #fff;
    padding: 15px 35px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #173bb5;
}

/* Consent Information */

.form-consent {
    margin-top: 25px;
    width: 100%;
    color: #000;
    font-size: 16px;
    line-height: 1.7;
}

.form-consent .consent-heading {
    font-weight: 700;
    margin-bottom: 15px;
}

.form-consent p {
    margin-bottom: 15px;
}

.form-consent strong {
    font-weight: 700;
}

.form-consent .consent-note {
    margin-top: 15px;
    font-weight: 600;
}

/* Mobile for consent form*/

@media (max-width: 767px) {
    .form-consent {
        font-size: 15px;
        line-height: 1.6;
    }
}


/* BUTTON */

.emergency-btn {
  display: inline-block;
  background: #69727d;
  color: #fff !important;
  text-decoration: none;
  padding: 10px 30px;
  margin-top: 60px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s ease;
  align-items: center;
}



/* emergency dentist*/
.emergency-btn:hover {
  background: #39bdc6;
}

.root-canal-intro2 h3 {
  font-size:30px;
  font-weight:400;
  margin-bottom: 15px;
  margin-top:0px;
  text-align: left;
}

.root-canal-intro2 h4 {
  font-size: 25px;
  font-weight: 400;
  margin-bottom: 8px;
  text-align: left;
}
.root-canal-intro2 p{ 
  margin-bottom: 30px;
  text-align: left;
  font-size: 8px;
}
.root-canal-intro2 { margin-top:0px;padding-right: 100px;padding-left: 100px;padding-top: 50px; text-align: center; }

.root-canal-intro2 hr{
      background-color: #000;
      height: 2px;
      margin-bottom: 10px;
}
.root-canal-intro2 ul{ text-align: left;
}
.root-canal-intro2 li{font-size: 12px;}

.emergency-dentist-orderedlist ol{ padding-left: 100px;}
.emergency-dentist-orderedlist ol li{  font-size: 16px;}

/* Mobile Responsive */

@media (max-width: 767px) {

    .appointment-form {
        padding: 25px 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .full-width {
        grid-column: auto;
    }

    .form-group label,
    .insurance-title {
        font-size: 18px;
    }

    .form-group input,
    .form-group select {
        height: 50px;
        font-size: 16px;
    }

    .insurance-section {
        margin-top: 35px;
    }

    .insurance-note {
        font-size: 16px;
        line-height: 1.5;
    }

    .radio-option {
        font-size: 17px;
    }

    .submit-btn {
        font-size: 17px;
    }

}


/* ================= RESPONSIVE ================= */
.page-main { min-height: 60vh; padding: 0 20px 100px; }
.page-main .page-card { max-width: 920px; margin: 0 auto; }
.page-main .breadcrumb { font-size: 14px; margin-bottom: 20px; color: #777; }
.page-main .breadcrumb a { color: #555; }
.page-main h1 { font-family: var(--serif); font-size: 52px; font-weight: 400; line-height: 1.15; margin-bottom: 24px; }
.page-main h2 { font-size: 32px; margin: 28px 0 12px; }
.page-main p, .page-main li { font-size: 18px; line-height: 1.75; }
.page-main ul { list-style: disc; padding-left: 24px; }
.page-main .service-list { margin-top: 20px; }
.page-main .service-list h2 { font-size: 25px; margin: 24px 0 4px; }
.page-main .service-list p { margin-bottom: 10px; }
.page-main .contact-details ul { list-style: none; padding-left: 0; }
.page-main .contact-details h2 { font-size: 25px; margin: 24px 0 4px; }
.contact-page .contact-intro { margin: 30px 0; }
.contact-page { padding: 0 0 100px; }
.contact-page .page-card { max-width: none; }
.contact-page .contact-hero { width: 100%;  height: 450px; min-height: 220px; flex-direction: column; justify-content: center; text-align: center; border-radius: 0; }
.contact-page .contact-hero h1 { font-size: 60px; }
.contact-page .contact-hero .hero-breadcrumb { margin: 12px 0 0; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.contact-page .contact-hero .hero-breadcrumb a { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: start; }
.contact-page .contact-grid { max-width: 1270px; margin: 40px auto 0;padding: 80px 0px 60px 0px; }
.contact-page .contact-location { max-width: 1270px; margin-right: auto; margin-left: auto; padding-right: 30px; padding-left: 30px; }
.contact-panel { padding: 30px; background: transparent; border: 0; }
.contact-panel:first-child { background: var(--accent); margin-left: 50px; margin-right: 50px; }
.contact-panel h2 { font-family: var(--sans); font-size: 30px; font-family: "Playfair Display"; font-weight: 600;padding: 0px 0px 20px 0px;margin: 0px; }
.contact-panel h3 { margin: 24px 0 6px; font-size: 25px;  letter-spacing: 1px; }
.contact-panel p, .contact-panel li { font-size: 14px; }
.contact-page .contact-intro { margin: 0 0 45px; font-size: 16px; font-weight: 500; line-height: 1.55; }
.contact-info { padding-top: 60px; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: block; font-weight: 700; }
.contact-form label span { font-size: 12px; font-weight: 400; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px; border: 1px solid #c8cece; border-radius: 2px; font: inherit; background: #fff; }
.contact-form textarea { resize: vertical; }
.contact-form-note { font-size: 13px !important; color: #555; }
.contact-submit, .map-link { display: inline-block; padding: 13px 22px; background: #204ce5; color: #000000; font-weight: 600; letter-spacing: 1px; }
.contact-submit:hover, .map-link:hover { background: #001AB3; color: #fff; }
.contact-info .contact-phone { font-size: 22px; font-weight: 800; }
.contact-info small { color: #555; }
.hours-list { list-style: none !important; padding: 0 !important; }
.contact-location { display: grid; grid-template-columns:1.2fr .8fr; gap: 100px;  margin-top: 65px; border-style: solid;
    border-color: #A3A3A3;padding: 10px; }
.contact-location h2 { font-size: 40px; }
.contact-location p { margin-bottom: 40px; margin-top: 40px;font-weight: 200; }
.contact-location img {display: inline-block; vertical-align: middle; width: 100%; object-fit: cover;     border: none;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
    max-width: 100%; }
.page-hero { min-height: 270px; display: flex; align-items: center; background: linear-gradient(135deg, #39bdc6, #4571eb); background-position: center; background-size: cover; color: #fff; padding: 38px 42px; border-radius: 6px; }
.page-hero h1 { margin: 0; }
.page-feature-image { margin: 30px 0; }
.page-feature-image img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 4px; }
.page-form { display: grid; gap: 18px; margin-top: 30px; }
.page-form label { display: grid; gap: 7px; font-weight: 700; }
.page-form input, .page-form textarea, .page-form select { width: 100%; border: 1px solid #bbb; border-radius: 4px; padding: 12px; font: inherit; }
.page-form textarea { min-height: 140px; resize: vertical; }
.page-form button { justify-self: start; border: 0; background: var(--accent); color: #fff; padding: 14px 28px; font: 800 14px var(--sans); letter-spacing: 1px; cursor: pointer; border-radius: 4px; }
.root-canal-main { padding: 0; }
.root-canal-main .page-card { max-width: none; margin: 0; }
.root-canal-hero { height: 500px; min-height: 500px; justify-content: center; padding: 24px; border-radius: 0; text-align: center; }
.root-canal-hero h1 { margin: 0; font-size: 40px; line-height: 1; }
.root-canal-hero .hero-breadcrumb { margin-top: 18px; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.root-canal-hero .hero-breadcrumb a { color: #fff; }
.root-canal-intro, .root-canal-overview, .root-canal-details, .root-canal-final { width: calc(100% - 30px); max-width: 1170px; margin-right: auto; margin-left: auto; }
.root-canal-intro { padding: 70px 10px 10px; text-align: center; }
.root-canal-intro h2, .root-canal-signs h2, .root-canal-final h2 { font-family: var(--serif); font-size: 60px; font-weight: 500;  line-height: 1; }
.root-canal-overview h2 { font-family: var(--serif); font-size: 35px; font-weight: 500; line-height: 1.2; }
.root-canal-details h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1; }
.root-canal-intro h2 { margin: 0 0 50px; }
.root-canal-intro p, .root-canal-overview p, .root-canal-details p, .root-canal-signs p, .root-canal-final p { font-size: 16px; line-height: 1.5; }
.root-canal-intro p { margin: 0 0 24px; }
.root-canal-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding: 20px 0 60px; }
.root-canal-overview-image img { width: 100%; height: auto; }
.root-canal-overview-copy { padding-top: 30px; }
.root-canal-overview-copy h2 { margin: 0 0 20px; font-size: 60px; font-weight: 500; }
.root-canal-overview-copy p { margin-bottom: 44px; font-weight: 500; }
.root-canal-button, .root-canal-signs-button { display: inline-block; padding: 13px 40px; background: #000; color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 1px; line-height: 14px; text-align: center; text-transform: uppercase; }
.root-canal-button:hover { background: var(--accent); color: #fff; }
.root-canal-emergency { margin: 0; padding: 30px 10px 90px; text-align: center; }
.root-canal-emergency > img { width: 200px; height: auto; margin: 0 auto; }
.root-canal-emergency h2 { margin: 0; font-family: var(--sans); font-size: 40px; font-weight: 800; line-height: 1.5; }
.root-canal-emergency p.root-canal-emergency-subtitle { margin: 20px; font-size: 25px; line-height: 30px; font-weight: 500; }
.root-canal-emergency-phone-wrap { display: flex; align-items: center; justify-content: center; height: 78px; margin: 0 !important;padding: 25px 0px 20px 0px; }
.root-canal-emergency-phone { display: inline-block; color: #000; font-size: 50px; font-weight: 800; line-height: 52.5px; }
.root-canal-emergency p.root-canal-emergency-note { margin-top: auto; margin-bottom: 1.5em; padding-bottom: 5px; font-size: 15px; font-weight: 700; line-height: 2em; text-align: center; }
.root-canal-details { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; padding-bottom: 100px; }
.root-canal-details > div:last-child { padding: 20px 0 10px; }
.root-canal-details > div > h3 { margin: 0 0 40px;font-size: 35px; margin-bottom: 20px; line-height: 1em; font-weight: 500; }
.root-canal-details > div:last-child > h3:nth-of-type(2) { margin: 40px 0 24px; }
.root-canal-details p { margin-bottom: 24px;    font-weight: 400; text-transform: none; font-size: 15px; line-height: 1.5; }
.root-canal-details ul, .root-canal-signs ul { list-style: disc; padding-left: 24px; }
.root-canal-details li, .root-canal-signs li { margin: 0; font-size: 16px; line-height: 1.7; }
.root-canal-details-phone { color: #000; font-family: var(--serif); font-size: 45px; font-weight: 600; line-height: 60px; }
.root-canal-details-note { margin: 24px 0 45px !important; padding-bottom: 5px; font-size: 15px !important; font-weight: 700; letter-spacing: 0px; line-height: 2 !important; }
.root-canal-signs { background-position: center; background-size: cover; color: #fff; padding: 60px 0; }
.root-canal-signs > div { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.root-canal-signs h2 { margin: 0 0 50px; text-align: center; }
.root-canal-signs p { margin-bottom: 24px; }
.root-canal-signs ul { margin-bottom: 44px; }
.root-canal-signs-button { background: var(--accent); padding: 15px 40px; font-weight: 600; line-height: 14px; text-align: center; align-items: center;}
.root-canal-signs-button:hover { background: #fff; color: #111; }
.root-canal-final { min-height: 417px; padding: 60px 0 60px 0; text-align: center; }
.root-canal-final h2 { margin: 28px 0 32px; padding: 0px 0px 20px 0px;font-size: 60px;font-weight: 500; }
.root-canal-final p {  margin-bottom: 1.5em; font-family: Nunito Sans, sans-serif; font-size: 16px; }
.site-header.page-header { position: relative; background: #fff; }
.site-header.page-header .menu > li > a { color: #111; }
.site-header.page-header .menu > li.req-btn > a { color: #fff; }
.site-header.page-header .menu > li > a:hover,
.site-header.page-header .menu > li.current > a { color: var(--accent); }
.page-header .menu-btn span { background: #111; }
.page-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

@media (max-width: 1100px) {
  .menu > li > a { padding: 0 12px; }
  .about-media { margin-left: 0; }
  .about-caption { font-size: 28px; width: 240px; }
}

@media (max-width: 1024px) {
  h2 { font-size: 45px; }
  .about { padding: 80px 0; }
  .about-caption { font-size: 32px; }
  .insurance-grid { flex-direction: column; }
  .insurance-left, .insurance-right { width: 100%; }
  .insurance-right { margin-top: 40px; padding: 0 15px 0 35px; }
  .insurance-badge { font-size: 28px; }
  .insurance-lead { font-size: 20px; }
  .insurance-phone { font-size: 35px; }
  .insurance-right blockquote { font-size: 25px; line-height: 1.3; }
  .features { padding: 80px 0 60px; }
  .feature h3 { font-size: 25px; }
  .treatments h2 { font-size: 35px; }
  .philosophy-box { padding: 40px; margin-bottom: 10%; }
  .philosophy-box h2 { font-size: 40px; }
  .philosophy-note { padding: 0 15px 0 40px; }
  .philosophy { padding-bottom: 80px; }

  /* mobile menu */
  .site-header { position: relative; background: #000; }
  .header-inner { padding: 15px 20px; flex-wrap: wrap; }
  .menu-btn { display: block; }
  .main-nav { width: 100%; max-height: 0; overflow: hidden; transition: max-height .4s; }
  .nav-toggle:checked ~ .main-nav { max-height: 900px; }
  .nav-toggle:checked + .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked + .menu-btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .menu { flex-direction: column; align-items: stretch; padding-top: 10px; }
  .menu > li > a { line-height: 50px; padding: 0 10px; }
  .sub-menu { position: static; width: 100%; max-height: 0; opacity: 1; visibility: visible; transform: none; display: block; overflow: hidden; transition: max-height .3s; }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.open .sub-menu { max-height: 500px; }
  .menu .req-btn { margin: 10px 0 15px; }
  .menu .req-btn a { display: inline-block; }
  .hero { height: 70vh; }
  .contact-grid, .contact-location { grid-template-columns: 1fr; }
  .contact-location { gap: 20px; margin-top: 40px; }
}

@media (max-width: 767px) {
  h2 { font-size: 35px; }
  .hero { height: 55vh; min-height: 380px; }
  .slide-inner { padding: 50px 20px 0 40px; }
  .slide-content { max-width: 100%; }
  .slide-heading { font-size: 25px; margin-bottom: 15px; }
  .slide-desc { font-size: 11px; margin-bottom: 15px; }
  .about-grid { flex-direction: column; }
  .about-text, .about-media { width: 100%; padding: 0; }
  .about-media { margin-top: 35px; }
  .about-caption { position: static; width: auto; background: none; padding: 0; font-size: 32px; margin-top: 20px; }
  .insurance-badge { position: static; display: inline-block; margin-top: -60px; position: relative; }
  .insurance-lead { font-size: 18px; }
  .insurance-phone { font-size: 30px; }
  .insurance-note { line-height: 1.5em; }
  .insurance-right { padding: 0 15px; }
  .insurance-right blockquote { font-size: 20px; }
  .features { flex-direction: column; gap: 0; }
  .feature h3 { font-size: 30px; }
  .treatments { padding-bottom: 70px; }
  .philosophy { margin-top: 0; }
  .philosophy-grid { flex-direction: column; align-items: stretch; }
  .philosophy-img, .philosophy-content { width: 100%; margin: 0; }
  .philosophy-box { padding: 20px; margin-bottom: 20px; }
  .philosophy-note { padding: 0 15px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-info { border-left: 0; padding-left: 0; }
}

@media (max-width: 1024px) {
  .root-canal-overview, .root-canal-details { grid-template-columns: 1fr; gap: 30px; }
  .root-canal-page .header-inner { padding: 10px 15px; }
  .root-canal-overview { gap: 0; }
  .root-canal-overview-image img { width: auto; max-width: 100%; }
  .root-canal-overview-copy { padding: 30px 0 0; }
  .root-canal-details { gap: 0; }
  .root-canal-details > div:last-child { padding-bottom: 10px; }
}

@media (max-width: 767px) {
  .root-canal-hero { height: 200px; min-height: 200px; }
  .root-canal-hero h1 { font-size: 36px; }
  .root-canal-intro h2, .root-canal-signs h2, .root-canal-final h2 { font-size: 35px; }
  .root-canal-overview h2 { font-size: 35px; }
  .root-canal-details h3 { font-size: 30px; }
}
