/*
Theme Name: Aline Therapy
Theme URI: https://alinetherapy.com
Author: Aline Therapy
Author URI: https://alinetherapy.com
Description: A holistic, trauma-informed therapy theme for Aline — editorial, warm, and SEO-ready. All images, text, and contact details editable through Appearance → Customize.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aline-therapy
Tags: therapy, wellness, holistic, long-beach, editorial, responsive
*/

/* ============================================
   Aline Therapy — Stylesheet
   Palette: warm sage, cream, terracotta accents
   ============================================ */

:root {
  --cream: #f7f3ec;
  --cream-deep: #efe8dc;
  --sage: #8a9a8b;
  --sage-deep: #5c6f60;
  --moss: #3c4a3e;
  --terracotta: #c08264;
  --terracotta-deep: #a36a4e;
  --ink: #2b2b2b;
  --ink-soft: #4a4a4a;
  --muted: #7a7a75;
  --border: #e3dccf;
  --white: #ffffff;

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --max: 1200px;
  --radius: 4px;
  --shadow: 0 10px 40px rgba(60, 74, 62, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--sage-deep); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--terracotta-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--moss);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 1rem; font-weight: 400; letter-spacing: -0.015em; }
.display { font-family: var(--serif); font-style: italic; font-weight: 400; }
h3 { font-size: 1.4rem; margin-bottom: .75rem; }
p  { margin-bottom: 1rem; color: var(--ink-soft); }

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

.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-alt { background: var(--cream-deep); }
.section-moss { background: var(--moss); color: #e8e4da; }
.section-moss h2, .section-moss h3 { color: var(--cream); }
.section-moss p { color: #d4d0c5; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: 1rem;
  display: inline-block;
}

/* ========== NAV ========== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.75rem;
  display: flex; align-items: center; justify-content: flex-start;
  gap: 2.75rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--moss);
  font-weight: 500;
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 0.65rem;
}
.brand span { color: var(--terracotta); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--moss);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic;
  color: var(--moss); font-size: 1.05rem;
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 3px;
  border-radius: 50%; border: 1px solid var(--terracotta);
  opacity: 0.5;
}
.nav-links {
  list-style: none;
  display: flex; gap: 1.75rem; align-items: center;
  flex: 1;                       /* fill remaining width so CTA can sit at far right */
}
.nav-links > li:last-child { margin-left: auto; }   /* push "Book Consultation" right */
.nav-links a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav-links a.active, .nav-links a:hover { color: var(--moss); }

/* ----- Dropdown menus (works for fallback markup AND WP-generated menus) ----- */
.has-dropdown, .menu-item-has-children { position: relative; }
.has-dropdown > a::after,
.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s var(--ease);
}
.has-dropdown:hover > a::after,
.menu-item-has-children:hover > a::after { transform: translateY(1px) rotate(45deg); }
.dropdown, .sub-menu {
  list-style: none;
  position: absolute; top: 100%; left: -0.75rem;
  min-width: 230px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 200;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown li, .sub-menu li { display: block; }
.dropdown a, .sub-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.dropdown a:hover, .sub-menu a:hover { background: var(--cream-deep); color: var(--moss); }
.nav-cta {
  background: var(--moss);
  color: var(--cream) !important;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 500;
}
.nav-cta:hover { background: var(--terracotta); color: var(--cream) !important; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: var(--moss);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  font-family: var(--sans);
}
.btn-primary { background: var(--terracotta); color: var(--cream); }
.btn-primary:hover { background: var(--terracotta-deep); color: var(--cream); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--moss); border-color: var(--moss); }
.btn-outline:hover { background: var(--moss); color: var(--cream); }
.btn-ghost { background: var(--cream); color: var(--moss); border-color: var(--border); }
.btn-ghost:hover { background: var(--moss); color: var(--cream); }

/* ========== HERO (full-bleed editorial) ========== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
  color: var(--cream);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(60,74,62,0.25) 0%, rgba(60,74,62,0.55) 60%, rgba(60,74,62,0.75) 100%),
    linear-gradient(135deg, #5c6f60 0%, #3c4a3e 50%, #2a3830 100%);
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(192,130,100,0.25), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(138,154,139,0.3), transparent 55%);
}
.hero-bg-placeholder {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  font-family: var(--serif); font-style: italic;
  color: rgba(247,243,236,0.55); font-size: 0.85rem;
  z-index: 1;
  background: rgba(0,0,0,0.2); padding: 0.5rem 1rem; border-radius: 4px;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.75rem;
  width: 100%;
}
.hero-content { max-width: 920px; }
.hero h1 {
  color: var(--cream);
  margin-bottom: 2rem;
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  line-height: 1.05;
}
.hero h1 em {
  font-style: italic;
  color: #e8c9b5;
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(247,243,236,0.88);
  margin-bottom: 2.5rem;
  max-width: 620px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .eyebrow { color: #e8c9b5; }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(247,243,236,0.7);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  writing-mode: horizontal-tb;
}
.hero-scroll::after {
  content: ""; display: block;
  width: 1px; height: 40px;
  background: rgba(247,243,236,0.5);
  margin: 0.75rem auto 0;
}

/* Legacy hero-image (used elsewhere) */
.hero-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ========== IMAGE PLACEHOLDERS ========== */
.img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(135deg, var(--sage) 0%, var(--sage-deep) 100%);
  color: var(--cream);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  text-align: center;
  padding: 2rem;
  position: relative;
}
.img-placeholder::before {
  content: "📷";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -140%);
  font-size: 2.5rem;
  opacity: 0.6;
}
.img-placeholder span {
  position: relative;
  padding-top: 3rem;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  max-width: 240px;
}

/* ========== CARDS / LISTS ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  font-size: 1.6rem;
  color: var(--terracotta);
  margin-bottom: 0.75rem;
  display: block;
}

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}
.feature-list li {
  padding: 0.85rem 0 0.85rem 1.75rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  color: var(--ink-soft);
}
.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--terracotta);
}
.feature-list li:last-child { border-bottom: none; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.side-image {
  aspect-ratio: 5/6;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ========== MODALITY PILLS ========== */
.modalities {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 1.5rem;
}
.modalities span {
  padding: 0.55rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--moss);
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--moss);
  color: var(--cream);
  padding: 4.5rem 2rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 3rem;
}
.cta-banner h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-banner p  { color: #d4d0c5; max-width: 600px; margin: 0 auto 2rem; }
.cta-banner .btn-primary { background: var(--terracotta); }
.cta-banner .btn-primary:hover { background: var(--cream); color: var(--moss); }

/* ========== FAQ ========== */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  cursor: pointer;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--serif); font-size: 1.25rem; color: var(--moss);
}
.faq-q::after {
  content: "+";
  font-size: 1.8rem; color: var(--terracotta);
  transition: transform .3s var(--ease);
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease), padding .3s var(--ease);
  color: var(--ink-soft);
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-top: 1rem;
}

/* ========== CONTACT FORM ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
}
.contact-info h3 { margin-top: 1.5rem; }
.contact-info p { font-size: 1rem; }
.contact-info .detail {
  display: flex; gap: 1rem; margin: 1rem 0;
  padding: 1rem; background: var(--cream-deep); border-radius: var(--radius);
}
.contact-info .detail strong { color: var(--moss); display: block; margin-bottom: 0.25rem; }

.form { background: var(--white); padding: 2.5rem; border-radius: 6px; border: 1px solid var(--border); }
.form h3 { color: var(--moss); margin-bottom: 0.5rem; }
.form .note { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.75rem; }
.field { margin-bottom: 1.25rem; }
.field label {
  display: block; font-size: 0.85rem; font-weight: 500;
  color: var(--moss); margin-bottom: 0.4rem; letter-spacing: 0.03em;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 0.8rem 1rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.95rem;
  background: var(--cream); color: var(--ink);
  transition: border-color .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--sage-deep);
}
.field textarea { resize: vertical; min-height: 120px; }

/* ========== CONSULTATION BANNER (floating on home) ========== */
.consult-banner {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-deep) 100%);
  color: var(--cream);
  padding: 3rem 2.5rem;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow);
}
.consult-banner h3 { color: var(--cream); font-size: 1.8rem; margin-bottom: 0.5rem; }
.consult-banner p { color: rgba(247,243,236,0.9); margin: 0; }
.consult-banner .btn {
  background: var(--cream); color: var(--moss);
  justify-self: end; white-space: nowrap;
}
.consult-banner .btn:hover { background: var(--moss); color: var(--cream); }

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .3s var(--ease);
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card .thumb { aspect-ratio: 16/10; }
.blog-card .body { padding: 1.5rem; }
.blog-card h3 { font-size: 1.2rem; }
.blog-card .meta {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--terracotta); margin-bottom: 0.5rem;
}

/* ========== SPECIALTIES GRID ========== */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.specialty {
  padding: 2.25rem 2rem;
  background: var(--white);
  border-radius: 6px;
  border-left: 3px solid var(--terracotta);
  transition: all .3s var(--ease);
}
.specialty:hover { box-shadow: var(--shadow); border-left-color: var(--moss); }
.specialty h3 { color: var(--moss); }

/* ========== CREDENTIALS STRIP ========== */
.credentials {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}
.credentials-label {
  text-align: center;
  font-size: 0.78rem; letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}
.credentials-logos {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 3rem;
  max-width: 980px; margin: 0 auto;
}
.credential {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--moss);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity .3s var(--ease);
  text-align: center;
  line-height: 1.3;
}
.credential:hover { opacity: 1; }
.credential small {
  display: block; font-size: 1rem;
  letter-spacing: 0.08em; margin-top: 0.25rem;
  color: var(--moss);
  text-transform: uppercase;
  font-family: var(--serif);
}

/* ========== FULL-BLEED IMAGE DIVIDER ========== */
.image-divider {
  height: 55vh; min-height: 380px; max-height: 560px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #8a9a8b 0%, #5c6f60 100%);
  display: flex; align-items: center; justify-content: center;
}
.image-divider .img-placeholder {
  background: linear-gradient(135deg, rgba(60,74,62,0.7), rgba(60,74,62,0.9)),
              linear-gradient(135deg, #8a9a8b 0%, #5c6f60 100%);
}
.image-divider-quote {
  position: relative; z-index: 2;
  max-width: 780px; padding: 0 2rem;
  text-align: center;
  color: var(--cream);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.4;
  letter-spacing: -0.005em;
}
.image-divider-quote::before,
.image-divider-quote::after {
  content: "";
  display: block;
  width: 40px; height: 1px;
  background: var(--cream);
  margin: 1.5rem auto;
  opacity: 0.6;
}

/* ========== PULL QUOTE ========== */
.pull-quote {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--moss);
  padding: 2rem 0;
}
.pull-quote::before {
  content: "❝";
  display: block;
  font-size: 3rem;
  color: var(--terracotta);
  line-height: 0.3;
  margin-bottom: 1.5rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: var(--cream-deep);
  padding: 6rem 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.testimonial {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 4px;
  position: relative;
  border: 1px solid var(--border);
}
.testimonial::before {
  content: "“";
  position: absolute;
  top: 0.5rem; left: 1.5rem;
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--terracotta);
  line-height: 1;
  opacity: 0.3;
}
.testimonial p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.testimonial .attrib {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  font-weight: 600;
  font-family: var(--sans);
  font-style: normal;
}

/* ========== STEPS (numbered process) ========== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  counter-reset: step;
}
.step {
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--terracotta);
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
  font-style: italic;
}
.step h3 { margin-bottom: 0.5rem; }

/* ========== INTRO/LEAD TEXT ========== */
.lead {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.5;
  color: var(--moss);
  font-weight: 400;
  max-width: 820px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--moss);
  color: #c9c4b8;
  padding: 4rem 0 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer h4 {
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer p, .footer a { color: #c9c4b8; font-size: 0.92rem; line-height: 1.9; }
.footer a:hover { color: var(--cream); }
.footer ul { list-style: none; }
.footer .brand { color: var(--cream); font-size: 1.5rem; margin-bottom: 1rem; display: block; }
.footer-tag { font-style: italic; max-width: 320px; }
.footer-seo {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  font-size: 0.82rem;
  color: #a09b8e;
  text-align: center;
  line-height: 1.8;
}

/* ========== PAGE HEADER (editorial) ========== */
.page-header {
  padding: 7rem 0 5rem;
  background: var(--cream-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(192,130,100,0.1), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(138,154,139,0.15), transparent 55%);
}
.page-header > * { position: relative; }
.page-header h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 400;
}
.page-header .eyebrow { margin-bottom: 1rem; }
.page-header p { max-width: 640px; margin: 1.5rem auto 0; font-size: 1.15rem; color: var(--ink-soft); }

/* ========== BRAND LOGO IMAGE ========== */
.nav-inner { min-height: 88px; }
.brand-logo,
.brand .custom-logo {
  height: 76px;          /* fixed — uploaded logo never changes the navbar size */
  width: auto;
  display: block;
  object-fit: contain;
  max-width: 320px;
}
.brand .custom-logo-link { display: block; line-height: 0; }
@media (max-width: 600px) {
  .brand-logo,
  .brand .custom-logo { height: 56px; }
}
.footer-logo {
  height: 130px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 0.5rem;
  margin-left: -1rem;        /* slight visual offset to nudge logo edge in */
  mix-blend-mode: screen;    /* makes the black background of the PNG disappear on the dark footer */
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.reveal-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ========== STEPS — centered variant (no numbers) ========== */
.steps-centered .step { text-align: center; }
.steps-centered .step::before { content: none; }
.steps-centered .step .step-num { display: none; }
.steps-centered .step h3 { color: var(--moss); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-grid, .two-col, .contact-grid, .consult-banner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .consult-banner .btn { justify-self: start; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); flex-direction: column;
    padding: 1.5rem; border-bottom: 1px solid var(--border);
    gap: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links { flex: none; }
  .nav-links > li:last-child { margin-left: 0; }
  .nav-toggle { display: block; }
  .section { padding: 4rem 0; }
  /* Dropdowns expand inline on mobile */
  .has-dropdown > a::after,
  .menu-item-has-children > a::after { display: none; }
  .dropdown, .sub-menu {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: none;
    background: transparent; padding: 0.25rem 0 0.25rem 1rem;
    min-width: 0;
  }
  .dropdown a, .sub-menu a { padding: 0.4rem 0; font-size: 0.85rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0; }
  .form { padding: 1.75rem; }
}
