/*
Theme Name: Dharma Recovered
Version: 2.0
*/
:root {
  --ink: #17252b;
  --dark: #102a32;
  --teal: #173c43;
  --accent: #a8e642;
  --paper: #f4f7f2;
  --width: 1160px;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: white; font: 17px/1.65 system-ui, sans-serif; }
a { color: #195b5f; }
a:focus-visible { outline: 3px solid #278789; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.frame, .content .elementor-section > .elementor-container { width: min(var(--width), calc(100% - 48px)); margin-inline: auto; }
h1, h2, h3, h4 { line-height: 1.12; overflow-wrap: anywhere; }
h1, h2 { margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.65rem); }
p { margin: 0 0 1em; }
.site-header { background: white; border-bottom: 1px solid #dde7df; }
.header-row { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--dark); font-size: 1.5rem; font-weight: 900; line-height: 1; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand small { display: block; margin-top: 5px; font-size: .66rem; text-transform: uppercase; letter-spacing: .16em; }
nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
nav a { color: inherit; text-decoration: none; font-size: .87rem; font-weight: 750; }
nav a:hover { text-decoration: underline; }
.button, .elementor-button { display: inline-flex; justify-content: center; align-items: center; text-align: center; padding: .68rem 1.25rem; border: 2px solid transparent; border-radius: 7px; background: var(--accent); color: var(--dark); text-decoration: none; font-weight: 800; line-height: 1.35; }
.button:hover, .elementor-button:hover { filter: brightness(.92); }
.button.outline { background: transparent; color: white; border-color: var(--accent); }
.hero { color: white; background: var(--dark) linear-gradient(90deg,#102a32 0%,#102a32f5 25%,#102a32ac 59%,#102a3245 100%); position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#102a32 0%,#102a32e5 25%,#102a3299 60%,#102a3240 100%), url('assets/scooter-archived.jpg') center 44% / cover; }
.hero-inner { min-height: clamp(430px, 58vw, 650px); padding-block: 70px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { margin: 0 0 .75rem; color: var(--accent); text-transform: uppercase; font-size: .79rem; font-weight: 850; letter-spacing: .13em; }
.hero h1 { font-size: clamp(2.65rem, 7vw, 5.5rem); letter-spacing: -.04em; margin-bottom: .22em; }
.hero-copy { font-size: clamp(1rem, 2.3vw, 1.3rem); margin-bottom: 1.55rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.page-title { padding: 55px 0; color: white; background: var(--teal); }
.page-title h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.8rem); }
.content .elementor-section { padding-block: clamp(24px, 5vw, 70px); }
.content .elementor-section .elementor-section { padding-block: 12px; }
.content .elementor-section .elementor-section > .elementor-container { width: 100%; }
.elementor-container { display: flex; align-items: flex-start; gap: clamp(18px, 4vw, 50px); }
.elementor-column { min-width: 0; flex: 1; }
.elementor-widget-container { min-width: 0; overflow-wrap: anywhere; }
.elementor-widget-container img { border-radius: 12px; }
.elementor-posts-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr)); gap: 20px; }
.elementor-post { padding: 20px; background: white; border: 1px solid #dde7df; border-radius: 10px; }
.home-content > div > .elementor-section:nth-of-type(2n+1) { background: var(--paper); }
.home-content > div > .elementor-section:first-of-type > .elementor-container { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.home-content > div > .elementor-section:first-of-type > .elementor-container > .elementor-column { background: white; padding: 20px; border-top: 4px solid var(--accent); border-radius: 10px; height: 100%; }
.home-content > div > .elementor-section:first-of-type h2 { font-size: clamp(1.05rem, 2vw, 1.35rem); min-height: 2.25em; }
.home-content > div > .elementor-section:first-of-type h2 a { color: inherit; }
.home-content > div > .elementor-section:first-of-type .button,
.home-content > div > .elementor-section:first-of-type .elementor-button { font-size: .77rem; }
.contact-band { padding: 35px 0; background: var(--teal); color: white; }
.contact-band .frame { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; }
.contact-band h2 { margin: 0; }
.site-footer { padding: 42px 0; color: white; background: var(--dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr auto; align-items: start; gap: 24px; }
.footer-grid p { color: #dce8e6; margin-top: 7px; }
.footer-grid > a { color: var(--accent); font-weight: 800; }
.mobile-actions { display: none; }
@media (max-width: 880px) {
  .header-row { flex-wrap: wrap; gap: 0 16px; padding-top: 12px; }
  .header-row nav { order: 3; width: 100%; gap: 8px 16px; padding: 12px 0; }
  .header-call { font-size: .78rem; padding-inline: .65rem; }
  .home-content > div > .elementor-section:first-of-type > .elementor-container { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .frame, .content .elementor-section > .elementor-container { width: calc(100% - 32px); }
  .hero-inner { min-height: 420px; padding-block: 50px; }
  .hero::before { background-position: 65% center; }
  .elementor-container { flex-direction: column; }
  .elementor-column { width: 100%; }
  .home-content > div > .elementor-section:first-of-type > .elementor-container > .elementor-column { padding: 14px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 12px; }
  .site-footer { padding-bottom: calc(105px + env(safe-area-inset-bottom)); }
  .mobile-actions { position: fixed; z-index: 5; bottom: 0; left: 0; right: 0; background: var(--dark); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
  .mobile-actions .button { min-height: 42px; padding: 6px 4px; font-size: .9rem; }
}
