/*
Theme Name: Utah Wellness Retreats
Theme URI: https://joshua.dillomis.com
Author: Joshua Mark Sendico
Author URI: https://joshua.dillomis.com
Description: Custom WordPress theme for Utah Wellness Retreats, fully dynamic with Advanced Custom Fields.
Version: 1.0.1
Text Domain: utah-wellness
*/

:root {
  /* Red rocks palette: sandstone, canyon, sunset, warm stone */
  --ink: #2a130a;
  --ink-soft: #4a2418;
  --deep: #6b2a1a;
  --canyon: #8b3a1f;
  --rust: #b4542a;
  --sunset: #d67845;
  --ember: #e89968;
  --sand: #e8c89a;
  --bone: #ead9bc;
  --cream: #f5e9d3;
  --paper: #faf1df;
  --shadow: #3d1c0e;
  --gold: #c48a3d;
  --whisper: rgba(245, 233, 211, 0.9);
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

.serif { 
  font-family: 'Fraunces', serif; 
}

.italic { 
  font-family: 'Cormorant Garamond', serif; 
  font-style: italic; 
  font-weight: 300; 
}

/* ============ TOPBAR ============ */
.topbar {
  background: var(--shadow);
  color: var(--sand);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 20px;
  font-weight: 300;
}

.topbar span { 
  opacity: 0.75; 
}

/* ============ NAV ============ */
nav, .header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 241, 223, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107, 42, 26, 0.12);
}

.nav-inner, .nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
}

.nav-left, .nav-right, .nav-menu {
  display: flex;
  gap: 36px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 400;
  list-style: none;
}

.nav-right { 
  justify-content: flex-end; 
}

.nav-left a, .nav-right a, .nav-menu a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-left a::after, .nav-right a::after, .nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; 
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--canyon);
  transition: right 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-left a:hover, .nav-right a:hover, .nav-menu a:hover { 
  color: var(--canyon); 
}

.nav-left a:hover::after, .nav-right a:hover::after, .nav-menu a:hover::after { 
  right: 0; 
}

.logo, .brand-logo {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--deep);
  text-decoration: none;
  text-align: center;
  line-height: 1;
}

.logo .utah, .brand-logo .utah { 
  font-style: italic; 
  font-weight: 300; 
  color: var(--canyon); 
}

.logo-sub {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  letter-spacing: 0.4em;
  margin-top: 5px;
  color: var(--rust);
  text-transform: uppercase;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 94vh;
  min-height: 700px;
  overflow: hidden;
  background: linear-gradient(180deg, #3d1c0e 0%, #6b2a1a 40%, #b4542a 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  filter: saturate(1.15) contrast(1.05);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(61, 28, 14, 0.15) 0%, rgba(61, 28, 14, 0.75) 100%),
    linear-gradient(180deg, transparent 60%, var(--shadow) 100%);
}

.hero-sun {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 153, 104, 0.35) 0%, rgba(214, 120, 69, 0.15) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: sunBreathe 8s ease-in-out infinite;
}

@keyframes sunBreathe {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--cream);
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1.2s 0.3s ease forwards;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--sand);
  opacity: 0.6;
}

h1.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1.4s 0.5s ease forwards;
}

h1.hero-title .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--ember);
}

.hero-sub, .hero-subtitle {
  font-size: 16px;
  max-width: 540px;
  line-height: 1.85;
  color: var(--sand);
  margin-bottom: 48px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 1.4s 0.8s ease forwards;
}

.btn-group, .hero-actions {
  display: flex;
  gap: 20px;
  opacity: 0;
  animation: fadeUp 1.4s 1.1s ease forwards;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 18px 42px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--cream);
  color: var(--deep);
}

.btn-primary:hover {
  background: var(--sand);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(107, 42, 26, 0.3);
}

.btn-ghost, .btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 233, 211, 0.45);
}

.btn-ghost:hover, .btn-outline:hover {
  background: rgba(245, 233, 211, 0.12);
  border-color: var(--cream);
}

.btn-rust {
  background: var(--canyon);
  color: var(--cream);
}

.btn-rust:hover { 
  background: var(--deep); 
  transform: translateY(-2px); 
  box-shadow: 0 14px 34px rgba(107, 42, 26, 0.3); 
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--sand);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 3;
  opacity: 0;
  animation: fadeUp 1.4s 1.6s ease forwards;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--sand), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ WELCOME ============ */
.welcome {
  padding: 140px 48px 120px;
  background: var(--paper);
  position: relative;
}

.welcome::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 60px;
  background: radial-gradient(ellipse at center top, var(--canyon) 0%, transparent 70%);
  opacity: 0.15;
}

.welcome-inner, .welcome-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--canyon);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 500;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--canyon);
}

.welcome h2, .welcome-heading {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--deep);
  margin-bottom: 40px;
}

.welcome h2 .italic, .welcome-heading .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--canyon);
}

.welcome-body {
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.welcome-body p {
  margin-bottom: 28px;
}

.welcome-body:last-of-type { 
  margin-bottom: 40px; 
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  background: var(--bone);
  color: var(--deep);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid rgba(107, 42, 26, 0.15);
  font-weight: 500;
}

.location-badge::before {
  content: '◦';
  color: var(--canyon);
  font-size: 16px;
}

/* ============ FEATURED RETREAT ============ */
.featured {
  background: var(--deep);
  color: var(--cream);
  padding: 140px 48px;
  position: relative;
  overflow: hidden;
}

.featured::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 120, 69, 0.2), transparent 70%);
}

.featured::after {
  content: '';
  position: absolute;
  bottom: -300px; left: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 84, 42, 0.25), transparent 70%);
}

.featured-inner, .featured-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.featured-image, .featured-img {
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.35);
}

.featured-image img, .featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.featured-image:hover img, .featured-img:hover img { 
  transform: scale(1.05); 
}

.featured-image-tag, .featured-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 8px 16px;
  background: rgba(61, 28, 14, 0.85);
  backdrop-filter: blur(10px);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(232, 200, 154, 0.2);
}

.featured h3 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.featured h3 .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ember);
}

.featured p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--sand);
  margin-bottom: 28px;
}

.featured-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1.3;
  color: var(--ember);
  margin-bottom: 40px !important;
  padding-left: 24px;
  border-left: 1px solid var(--rust);
}

/* ============ SERVICES GRID ============ */
.services {
  padding: 140px 48px;
  background: var(--paper);
}

.services-header, .services-container {
  max-width: 1200px;
  margin: 0 auto 80px;
  text-align: center;
}

.services-header h2, .section-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--deep);
  margin-bottom: 24px;
}

.services-header h2 .italic, .section-title .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--canyon);
}

.services-header p {
  max-width: 580px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.services-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bone);
  padding: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(107, 42, 26, 0.08);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(107, 42, 26, 0.18);
  border-color: rgba(107, 42, 26, 0.2);
}

.service-image, .service-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--sand);
  position: relative;
}

.service-image img, .service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.service-card:hover .service-image img, .service-card:hover .service-img img { 
  transform: scale(1.08); 
}

.service-content { 
  padding: 32px 32px 40px; 
}

.service-number, .service-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--canyon);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.service-title, .service-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--deep);
  margin-bottom: 14px;
  line-height: 1.2;
}

.service-desc, .service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.service-link {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--deep);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-link { 
  gap: 16px; 
  color: var(--canyon); 
}

.service-link::after { 
  content: '→'; 
  font-size: 14px; 
}

/* ============ PHILOSOPHY ============ */
.philosophy {
  padding: 160px 48px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--sand) 100%);
  position: relative;
  overflow: hidden;
}

.philosophy-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.philosophy .mark {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 120px;
  line-height: 0.5;
  color: var(--canyon);
  opacity: 0.4;
  margin-bottom: 20px;
  display: block;
}

.philosophy-quote {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.4;
  color: var(--deep);
  margin-bottom: 40px;
  letter-spacing: -0.005em;
  border: none;
}

.philosophy-quote strong {
  font-weight: 400;
  font-style: normal;
  font-family: 'Fraunces', serif;
  color: var(--ink);
}

.philosophy-attr {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--canyon);
  font-weight: 500;
}

.philosophy-circle {
  position: absolute;
  width: 500px; 
  height: 500px;
  border: 1px solid rgba(139, 58, 31, 0.12);
  border-radius: 50%;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.philosophy-circle.outer {
  width: 800px; 
  height: 800px;
  border-color: rgba(139, 58, 31, 0.07);
}

/* ============ APPROACH / PILLARS ============ */
.approach {
  padding: 140px 48px;
  background: var(--shadow);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.approach::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--canyon), var(--sunset), var(--ember), var(--sunset), var(--canyon));
}

.approach-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.approach-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 100px;
  align-items: end;
}

.approach-header .section-label { 
  color: var(--ember); 
}

.approach-header .section-label::before { 
  background: var(--ember); 
}

.approach-header h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.approach-header h2 .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ember);
}

.approach-header p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--sand);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(232, 200, 154, 0.2);
}

.pillar {
  padding: 60px 40px 60px 0;
  border-bottom: 1px solid rgba(232, 200, 154, 0.2);
  position: relative;
}

.pillar:not(:last-child) { 
  border-right: 1px solid rgba(232, 200, 154, 0.2); 
  padding-right: 40px; 
}

.pillar:not(:first-child) { 
  padding-left: 40px; 
}

.pillar-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--ember);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.pillar-title {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 28px;
  margin-bottom: 20px;
  line-height: 1.15;
}

.pillar p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--sand);
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  padding: 140px 48px;
  background: var(--paper);
}

.testimonials-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 80px;
}

.testimonials-header h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--deep);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.testimonials-header h2 .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--canyon);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial {
  background: var(--bone);
  padding: 48px 40px;
  position: relative;
  transition: transform 0.5s ease;
  border: 1px solid rgba(107, 42, 26, 0.08);
}

.testimonial:hover { 
  transform: translateY(-6px); 
  border-color: rgba(107, 42, 26, 0.2); 
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 20px; left: 30px;
  font-family: 'Fraunces', serif;
  font-size: 80px;
  line-height: 1;
  color: var(--sunset);
  opacity: 0.4;
}

.testimonial-stars {
  margin-bottom: 20px;
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.testimonial-text {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--canyon);
  font-weight: 500;
}

.testimonial-role {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ============ VISIT / CTA ============ */
.visit {
  background: var(--deep);
  color: var(--cream);
  padding: 140px 48px;
  position: relative;
  overflow: hidden;
}

.visit-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  filter: saturate(1.2);
}

.visit-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.visit h2 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.visit h2 .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ember);
}

.visit p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--sand);
  max-width: 620px;
  margin: 0 auto 48px;
}

/* Force 3 columns side-by-side on desktop */
.visit-details {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 60px !important;
  margin-top: 60px !important;
  width: 100% !important;
}

.visit-detail {
  text-align: left !important;
  flex: 1 1 0px !important; /* Forces equal 3-column width */
  min-width: 0 !important;
}

.visit-detail-label {
  font-size: 10px !important;
  letter-spacing: 0.4em !important;
  text-transform: uppercase !important;
  color: var(--ember) !important;
  margin-bottom: 10px !important;
  font-weight: 500 !important;
}

.visit-detail-value {
  font-family: 'Fraunces', serif !important;
  font-size: 18px !important;
  color: var(--cream) !important;
  line-height: 1.5 !important;
}

/* Allow clean stacking on small mobile screens */
@media (max-width: 768px) {
  .visit-details {
    flex-wrap: wrap !important;
    gap: 32px !important;
  }
  .visit-detail {
    flex: 1 1 100% !important;
  }
}

/* ============ NEWSLETTER ============ */
.newsletter {
  padding: 100px 48px;
  background: var(--sand);
  color: var(--deep);
}

.newsletter-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h3 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.newsletter h3 .italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--canyon);
}

.newsletter p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ NEWSLETTER FORM RESPONSIVE ============ */
.newsletter-form {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

/* Mobile Media Query */
@media (max-width: 600px) {
  .newsletter-inner {
    padding: 0 16px; /* Prevents text touching edge */
  }

  .newsletter-form {
    flex-direction: column !important; /* Stacks input and button vertically */
    gap: 16px !important;
    width: 100% !important;
  }

  .newsletter-form input[type="email"] {
    width: 100% !important;
    text-align: center;
    box-sizing: border-box !important;
  }

  .newsletter-form button {
    width: 100% !important; /* Full width button on mobile */
    position: static !important; /* Removes absolute positioning overlays */
    margin: 0 !important;
  }
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  color: var(--deep);
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--canyon);
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  opacity: 0.7;
}

.newsletter-form button {
  background: transparent;
  border: none;
  color: var(--deep);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 500;
  padding: 14px 20px;
  transition: transform 0.3s ease;
}

.newsletter-form button:hover { 
  transform: translateX(6px); 
  color: var(--canyon); 
}

/* ============ FOOTER ============ */
footer {
  background: var(--ink);
  color: var(--sand);
  padding: 100px 48px 40px;
}

.footer-inner, .footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(232, 200, 154, 0.15);
}

.footer-brand .logo {
  color: var(--cream);
  font-size: 28px;
  display: inline-block;
  margin-bottom: 20px;
}

.footer-brand .logo .utah { 
  color: var(--ember); 
}

.footer-brand .logo-sub { 
  color: var(--sunset); 
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--sand);
  max-width: 340px;
  margin-top: 8px;
}

.footer-col h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 24px;
}

.footer-col ul { 
  list-style: none; 
}

.footer-col ul li { 
  margin-bottom: 14px; 
}

.footer-col a {
  color: var(--sand);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col a:hover { 
  color: var(--ember); 
}

.footer-bottom {
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--sand);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 20px;
  opacity: 0.85;
}

.socials {
  display: flex;
  gap: 20px;
}

.socials a {
  color: var(--sand);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.socials a:hover { 
  color: var(--ember); 
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .nav-inner, .nav-container { 
    grid-template-columns: auto 1fr; 
    padding: 18px 24px; 
  }
  .nav-left { 
    display: none; 
  }
  .nav-right { 
    gap: 20px; 
  }
  .nav-right a:not(:last-child) { 
    display: none; 
  }
  .welcome { 
    padding: 80px 24px; 
  }
  .welcome-inner, .welcome-container { 
    grid-template-columns: 1fr; 
    gap: 48px; 
  }
  .featured { 
    padding: 80px 24px; 
  }
  .featured-inner, .featured-grid { 
    grid-template-columns: 1fr; 
    gap: 48px; 
  }
  .services { 
    padding: 80px 24px; 
  }
  .services-grid { 
    grid-template-columns: 1fr; 
    gap: 24px; 
  }
  .philosophy { 
    padding: 100px 24px; 
  }
  .approach { 
    padding: 80px 24px; 
  }
  .approach-header { 
    grid-template-columns: 1fr; 
    gap: 32px; 
  }
  .pillars { 
    grid-template-columns: 1fr; 
  }
  .pillar { 
    padding: 40px 0 !important; 
    border-right: none !important; 
    border-left: none !important; 
  }
  .testimonials { 
    padding: 80px 24px; 
  }
  .testimonials-grid { 
    grid-template-columns: 1fr; 
  }
  .visit { 
    padding: 80px 24px; 
  }
  .visit-details { 
    gap: 32px; 
  }
  .newsletter { 
    padding: 60px 24px; 
  }
  footer { 
    padding: 60px 24px 30px; 
  }
  .footer-grid { 
    grid-template-columns: 1fr; 
    gap: 40px; 
    padding-bottom: 40px; 
  }
  .footer-bottom { 
    flex-direction: column; 
    text-align: center; 
  }
  .hero-content { 
    padding: 0 24px; 
  }
}