/* ============================================================
   Marylee Marre Functional Medicine - Global Styles
   ============================================================ */

/* --- Design Tokens --- */
:root {
  --color-white: #FFFFFF;
  --color-background: #FAF7F4;
  --color-card: #E8DDD3;
  --color-accent-light: #E8C9BE;
  --color-accent-mid: #DDBBAC;
  --color-text: #1A1A1A;
  --color-sage: #A8B5A2;

  --font-heading: 'Gilda Display', serif;
  --font-body: 'Poppins', sans-serif;
  --font-cta: 'Raleway', sans-serif;

  --max-width: 1200px;
  --section-padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 5vw, 5%);
}

/* --- Skip to Content (Accessibility) --- */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-text);
  color: var(--color-white);
  font-family: var(--font-cta);
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}

.skip-to-content:focus {
  left: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.75;
  font-size: clamp(0.9rem, 1vw, 1rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* --- Focus Styles (Accessibility) --- */
a:focus-visible,
button:focus-visible,
iframe:focus-visible {
  outline: 2px solid var(--color-sage);
  outline-offset: 2px;
}

.btn-primary:focus-visible,
.btn-nav:focus-visible,
.btn-secondary:focus-visible {
  outline: 2px solid var(--color-sage);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

p {
  max-width: 680px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--color-white);
  border-bottom: 1px solid #B07B7B;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.2rem clamp(1.25rem, 5vw, 3rem);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.2rem);
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--color-text);
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent-mid);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links .btn-nav {
  font-family: 'Gilda Display', serif;
  font-weight: 400;
  font-size: 17px;
  padding: 0.6rem 1.4rem;
  background-color: #B07B7B;
  color: #FFFFFF;
  border: 1px solid #B07B7B;
  border-radius: 2px;
  letter-spacing: 0.03em;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-links .btn-nav::after {
  display: none;
}

.nav-links .btn-nav:hover {
  background-color: #3A3A3A;
  color: #FFFFFF;
  border: 1px solid #3A3A3A;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: var(--color-background);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--color-text);
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--color-accent-mid);
}

.mobile-nav a.active {
  color: var(--color-accent-mid);
}

.mobile-nav .btn-mobile-cta {
  font-family: 'Gilda Display', serif;
  font-weight: 400;
  font-size: 17px;
  padding: 0.8rem 2rem;
  background-color: #B07B7B;
  color: #FFFFFF;
  border: 1px solid #B07B7B;
  border-radius: 2px;
  letter-spacing: 0.03em;
  margin-top: 1rem;
}

.mobile-nav .btn-mobile-cta:hover {
  background-color: #3A3A3A;
  color: #FFFFFF;
  border: 1px solid #3A3A3A;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  font-family: 'Gilda Display', serif;
  font-weight: 400;
  font-size: 17px;
  padding: 0.9rem 2rem;
  background-color: #B07B7B;
  color: #FFFFFF;
  border: 1px solid #B07B7B;
  border-radius: 2px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #3A3A3A;
  color: #FFFFFF;
  border: 1px solid #3A3A3A;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  font-family: var(--font-cta);
  font-weight: 400;
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  padding: 0.9rem 2rem;
  background-color: #B07B7B;
  color: #FFFFFF;
  border: 1px solid #B07B7B;
  border-radius: 2px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #3A3A3A;
  color: #FFFFFF;
  border: 1px solid #3A3A3A;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.section {
  padding: var(--section-padding);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: calc(70vh + 38px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin-top: 0;
  background-color: #EDECE8;
}

.hero-image-wrapper {
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    #EDECE8 0%,
    transparent 8%,
    transparent 60%,
    #EDECE8 92%
  );
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  display: block;
}

.hero-placeholder {
  position: absolute;
  inset: 0;
  width: 50%;
  height: 100%;
  background-color: var(--color-card);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem clamp(1.5rem, 4vw, 3rem);
  max-width: 320px;
  font-family: var(--font-body);
  font-style: italic;
  color: var(--color-text);
  opacity: 0.6;
  font-size: 0.9rem;
}

.hero-content {
  flex: 0 0 50%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
  background-color: #EDECE8;
  text-align: center;
}

.hero-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  color: var(--color-text);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  font-weight: 400;
  max-width: 38ch;
  text-wrap: balance;
  font-style: italic;
}

.hero-attribution {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--color-text);
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
  max-width: 38ch;
  width: 100%;
  text-align: right;
}

.hero .btn-primary {
  background-color: #B07B7B;
  color: #FFFFFF;
  border: 1px solid #B07B7B;
  font-size: 1.1rem;
  padding: 0.9rem 2.15rem;
}

.hero .btn-primary:hover {
  background-color: #3A3A3A;
  color: #FFFFFF;
  border: 1px solid #3A3A3A;
}

/* ============================================================
   WHAT IS FUNCTIONAL MEDICINE
   ============================================================ */
.functional-medicine {
  background-color: var(--color-white);
  padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1.25rem, 5vw, 5%);
}

.functional-medicine h2 {
  margin-bottom: 1.5rem;
}

.functional-medicine p {
  margin-bottom: 1rem;
}

/* ============================================================
   WHO WOULD BENEFIT
   ============================================================ */
.who-benefits {
  background-color: var(--color-background);
}

.who-benefits h2 {
  margin-bottom: 0.75rem;
}

.who-benefits .subtitle {
  margin-bottom: 1.25rem;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.benefit-card {
  background-color: var(--color-white);
  padding: 1.75rem 1.5rem;
  border-radius: 4px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.benefit-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background-color: var(--color-sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background-color: var(--color-white);
}

.testimonials h2 {
  margin-bottom: 0.4rem;
}

.google-reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--color-text);
  opacity: 0.45;
  margin-bottom: 1.25rem;
  transition: opacity 0.3s ease;
}

.google-reviews-link:hover {
  opacity: 0.7;
}

.google-reviews-link .google-g {
  flex-shrink: 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--color-background);
  padding: 2rem 1.75rem;
  border-radius: 4px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: #B07B7B;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
}

.testimonial-card p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
/* Credentials Bar (full-width, above About content) */
.credentials-bar {
  width: 100%;
  margin-top: 80px;
  background-color: #F0E8DE;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: stretch;
  padding: 2rem 4rem;
  box-sizing: border-box;
  gap: 2rem;
}

.credentials-bar .credential-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid #DDBBAC;
}

.credentials-bar .credential-item:last-child {
  border-right: none;
}

.credentials-bar .credential-item h3 {
  font-family: 'Gilda Display', serif;
  font-size: 1rem;
  color: #1A1A1A;
  margin-bottom: 0.5rem;
  text-align: center;
}

.credentials-bar .credential-item p {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: #1A1A1A;
  text-align: center;
}


.about-hero {
  padding-top: clamp(2rem, 5vw, 4rem);
  background-color: var(--color-background);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.about-image-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  height: auto;
  background-color: transparent;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem clamp(1.5rem, 4vw, 3rem);
  max-width: 320px;
  margin: 0 auto;
  font-style: italic;
  color: var(--color-text);
  opacity: 0.5;
  font-size: 0.9rem;
}

.about-content h1 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.25rem;
  max-width: none;
}

.about-credentials {
  background-color: var(--color-white);
}

/* ============================================================
   PROGRAMS PAGE
   ============================================================ */
.programs-hero,
.press-hero,
.blog-hero,
.faq-hero,
.shop-hero,
.contact-hero {
  padding-top: calc(80px + clamp(2.5rem, 5vw, 4rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(to bottom, var(--color-white), var(--color-background));
  text-align: center;
}

.programs-hero h1,
.press-hero h1,
.blog-hero h1,
.faq-hero h1,
.shop-hero h1,
.contact-hero h1 {
  letter-spacing: 0.04em;
}

.programs-hero + .section,
.press-hero + .section,
.blog-hero + .section,
.faq-hero + .section,
.shop-hero + .section,
.contact-hero + .section {
  padding-top: 1.5rem;
}

.program-card-wrapper {
  background-color: var(--color-white);
}

.program-card-wrapper:nth-child(even) {
  background-color: var(--color-background);
}

.program-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
}

.program-card-wrapper:nth-child(even) .program-layout {
  direction: rtl;
}

.program-card-wrapper:nth-child(even) .program-layout > * {
  direction: ltr;
}

.program-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--color-card);
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem clamp(1.5rem, 4vw, 3rem);
  max-width: 320px;
  margin: 0 auto;
  font-style: italic;
  color: var(--color-text);
  opacity: 0.5;
  font-size: 0.85rem;
}

.program-details h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  margin-bottom: 1.25rem;
}

.program-features {
  list-style: none;
  margin-bottom: 1.75rem;
}

.program-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-card);
}

.program-features li:last-child {
  border-bottom: none;
}

.program-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: var(--color-sage);
  border-radius: 50%;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-hero {
  padding-top: calc(80px + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  background-color: var(--color-background);
}

.services-hero + .section {
  padding-top: 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.service-card {
  background-color: var(--color-white);
  padding: 2rem 1.75rem;
  border-radius: 4px;
  border-top: 3px solid var(--color-sage);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  max-width: none;
}

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-two-col {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.blog-photos-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-photo-item {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background-color: var(--color-card);
}

.blog-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.blog-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-style: italic;
  color: var(--color-text);
  opacity: 0.5;
  font-size: 0.85rem;
}

.blog-posts-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-post-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-card);
}

.blog-post-item:last-child {
  border-bottom: none;
}

.blog-post-item h3 {
  margin-bottom: 0.5rem;
}

.blog-post-item p {
  font-style: italic;
  color: var(--color-text);
  font-size: 0.9rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-content {
  padding-top: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.contact-panel {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-panel-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-panel-section + .contact-panel-section {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.contact-panel-section h2 {
  margin-bottom: 0.75rem;
}

.contact-panel-section > p {
  margin-bottom: 1.5rem;
  max-width: 56ch;
}

.contact-line {
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.contact-line a {
  color: inherit;
}

.contact-line-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--color-sage);
}

.contact-line:last-of-type {
  margin-bottom: 1.5rem;
}

.contact-socials {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.contact-socials-hero {
  margin-top: 1rem;
  margin-bottom: 0;
}

.contact-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-card);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.contact-socials a:hover {
  background-color: var(--color-accent-light);
}

.contact-socials svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--color-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ============================================================
   CONTACT MAP (inline in left column)
   ============================================================ */
.contact-map-inline {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-card);
}

.contact-map-inline iframe {
  width: 100%;
  height: 280px;
  border: none;
  display: block;
}

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-section {
  background-color: var(--color-background);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-card);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 400;
  color: var(--color-text);
  text-align: left;
  line-height: 1.4;
  gap: 1rem;
}

.faq-question:hover {
  color: #B07B7B;
}

.faq-question:hover .faq-chevron {
  stroke: #B07B7B;
}

.faq-chevron {
  flex-shrink: 0;
  stroke: var(--color-text);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 0;
}

.faq-answer[hidden] {
  display: block;
  max-height: 0;
  padding: 0 0;
}

.faq-answer:not([hidden]) {
  max-height: 500px;
  padding: 0 0 1.5rem;
}

.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.8;
  max-width: none;
  color: var(--color-text);
}

/* ============================================================
   SHOP PAGE
   ============================================================ */
/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #1A1A1A;
  color: var(--color-white);
  padding: 1.5rem clamp(1.25rem, 5vw, 5%);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  order: 1;
  margin-right: auto;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  order: 2;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--color-card);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  order: 0;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.footer-socials a:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--color-card);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--color-card);
  opacity: 0.7;
  order: 3;
}

/* ============================================================
   SUBSCRIBE SECTION
   ============================================================ */
.subscribe-section {
  background-color: #FAF7F4;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 5vw, 5%);
  border-top: 1px solid #B07B7B;
}

.subscribe-section h2 {
  margin-bottom: 0.75rem;
}

.subscribe-section > .section-inner > p {
  margin-bottom: 1.5rem;
}

.subscribe-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto 1rem;
}

.subscribe-form input[type="email"] {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--color-accent-mid);
  border-right: none;
  border-radius: 2px 0 0 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-white);
  outline: none;
  transition: border-color 0.3s ease;
}

.subscribe-form input[type="email"]:focus {
  border-color: var(--color-sage);
}

.subscribe-form input[type="email"]::placeholder {
  color: var(--color-accent-mid);
}

.subscribe-form .btn-primary {
  border-radius: 0 2px 2px 0;
  white-space: nowrap;
}

.subscribe-form .btn-primary:hover {
  background-color: #3A3A3A;
  color: #FFFFFF;
  border: 1px solid #3A3A3A;
}

.subscribe-privacy {
  font-size: 0.8rem;
  color: var(--color-text);
  margin-top: 0.5rem;
}

/* ============================================================
   CTA BAND (used between sections)
   ============================================================ */
.cta-band {
  background-color: #3A3A3A;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 5vw, 5%);
}

.cta-band h2 {
  color: #FAF7F4;
  margin-bottom: 1rem;
}

.cta-band p {
  color: #FAF7F4;
  margin: 0 auto 1.5rem;
}

.cta-band .btn-primary {
  background-color: #B07B7B;
  color: #FFFFFF;
  border: 1px solid #B07B7B;
}

.cta-band .btn-primary:hover {
  background-color: #E8DDD3;
  color: #1A1A1A;
  border: 1px solid #E8DDD3;
}

/* ============================================================
   RESPONSIVE - Mobile First Overrides
   ============================================================ */
@media (max-width: 480px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-logo {
    font-size: 0.85rem;
  }
}

/* ============================================================
   ANIMATIONS - Subtle entrance
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
