/* Morgan Tipton Real Estate — morgantipton.com */
/* Premium Editorial Design with Motion */

/* === FONTS === */
@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* === VARIABLES === */
:root {
  --sage: #527A6A; --sage-dark: #456858; --sage-light: #6B9B89;
  --gold: #A68A5B; --gold-dark: #917748; --gold-light: #D4B88C; --gold-glow: rgba(166,138,91,0.25);
  --cream: #F5F3EF; --cream-dark: #EDE9E3;
  --charcoal: #2D2D2D; --charcoal-light: #4A4A4A;
  --white: #FFFFFF; --border: #D4CFC7; --muted: #6B6B6B;
  --overlay-dark: rgba(30,35,30,0.55);
  --overlay-gradient: linear-gradient(180deg, transparent 40%, rgba(30,35,30,0.85) 100%);
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --max-width: 1200px; --max-width-wide: 1400px;
  --radius: 0.75rem; --radius-lg: 1rem; --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-gold: 0 8px 30px rgba(166,138,91,0.2);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--charcoal); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; color: var(--charcoal); }

/* === SCROLL PROGRESS BAR === */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)); z-index: 9999; width: 0%; transition: width 0.1s linear; pointer-events: none; }

/* === UTILITIES === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: var(--max-width-wide); margin: 0 auto; padding: 0 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* === GOLD DIVIDER — ANIMATED === */
.gold-divider { width: 60px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); margin: 1.5rem 0; transform: scaleX(0); transform-origin: left; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.gold-divider.center { margin-left: auto; margin-right: auto; transform-origin: center; }
.visible .gold-divider,
.reveal.visible .gold-divider { transform: scaleX(1); }

/* === REVEAL ANIMATIONS — STAGGERED === */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
  .gold-divider { transform: scaleX(1); }
  .scroll-progress { display: none; }
}

/* === HEADER — GLASSMORPHISM === */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.85); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); border-bottom: 1px solid rgba(212,207,199,0.5); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.site-header.scrolled { background: rgba(255,255,255,0.95); box-shadow: 0 4px 30px rgba(0,0,0,0.08); border-bottom-color: transparent; }
.header-inner { max-width: var(--max-width-wide); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--charcoal); display: flex; align-items: center; gap: 0.5rem; transition: transform var(--transition-fast); }
.logo:hover { transform: scale(1.02); }
.logo span { color: var(--sage); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--charcoal-light); transition: color var(--transition-fast); letter-spacing: 0.02em; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); transform-origin: right; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover, .nav-links a.active { color: var(--sage); }
.nav-links .btn-nav { background: var(--sage); color: var(--white); padding: 0.6rem 1.4rem; border-radius: var(--radius); font-weight: 600; font-size: 0.85rem; transition: all var(--transition-smooth); }
.nav-links .btn-nav::after { display: none; }
.nav-links .btn-nav:hover { background: var(--sage-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(82,122,106,0.3); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; padding: 8px; color: var(--charcoal); }
.mobile-toggle svg { width: 24px; height: 24px; }
.mobile-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); z-index: 999; padding: 1.5rem; overflow-y: auto; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 1rem 0; font-size: 1.1rem; font-weight: 500; color: var(--charcoal); border-bottom: 1px solid var(--border); }
.mobile-nav a:hover { color: var(--sage); }
.mobile-nav .btn-mobile { display: block; text-align: center; background: var(--sage); color: var(--white); padding: 1rem; border-radius: var(--radius); font-weight: 600; margin-top: 1rem; }
@media (max-width: 900px) { .nav-links { display: none; } .mobile-toggle { display: flex; align-items: center; justify-content: center; } }

/* === HERO — CINEMATIC === */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-top: 72px; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--charcoal); overflow: hidden; }
.hero-bg picture, .hero-bg picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg img { transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1); }
.hero.loaded .hero-bg img { transform: scale(1.05); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,25,20,0.5) 0%, rgba(30,40,35,0.2) 40%, rgba(25,30,25,0.3) 60%, rgba(15,18,15,0.8) 100%); }
/* Decorative floating shapes */
.hero-overlay::before { content: ''; position: absolute; top: 15%; right: 8%; width: 300px; height: 300px; border: 1px solid rgba(166,138,91,0.15); border-radius: 50%; animation: float-slow 12s ease-in-out infinite; pointer-events: none; }
.hero-overlay::after { content: ''; position: absolute; bottom: 20%; left: 5%; width: 200px; height: 200px; border: 1px solid rgba(166,138,91,0.1); border-radius: 50%; animation: float-slow 10s ease-in-out infinite reverse; pointer-events: none; }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; padding: 3rem 1.5rem; }
.hero-content h1 { font-size: clamp(3rem, 8vw, 5.5rem); color: var(--white); margin-bottom: 1.5rem; text-shadow: 0 4px 40px rgba(0,0,0,0.4); letter-spacing: -0.02em; line-height: 1.05; }
.hero-content h1 .hero-line { display: block; overflow: hidden; }
.hero-content h1 .hero-word { display: inline-block; opacity: 0; transform: translateY(100%); animation: word-reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero-content p { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,0.9); margin-bottom: 2.5rem; max-width: 620px; margin-left: auto; margin-right: auto; text-shadow: 0 2px 12px rgba(0,0,0,0.3); opacity: 0; animation: fade-up 0.8s 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; font-weight: 300; letter-spacing: 0.01em; line-height: 1.8; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; opacity: 0; animation: fade-up 0.8s 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Hero badge */
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.15); padding: 0.5rem 1.25rem; border-radius: 50px; font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0; animation: fade-up 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero-badge svg { width: 16px; height: 16px; }

/* Scroll indicator */
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.6); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; animation: bounce-soft 2s ease-in-out infinite; }
.scroll-indicator .scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(166,138,91,0.8), transparent); }

@keyframes word-reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float-slow { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-15px, -20px); } }
@keyframes bounce-soft { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* Page hero (inner pages) */
.page-hero { position: relative; min-height: 45vh; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-top: 72px; }
.page-hero.tall { min-height: 55vh; }
.page-hero .hero-content h1 { font-size: clamp(2rem, 5vw, 3.2rem); text-shadow: 0 2px 20px rgba(0,0,0,0.3); }

/* === BUTTONS — PREMIUM === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 2rem; border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; cursor: pointer; border: none; transition: all var(--transition-smooth); text-decoration: none; position: relative; overflow: hidden; }
.btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent); opacity: 0; transition: opacity var(--transition-fast); }
.btn:hover::before { opacity: 1; }
.btn-primary { background: var(--sage); color: var(--white); }
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(82,122,106,0.35); }
.btn-secondary { background: rgba(255,255,255,0.15); color: var(--white); border: 1.5px solid rgba(255,255,255,0.4); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.6); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(255,255,255,0.1); }
.btn-outline { background: transparent; color: var(--sage); border: 2px solid var(--sage); }
.btn-outline:hover { background: var(--sage); color: var(--white); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(82,122,106,0.25); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn-lg { padding: 1.1rem 2.8rem; font-size: 1.05rem; letter-spacing: 0.02em; }

/* === SECTIONS === */
.section { padding: 7rem 0; }
.section-lg { padding: 8rem 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-sage { background: var(--sage); color: var(--white); }
.section-label { font-family: var(--font-body); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; color: var(--gold); margin-bottom: 1rem; }
.section-title { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 1rem; line-height: 1.08; letter-spacing: -0.01em; }
.section-subtitle { font-size: 1.1rem; color: var(--muted); max-width: 600px; line-height: 1.8; font-weight: 300; }
.section-header { margin-bottom: 4rem; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }
.section-header.center .gold-divider { margin-left: auto; margin-right: auto; }

/* === STATS COUNTER === */
.stats-bar { background: var(--charcoal); position: relative; overflow: hidden; }
.stats-bar::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(82,122,106,0.15), transparent 60%), radial-gradient(ellipse at 70% 50%, rgba(166,138,91,0.1), transparent 60%); pointer-events: none; }
.stats-inner { max-width: var(--max-width-wide); margin: 0 auto; padding: 4rem 1.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.stat-item { text-align: center; padding: 1rem; }
.stat-number { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 0.5rem; }
.stat-number .stat-suffix { font-size: 0.6em; color: var(--gold-light); }
.stat-description { font-size: 0.85rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; }
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 700px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } .stat-item + .stat-item { border-left: none; } .stat-item:nth-child(2n+1) { border-right: 1px solid rgba(255,255,255,0.08); } }

/* === GRID === */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-split { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4, .grid-split { grid-template-columns: 1fr; } .grid-split { gap: 2.5rem; } }
@media (min-width: 600px) and (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }

/* === COMMUNITY GRID — PREMIUM === */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.community-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; box-shadow: var(--shadow); }
.community-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }
.community-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(20,25,20,0.85) 100%); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none; }
.community-card:hover img { transform: scale(1.1); }
.community-card:hover::after { background: linear-gradient(180deg, rgba(82,122,106,0.1) 0%, rgba(20,25,20,0.9) 100%); }
.community-card-text { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.75rem; z-index: 1; transform: translateY(8px); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.community-card:hover .community-card-text { transform: translateY(0); }
.community-card-text h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 0.3rem; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.community-card-text p { color: rgba(255,255,255,0.8); font-size: 0.85rem; font-weight: 300; opacity: 0; transform: translateY(8px); transition: all 0.4s 0.1s cubic-bezier(0.16, 1, 0.3, 1); }
.community-card:hover .community-card-text p { opacity: 1; transform: translateY(0); }
/* Gold accent line on hover */
.community-card::before { content: ''; position: absolute; bottom: 0; left: 1.75rem; right: 1.75rem; height: 2px; background: var(--gold-light); z-index: 2; transform: scaleX(0); transition: transform 0.5s 0.1s cubic-bezier(0.16, 1, 0.3, 1); }
.community-card:hover::before { transform: scaleX(1); }
@media (max-width: 900px) { .community-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .community-grid { grid-template-columns: 1fr; } }

/* === CARDS — ELEVATED === */
.card { background: var(--white); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.card:hover { box-shadow: var(--shadow-xl); transform: translateY(-8px); }
.card-img-wrap { overflow: hidden; position: relative; }
.card-img-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.05) 100%); pointer-events: none; }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--cream-dark); transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }
.card:hover .card-img { transform: scale(1.08); }
.card-body { padding: 1.75rem; }
.card-category { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); }
.card-title { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; margin: 0.5rem 0; line-height: 1.25; transition: color var(--transition-fast); }
.card:hover .card-title { color: var(--sage); }
.card-text { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.card-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--muted); margin-top: 0.75rem; }
.card-link { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--sage); font-weight: 600; font-size: 0.9rem; margin-top: 1rem; transition: gap var(--transition-smooth); }
.card:hover .card-link { gap: 0.7rem; }

/* Service photo cards — premium overlay */
.service-card-photo { position: relative; border-radius: var(--radius-xl); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; box-shadow: var(--shadow); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; }
.service-card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }
.service-card-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,35,30,0.05) 0%, rgba(30,35,30,0.8) 100%); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.service-card-photo:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.service-card-photo:hover img { transform: scale(1.08); }
.service-card-photo:hover::after { background: linear-gradient(180deg, rgba(82,122,106,0.15) 0%, rgba(30,35,30,0.9) 100%); }
.service-card-photo .card-body { position: relative; z-index: 1; padding: 2.5rem; width: 100%; }
.service-card-photo h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 0.5rem; }
.service-card-photo p { color: rgba(255,255,255,0.85); font-size: 0.9rem; line-height: 1.7; font-weight: 300; }
/* Arrow indicator */
.service-card-photo .card-arrow { position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; z-index: 2; opacity: 0; transform: translate(-8px, 8px); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.service-card-photo:hover .card-arrow { opacity: 1; transform: translate(0, 0); }
.service-card-photo .card-arrow svg { width: 18px; height: 18px; color: var(--white); }

/* Icon cards */
.icon-card { background: var(--white); border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-sm); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); border: 1px solid transparent; }
.icon-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--gold-light); }
.icon-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.icon-circle { width: 56px; height: 56px; border-radius: 50%; background: rgba(82,122,106,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all var(--transition-smooth); }
.icon-card:hover .icon-circle { background: var(--sage); }
.icon-card:hover .icon-circle svg { color: var(--white); }
.icon-circle svg { width: 24px; height: 24px; color: var(--sage); transition: color var(--transition-fast); }
.step-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: rgba(82,122,106,0.15); line-height: 1; }
.icon-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.icon-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* === IMAGE CONTAINERS === */
.img-rounded { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); position: relative; }
.img-rounded::after { content: ''; position: absolute; top: -6px; left: -6px; right: -6px; bottom: -6px; border: 1.5px solid var(--gold-light); border-radius: calc(var(--radius-xl) + 6px); opacity: 0.3; pointer-events: none; transition: opacity var(--transition-smooth); }
.img-rounded:hover::after { opacity: 0.6; }
.img-rounded img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.img-rounded:hover img { transform: scale(1.03); }
.aspect-3-4 { aspect-ratio: 3 / 4; }
.aspect-4-3 { aspect-ratio: 4 / 3; }
.placeholder-img { width: 100%; height: 100%; min-height: 200px; background: linear-gradient(135deg, var(--cream-dark) 0%, #d8d3cb 100%); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.85rem; font-weight: 500; }

/* === TESTIMONIALS === */
.testimonial-card { background: var(--white); border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-sm); border-left: 3px solid var(--gold); position: relative; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testimonial-card::before { content: '\201C'; position: absolute; top: 0.75rem; left: 1.25rem; font-family: var(--font-heading); font-size: 5rem; color: var(--gold-light); line-height: 1; opacity: 0.3; pointer-events: none; }
.testimonial-stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 1rem; }
.testimonial-text { font-size: 1.05rem; color: var(--charcoal-light); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; padding-left: 0.5rem; }
.testimonial-author { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--muted); }

/* === CTA BANNER — ELEVATED === */
.cta-banner { background: var(--sage); padding: 7rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08), transparent 50%), radial-gradient(ellipse at 70% 80%, rgba(166,138,91,0.12), transparent 50%); pointer-events: none; }
.cta-banner::after { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 80px; background: linear-gradient(to bottom, var(--cream), transparent); pointer-events: none; }
.cta-banner h2 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--white); margin-bottom: 1.25rem; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.15rem; max-width: 650px; margin: 0 auto 2.5rem; position: relative; line-height: 1.8; font-weight: 300; }
.cta-banner .btn { background: var(--white); color: var(--sage); font-weight: 700; position: relative; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.cta-banner .btn:hover { background: var(--cream); transform: translateY(-4px); box-shadow: 0 12px 35px rgba(0,0,0,0.2); }

/* === FORMS === */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.4rem; }
.form-input, .form-textarea { width: 100%; padding: 0.85rem 1.1rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem; color: var(--charcoal); background: var(--white); transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast); }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px rgba(82,122,106,0.12); transform: translateY(-1px); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-checkbox { display: flex; gap: 0.75rem; align-items: flex-start; }
.form-checkbox input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--sage); cursor: pointer; }
.form-checkbox label { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-success { display: none; text-align: center; padding: 3rem 2rem; }
.form-success.show { display: block; animation: fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.form-success h3 { color: var(--sage); margin-bottom: 0.5rem; font-size: 1.5rem; }

/* Contact Section */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); overflow: hidden; }
.contact-form-wrap { padding: 3rem; }
.contact-info-wrap { background: var(--sage); color: var(--white); padding: 3rem; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.contact-info-wrap::before { content: ''; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; border: 1px solid rgba(255,255,255,0.08); border-radius: 50%; pointer-events: none; }
.contact-info-wrap h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-info-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; font-size: 0.95rem; }
.contact-info-item a { color: var(--white); transition: opacity var(--transition-fast); }
.contact-info-item a:hover { opacity: 0.8; }
.contact-info-item svg { width: 20px; height: 20px; flex-shrink: 0; opacity: 0.8; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* === FOOTER === */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.85); padding: 5rem 0 2rem; border-top: 3px solid var(--gold); position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 200px; background: linear-gradient(to bottom, rgba(166,138,91,0.05), transparent); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; position: relative; }
.footer-brand h3 { font-family: var(--font-heading); color: var(--white); font-size: 1.3rem; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-brand .backlink { display: inline-block; color: var(--gold-light); font-weight: 600; font-size: 0.85rem; text-decoration: underline; text-decoration-color: rgba(212,184,140,0.4); text-underline-offset: 2px; transition: text-decoration-color var(--transition-fast); }
.footer-brand .backlink:hover { text-decoration-color: var(--gold-light); }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1.25rem; }
.footer-col a { display: block; font-size: 0.9rem; padding: 0.35rem 0; transition: all var(--transition-fast); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.15); text-underline-offset: 2px; }
.footer-col a:hover { color: var(--white); text-decoration-color: var(--gold-light); transform: translateX(3px); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: all var(--transition-smooth); text-decoration: none; border: 1px solid rgba(255,255,255,0.08); }
.footer-social a:hover { background: var(--sage); border-color: var(--sage); transform: translateY(-3px); }
.footer-social svg { width: 16px; height: 16px; fill: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; }
.footer-bottom a { margin-left: 1.5rem; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.2); text-underline-offset: 2px; transition: all var(--transition-fast); }
.footer-bottom a:hover { color: var(--white); text-decoration-color: var(--gold-light); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } .footer-bottom a { margin-left: 0; } }

/* === ARTICLE === */
.article-content { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem; }
.article-content h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; line-height: 1.15; }
.article-content h3 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.article-content p { color: var(--charcoal-light); margin-bottom: 1.25rem; line-height: 1.8; }
.article-content ul, .article-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { color: var(--charcoal-light); margin-bottom: 0.5rem; line-height: 1.7; }
.article-content strong { color: var(--charcoal); }
.article-content blockquote { border-left: 4px solid var(--gold); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; color: var(--charcoal-light); }

/* Author box */
.author-box { display: flex; gap: 1.5rem; align-items: center; background: var(--cream); border-radius: var(--radius-xl); padding: 2rem; margin-top: 3rem; }
.author-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; background: var(--cream-dark); flex-shrink: 0; }
.author-info h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.author-info p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.article-contact-box { background: var(--cream); border-radius: var(--radius-xl); padding: 1.5rem 2rem; margin-top: 2rem; border-left: 4px solid var(--sage); }
.article-contact-box p { font-size: 0.9rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.25rem; }

/* === GUIDE CONTENT === */
.guide-content { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem; }
.guide-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.guide-content h3 { font-size: 1.2rem; margin: 1.5rem 0 0.75rem; }
.guide-content p { color: var(--charcoal-light); margin-bottom: 1rem; line-height: 1.8; }
.guide-content ul, .guide-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.guide-content ul { list-style: disc; }
.guide-content ol { list-style: decimal; }
.guide-content li { color: var(--charcoal-light); margin-bottom: 0.4rem; line-height: 1.7; }

/* Info box */
.info-box { background: rgba(82,122,106,0.08); border-radius: var(--radius-xl); padding: 1.5rem 2rem; margin: 1.5rem 0; border-left: 4px solid var(--sage); }
.info-box h4 { font-size: 1rem; color: var(--sage); margin-bottom: 0.5rem; }
.info-box p { font-size: 0.9rem; color: var(--charcoal-light); margin-bottom: 0.5rem; }

/* Stat boxes (guide pages) */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.stat-box { text-align: center; padding: 1.5rem; }
.stat-value { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--sage); }
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

/* === FAQ === */
.faq-section { max-width: 780px; margin: 0 auto; }
.faq-group { margin-bottom: 2rem; }
.faq-group-title { font-size: 1.3rem; margin-bottom: 1rem; color: var(--sage); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; background: none; border: none; padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--charcoal); text-align: left; transition: color var(--transition-fast); }
.faq-question:hover { color: var(--sage); }
.faq-question svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); color: var(--sage); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-answer-inner { padding: 0 0 1.25rem; font-size: 0.95rem; color: var(--muted); line-height: 1.7; }

/* Checklist */
.checklist-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.check-icon { width: 22px; height: 22px; border-radius: 50%; background: var(--sage); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.check-icon svg { width: 12px; height: 12px; }

/* === BREADCRUMBS === */
.breadcrumbs { padding: 1rem 0; font-size: 0.8rem; color: var(--muted); margin-top: 72px; }
.breadcrumbs a { color: var(--sage); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 0.5rem; }

/* === LEGAL === */
.legal-content { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem; }
.legal-content h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.legal-content .last-updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.3rem; margin: 2rem 0 0.75rem; }
.legal-content p, .legal-content li { font-size: 0.95rem; color: var(--charcoal-light); line-height: 1.8; margin-bottom: 0.75rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content a { color: var(--sage); text-decoration: underline; }

/* === ANIMATIONS === */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* === PRINT === */
@media print { .site-header, .site-footer, .cta-banner, .mobile-toggle, .mobile-nav, .scroll-progress, .scroll-indicator { display: none; } .hero, .page-hero { min-height: auto; margin-top: 0; } body { font-size: 12pt; } .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; } }
