/*
Theme Name: Cheyenne Allen Law
Theme URI: https://cheyenneallen.com
Author: The Clone Shop
Author URI: https://cloneshop.com
Description: Custom WordPress theme for Cheyenne Allen, Social Security Disability Attorney serving Tyler and East Texas. Faithful conversion of the approved HTML mockups.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cheyenne-allen
*/

  :root {
    --blush:       #E3BBA0;
    --blush-dark:  #B8845A;
    --blush-light: #F5E8DF;
    --navy:        #2B3A52;
    --navy-light:  #3D5070;
    --body-text:   #3D3D3D;
    --bg:          #FAF7F4;
    --cream:       #F2EBE4;
    --rule:        #D4B8A5;
    --white:       #FFFFFF;
    --font-head:   "Cormorant Garamond", Georgia, serif;
    --font-body:   "Lato", system-ui, sans-serif;
    --max:         1140px;
    --radius:      4px;
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--font-body); font-size: 18px; line-height: 1.75; color: var(--body-text); background: var(--bg); }
  img { max-width: 100%; display: block; }
  a { color: var(--blush-dark); text-decoration: none; }
  a:hover { text-decoration: underline; }
  a:focus-visible { outline: 3px solid var(--blush-dark); outline-offset: 3px; border-radius: 2px; }

  .skip-nav { position: absolute; top: -100px; left: 1rem; background: var(--navy); color: var(--white); padding: .5rem 1.25rem; border-radius: var(--radius); font-size: .9rem; z-index: 9999; transition: top .2s; }
  .skip-nav:focus { top: 1rem; }

  /* TOP BAR */
  .topbar { background: var(--navy); color: rgba(255,255,255,.85); font-size: .84rem; padding: .5rem 1.5rem; }
  .topbar-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; }
  .topbar a { color: var(--blush); font-weight: 700; font-size: .92rem; }
  .topbar a:hover { color: var(--white); }
  .topbar-hours { opacity: .7; }

  /* HEADER */
  header { background: var(--white); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(43,58,82,.07); }
  .header-inner { max-width: var(--max); margin: 0 auto; padding: .85rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
  .site-logo img { height: 68px; width: auto; }
  nav[aria-label="Main navigation"] ul { list-style: none; display: flex; gap: 1.6rem; align-items: center; }
  nav[aria-label="Main navigation"] a { font-size: .84rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); padding-bottom: 3px; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
  nav[aria-label="Main navigation"] a:hover { color: var(--blush-dark); border-bottom-color: var(--blush-dark); text-decoration: none; }
  .nav-cta { background: var(--blush-dark) !important; color: var(--white) !important; padding: .5rem 1.25rem !important; border-radius: var(--radius); border-bottom: none !important; transition: background .2s !important; }
  .nav-cta:hover { background: var(--navy) !important; }

  /* HERO */
  .hero { position: relative; overflow: hidden; min-height: 540px; display: flex; align-items: center; }
  .hero-bg { position: absolute; inset: 0; background-image: url("images/hero-law-library.jpg"); background-size: cover; background-position: center top; }
  .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(27,36,54,.95) 0%, rgba(27,36,54,.88) 42%, rgba(27,36,54,.5) 68%, rgba(27,36,54,.12) 100%); }
  .hero-bottom-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 70px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 2; }
  .hero-inner { max-width: var(--max); margin: 0 auto; padding: 4.5rem 1.5rem 5.5rem; display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center; position: relative; z-index: 1; width: 100%; }
  .hero-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blush); margin-bottom: 1rem; }
  .hero h1 { font-family: var(--font-head); font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 300; line-height: 1.12; margin-bottom: 1.5rem; color: var(--white); }
  .hero h1 em { font-style: italic; color: var(--blush); }
  .hero-lead { font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,.88); margin-bottom: 2.5rem; max-width: 50ch; }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
  .btn-primary { display: inline-block; background: var(--blush-dark); color: var(--white); font-weight: 700; font-size: .87rem; letter-spacing: .08em; text-transform: uppercase; padding: .9rem 1.8rem; border-radius: var(--radius); transition: background .2s, transform .15s; }
  .btn-primary:hover { background: #9a6e48; text-decoration: none; transform: translateY(-1px); }
  .btn-secondary { display: inline-block; background: transparent; color: var(--white); font-weight: 700; font-size: .87rem; letter-spacing: .08em; text-transform: uppercase; padding: .9rem 1.8rem; border-radius: var(--radius); border: 2px solid rgba(255,255,255,.38); transition: border-color .2s; }
  .btn-secondary:hover { border-color: var(--white); text-decoration: none; }
  .hero-portrait-wrap { flex-shrink: 0; }
  .hero-portrait-frame { width: 225px; border-radius: 6px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 0 4px rgba(227,187,160,.22); }
  .hero-portrait-frame img { width: 100%; height: auto; display: block; }
  .hero-portrait-caption { margin-top: .75rem; text-align: center; color: var(--blush); font-family: var(--font-head); font-size: .92rem; font-style: italic; opacity: .88; }

  /* QUICK LINKS — SVG line art version */
  .quick-links { background: var(--navy); border-bottom: 3px solid var(--blush-dark); }
  .quick-links-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); }
  .quick-link { display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: 1.35rem .75rem; text-align: center; color: rgba(255,255,255,.75); font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; border-right: 1px solid rgba(255,255,255,.08); transition: background .2s, color .2s; text-decoration: none; }
  .quick-link:last-child { border-right: none; }
  .quick-link:hover { background: rgba(255,255,255,.06); color: var(--blush); text-decoration: none; }
  .quick-link:hover svg { stroke: var(--blush); }
  .quick-link:focus-visible { outline: 3px solid var(--blush); outline-offset: -3px; }
  .quick-link svg { opacity: .7; transition: stroke .2s, opacity .2s; }
  .quick-link:hover svg { opacity: 1; }
  .quick-link span { line-height: 1.35; }

  /* CONTENT BLOCKS */
  .content-block { padding: 4.5rem 1.5rem; }
  .content-block:nth-child(odd) { background: var(--white); }
  .content-block:nth-child(even) { background: var(--bg); }
  .content-block-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
  .content-block-inner.reverse { direction: rtl; }
  .content-block-inner.reverse > * { direction: ltr; }
  .content-block-img-placeholder { width: 100%; height: 280px; background: var(--cream); border-radius: 6px; border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; color: #aaa; font-style: italic; font-size: .88rem; }
  .content-block-text h2 { font-family: var(--font-head); font-size: 2rem; font-weight: 400; color: var(--navy); margin-bottom: .9rem; line-height: 1.25; }
  .content-block-text h2 em { font-style: italic; color: var(--blush-dark); }
  .content-block-text p { font-size: 1rem; line-height: 1.8; color: #555; margin-bottom: 1rem; }
  .content-block-text ul { list-style: none; margin: .75rem 0 1.5rem; display: flex; flex-direction: column; gap: .65rem; }
  .content-block-text ul li { padding-left: 1.35rem; position: relative; font-size: .97rem; color: #555; line-height: 1.6; }
  .content-block-text ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; background: var(--blush-dark); border-radius: 50%; }
  .section-label { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blush-dark); margin-bottom: .6rem; }

  /* TRUST STRIP — now after content blocks */
  .trust-strip { background: var(--cream); padding: 1.65rem 1.5rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .trust-strip-inner { max-width: var(--max); margin: 0 auto; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1.5rem 3rem; }
  .trust-badge { text-align: center; display: flex; flex-direction: column; align-items: center; gap: .28rem; }
  .trust-badge-num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 600; color: var(--navy); line-height: 1; }
  .trust-badge-label { font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blush-dark); }
  .trust-divider { width: 1px; height: 42px; background: var(--rule); }

  /* SECTIONS */
  section { padding: 5rem 1.5rem; }
  .section-inner { max-width: var(--max); margin: 0 auto; }
  .section-title { font-family: var(--font-head); font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 300; color: var(--navy); line-height: 1.2; margin-bottom: 1.2rem; }
  .section-title em { font-style: italic; }
  .section-rule { width: 48px; height: 2px; background: var(--blush-dark); margin-bottom: 1.5rem; }
  .section-lead { font-size: 1.04rem; color: #555; max-width: 64ch; line-height: 1.8; }

  /* SERVICES */
  .services { background: var(--white); }
  .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 1.4rem; margin-top: 2.75rem; }
  .service-card { background: var(--bg); border: 1px solid var(--rule); border-radius: 6px; padding: 1.65rem; transition: box-shadow .2s, transform .2s; position: relative; overflow: hidden; }
  .service-card::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--blush-dark); transform: scaleY(0); transform-origin: bottom; transition: transform .25s; }
  .service-card:hover { box-shadow: 0 8px 32px rgba(43,58,82,.1); transform: translateY(-2px); }
  .service-card:hover::before { transform: scaleY(1); }
  .service-icon { width: 42px; height: 42px; background: var(--blush-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: .9rem; color: var(--blush-dark); }
  .service-card h3 { font-family: var(--font-head); font-size: 1.18rem; font-weight: 600; color: var(--navy); margin-bottom: .45rem; }
  .service-card p { font-size: .92rem; line-height: 1.7; color: #666; }
  .service-card a { display: inline-block; margin-top: .8rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blush-dark); }

  /* GOOGLE REVIEWS */
  .reviews { background: var(--bg); }
  .google-badge { display: inline-flex; align-items: center; gap: .7rem; background: var(--white); border: 1px solid var(--rule); border-radius: 40px; padding: .45rem 1.2rem .45rem .65rem; margin-bottom: 2.25rem; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
  .reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 1.4rem; }
  .review-card { background: var(--white); border-radius: 8px; padding: 1.65rem; border: 1px solid var(--rule); box-shadow: 0 2px 12px rgba(0,0,0,.04); }
  .review-header { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
  .reviewer-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: var(--blush); flex-shrink: 0; }
  .reviewer-name { font-weight: 700; font-size: .9rem; color: var(--navy); }
  .reviewer-stars { color: #FBBC05; font-size: .82rem; margin-top: 1px; }
  .google-icon-sm { margin-left: auto; font-size: .68rem; font-weight: 900; color: #4285F4; opacity: .38; }
  .review-text { font-size: .93rem; line-height: 1.75; color: #555; font-style: italic; }
  .review-text::before { content: "\201C"; font-family: var(--font-head); font-size: 2.5rem; color: var(--blush-light); line-height: 0; vertical-align: -0.6em; margin-right: .1em; }

  /* WHY CHEYENNE */
  .why { background: var(--white); }
  .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .why-photo { position: relative; }
  .why-photo-img { border-radius: 6px; box-shadow: 0 12px 40px rgba(43,58,82,.15); width: 100%; max-width: 310px; }
  .why-accent-dot { position: absolute; bottom: -22px; right: -22px; width: 110px; height: 110px; background: var(--blush-light); border-radius: 50%; z-index: -1; }
  .why-accent-line { position: absolute; top: -14px; left: -14px; width: 55px; height: 55px; border: 2.5px solid var(--blush); border-radius: 50%; opacity: .38; }
  .credentials { margin-top: 1.75rem; display: flex; flex-direction: column; gap: .65rem; }
  .credential { display: flex; align-items: flex-start; gap: .9rem; font-size: .92rem; }
  .credential-year { font-family: var(--font-head); font-size: .92rem; font-weight: 600; color: var(--blush-dark); min-width: 42px; }

  /* PROCESS */
  .process { background: var(--navy); color: var(--white); }
  .process .section-title { color: var(--white); }
  .process .section-lead { color: rgba(255,255,255,.72); }
  .process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; margin-top: 2.75rem; }
  .process-step { text-align: center; }
  .step-num { width: 52px; height: 52px; background: var(--blush-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; color: var(--white); margin: 0 auto 1rem; }
  .process-step h3 { font-family: var(--font-head); font-size: 1.08rem; font-weight: 500; color: var(--blush); margin-bottom: .38rem; }
  .process-step p { font-size: .87rem; color: rgba(255,255,255,.68); line-height: 1.65; }

  /* BLOG PREVIEW */
  .blog-preview { background: var(--cream); }
  .blog-preview-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.25rem; flex-wrap: wrap; gap: 1rem; }
  .blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; align-items: start; }
  .blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
  .blog-card { background: var(--white); border-radius: 6px; border: 1px solid var(--rule); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .15s; }
  .blog-card:hover { box-shadow: 0 8px 28px rgba(43,58,82,.1); transform: translateY(-2px); }
  .blog-card-cat { display: inline-block; background: var(--blush-light); color: var(--blush-dark); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .28rem .7rem; border-radius: 20px; margin: 1.15rem 1.15rem .45rem; align-self: flex-start; }
  .blog-card-title { font-family: var(--font-head); font-size: 1.15rem; font-weight: 500; color: var(--navy); line-height: 1.3; padding: 0 1.15rem .55rem; }
  .blog-card-title a { color: inherit; }
  .blog-card-title a:hover { color: var(--blush-dark); text-decoration: none; }
  .blog-card-excerpt { font-size: .88rem; line-height: 1.7; color: #666; padding: 0 1.15rem; flex: 1; }
  .blog-card-footer { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1.15rem; margin-top: .85rem; border-top: 1px solid var(--cream); }
  .blog-card-date { font-size: .76rem; color: #999; }
  .blog-card-link { font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--blush-dark); }
  .blog-sidebar { display: flex; flex-direction: column; gap: 1.4rem; }
  .blog-sidebar-cta { background: var(--navy); color: var(--white); border-radius: 6px; padding: 1.6rem; }
  .blog-sidebar-cta h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 400; color: var(--blush); margin-bottom: .55rem; font-style: italic; }
  .blog-sidebar-cta p { font-size: .88rem; color: rgba(255,255,255,.72); line-height: 1.62; margin-bottom: 1.15rem; }
  .sidebar-widget { background: var(--white); border: 1px solid var(--rule); border-radius: 6px; padding: 1.4rem; }
  .sidebar-widget-title { font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--blush-dark); margin-bottom: .9rem; padding-bottom: .55rem; border-bottom: 1px solid var(--rule); }
  .recent-post-item { display: flex; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--cream); }
  .recent-post-item:last-child { border-bottom: none; padding-bottom: 0; }
  .recent-post-date { font-size: .72rem; color: var(--blush-dark); font-weight: 700; letter-spacing: .05em; min-width: 48px; padding-top: 2px; }
  .recent-post-title-text { font-size: .86rem; line-height: 1.42; color: var(--navy); }
  .recent-post-title-text a { color: inherit; }
  .recent-post-title-text a:hover { color: var(--blush-dark); }

  /* CTA BAND */
  .cta-band { background: linear-gradient(135deg, var(--blush-dark) 0%, #9a6e48 100%); color: var(--white); text-align: center; padding: 5rem 1.5rem; }
  .cta-band h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 300; margin-bottom: .7rem; }
  .cta-band h2 em { font-style: italic; }
  .cta-band p { font-size: 1.04rem; margin-bottom: 2.4rem; opacity: .9; max-width: 52ch; margin-left: auto; margin-right: auto; line-height: 1.7; }
  .cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
  .btn-white { display: inline-block; background: var(--white); color: var(--blush-dark); font-weight: 700; font-size: .87rem; letter-spacing: .08em; text-transform: uppercase; padding: .9rem 1.8rem; border-radius: var(--radius); transition: background .2s; }
  .btn-white:hover { background: var(--bg); text-decoration: none; }
  .btn-outline-white { display: inline-block; background: transparent; color: var(--white); font-weight: 700; font-size: .87rem; letter-spacing: .08em; text-transform: uppercase; padding: .9rem 1.8rem; border-radius: var(--radius); border: 2px solid rgba(255,255,255,.52); transition: border-color .2s; }
  .btn-outline-white:hover { border-color: var(--white); text-decoration: none; }

  /* FAQ WITH SIDEBAR */
  .faq-section { background: var(--white); }
  .faq-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3.5rem; align-items: start; margin-top: 2.5rem; }
  .faq-list { display: flex; flex-direction: column; gap: .5rem; }
  details { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
  details[open] { border-color: var(--blush-dark); }
  summary { padding: 1.05rem 1.35rem; font-weight: 700; font-size: .97rem; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--bg); }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; font-size: 1.35rem; font-weight: 300; color: var(--blush-dark); flex-shrink: 0; transition: transform .2s; }
  details[open] summary::after { transform: rotate(45deg); }
  details[open] summary { background: var(--blush-light); }
  .faq-answer { padding: 1.05rem 1.35rem; font-size: .95rem; line-height: 1.8; color: #555; background: var(--white); }
  .faq-more { margin-top: 1.4rem; }

  /* INLINE CONTACT FORM */
  .faq-contact-form { margin-top: 2.25rem; background: var(--bg); border: 1px solid var(--rule); border-radius: 8px; padding: 1.75rem; }
  .faq-contact-form h3 { font-family: var(--font-head); font-size: 1.35rem; font-weight: 500; color: var(--navy); margin-bottom: .35rem; }
  .faq-contact-form p { font-size: .9rem; color: #666; margin-bottom: 1.4rem; line-height: 1.6; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
  .form-field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
  .form-field:last-of-type { margin-bottom: 0; }
  .form-field label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
  .form-field input,
  .form-field select,
  .form-field textarea { width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--rule); border-radius: var(--radius); font-family: var(--font-body); font-size: .97rem; color: var(--body-text); background: var(--white); transition: border-color .2s, box-shadow .2s; line-height: 1.5; }
  .form-field input:focus,
  .form-field select:focus,
  .form-field textarea:focus { outline: none; border-color: var(--blush-dark); box-shadow: 0 0 0 3px rgba(184,132,90,.15); }
  .form-field textarea { resize: vertical; min-height: 90px; }
  .form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8845A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }
  .form-submit { width: 100%; margin-top: 1.25rem; padding: .95rem; background: var(--blush-dark); color: var(--white); font-family: var(--font-body); font-weight: 700; font-size: .87rem; letter-spacing: .09em; text-transform: uppercase; border: none; border-radius: var(--radius); cursor: pointer; transition: background .2s; }
  .form-submit:hover { background: #9a6e48; }
  .form-submit:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
  .form-note { font-size: .75rem; color: #999; margin-top: .75rem; line-height: 1.55; }

  /* FAQ SIDEBAR */
  .faq-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
  .faq-contact-card { background: var(--navy); border-radius: 8px; padding: 2rem; color: var(--white); text-align: center; }
  .faq-contact-card h3 { font-family: var(--font-head); font-size: 1.45rem; font-weight: 400; color: var(--blush); font-style: italic; margin-bottom: .65rem; }
  .faq-contact-card p { font-size: .9rem; color: rgba(255,255,255,.72); line-height: 1.65; margin-bottom: 1.4rem; }
  .faq-contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 1.6rem; }
  .faq-contact-item { display: flex; flex-direction: column; align-items: center; gap: .35rem; }
  .faq-contact-item svg { color: var(--blush); opacity: .75; }
  .faq-contact-label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blush); opacity: .65; }
  .faq-contact-value { font-size: .97rem; color: var(--white); font-weight: 700; }
  .faq-contact-value a { color: var(--blush); }
  .faq-divider { width: 40px; height: 1px; background: rgba(255,255,255,.15); margin: .25rem auto; }
  .faq-promise-card { background: var(--cream); border: 1px solid var(--rule); border-radius: 8px; padding: 1.6rem; }
  .faq-promise-card h3 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 500; color: var(--navy); margin-bottom: 1rem; }
  .promise-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
  .promise-list li { display: flex; align-items: flex-start; gap: .65rem; font-size: .88rem; color: #555; line-height: 1.5; }
  .promise-check { width: 18px; height: 18px; background: var(--blush-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
  .promise-check svg { width: 10px; height: 10px; stroke: white; stroke-width: 2.5; }

  /* FOOTER */
  footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 4rem 1.5rem 2rem; }
  .footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .footer-logo img { max-height: 64px; width: auto; max-width: 200px; margin-bottom: .8rem; filter: brightness(1.4) saturate(.8); }
  .footer-tagline { font-style: italic; font-family: var(--font-head); color: var(--blush); font-size: .92rem; margin-bottom: 1rem; }
  .footer-contact-item { display: flex; align-items: flex-start; gap: .55rem; font-size: .87rem; margin-bottom: .5rem; color: rgba(255,255,255,.7); }
  .footer-contact-item svg { margin-top: 2px; flex-shrink: 0; color: var(--blush); opacity: .7; }
  .footer-contact-item a { color: var(--blush); }
  .footer-contact-item a:hover { color: var(--white); }
  footer h3 { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blush); margin-bottom: 1rem; }
  footer ul { list-style: none; display: flex; flex-direction: column; gap: .42rem; }
  footer ul a { color: rgba(255,255,255,.67); font-size: .87rem; }
  footer ul a:hover { color: var(--white); }
  .footer-bottom { max-width: var(--max); margin: 1.75rem auto 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .76rem; opacity: .48; }
  .footer-disclaimer { max-width: var(--max); margin: 1.4rem auto 0; font-size: .73rem; opacity: .38; line-height: 1.65; border-top: 1px solid rgba(255,255,255,.07); padding-top: 1.35rem; }

  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
  @media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-portrait-wrap { display: none; }
    .quick-links-inner { grid-template-columns: repeat(3, 1fr); }
    .content-block-inner, .why-grid, .faq-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .content-block-inner.reverse { direction: ltr; }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .trust-divider { display: none; }
  }
  @media (max-width: 640px) {
    .topbar-hours { display: none; }
    .quick-links-inner { grid-template-columns: repeat(2, 1fr); }
    .quick-links-inner .quick-link:nth-child(5) { grid-column: span 2; border-right: none; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    nav[aria-label="Main navigation"] { display: none; }
    .header-inner { justify-content: center; }
    .blog-sidebar, .faq-layout { grid-template-columns: 1fr; }
  }

/* ==========================================================================
   THEME ADDITIONS (not in the original mockup CSS)
   - Mobile navigation menu (requested addition)
   - Contact Form 7 styling, matched to the mockup's form design
   ========================================================================== */

/* --- Mobile navigation toggle --- */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--navy);
  line-height: 0;
}
.mobile-nav-toggle:focus-visible { outline: 3px solid var(--blush-dark); outline-offset: 2px; border-radius: 2px; }

@media (max-width: 640px) {
  .mobile-nav-toggle { display: inline-flex; align-items: center; }
  .header-inner { justify-content: space-between; }
  nav[aria-label="Main navigation"].is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 12px 24px rgba(43,58,82,.12);
    padding: .25rem 1.5rem 1rem;
  }
  nav[aria-label="Main navigation"].is-open ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  nav[aria-label="Main navigation"].is-open li { border-bottom: 1px solid var(--cream); }
  nav[aria-label="Main navigation"].is-open li:last-child { border-bottom: none; }
  nav[aria-label="Main navigation"].is-open a {
    display: block;
    padding: .9rem .25rem;
    border-bottom: none;
  }
  nav[aria-label="Main navigation"].is-open a:hover { border-bottom: none; }
  nav[aria-label="Main navigation"].is-open .nav-cta {
    margin-top: .65rem;
    text-align: center;
  }
}

/* --- Contact Form 7, styled to match the mockup's form design --- */
.wpcf7-form p { margin: 0 0 1rem; }
.wpcf7-form label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .35rem;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="number"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .97rem;
  color: var(--body-text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  line-height: 1.5;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--blush-dark);
  box-shadow: 0 0 0 3px rgba(184,132,90,.15);
}
.wpcf7-form textarea { resize: vertical; min-height: 90px; }
.wpcf7-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B8845A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.wpcf7-form .wpcf7-submit {
  width: 100%;
  margin-top: .25rem;
  padding: .95rem;
  background: var(--blush-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .87rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s;
}
.wpcf7-form .wpcf7-submit:hover { background: #9a6e48; }
.wpcf7-form .wpcf7-submit:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.wpcf7-form .wpcf7-spinner { margin: .6rem auto 0; display: block; }
.wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: .8rem;
  font-weight: 700;
  margin-top: .3rem;
  display: block;
}
.wpcf7-form .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-size: .88rem;
  line-height: 1.5;
}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.payment-required .wpcf7-response-output {
  border: 1px solid #e0b4b4;
  background: #fdf3f3;
  color: #c0392b;
}
.wpcf7-form.sent .wpcf7-response-output {
  border: 1px solid #b7d8b7;
  background: #f1f8f1;
  color: #2e7d32;
}
/* support a two-column row if the CF7 form template uses .form-row */
.wpcf7-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) {
  .wpcf7-form .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   BLOG, SINGLE POST & 404 TEMPLATES
   Not part of the page mockups - styled with the theme's own design tokens so
   single posts, the blog index and the 404 page match the corrected pages.
   ========================================================================== */

/* Single post */
.single-post-image { max-width: 72ch; margin: 0 auto 2rem; border-radius: 6px; overflow: hidden; }
.single-post-image img { width: 100%; height: auto; }
.single-post-content { max-width: 72ch; margin: 0 auto; font-size: 1rem; line-height: 1.85; color: #444; }
.single-post-content p { margin-bottom: 1.15rem; }
.single-post-content h2 { font-family: var(--font-head); font-size: 1.6rem; font-weight: 500; color: var(--navy); margin: 2rem 0 .8rem; }
.single-post-content h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 500; color: var(--navy); margin: 1.5rem 0 .6rem; }
.single-post-content ul, .single-post-content ol { margin: 0 0 1.15rem 1.5rem; }
.single-post-content li { margin-bottom: .35rem; }
.single-post-content a { color: var(--blush-dark); }
.single-post-content blockquote { border-left: 4px solid var(--blush-dark); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--blush-light); border-radius: 0 var(--radius) var(--radius) 0; }
.single-post-content img { border-radius: 6px; margin: 1.5rem 0; }
.single-post-tags { max-width: 72ch; margin: 2rem auto 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.condition-tag { background: var(--blush-light); color: var(--navy); font-size: .82rem; font-weight: 600; padding: .4rem .9rem; border-radius: 20px; }

/* Author bio */
.author-bio { background: var(--cream); border-radius: 6px; padding: 1.75rem; margin: 3rem auto 0; display: flex; gap: 1.5rem; align-items: flex-start; max-width: 72ch; }
.author-bio-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--blush); }
.author-bio-name { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--navy); margin-bottom: .25rem; }
.author-bio-desc { font-size: .9rem; color: #555; line-height: 1.7; }

/* Previous / next post navigation */
.post-nav { display: flex; justify-content: space-between; gap: 2rem; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid var(--rule); max-width: 72ch; }
.post-nav-link { text-decoration: none; }
.post-nav-link:hover { text-decoration: underline; }
.post-nav-next { text-align: right; }
.post-nav-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #888; margin-bottom: .25rem; }
.post-nav-title { display: block; font-size: .92rem; color: var(--navy); font-weight: 400; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pagination .page-numbers { display: inline-block; padding: .5rem 1rem; border: 1px solid var(--rule); border-radius: var(--radius); font-size: .88rem; font-weight: 700; color: var(--navy); }
.pagination .page-numbers.current { background: var(--blush-dark); color: var(--white); border-color: var(--blush-dark); }
.pagination a.page-numbers:hover { background: var(--blush-light); text-decoration: none; }

/* 404 page */
.four-oh-four-icon { color: var(--blush); margin-bottom: 1.5rem; }
.four-oh-four-links { list-style: none; display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.four-oh-four-links a { font-weight: 700; font-size: .9rem; }


/* --- Page hero (used by single posts, the blog index and the 404 page; identical to the inner-page mockups) --- */
  .page-hero { position: relative; overflow: hidden; padding: 4.5rem 1.5rem 4rem; background: var(--navy); text-align: center; }
  .page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(227,187,160,.08) 0%, transparent 70%); }
  .page-hero .section-inner { position: relative; z-index: 1; }
  .page-hero-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blush); margin-bottom: 1rem; }
  .page-hero h1 { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 300; line-height: 1.15; color: var(--white); margin-bottom: 1.25rem; }
  .page-hero h1 em { font-style: italic; color: var(--blush); }
  .page-hero-lead { font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,.78); max-width: 52ch; margin: 0 auto; }
  .page-hero-bottom-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 50px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 2; }

/* --- Dropdown submenus (multi-level WordPress menus) --- */
nav[aria-label="Main navigation"] li { position: relative; }
nav[aria-label="Main navigation"] .sub-menu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(43,58,82,.14);
  padding: .4rem 0;
  margin: 0;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 200;
}
nav[aria-label="Main navigation"] li:last-child .sub-menu { left: auto; right: 0; }
nav[aria-label="Main navigation"] li:hover > .sub-menu,
nav[aria-label="Main navigation"] li:focus-within > .sub-menu { display: flex; }
nav[aria-label="Main navigation"] .sub-menu li { width: 100%; }
nav[aria-label="Main navigation"] .sub-menu a {
  display: block;
  padding: .6rem 1.15rem;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--navy);
  border-bottom: none;
  white-space: nowrap;
}
nav[aria-label="Main navigation"] .sub-menu a:hover { background: var(--blush-light); color: var(--blush-dark); border-bottom: none; }
nav[aria-label="Main navigation"] .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: .4em;
  height: .4em;
  margin-left: .42em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-.14em) rotate(45deg);
  opacity: .6;
}
@media (max-width: 640px) {
  nav[aria-label="Main navigation"] .sub-menu {
    display: flex;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: .1rem 0 .3rem;
    min-width: 0;
  }
  nav[aria-label="Main navigation"] .sub-menu a { padding: .55rem .25rem .55rem 1.1rem; color: #666; }
  nav[aria-label="Main navigation"] .menu-item-has-children > a::after { display: none; }
}
