/* ==========================================================================
   Renewal Treatment Center - Warm Earth Style (#2) + Tab-Based Sections (#5)
   Domain: riserenewal.website
   Generated: 2026-02-10
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;600;700&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #8B5A2B;
  --primary-dark: #6D4520;
  --primary-light: #A97B50;
  --secondary: #C4A77D;
  --secondary-light: #D9C4A0;
  --accent: #E07B53;
  --accent-dark: #C4613B;
  --text: #3D2914;
  --text-light: #6B5440;
  --bg: #FDF8F3;
  --bg-alt: #FFFFFF;
  --bg-warm: #F5EDE3;
  --border: #E0D1C0;
  --shadow: rgba(139,90,43,0.12);
  --shadow-lg: rgba(139,90,43,0.18);
  --radius: 6px;
  --radius-lg: 10px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --header-height: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Source Sans Pro', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  color: var(--primary-dark);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin-left: 1.25rem; margin-bottom: 1rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Header --- */
.header {
  background: var(--bg-alt);
  border-bottom: 3px solid var(--secondary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px var(--shadow);
}

.header__top {
  background: var(--primary-dark);
  color: #fff;
  padding: 0.4rem 0;
  font-size: 0.85rem;
}

.header__top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__top a { color: #fff; }
.header__top a:hover { color: var(--secondary-light); }

.header__main {
  padding: 0.75rem 0;
}

.header__main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.header__logo span { color: var(--accent); }

/* --- Navigation --- */
.nav { display: flex; align-items: center; gap: 0.25rem; }

.nav__link {
  padding: 0.6rem 1rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}
.nav__link:hover,
.nav__link--active {
  color: var(--primary);
  background: var(--bg-warm);
}
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.nav__cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 700;
  margin-left: 0.5rem;
}
.nav__cta:hover {
  background: var(--accent-dark);
  color: #fff !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Tab Navigation (Architecture #5) --- */
.tab-bar {
  background: var(--bg-alt);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: var(--header-height);
  z-index: 900;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tab-bar::-webkit-scrollbar { height: 0; }

.tab-bar .container {
  display: flex;
  gap: 0;
}

.tab-btn {
  padding: 1rem 1.5rem;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}
.tab-btn:hover {
  color: var(--primary);
  background: var(--bg-warm);
}
.tab-btn--active {
  color: var(--primary);
  border-bottom-color: var(--accent);
  background: var(--bg);
}

.tab-content {
  display: none;
  animation: tabFadeIn 0.4s ease;
}
.tab-content--active { display: block; }

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61,41,20,0.7) 0%, rgba(139,90,43,0.4) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 3rem 0;
}

.hero__title {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero__subtitle {
  color: var(--secondary-light);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__phone {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
  font-family: 'Merriweather', serif;
}
.hero__phone a { color: var(--secondary-light); }
.hero__phone a:hover { color: #fff; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Source Sans Pro', sans-serif;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(224,123,83,0.35);
}

.btn--secondary {
  background: transparent;
  color: #fff;
  border: 2px solid var(--secondary-light);
}
.btn--secondary:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--primary-dark);
  padding: 1.25rem 0;
  color: #fff;
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.trust-bar__icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* --- Sections --- */
.section {
  padding: 4.5rem 0;
}

.section--alt { background: var(--bg-alt); }
.section--warm { background: var(--bg-warm); }

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section__header h2 {
  position: relative;
  padding-bottom: 1rem;
}
.section__header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section__header p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: 1rem;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-lg);
}

.card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__body { padding: 1.5rem; }

.card__icon {
  width: 50px;
  height: 50px;
  background: var(--bg-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.card__title {
  font-family: 'Merriweather', serif;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.card__text {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Program Cards --- */
.program-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 4px solid var(--accent);
  box-shadow: 0 2px 15px var(--shadow);
  transition: var(--transition);
}
.program-card:hover {
  box-shadow: 0 6px 25px var(--shadow-lg);
}

/* --- Why Choose Us --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem 1.5rem;
}

.feature__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 auto 1.25rem;
}

.feature__title {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature__text {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 2rem 0;
}

.stat__number {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat__label {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px var(--shadow-lg);
}

/* --- Testimonials --- */
.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 4px 20px var(--shadow);
  border-left: 4px solid var(--accent);
  display: none;
}
.testimonial--active { display: block; }

.testimonial__quote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.testimonial__quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--secondary);
  font-family: 'Merriweather', serif;
  display: block;
  line-height: 0.5;
  margin-bottom: 0.5rem;
}

.testimonial__author {
  font-weight: 700;
  color: var(--primary-dark);
}

.testimonial__program {
  color: var(--text-light);
  font-size: 0.9rem;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.testimonial-dot--active { background: var(--accent); }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { color: var(--secondary-light); font-size: 1.15rem; max-width: 600px; margin: 0 auto 2rem; }

.cta-section .cta-phone {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 1.5rem;
}
.cta-section .cta-phone a { color: var(--secondary-light); }
.cta-section .cta-phone a:hover { color: #fff; }

/* --- Accordion / FAQ --- */
.accordion { max-width: 800px; margin: 0 auto; }

.accordion__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg-alt);
}

.accordion__header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-dark);
  background: var(--bg-alt);
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'Source Sans Pro', sans-serif;
  transition: var(--transition);
}
.accordion__header:hover { background: var(--bg-warm); }

.accordion__icon {
  font-size: 1.2rem;
  transition: transform var(--transition);
  color: var(--accent);
}
.accordion__item--open .accordion__icon { transform: rotate(180deg); }

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion__item--open .accordion__body { max-height: 500px; }

.accordion__content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-info__icon {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  background: var(--bg-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
}

.contact-info__text h4 { margin-bottom: 0.25rem; }
.contact-info__text p { margin-bottom: 0; color: var(--text-light); }
.contact-info__text a { color: var(--primary); font-weight: 600; }

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  border: 2px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* --- Blog --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-lg);
}

.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card__body { padding: 1.5rem; }

.blog-card__category {
  display: inline-block;
  background: var(--bg-warm);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card__title {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.blog-card__excerpt {
  color: var(--text-light);
  font-size: 0.95rem;
}

.blog-card__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Timeline / Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.step__number {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  font-family: 'Merriweather', serif;
}

.step__title {
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.step__text {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- Insurance Grid --- */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.insurance-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  font-weight: 600;
  color: var(--primary-dark);
  transition: var(--transition);
}
.insurance-item:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 10px var(--shadow);
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }

.two-col__img {
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px var(--shadow);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --- Daily Schedule --- */
.schedule {
  max-width: 600px;
  margin: 0 auto;
}

.schedule__item {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.schedule__time {
  min-width: 100px;
  font-weight: 700;
  color: var(--primary);
}

.schedule__activity {
  color: var(--text);
}

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 15px var(--shadow);
}

.comparison-table th {
  background: var(--primary-dark);
  color: #fff;
  padding: 1rem;
  text-align: left;
  font-family: 'Merriweather', serif;
  font-size: 0.95rem;
}

.comparison-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}

.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: var(--bg-warm); }

/* --- Privacy Policy --- */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h3 {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.privacy-content h3:first-child { border-top: none; margin-top: 0; padding-top: 0; }

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 0;
}

.footer a { color: var(--secondary-light); }
.footer a:hover { color: #fff; }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
}

.footer__brand {
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1rem;
}
.footer__brand span { color: var(--accent); }

.footer__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
}

.footer__title {
  font-family: 'Merriweather', serif;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li { margin-bottom: 0.6rem; }

.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: var(--transition);
}
.footer__links a:hover { color: #fff; padding-left: 5px; }

.footer__contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.footer__contact-icon { color: var(--accent); font-size: 1.1rem; min-width: 20px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 2.5rem;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(224,123,83,0.4);
  z-index: 800;
}
.back-to-top--visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-dark); transform: translateY(-3px); }

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
}
.breadcrumbs a { color: var(--primary); }
.breadcrumbs span { margin: 0 0.5rem; color: var(--border); }

/* --- Responsive --- */
@media (max-width: 992px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col--reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
  .hero__title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  :root { --header-height: 65px; }

  .header__top { display: none; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 8px 20px var(--shadow);
    border-top: 2px solid var(--secondary);
  }
  .nav--open { display: flex; }

  .nav__link { width: 100%; padding: 0.85rem 1rem; }
  .nav__cta { text-align: center; margin-left: 0; }

  .hamburger { display: flex; }

  .hero { min-height: 400px; }
  .hero__title { font-size: 1.8rem; }
  .hero__subtitle { font-size: 1.05rem; }

  .trust-bar .container { flex-direction: column; gap: 1rem; text-align: center; }
  .trust-bar__item { justify-content: center; }

  .section { padding: 3rem 0; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .tab-btn { padding: 0.75rem 1rem; font-size: 0.85rem; }

  /* Tabs to accordion on mobile */
  .tab-bar .container { gap: 0; }

  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat__number { font-size: 2rem; }

  .blog-grid { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .steps { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .insurance-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }

/* --- Warm Earth texture overlay --- */
.section--textured {
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%238B5A2B' fill-opacity='0.03'%3E%3Cpath d='M0 0h20v20H0zM20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
}
