/*
Theme Name: Petal|Monarch - Child
Version: 1.0
Template: mts_schema
Text Domain: schema
*/

@import url("../mts_schema/style.css");

:root {
    --green: var(--pColor, #295743);
    --coral: var(--aColor, #f36472);
    --mint: #b5dbce;
    --mint-soft: #d4f2e7;
    --pink: #f8cfd4;
    --beige: #ede6d6;
    --ink: #1f1f1f;
    --charcoal: #333333;
    --serif: "PT Serif", Georgia, "Times New Roman", serif;
    --sans: "PT Sans", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

body {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    background: #fdfdfb;
}

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.25;
}

h5, h6 { font-family: var(--sans); }

html #page h1,
html #page h2,
html #page h3 { color: var(--ink); }

.main-header .container,
.petal-topbar .container,
#header .container { background: transparent; }

#page,
#page.homepage {
    padding: 0 !important;
    max-width: none;
}

.container {
    width: 100% !important;
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 15px;
    float: none;
    position: relative;
    z-index: 1;
}

a { color: var(--green); }

a.btn,
.btn {
    display: inline-block;
    background: var(--green);
    color: #fff !important;
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    text-decoration: none;
    padding: 13px 26px;
    border: 2px solid var(--green);
    border-radius: 40px;
    line-height: 1.3;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

a.btn:hover,
.btn:hover {
    background: #fff;
    color: var(--green) !important;
}

a.btn i { display: none; }

/* ---------- Header ---------- */

#site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
    transition: box-shadow .25s ease;
}

#site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0, 0, 0, .08); }

.petal-topbar {
    background: var(--mint);
    padding: 7px 0;
}

.petal-topbar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
}

.petal-topbar p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

.petal-topbar i {
    margin-right: 9px;
    color: var(--ink);
}

.petal-topbar a {
    color: var(--ink) !important;
    text-decoration: underline;
}

div#header {
    background: #fff;
    padding: 14px 0;
    float: none;
    width: 100%;
}

div#secondary-navigation {
    float: none;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
}

#header .logo-wrap {
    float: none;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

html #header #logo {
    float: none !important;
    margin: 0;
    padding: 0;
    font-size: 30px;
    line-height: 1;
}

#logo a {
    padding: 0 !important;
    float: none;
    display: block;
    color: var(--coral);
    font-family: var(--serif);
}

#logo img {
    display: block;
    max-width: 260px;
    max-height: 64px;
    width: auto;
    height: auto;
}

@media (min-width: 866px) {
    #header nav.navigation {
        flex: 1 1 auto;
        float: none;
        width: auto;
    }

    #header nav.navigation > ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        float: none;
    }
}

#secondary-navigation .navigation > ul > li > a {
    font-family: var(--sans);
    font-size: 16px;
    color: var(--ink);
    padding: 10px 14px;
    text-transform: none;
}

#secondary-navigation .navigation > ul > li:hover > a,
#secondary-navigation .navigation > ul > li.current-menu-item > a,
#secondary-navigation .navigation > ul > li.current-menu-parent > a {
    color: var(--green) !important;
    background: transparent !important;
}

#secondary-navigation .navigation > ul > li:hover,
#secondary-navigation .navigation > ul > li.current-menu-item {
    background: transparent !important;
}

.navigation ul ul {
    background: #fff !important;
    border-top: 4px solid var(--coral);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
}

.navigation ul ul a {
    color: var(--ink) !important;
    font-size: 15px;
}

.navigation ul ul li:hover > a { color: var(--green) !important; }

.header-inline-appt { flex: 0 0 auto; }

.header-inline-appt a.btn {
    padding: 14px 26px;
    font-size: 17px;
}

/* ---------- Hero ---------- */

.petal-hero {
    position: relative;
    background: var(--pink) url(assets/petal-hero.svg) center / cover no-repeat;
    overflow: hidden;
}

.petal-hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 540px;
    padding-top: 30px;
    padding-bottom: 70px;
}

.petal-hero-copy {
    flex: 1 1 52%;
    position: relative;
    z-index: 2;
}

html .petal-hero-title {
    font-family: var(--serif);
    font-size: 50px;
    line-height: 1.22;
    font-weight: 400;
    color: var(--ink);
    margin: 0 0 30px;
    max-width: 560px;
}

.petal-hero-title p {
    font-family: var(--sans);
    font-size: 20px;
    line-height: 1.55;
    margin: 22px 0 0;
    max-width: 600px;
    color: var(--ink);
}

.petal-hero-img {
    flex: 1 1 48%;
    align-self: flex-end;
    position: relative;
    z-index: 1;
    margin-bottom: -70px;
    display: flex;
    justify-content: center;
}

.petal-hero-img img {
    display: block;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 5 / 5.6;
    object-fit: cover;
    border-radius: 260px 260px 0 0;
    border: 10px solid rgba(255, 255, 255, .55);
    border-bottom: 0;
}

.petal-wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 90px;
    z-index: 3;
    display: block;
}

.petal-wave path { fill: var(--beige); }

/* ---------- Welcome ---------- */

.petal-welcome {
    background-color: var(--beige);
    background-image:
        radial-gradient(ellipse at 15% 20%, rgba(255, 255, 255, .55), transparent 55%),
        radial-gradient(ellipse at 85% 70%, rgba(255, 255, 255, .45), transparent 50%);
    background-size: cover;
    background-position: center;
    padding: 60px 0 230px;
}

html .petal-welcome-heading {
    text-align: center;
    font-size: 44px;
    margin: 0 0 40px;
}

.petal-welcome-row {
    display: flex;
    align-items: flex-start;
}

.petal-card {
    flex: 0 0 70.5%;
    background: #fff;
    padding: 40px 40px 34px;
    border-bottom: 8px solid var(--coral);
    position: relative;
    z-index: 2;
}

.petal-welcome-row.no-img .petal-card {
    flex-basis: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.petal-card p {
    font-size: 17px;
    line-height: 1.75;
    margin: 0 0 18px;
}

.petal-card a:not(.btn) {
    color: var(--green);
    text-decoration: underline;
}

.petal-card h2, .petal-card h3 { margin-top: 0; }

.petal-welcome-img {
    flex: 1 1 auto;
    align-self: stretch;
    min-height: 100%;
}

.petal-welcome-img img {
    display: block;
    width: 100%;
    height: calc(100% - 70px);
    min-height: 420px;
    object-fit: cover;
}

/* ---------- Image tiles ---------- */

.petal-tiles {
    display: flex;
    gap: 20px;
    padding: 0 15px;
    margin-top: -190px;
    position: relative;
    z-index: 2;
}

.petal-tile {
    flex: 1 1 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    background: var(--charcoal) center / cover no-repeat;
    border-top: 8px solid var(--coral);
    text-decoration: none !important;
    overflow: hidden;
}

.petal-tile:before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(31, 31, 31, .38);
    transition: background .3s ease;
}

.petal-tile:hover:before { background: rgba(41, 87, 67, .55); }

html #page .petal-tile h3 {
    position: relative;
    color: #fff;
    font-size: 30px;
    margin: 0;
    padding: 0 15px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

/* ---------- Providers ---------- */

.petal-providers {
    position: relative;
    padding: 110px 0 120px;
    overflow: hidden;
}

.petal-section-head {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 60px;
}

html .petal-section-head h2 {
    font-size: 40px;
    margin: 0 0 14px;
}

.petal-section-head p { margin: 0; }

.petal-provider-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1225px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.petal-provider {
    display: block;
    background: #fff;
    text-align: center;
    border: 3px solid #f1f1ee;
    border-bottom: 0;
    border-radius: 200px 200px 0 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
    text-decoration: none !important;
    position: relative;
    padding-bottom: 26px;
}

.petal-provider:after {
    content: "";
    position: absolute;
    left: -3px;
    right: -3px;
    bottom: -8px;
    height: 8px;
    background: var(--coral);
}

.petal-arch {
    aspect-ratio: 1 / 1.03;
    border-radius: 200px 200px 0 0;
    overflow: hidden;
    background: #f6f4ef;
    margin-bottom: 20px;
}

.petal-arch img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

html .petal-provider h3 {
    font-size: 19px;
    margin: 0 0 4px;
    padding: 0 12px;
    color: var(--ink);
    text-decoration: underline;
}

.petal-provider p {
    margin: 0;
    font-size: 17px;
    color: var(--ink);
}

.petal-leaves {
    position: absolute;
    right: -40px;
    bottom: 60px;
    width: 360px;
    height: auto;
    z-index: 1;
}

.petal-leaves .l1 { fill: #e3f3ec; }
.petal-leaves .l2 { fill: #fbdde0; }
.petal-leaves .l3 { fill: #f2f1ea; }

/* ---------- Feature box (affiliations) ---------- */

.petal-feature { padding: 30px 0 110px; }

.petal-feature-row {
    display: flex;
    align-items: flex-start;
}

.petal-feature-img {
    flex: 0 0 44.5%;
    position: relative;
    z-index: 1;
}

.petal-feature-img img {
    display: block;
    width: 100%;
    aspect-ratio: 572 / 373;
    object-fit: cover;
}

.petal-feature-box {
    flex: 1 1 auto;
    background: #fff;
    margin: 60px 0 0 -25px;
    padding: 40px 40px 44px;
    text-align: center;
    border-bottom: 8px solid var(--coral);
    position: relative;
    z-index: 2;
}

.petal-feature-row.no-img .petal-feature-box {
    margin: 0 auto;
    max-width: 800px;
}

html .petal-feature-box h2 {
    font-size: 40px;
    margin: 0 0 4px;
}

.petal-feature-box p { margin: 0 0 16px; }

.petal-feature-box p:last-child { margin-bottom: 0; }

.petal-feature-box .btn { margin: 6px 4px; }

/* ---------- Testimonials ---------- */

.petal-testimonials {
    background: var(--mint-soft) url(assets/petal-mint.svg) center / cover no-repeat;
    padding: 100px 0 110px;
    text-align: center;
}

html .petal-testimonials h2 {
    font-size: 40px;
    margin: 0 0 12px;
}

.petal-rating {
    font-size: 18px;
    margin: 0 0 18px;
}

.petal-rating span { color: #f2a93b; margin-left: 6px; }

.petal-rating i { font-size: 16px; margin: 0 1px; }

.petal-testimonial-slider {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 60px;
}

.petal-testimonial p {
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
    max-width: 760px;
    margin: 0 auto;
}

html .petal-testimonial h4 {
    font-size: 17px;
    margin: 14px 0 0;
    font-family: var(--sans);
    font-weight: 700;
}

.petal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    font-size: 22px;
    color: var(--ink);
    cursor: pointer;
    padding: 8px;
    z-index: 2;
}

.petal-arrow.prev { left: 0; }
.petal-arrow.next { right: 0; }

/* ---------- Latest posts ---------- */

.petal-posts { padding: 100px 0 120px; }

html .petal-posts h2 {
    text-align: center;
    font-size: 40px;
    margin: 0 0 45px;
}

.petal-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.petal-post {
    background: #fff;
    box-shadow: 0 3px 16px rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
}

.petal-post-img {
    display: block;
    height: 270px;
    background: var(--beige) center / cover no-repeat;
}

.petal-post-body {
    padding: 26px 30px 20px;
    flex: 1 1 auto;
}

html .petal-post h3 {
    font-size: 21px;
    margin: 0 0 18px;
}

.petal-post h3 a {
    color: var(--green);
    text-decoration: underline;
}

.petal-post-body p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.petal-post-date {
    border-top: 1px solid #eee;
    padding: 16px 30px;
    font-size: 14px;
    color: var(--green);
}

/* ---------- Dark CTA + footer ---------- */

.petal-dark {
    background: var(--charcoal) url(assets/floral-line.svg) center / cover no-repeat;
    color: #fff;
    margin-top: -25px;
    position: relative;
    z-index: 1;
}

.petal-cta {
    position: relative;
    padding: 0 0 50px;
}

.petal-cta-wave {
    display: block;
    width: 100%;
    height: 70px;
    position: relative;
    z-index: 1;
}

.petal-cta-wave path {fill: #fff;}

.petal-cta .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.petal-cta-copy {
    flex: 1 1 52%;
    padding-top: 40px;
}

html .petal-cta-copy h2 {
    color: #fff;
    font-size: 40px;
    margin: 0 0 14px;
}

.petal-cta-copy p {
    color: #fff;
    font-size: 19px;
    margin: 0 0 26px;
}

.petal-cta-copy a.btn { border-color: var(--mint); }

.petal-cta-copy a.btn:hover {
    background: var(--mint);
    border-color: var(--mint);
    color: var(--ink) !important;
}

.petal-cta-img {
    flex: 1 1 48%;
    margin-top: -150px;
    position: relative;
    z-index: 2;
}

.petal-cta-img img {
    display: block;
    width: 100%;
    aspect-ratio: 620 / 405;
    object-fit: cover;
}

.petal-cta.no-img .petal-cta-copy {
    text-align: center;
    padding-top: 20px;
}

footer#site-footer {
    background: transparent;
    color: #fff;
    padding: 30px 0 0;
    margin: 0;
}

.petal-footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 50px;
}

html .petal-footer-col h3 {
    color: #fff;
    font-size: 25px;
    margin: 0 0 18px;
}

.petal-footer-col p,
.petal-footer-col li {
    color: #fff;
    font-size: 18px;
    line-height: 1.5;
}

.petal-footer-col p { margin: 0 0 14px; }

.petal-footer-col a {
    color: #fff !important;
    text-decoration: underline;
}

.petal-hours,
.petal-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.petal-hours li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    max-width: 290px;
    margin: 0 0 2px;
}

.petal-hours li.note {
    display: block;
    margin-top: 14px;
}

.petal-links li { margin: 0 0 8px; }

.petal-footer-col .social-icons { margin-bottom: 16px; }

.petal-footer-col .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 6px 6px 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    text-decoration: none;
}

.petal-footer-col form {
    display: flex;
    max-width: 300px;
}

.petal-footer-col input[type="search"],
.petal-footer-col input[type="text"] {
    flex: 1 1 auto;
    border: 0;
    padding: 9px 12px;
    font-size: 15px;
    color: var(--ink);
    background: #f2f2f0;
}

.petal-footer-col input[type="submit"],
.petal-footer-col button {
    border: 0;
    background: var(--mint);
    color: var(--ink);
    padding: 9px 14px;
    cursor: pointer;
}

.petal-copy {
    background: var(--ink);
    padding: 10px 0;
}

.petal-copy .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.petal-copy p,
.petal-copy a {
    color: #fff !important;
    font-size: 13px;
    margin: 0;
}

/* ---------- Mobile CTA buttons (parent) ---------- */

.mobile_cta_buttons.hide-d.mobile-btn {
    display: none;
    background: var(--beige);
    padding: 16px 15px 6px;
}

.mobile_cta_buttons.hide-d.mobile-btn p {
    text-align: center;
    margin: 0 0 10px;
}

.mobile_cta_buttons.hide-d.mobile-btn p a {
    display: block;
    background: var(--green);
    color: #fff !important;
    padding: 11px 20px;
    border-radius: 40px;
    text-decoration: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1200px) {
    html .petal-hero-title { font-size: 44px; }
    .petal-tile { min-height: 300px; }
    html #page .petal-tile h3 { font-size: 26px; }
}

@media (max-width: 1024px) {
    div#secondary-navigation { gap: 16px; }
    #secondary-navigation .navigation > ul > li > a { padding: 10px 9px; font-size: 15px; }
    #logo img { max-width: 210px; }
    .petal-tiles { flex-wrap: wrap; margin-top: -150px; }
    .petal-tile { flex: 1 1 calc(50% - 10px); }
    .petal-welcome { padding-bottom: 190px; }
    .petal-footer-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 865px) {
    .mobile_cta_buttons.hide-d.mobile-btn { display: block; }
    #site-header { position: relative; }
    .petal-topbar .container { justify-content: center; gap: 18px; }
    .petal-topbar p { font-size: 14px; }
    div#header { padding: 10px 0; }
    div#secondary-navigation {
        justify-content: space-between;
        gap: 12px;
    }
    #header .logo-wrap {
        width: auto;
        margin: 0;
        text-align: left;
    }
    #logo img { max-width: 200px; max-height: 50px; }
    .header-inline-appt { margin-left: auto; }
    .header-inline-appt a.btn { padding: 10px 18px; font-size: 15px; }
    html a#pull {
        width: auto;
        margin: 0 !important;
        padding: 0 4px;
        color: var(--ink) !important;
        background: transparent !important;
        font-size: 28px;
    }
    html a#pull:after {
        position: relative;
        right: auto;
        top: 0 !important;
    }
    .navigation.mobile-menu-wrapper { background-color: var(--green); }
    .navigation.mobile-menu-wrapper ul ul {
        background: transparent !important;
        border: 0;
        box-shadow: none;
    }
    .navigation.mobile-menu-wrapper ul ul a { color: #fff !important; }

    .petal-hero .container {
        flex-direction: column;
        text-align: center;
        min-height: 0;
        padding-top: 50px;
        gap: 30px;
    }
    html .petal-hero-title { font-size: 38px; margin-left: auto; margin-right: auto; }
    .petal-hero-title p { font-size: 18px; margin-left: auto; margin-right: auto; }
    .petal-hero-img { align-self: center; width: 100%; }
    .petal-hero-img img { max-width: 380px; }

    .petal-welcome { padding: 40px 0 170px; }
    html .petal-welcome-heading { font-size: 34px; }
    .petal-welcome-row { flex-direction: column; }
    .petal-card { flex-basis: auto; width: 100%; padding: 30px 24px 24px; }
    .petal-welcome-img { width: 100%; margin-top: 24px; }
    .petal-welcome-img img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }

    .petal-provider-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
    .petal-providers { padding: 80px 0; }

    .petal-feature-row { flex-direction: column; }
    .petal-feature-img { flex-basis: auto; width: 100%; }
    .petal-feature-box { margin: -30px 15px 0; padding: 30px 20px; }

    .petal-post-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }

    .petal-cta .container { flex-direction: column-reverse; text-align: center; }
    .petal-cta-img { margin-top: -40px; width: 100%; }
    .petal-cta-copy { padding-top: 0; }
}

@media (max-width: 600px) {
    .petal-topbar .container { flex-wrap: wrap; gap: 2px 16px; }
    .header-inline-appt { display: none; }
    html .petal-hero-title { font-size: 32px; }
    html .petal-welcome-heading,
    html .petal-section-head h2,
    html .petal-feature-box h2,
    html .petal-testimonials h2,
    html .petal-posts h2,
    html .petal-cta-copy h2 { font-size: 30px; }
    .petal-tile { flex-basis: 100%; min-height: 240px; }
    .petal-provider-grid { grid-template-columns: 1fr; max-width: 340px; }
    .petal-testimonial-slider { padding: 0 36px; }
    .petal-footer-cols { grid-template-columns: 1fr; text-align: center; }
    .petal-hours li { margin-left: auto; margin-right: auto; }
    .petal-footer-col form { margin: 0 auto; }
    .petal-copy .container { justify-content: center; text-align: center; }
    .petal-leaves { width: 220px; opacity: .7; }
}

section.petal-welcome:before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background: url(/wp-content/uploads/2026/10/shut-tan-floral-e1733849707601.jpg);
    background-size: contain;
    background-position: 50% 50%;
    opacity: 1;
}


section.petal-welcome {
    position: relative;
}

section.petal-welcome:after {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(180deg, var(--beige) 0%, #00547500 80%);
}
