/*
Theme Name: Dr. Yunus Kurikkal
Theme URI: https://dryunuskurikkal.com
Author: Pegasus Branding Solutions
Author URI: https://pegasusbranding.com
Description: An editable custom one-page WordPress theme for Dr. Yunus Kurikkal. Includes a built-in admin editor for text and photos without Elementor.
Version: 2.0.0
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dr-yunus-kurikkal
Tags: custom-theme, one-page, portfolio, coaching, mentoring
*/

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;700;900&display=swap');

/* ============================================
   BRAND COLOUR PALETTE — DR. YUNUS KURIKKAL
   ============================================ */
:root {
  --primary-dark:      #2B1F1A;
  --primary-accent:    #6B4F3A;
  --secondary-accent:  #A38B75;
  --background:        #F5EFE7;
  --section-bg:        #EDE3D9;
  --card-bg:           #FAF7F2;
  --gold:              #C2A878;
  --gold-light:        #D4BC94;
  --gold-dark:         #A08050;
  --white:             #FFFFFF;
  --text-body:         #4A3728;
  --text-muted:        #8A7060;
  --nav-h:             80px;
}

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

/* Typography safeguard: keep every text element non-italic, including custom saved content. */
em, i { font-style: normal !important; }
.accent-text { color: var(--gold-dark); font-style: normal !important; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--background);
  color: var(--text-body);
  overflow-x: hidden;
  font-weight: 400;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(245,239,231,0.97);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  border-bottom: 1px solid rgba(194,168,120,0.2);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(43,31,26,0.08); }

.nav-logo h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: -0.3px;
  line-height: 1.1;
}
.nav-logo p {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 300;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-body);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s;
  position: relative;
  padding-bottom: 3px;
  font-weight: 500;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--primary-dark) !important;
  color: var(--background) !important;
  padding: 11px 22px !important;
  font-size: 10px !important;
  letter-spacing: 2.5px !important;
  transition: background 0.25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--primary-accent) !important; }

/* ============================================
   SECTIONS — SHARED
   ============================================ */
section { padding: 100px 80px; }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-eyebrow span {
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.08;
  margin-bottom: 20px;
}
.section-title em, .section-title .accent-text {
  color: var(--gold-dark);
  font-style: normal;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeZoomIn {
  from { opacity: 0; transform: scale(1.07); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-zoom-in { animation: fadeZoomIn 1.1s cubic-bezier(0.22,1,0.36,1) both; }
.fade-up      { animation: fadeUp 0.85s ease both; }
.fade-in      { animation: fadeIn 0.6s ease both; }

.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; }
.d4 { animation-delay: 0.55s; }
.d5 { animation-delay: 0.7s; }
.d6 { animation-delay: 0.85s; }

/* ============================================
   1. HERO SECTION
   ============================================ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  margin-top: var(--nav-h);
  background: var(--background);
  overflow: hidden;
}

.hero-left {
  padding: 80px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-leaf-bg {
  position: absolute;
  left: -30px; top: 20px;
  width: 220px;
  opacity: 0.12;
  pointer-events: none;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px; height: 1.5px;
  background: var(--gold);
}
.hero-eyebrow span {
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 58px;
  line-height: 1.06;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 24px;
}
.hero-headline .gold { color: var(--gold-dark); }

.hero-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.hero-divider::before,
.hero-divider::after {
  content: '';
  flex: 0 0 44px;
  height: 1px;
  background: var(--gold);
}
.hero-divider-diamond {
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-sub {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  font-style: normal;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  max-width: 460px;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 60px;
}

.btn-dark {
  background: var(--primary-dark);
  color: var(--background);
  padding: 15px 30px;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 2px solid var(--primary-dark);
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-dark:hover { background: var(--primary-accent); border-color: var(--primary-accent); }

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  padding: 15px 30px;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1.5px solid var(--primary-dark);
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { background: var(--primary-dark); color: var(--background); }

.btn-gold {
  background: var(--gold);
  color: var(--primary-dark);
  padding: 15px 30px;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: white; }

.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid rgba(163,139,117,0.3);
}
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.stat-icon-wrap {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0.7;
}
.stat-icon-wrap svg { width: 28px; height: 28px; stroke: var(--primary-accent); fill: none; stroke-width: 1.5; }

.stat-info p:first-child {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.3;
}
.stat-info p:last-child {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 300;
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #D9C4A8 0%, #C4A882 50%, #A88860 100%);
  min-height: calc(100vh - var(--nav-h));
}

.hero-right-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-right-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 40px;
  background: linear-gradient(160deg, #C8A882 0%, #9A7452 60%, #6A4422 100%);
}

.hero-img-label {
  background: rgba(245,239,231,0.15);
  border: 1px solid rgba(245,239,231,0.3);
  color: rgba(245,239,231,0.8);
  padding: 8px 20px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-decor-right {
  position: absolute;
  right: 20px; bottom: 60px;
  width: 130px;
  opacity: 0.2;
}

/* ============================================
   2. ABOUT SECTION
   ============================================ */
#about {
  background: var(--background);
  padding: 0;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}

.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  padding: 80px 40px 80px 80px;
}

.about-photo {
  border-radius: 12px;
  overflow: hidden;
}
.about-photo:first-child { grid-row: span 2; }

.photo-placeholder {
  width: 100%; height: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
}
.pp-1 { background: linear-gradient(160deg, #7A5C3E, #3D2510); min-height: 340px; }
.pp-2 { background: linear-gradient(160deg, #9A7452, #5D3820); }
.pp-3 { background: linear-gradient(160deg, #6B4A30, #3A2010); }

.about-content {
  padding: 80px 80px 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.about-body strong { color: var(--primary-accent); font-weight: 600; }

.about-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}
.check-item {}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 5px;
}
.check-icon {
  width: 20px; height: 20px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-icon::after { content: '✓'; font-size: 10px; color: white; font-weight: 600; }
.check-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.3;
}
.check-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 30px;
}

.about-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0 28px;
}
.tag {
  border: 1px solid rgba(163,139,117,0.4);
  padding: 6px 16px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.2s;
}
.tag:hover { border-color: var(--gold); color: var(--gold-dark); }

/* About Quote Strip */
.about-quote-strip {
  background: var(--section-bg);
  padding: 70px 80px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1fr;
  gap: 60px;
  align-items: center;
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px;
  line-height: 0.6;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.quote-text-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.75;
  color: var(--primary-dark);
  font-style: normal;
}

.quote-attribution { text-align: center; }
.sig-circle {
  width: 68px; height: 68px;
  background: var(--gold);
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
}
.sig-circle span { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: white; font-weight: 700; }
.sig-name { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 600; color: var(--primary-dark); }
.sig-role { font-size: 11px; color: var(--text-muted); margin-top: 4px; letter-spacing: 1px; }

.quote-photo { border-radius: 12px; overflow: hidden; }
.qp-placeholder {
  background: linear-gradient(160deg, #5A3C24, #2D1A0C);
  height: 260px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
}

/* ============================================
   3. EXPERTISE / CORE EXPERTISE SECTION
   ============================================ */
#expertise {
  background: var(--section-bg);
  padding: 80px;
}

.expertise-header {
  text-align: center;
  margin-bottom: 48px;
}
.expertise-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 14px;
}
.expertise-ornament::before,
.expertise-ornament::after {
  content: '';
  flex: 0 0 90px;
  height: 1px;
  background: var(--gold);
}
.expertise-ornament-icon {
  color: var(--gold);
  font-size: 16px;
}
.expertise-title-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 7px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary-dark);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.expertise-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.expertise-card:hover { transform: translateY(-4px); }

.card-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.expertise-card:hover .card-bg-img { transform: scale(1.06); }

.card-bg-color {
  position: absolute; inset: 0;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.expertise-card:hover .card-bg-color { transform: scale(1.06); }

.cbg1 { background: linear-gradient(160deg, #8B7050 0%, #4A2C12 100%); }
.cbg2 { background: linear-gradient(160deg, #2A1A08 0%, #1A0E04 100%); }
.cbg3 { background: linear-gradient(160deg, #6B5030 0%, #3A2010 100%); }
.cbg4 { background: linear-gradient(160deg, #3C2810 0%, #1A1008 100%); }
.cbg5 { background: linear-gradient(160deg, #5A4020 0%, #2E1A08 100%); }
.cbg6 { background: linear-gradient(160deg, #7A5040 0%, #3A2018 100%); }

.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.12) 55%, transparent 100%);
  z-index: 1;
  transition: opacity 0.3s;
}

.card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px;
  z-index: 2;
  transition: opacity 0.3s, transform 0.3s;
}
.expertise-card:hover .card-label { opacity: 0; transform: translateY(8px); }

.card-num {
  font-size: 12px;
  color: var(--gold-light);
  letter-spacing: 2px;
  font-weight: 300;
  margin-bottom: 5px;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: #F5E8D0;
  font-weight: 600;
  line-height: 1.2;
}

/* HOVER POPUP */
.card-popup {
  position: absolute; inset: 0;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 14px;
  background: rgba(43,31,26,0.4);
  backdrop-filter: blur(2px);
}
.expertise-card:hover .card-popup {
  opacity: 1;
  pointer-events: auto;
}
.popup-inner {
  background: rgba(250,247,242,0.97);
  border-radius: 12px;
  padding: 22px;
  width: 100%;
  transform: scale(0.93) translateY(6px);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.expertise-card:hover .popup-inner { transform: scale(1) translateY(0); }

.popup-eyebrow {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
  font-weight: 500;
}
.popup-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.15;
  margin-bottom: 8px;
}
.popup-line {
  width: 36px; height: 1.5px;
  background: var(--gold);
  margin-bottom: 10px;
}
.popup-desc {
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.popup-helps-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 7px;
  font-weight: 600;
}
.popup-check {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--text-body);
  margin-bottom: 5px;
  line-height: 1.3;
}
.popup-check-icon {
  width: 15px; height: 15px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 8px; color: white; font-weight: 700;
}
.popup-btns {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.popup-btn-primary {
  background: var(--primary-dark);
  color: var(--background);
  padding: 8px 14px;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  display: flex; align-items: center; gap: 5px;
  transition: background 0.2s;
}
.popup-btn-primary:hover { background: var(--primary-accent); }
.popup-btn-outline {
  background: transparent;
  color: var(--primary-dark);
  padding: 8px 14px;
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--primary-dark);
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  display: flex; align-items: center; gap: 5px;
  transition: all 0.2s;
}
.popup-btn-outline:hover { background: var(--primary-dark); color: var(--background); }

/* ============================================
   4. METHODOLOGY — HOW I DO IT
   ============================================ */
#methodology {
  background: var(--background);
  padding: 100px 80px;
}

.method-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 70px;
}

.method-eyebrow { margin-bottom: 20px; }
.method-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.05;
  margin-bottom: 24px;
}
.method-title em, .method-title .accent-text { color: var(--gold-dark); font-style: normal; }
.method-sub {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 460px;
}

.method-cubes {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}
.cube-col { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.cube {
  background: var(--card-bg);
  border: 1px solid rgba(194,168,120,0.25);
  border-radius: 10px;
  width: 100px; height: 100px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  font-size: 9px; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  transition: border-color 0.2s, transform 0.2s;
}
.cube:hover { border-color: var(--gold); transform: translateY(-3px); }
.cube-icon { font-size: 22px; margin-bottom: 2px; }

.cube-single {
  width: 120px;
  background: var(--section-bg);
  border-color: rgba(194,168,120,0.4);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(163,139,117,0.25);
}
.method-step {
  padding: 32px 22px;
  border-right: 1px solid rgba(163,139,117,0.25);
  position: relative;
  transition: background 0.25s;
  cursor: pointer;
}
.method-step:last-child { border-right: none; }
.method-step:hover, .method-step.active { background: var(--card-bg); }
.method-step.active::after, .method-step:hover::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
}
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  color: var(--gold);
  line-height: 1; margin-bottom: 10px;
  font-style: normal; font-weight: 400;
}
.step-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; margin-bottom: 14px; }
.step-dashed { width: 60%; height: 1px; border-top: 1px dashed rgba(194,168,120,0.4); margin-bottom: 14px; }
.step-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.step-svg-icon { opacity: 0.3; }

/* ============================================
   5. SERVICES OFFERED
   ============================================ */
#services {
  background: var(--card-bg);
  padding: 100px 80px;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.service-card {
  background: var(--background);
  border: 1px solid rgba(163,139,117,0.2);
  border-radius: 14px;
  padding: 36px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(43,31,26,0.1);
  border-color: rgba(194,168,120,0.4);
}
.service-card:hover::before { background: var(--gold); }

.service-card.featured {
  background: var(--section-bg);
  border-color: rgba(194,168,120,0.3);
}

.service-badge {
  display: inline-block;
  background: rgba(194,168,120,0.15);
  border: 1px solid rgba(194,168,120,0.3);
  color: var(--gold-dark);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 24px;
  font-weight: 500;
}

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 54px;
  color: rgba(163,139,117,0.2);
  line-height: 1;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 14px;
  line-height: 1.2;
}

.service-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(163,139,117,0.2);
}

.service-list { list-style: none; }
.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-body);
  padding: 7px 0;
  border-bottom: 1px solid rgba(163,139,117,0.12);
}
.service-list li:last-child { border-bottom: none; }
.service-list li::before {
  content: '';
  width: 18px; height: 18px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23C2A878' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* ============================================
   6. WHO I WORK WITH
   ============================================ */
#who-i-work-with {
  background: var(--background);
  padding: 100px 80px;
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.who-card {
  background: var(--card-bg);
  border: 1px solid rgba(163,139,117,0.15);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.who-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(43,31,26,0.09);
  border-color: rgba(194,168,120,0.35);
}

.who-icon-wrap {
  width: 70px; height: 70px;
  background: rgba(237,227,217,0.8);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.who-icon-wrap svg { width: 32px; height: 32px; stroke: var(--primary-accent); fill: none; stroke-width: 1.5; }

.who-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}
.who-divider { width: 32px; height: 1.5px; background: var(--gold); margin: 12px auto; }
.who-desc { font-size: 13px; line-height: 1.75; color: var(--text-muted); }

/* ============================================
   7. WHAT YOU WILL GAIN
   ============================================ */
#outcomes {
  background: var(--section-bg);
  padding: 100px 80px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.outcome-card {
  background: var(--card-bg);
  border: 1px solid rgba(163,139,117,0.15);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.outcome-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(43,31,26,0.09);
  border-color: rgba(194,168,120,0.35);
}

.outcome-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(237,227,217,0.8);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.outcome-icon-wrap svg { width: 26px; height: 26px; stroke: var(--primary-accent); fill: none; stroke-width: 1.5; }

.outcome-content {}
.outcome-num {
  font-size: 11px;
  color: var(--gold-dark);
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.outcome-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 10px;
}
.outcome-desc { font-size: 12px; line-height: 1.75; color: var(--text-muted); }

/* ============================================
   8. TESTIMONIALS
   ============================================ */
#testimonials {
  background: var(--background);
  padding: 100px 80px;
  overflow: hidden;
}

.testimonials-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 16px;
}

.testimonials-slider-wrap {
  position: relative;
  margin-top: 50px;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid rgba(163,139,117,0.2);
  border-radius: 14px;
  padding: 36px 32px;
  flex: 0 0 calc(33.333% - 16px);
  min-width: calc(33.333% - 16px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 36px;
  width: 0; height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--card-bg);
}

.t-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  line-height: 0.6;
  color: var(--gold);
  margin-bottom: 18px;
}
.t-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-body);
  flex: 1;
  margin-bottom: 28px;
}

.t-divider { width: 100%; height: 1px; background: rgba(163,139,117,0.2); margin-bottom: 20px; }

.t-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.t-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--section-bg);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--primary-accent);
  flex-shrink: 0;
  font-weight: 600;
  overflow: hidden;
}
.t-name { font-size: 14px; font-weight: 600; color: var(--primary-dark); }
.t-role { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}
.slider-arrows { display: flex; gap: 12px; }
.slider-arrow {
  width: 44px; height: 44px;
  border: 1.5px solid rgba(163,139,117,0.4);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
  color: var(--primary-dark);
}
.slider-arrow:hover { background: var(--primary-dark); color: white; border-color: var(--primary-dark); }
.slider-arrow svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }

.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 28px; height: 3px;
  background: rgba(163,139,117,0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s;
}
.slider-dot.active { background: var(--gold); }

/* ============================================
   9. PROGRAM GALLERY
   ============================================ */
#program-gallery {
  background: var(--section-bg);
  padding: 100px 80px;
  overflow: hidden;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
}
.gallery-title { font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 600; color: var(--primary-dark); line-height: 1.1; }
.gallery-sub { font-size: 14px; line-height: 1.7; color: var(--text-muted); max-width: 480px; margin-top: 12px; }
.gallery-nav-arrows { display: flex; gap: 12px; align-items: flex-start; margin-top: 10px; }

.gallery-track-wrap { overflow: hidden; }
.gallery-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.gallery-photo {
  flex: 0 0 calc(25% - 15px);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--primary-dark);
  position: relative;
}
.gallery-photo-inner {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #7A5C3E, #2D1A0C);
  display: flex; align-items: flex-end; padding: 20px;
  transition: transform 0.4s ease;
}
.gallery-photo:hover .gallery-photo-inner { transform: scale(1.03); }
.gallery-label {
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245,239,231,0.5);
}

.gp1 { background: linear-gradient(160deg, #6B5030, #2A1A08); }
.gp2 { background: linear-gradient(150deg, #4A3020, #1A0E04); }
.gp3 { background: linear-gradient(160deg, #7A6040, #3A2010); }
.gp4 { background: linear-gradient(160deg, #5A4020, #241408); }
.gp5 { background: linear-gradient(160deg, #8A6848, #3A2010); }

/* ============================================
   10. CONTACT SECTION
   ============================================ */
#contact {
  background: var(--background);
  padding: 100px 80px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.05;
  margin-bottom: 16px;
}
.contact-heading em, .contact-heading .accent-text { color: var(--gold-dark); font-style: normal; }
.contact-sub { font-size: 14px; line-height: 1.75; color: var(--text-muted); margin-bottom: 40px; }

.contact-photo {
  border-radius: 12px;
  overflow: hidden;
  margin-top: 32px;
}
.cp-placeholder {
  background: linear-gradient(160deg, #8A6848, #3A2010);
  height: 280px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); font-size: 10px;
  letter-spacing: 1.5px; text-transform: uppercase;
}

/* Contact Form */
.contact-form-card {
  background: white;
  border-radius: 16px;
  padding: 48px 44px;
  box-shadow: 0 4px 40px rgba(43,31,26,0.08);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary-dark);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--background);
  border: 1.5px solid rgba(163,139,117,0.25);
  border-radius: 8px;
  padding: 0 16px;
  transition: border-color 0.25s;
}
.form-input-wrap:focus-within { border-color: var(--gold); }
.form-input-icon { color: var(--text-muted); font-size: 15px; flex-shrink: 0; }
.form-input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 14px 0;
  font-size: 14px;
  color: var(--primary-dark);
  font-family: 'Jost', sans-serif;
  outline: none;
}
.form-input::placeholder { color: rgba(138,112,96,0.5); }

.form-textarea-wrap {
  background: var(--background);
  border: 1.5px solid rgba(163,139,117,0.25);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  transition: border-color 0.25s;
}
.form-textarea-wrap:focus-within { border-color: var(--gold); }
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 14px;
  color: var(--primary-dark);
  font-family: 'Jost', sans-serif;
  outline: none;
  resize: none;
  min-height: 120px;
  line-height: 1.6;
}
.form-textarea::placeholder { color: rgba(138,112,96,0.5); }

.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--primary-dark);
  padding: 18px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  border-radius: 8px;
  margin-top: 8px;
  transition: background 0.25s;
}
.form-submit:hover { background: var(--gold-dark); color: white; }

/* ============================================
   11. FOOTER
   ============================================ */
footer {
  background: var(--section-bg);
  padding: 80px 80px 0;
  border-top: 1px solid rgba(163,139,117,0.2);
}


.form-status {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--primary-accent);
  min-height: 22px;
}
.form-status.success { color: #48633f; }
.form-status.error { color: #8b2f25; }
.dy-honeypot { display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.1fr 1fr 0.1fr 1.2fr;
  gap: 0;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(163,139,117,0.2);
}

.footer-divider { border-left: 1px solid rgba(163,139,117,0.2); }

.footer-brand {}
.footer-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.1;
  margin-bottom: 16px;
}
.footer-logo-text em, .footer-logo-text .accent-text { color: var(--gold-dark); font-style: normal; }
.footer-brand-line {
  width: 44px; height: 2px;
  background: var(--gold);
  margin-bottom: 20px;
}
.footer-tagline { font-size: 14px; line-height: 1.7; color: var(--text-muted); max-width: 260px; }

.footer-nav { padding-left: 60px; }
.footer-nav-links { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.footer-nav-links a {
  font-size: 15px;
  color: var(--text-body);
  text-decoration: none;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  transition: color 0.2s;
}
.footer-nav-links a:hover { color: var(--gold-dark); }

.footer-social { padding-left: 60px; }
.footer-social-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.social-icons { display: flex; gap: 12px; margin-bottom: 36px; }
.social-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid rgba(163,139,117,0.2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  color: var(--primary-dark);
}
.social-icon:hover { background: var(--primary-dark); color: white; border-color: var(--primary-dark); }
.social-icon svg { width: 18px; height: 18px; fill: currentColor; }

.footer-newsletter-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.footer-newsletter-sub { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.newsletter-input-wrap { display: flex; gap: 0; }
.newsletter-input {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid rgba(163,139,117,0.25);
  border-right: none;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--primary-dark);
  font-family: 'Jost', sans-serif;
  outline: none;
  border-radius: 6px 0 0 6px;
}
.newsletter-input::placeholder { color: rgba(138,112,96,0.5); }
.newsletter-btn {
  background: var(--gold);
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
  transition: background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.newsletter-btn:hover { background: var(--gold-dark); }
.newsletter-btn svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.footer-copyright { font-size: 12px; color: var(--text-muted); }
.footer-copyright a { color: var(--gold-dark); text-decoration: none; }
.footer-bottom-right { font-size: 12px; color: var(--text-muted); }
.footer-bottom-right a { color: var(--gold-dark); text-decoration: none; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }


/* WordPress logged-in admin bar adjustment */
body.admin-bar nav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar nav { top: 46px; }
}


/* ============================================
   RESPONSIVE LAYOUT PATCH — TABLET & MOBILE
   ============================================ */
@media screen and (max-width: 1200px) {
  nav { padding: 0 36px; }
  .nav-links { gap: 22px; }
  section,
  #expertise,
  #methodology,
  #services,
  #who-i-work-with,
  #outcomes,
  #testimonials,
  #program-gallery,
  #contact,
  footer { padding-left: 48px; padding-right: 48px; }
  .hero-left { padding-left: 48px; padding-right: 42px; }
  .hero-headline { font-size: 58px; }
  .section-title,
  .gallery-title { font-size: 42px; }
  .method-title { font-size: 48px; }
  .contact-heading { font-size: 46px; }
}

@media screen and (max-width: 980px) {
  :root { --nav-h: 118px; }

  nav {
    height: auto;
    min-height: var(--nav-h);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 32px 14px;
  }

  .nav-logo h1 { font-size: 22px; }
  .nav-logo p { font-size: 10px; letter-spacing: 1.6px; }

  .nav-links {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .nav-links a { flex: 0 0 auto; }

  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 76px 48px 56px;
    min-height: auto;
  }

  .hero-right { min-height: 520px; }
  .hero-headline { font-size: 52px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-grid,
  .method-top,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-photos,
  .about-content { padding: 64px 48px; }
  .about-content { padding-top: 0; }

  .about-quote-strip {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 56px 48px;
  }

  .quote-attribution { text-align: left; display: flex; align-items: center; gap: 18px; }
  .sig-circle { margin: 0; flex-shrink: 0; }

  .expertise-grid,
  .services-cards,
  .who-grid,
  .outcomes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .method-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-step { border-right: 1px solid rgba(163,139,117,0.25); border-bottom: 1px solid rgba(163,139,117,0.25); }
  .method-step:nth-child(2n) { border-right: none; }
  .method-step:last-child { grid-column: 1 / -1; border-right: none; }

  .testimonial-card {
    flex-basis: calc(50% - 12px);
    min-width: calc(50% - 12px);
  }

  .gallery-header {
    flex-direction: column;
    gap: 24px;
  }

  .gallery-photo { flex-basis: calc(50% - 10px); }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-divider { display: none; }
  .footer-nav { padding-left: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media screen and (max-width: 680px) {
  :root { --nav-h: 132px; }

  nav { padding: 14px 20px 12px; }

  section,
  #expertise,
  #methodology,
  #services,
  #who-i-work-with,
  #outcomes,
  #testimonials,
  #program-gallery,
  #contact,
  footer { padding: 68px 22px; }

  footer { padding-bottom: 0; }

  .section-title,
  .gallery-title { font-size: 34px; }
  .method-title,
  .contact-heading { font-size: 38px; }

  .section-eyebrow span,
  .hero-eyebrow span { letter-spacing: 2px; }

  .hero-left { padding: 56px 22px 44px; }
  .hero-right { min-height: 380px; }
  .hero-headline { font-size: 40px; line-height: 1.06; }
  .hero-sub { font-size: 15px; }
  .hero-sub br { display: none; }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-dark,
  .btn-outline { width: 100%; text-align: center; justify-content: center; }

  .hero-stats,
  .about-checks,
  .expertise-grid,
  .services-cards,
  .who-grid,
  .outcomes-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-grid { min-height: auto; }
  .about-photos {
    padding: 48px 22px 0;
    gap: 10px;
  }
  .about-content { padding: 44px 22px 56px; }
  .about-quote-strip { padding: 48px 22px; }

  .quote-text-body { font-size: 17px; }
  .quote-attribution { align-items: flex-start; }

  .expertise-ornament::before,
  .expertise-ornament::after { flex-basis: 42px; }
  .expertise-title-text { letter-spacing: 4px; }

  .expertise-card {
    aspect-ratio: auto;
    min-height: 420px;
  }

  .expertise-card:hover .card-label,
  .expertise-card .card-label {
    opacity: 1;
    transform: none;
  }

  .card-popup {
    opacity: 0;
    pointer-events: none;
    align-items: flex-end;
    background: linear-gradient(to top, rgba(43,31,26,0.75), rgba(43,31,26,0.05));
    backdrop-filter: none;
  }

  .expertise-card.is-active .card-popup,
  .expertise-card:focus-within .card-popup {
    opacity: 1;
    pointer-events: auto;
  }

  .expertise-card.is-active .card-label,
  .expertise-card:focus-within .card-label {
    opacity: 0;
    transform: translateY(8px);
  }

  .popup-inner {
    transform: translateY(10px);
    background: rgba(250,247,242,0.94);
    transition: transform 0.3s ease;
  }

  .expertise-card.is-active .popup-inner,
  .expertise-card:focus-within .popup-inner {
    transform: none;
  }

  .popup-btns { flex-direction: column; }
  .popup-btn-primary,
  .popup-btn-outline { justify-content: center; }

  .method-cubes { flex-wrap: wrap; align-items: center; }
  .cube { width: 86px; height: 86px; }
  .cube-single { width: 98px; }

  .method-steps { grid-template-columns: 1fr; }
  .method-step,
  .method-step:nth-child(2n),
  .method-step:last-child {
    grid-column: auto;
    border-right: none;
    border-bottom: 1px solid rgba(163,139,117,0.25);
  }
  .method-step:last-child { border-bottom: none; }

  .outcome-card { flex-direction: column; }

  .testimonial-card {
    flex-basis: 100%;
    min-width: 100%;
    padding: 30px 24px;
  }

  .slider-controls {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 20px;
  }

  .gallery-photo { flex-basis: 100%; }

  .contact-form-card { padding: 32px 22px; }

  .footer-grid { padding-bottom: 42px; }
}

@media screen and (max-width: 420px) {
  .nav-logo h1 { font-size: 20px; }
  .nav-logo p { max-width: 260px; line-height: 1.4; }
  .nav-links a { font-size: 10px; letter-spacing: 1.4px; }
  .nav-cta { padding: 10px 16px !important; }

  .hero-headline { font-size: 34px; }
  .section-title,
  .gallery-title { font-size: 30px; }
  .method-title,
  .contact-heading { font-size: 34px; }

  .about-photos {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .about-photo:first-child { grid-row: auto; }

  .hero-stat { align-items: flex-start; }
  .contact-form-card { border-radius: 12px; }
}

/* ===== v1.3 Functional refinements ===== */
.hero-right {
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.hero-right-placeholder {
  position: relative;
  width: 100%;
  min-height: 100%;
  background: linear-gradient(160deg,#C8A882 0%,#9A7452 50%,#6A4422 100%);
  overflow: hidden;
}
.hero-right-img,
.hero-right-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-right-img {
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-right-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 40px;
}
.hero-decor-right {
  position: absolute;
  right: 20px;
  bottom: 60px;
  width: 130px;
  opacity: 0.2;
  pointer-events: none;
  z-index: 2;
}
.hero-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(163,139,117,0.22);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.34);
}
.hero-stat {
  min-height: 92px;
  padding: 18px 16px;
  border-right: 1px solid rgba(163,139,117,0.18);
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-stat:last-child { border-right: none; }
.hero-stat .stat-icon-wrap { display: none; }
.stat-info {
  gap: 4px;
}
.stat-info p:first-child {
  font-size: 18px;
  font-weight: 600;
  color: #2B1F1A;
}
.stat-info p:last-child {
  font-size: 13px;
  line-height: 1.45;
}
.about-checks-box {
  padding: 24px;
  border: 1px solid rgba(163,139,117,0.22);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0.22));
  box-shadow: 0 18px 48px rgba(43,31,26,0.07);
}
.about-checks-box .about-checks { margin: 0; }
.about-checks-box .check-item {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(163,139,117,0.12);
  border-radius: 18px;
  padding: 22px 20px;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background .28s ease;
}
.about-checks-box .check-item:hover {
  transform: translateY(-4px);
  border-color: rgba(163,139,117,0.34);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 12px 34px rgba(43,31,26,0.08);
}
.quote-attribution {
  align-items: center;
}
.sig-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sig-image-wrap {
  width: 132px;
  min-width: 132px;
  height: 64px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(163,139,117,0.22);
  background: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sig-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.expertise-card {
  overflow: hidden;
}
.card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-bg-color {
  opacity: 0.45;
}
.method-diagram-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 12px;
}
.method-diagram-image {
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  display: block;
}
.method-diagram-placeholder {
  width: 100%;
  max-width: 420px;
  min-height: 220px;
  border: 1px dashed rgba(163,139,117,0.38);
  border-radius: 26px;
  background: rgba(255,255,255,0.35);
  color: #7A6555;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
}
.step-custom-icon,
.custom-upload-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}
.custom-upload-icon {
  width: 26px;
  height: 26px;
}
.who-icon-wrap,
.outcome-icon-wrap,
.step-svg-icon {
  overflow: hidden;
}
.who-icon-wrap img,
.outcome-icon-wrap img,
.step-svg-icon img {
  filter: none;
}
@media screen and (max-width: 1100px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stat:nth-child(2n) { border-right: none; }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(163,139,117,0.18); }
}
@media screen and (max-width: 680px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { min-height: 84px; padding: 16px 14px; }
  .stat-info p:first-child { font-size: 16px; }
  .stat-info p:last-child { font-size: 12px; }
  .about-checks-box { padding: 18px; border-radius: 18px; }
  .sig-image-wrap { width: 112px; min-width: 112px; height: 56px; }
  .method-diagram-wrap { min-height: 180px; }
}
@media screen and (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat,
  .hero-stat:nth-child(2n) {
    border-right: none;
    border-bottom: 1px solid rgba(163,139,117,0.18);
  }
  .hero-stat:last-child { border-bottom: none; }
  .quote-attribution { gap: 14px; }
}


/* ===== v1.4 + v1.5 add-on fixes: typography, form, compact hero stats, mobile image order ===== */
html, body, button, input, select, textarea,
.nav-logo h1, .nav-logo p, .nav-links a, .nav-cta,
.hero-headline, .hero-sub, .section-title, .gallery-title,
.method-title, .contact-heading,
.card-title, .popup-title,
.service-title, .service-desc,
.who-card h3, .who-card p,
.outcome-card h3, .outcome-card p,
.testimonial-name, .testimonial-role, .testimonial-text,
.footer-logo-text, .footer-tagline, .footer-nav-links a,
.footer-social-label, .footer-newsletter-label, .footer-newsletter-sub,
.footer-copyright, .footer-bottom-right,
.quote-text-body, .sig-name, .sig-role,
.form-label, .form-input, .form-textarea, .form-submit {
  font-family: 'Lato', Arial, Helvetica, sans-serif !important;
  font-style: normal;
}
.hero-headline, .section-title, .method-title, .contact-heading,
.footer-logo-text, .popup-title, .service-title, .who-card h3,
.outcome-card h3, .testimonial-name, .sig-name { letter-spacing: 0; }
.form-input-wrap.no-icon, .form-textarea-wrap.no-icon { gap: 0; padding-left: 16px; }
.form-input-wrap.no-icon .form-input, .form-textarea-wrap.no-icon .form-textarea { padding-left: 0; }
.phone-field-wrap { display: grid; grid-template-columns: 145px 1fr; gap: 12px; }
.country-code-select {
  width: 100%; background: var(--background); border: 1.5px solid rgba(163,139,117,0.25);
  border-radius: 8px; padding: 0 14px; min-height: 50px; font-size: 14px;
  color: var(--primary-dark); font-family: 'Lato', Arial, sans-serif; outline: none;
}
.country-code-select:focus { border-color: var(--gold); }
.phone-input-wrap { min-height: 50px; }
.social-icon img { width: 20px; height: 20px; object-fit: contain; display: block; }
.social-icon svg { width: 20px; height: 20px; }
body.home footer ~ * { display: none !important; }

.hero-stats {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  width: min(100%, 780px);
  min-height: auto !important;
  margin-top: 42px;
  border-radius: 18px !important;
}
.hero-stat {
  min-height: 70px !important;
  padding: 12px 14px !important;
  margin: 0 !important;
  border-right: 1px solid rgba(163,139,117,0.18) !important;
  border-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.hero-stat:last-child { border-right: 0 !important; }
.hero-stat .stat-info p:first-child {
  font-size: 16px !important; line-height: 1.2 !important; margin-bottom: 3px !important; white-space: normal;
}
.hero-stat .stat-info p:last-child { font-size: 11px !important; line-height: 1.25 !important; margin: 0 !important; }

@media screen and (max-width: 1200px) {
  #hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .method-top { grid-template-columns: 1.1fr 0.9fr; gap: 36px; }
}
@media screen and (max-width: 1100px) {
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .hero-stat:nth-child(2n), .hero-stat:nth-child(-n+2) {
    border-bottom: 0 !important; border-right: 1px solid rgba(163,139,117,0.18) !important;
  }
  .hero-stat:last-child { border-right: 0 !important; }
}
@media screen and (max-width: 900px) {
  #hero { display: flex !important; flex-direction: column !important; }
  #hero .hero-right { order: 1 !important; min-height: 480px !important; }
  #hero .hero-left { order: 2 !important; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; width: 100%; }
  .hero-stat:nth-child(2n) { border-right: 0 !important; }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(163,139,117,0.18) !important; }
  .about-grid, .method-top, .contact-wrap, .program-gallery-grid { grid-template-columns: 1fr !important; }
  .services-cards, .who-grid, .outcomes-grid, .expertise-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media screen and (max-width: 767px) {
  .hero-headline, .method-title, .contact-heading { font-size: 34px !important; line-height: 1.15; }
  .section-title, .gallery-title { font-size: 30px !important; line-height: 1.2; }
  .services-cards, .who-grid, .outcomes-grid, .expertise-grid, .footer-grid, .form-row { grid-template-columns: 1fr !important; }
  .method-steps { grid-template-columns: 1fr !important; }
  .footer-social, .footer-nav, .footer-brand { padding-left: 0; }
  .phone-field-wrap { grid-template-columns: 1fr; gap: 10px; }
}
@media screen and (max-width: 680px) {
  #hero .hero-right { min-height: 430px !important; }
  .about-photos { grid-template-columns: 1fr !important; grid-template-rows: auto !important; }
  .about-photo:first-child { grid-row: auto !important; min-height: 440px; }
  .about-photo:nth-child(2), .about-photo:nth-child(3) { display: none !important; }
  .about-quote-strip { display: flex !important; flex-direction: column !important; }
  .about-quote-strip .quote-photo { order: 1 !important; }
  .about-quote-strip .quote-text { order: 2 !important; }
  .about-quote-strip .quote-attribution { order: 3 !important; }
  .about-quote-strip .quote-photo img { height: 360px !important; object-fit: cover !important; }
}
@media screen and (max-width: 560px) {
  nav { padding-left: 16px; padding-right: 16px; }
  .nav-logo h1 { font-size: 18px; }
  .nav-logo p { font-size: 9px; letter-spacing: 1.2px; }
  .nav-links a { font-size: 10px; }
  .hero-left, .about-content, .about-photos, .about-quote-strip, .contact-form-card { padding-left: 18px !important; padding-right: 18px !important; }
  .contact-photo img { height: 260px !important; }
  .footer-bottom { padding-bottom: 20px; }
}
@media screen and (max-width: 520px) {
  #hero .hero-right { min-height: 390px !important; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; border-radius: 14px !important; }
  .hero-stat { min-height: 66px !important; padding: 10px 8px !important; text-align: center !important; }
  .hero-stat .stat-info p:first-child { font-size: 14px !important; }
  .hero-stat .stat-info p:last-child { font-size: 10px !important; }
  .about-photo:first-child { min-height: 360px; }
  .about-quote-strip .quote-photo img { height: 320px !important; }
}


/* ===== v1.7 Mobile hero image visibility fix ===== */
.hero-right-img {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 1 !important;
}
.hero-right-fallback { z-index: 0 !important; }
.hero-right-placeholder { display: block !important; padding-bottom: 0 !important; }

@media screen and (max-width: 900px) {
  #hero {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
  }
  #hero .hero-right {
    order: 1 !important;
    width: 100% !important;
    height: 460px !important;
    min-height: 460px !important;
    max-height: 520px !important;
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    background: #A88860 !important;
  }
  #hero .hero-right-placeholder {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    display: block !important;
    overflow: hidden !important;
  }
  #hero .hero-right-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center top !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1 !important;
  }
  #hero .hero-left {
    order: 2 !important;
  }
  #hero .hero-decor-right {
    z-index: 2 !important;
  }
}

@media screen and (max-width: 680px) {
  #hero .hero-right {
    height: 430px !important;
    min-height: 430px !important;
  }
}

@media screen and (max-width: 520px) {
  #hero .hero-right {
    height: 390px !important;
    min-height: 390px !important;
  }
  #hero .hero-right-img {
    object-position: center top !important;
  }
}

/* v1.9: Methodology / From Awareness to Mastery section removed from front page. */


/* v2.0 - Remove Core Expertise popup button icons */
.popup-btn-primary,
.popup-btn-outline {
  gap: 0;
}
