/* ========================================
   Hoamly — HOA Web Design Marketplace
   Warm Cream — Light & Refined
   ======================================== */

/* --- Design Tokens --- */
:root {
  /* Backgrounds */
  --bg-cream:      #faf8f5;
  --bg-warm:       #f3efe8;
  --bg-dark:       #1a1715;
  --bg-deep:       #0c0f14;

  /* Text */
  --text-dark:     #1a1715;
  --text-muted:    #6b6560;
  --text-light:    #f0ede8;

  /* Accents */
  --accent-copper: #c8956c;
  --accent-gold:   #d4a66a;
  --accent-sage:   #7a9a82;
  --accent-slate:  #5a7a8a;
  --accent-error:  #c07a6a;

  /* Surfaces */
  --shadow-sm:     0 1px 3px rgba(26, 23, 21, 0.06);
  --shadow-md:     0 4px 12px rgba(26, 23, 21, 0.08);
  --shadow-lg:     0 8px 30px rgba(26, 23, 21, 0.1);
  --shadow-xl:     0 20px 50px rgba(26, 23, 21, 0.12);

  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-full:   100px;

  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-body:     'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition:    0.3s ease;
  --max-width:     1200px;
}


/* ========================================
   1. Reset & Base
   ======================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}


/* ========================================
   2. Typography
   ======================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.2;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-copper);
  display: inline-block;
  margin-bottom: 10px;
}

.content-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.content-narrow h2 {
  margin-bottom: 20px;
}

/* --- About Hero Layout --- */
.about-hero-layout {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-hero--with-founders {
  padding-bottom: 160px;
}

.about-hero-text {
  max-width: 680px;
}

/* --- Founders --- */
.founders-grid {
  display: flex;
  flex-direction: row;
  gap: 28px;
  flex-shrink: 0;
  margin-bottom: 48px;
}

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.founder-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}

.founder-info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.founder-info p {
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  color: var(--text-muted) !important;
  line-height: 1.4 !important;
}

@media (max-width: 768px) {
  .founders-grid {
    justify-content: flex-start;
  }
}

.content-narrow p {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ========================================
   3. Layout
   ======================================== */

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

.section {
  padding: 32px 0 80px;
}

.bg-warm {
  background: var(--bg-warm);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
}


/* ========================================
   4. Buttons
   ======================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-dark);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: #2e2a27;
}

.hero--video .btn-primary {
  background: #fff;
  color: var(--text-dark);
}

.hero--video .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn-primary .arrow {
  transition: transform var(--transition);
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  padding: 14px 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  background: none;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.btn-secondary:hover {
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--text-dark);
}


/* ========================================
   5. Navbar
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  padding: 20px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

/* Light navbar over dark hero video */
.navbar--hero .nav-logo { color: #fff; }
.navbar--hero .nav-links a { color: rgba(255, 255, 255, 0.7); }
.navbar--hero .nav-links a.active { color: #fff; }
.navbar--hero .nav-links a::after { background: #fff; }
.navbar--hero .nav-cta { background: #fff; color: var(--text-dark); }
.navbar--hero .nav-cta:hover { background: rgba(255, 255, 255, 0.9); }
.navbar--hero .nav-toggle span { background: #fff; }

/* Revert to dark text once scrolled */
.navbar--hero.scrolled .nav-logo { color: var(--text-dark); }
.navbar--hero.scrolled .nav-links a { color: var(--text-muted); }
.navbar--hero.scrolled .nav-links a.active { color: var(--text-dark); }
.navbar--hero.scrolled .nav-links a::after { background: var(--accent-copper); }
.navbar--hero.scrolled .nav-cta { background: var(--text-dark); color: #fff; }
.navbar--hero.scrolled .nav-cta:hover { background: #2e2a27; }
.navbar--hero.scrolled .nav-toggle span { background: var(--text-dark); }

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
}

.nav-logo-accent {
  color: var(--accent-copper);
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  text-decoration: none;
}

.nav-links a.active {
  color: var(--text-dark);
  font-weight: 500;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-copper);
  transition: width var(--transition), left var(--transition);
}

.nav-mobile-cta {
  display: none;
}

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

.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  background: var(--text-dark);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  text-decoration: none;
  display: inline-block;
}

.nav-cta:hover {
  background: #2e2a27;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: transform var(--transition), opacity var(--transition);
  display: block;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Nav Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 999;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* ========================================
   6. Hero
   ======================================== */

.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

/* --- Hero with background video --- */
.hero--video {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1a1715;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(26, 23, 21, 0.7) 0%,
    rgba(26, 23, 21, 0.45) 50%,
    rgba(26, 23, 21, 0.55) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: 100px;
  width: 100%;
}

/* --- Hero text (video variant — white text for contrast) --- */
.hero--video h1 {
  color: #fff;
}

.hero--video h1 em {
  color: var(--accent-gold);
}

.hero--video .hero-sub {
  color: rgba(255, 255, 255, 0.75);
}

.hero--video .hero-eyebrow {
  color: var(--accent-gold);
}

/* Hero CTA — high contrast copper button */
.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-copper);
  color: #fff;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}

.btn-hero-cta:hover {
  background: #b8845c;
  transform: translateY(-1px);
}

.hero-glow {
  position: absolute;
  top: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 149, 108, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-copper);
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1.1;
  max-width: 600px;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-copper);
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

/* --- Scroll indicator --- */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: hero-fade-in 1.5s ease 2s both;
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero-scroll-chevron {
  color: rgba(255, 255, 255, 0.5);
  animation: chevron-bounce 2s ease-in-out infinite;
}

@keyframes chevron-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}


/* ========================================
   7. Page Hero (inner pages)
   ======================================== */

.page-hero {
  padding: 160px 0 16px;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-copper);
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}

.page-hero h1 {
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1.1;
  max-width: 600px;
  margin-bottom: 20px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--accent-copper);
}

.page-hero .hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 32px;
}


/* ========================================
   8. Results (With Hoamly + Stats)
   ======================================== */

.results-section {
  padding: 100px 0;
  background: #1a1715;
  color: #fff;
  overflow: hidden;
}

.results-layout {
  display: flex;
  align-items: center;
  gap: 80px;
}

.results-left {
  flex: 1 1 50%;
}

.results-right {
  flex: 1 1 58%;
}

.results-heading {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 48px;
}

.results-heading em {
  font-style: italic;
  color: var(--accent-copper);
}

.results-stats {
  display: flex;
  gap: 64px;
  margin-bottom: 40px;
}

.results-stat {
  text-align: left;
}

.results-stat-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-copper);
  margin-bottom: 12px;
}

.results-stat-icon {
  font-size: 0.85rem;
}

.results-stat-value {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.results-description {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 520px;
  padding-top: 8px;
  margin-bottom: 20px;
}

.results-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.results-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
}

.results-checklist li::before {
  content: '✓';
  color: var(--accent-copper);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.results-disclaimer-mark {
  font-size: 1.8rem;
  vertical-align: super;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  line-height: 0;
}

.results-disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
  max-width: 480px;
  margin-top: 20px;
  font-style: italic;
}

.results-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  font-weight: 400;
}

.results-mockup-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}


/* ========================================
   9. Features (Everything You Need)
   ======================================== */

.features-section {
  padding: 80px 0 40px;
}

.features-header {
  text-align: center;
  margin-bottom: 48px;
}

.features-header h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
}

/* --- Carousel --- */
.features-carousel {
  overflow: hidden;
  padding-left: max(24px, calc((100vw - 1200px) / 2));
}

.features-track {
  display: flex;
  gap: 18px;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  padding-right: max(24px, calc((100vw - 1200px) / 2));
}

/* --- Cards --- */
.feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  height: 472px;
  width: 400px;
  min-width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  color: #fff;
}

.feature-card-text {
  position: relative;
  z-index: 2;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.feature-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.feature-card-arrow {
  display: none;
}

.feature-card-visual {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
}

/* --- Controls --- */
.features-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
}

.features-pagination {
  overflow: hidden;
  width: 100px;
  position: relative;
  height: 10px;
  mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
}

.features-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.features-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.features-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--text-dark);
}

.features-nav {
  display: flex;
  gap: 8px;
}

.features-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all 0.25s ease;
}

.features-nav-btn:hover {
  background: var(--text-dark);
  color: #fff;
  border-color: var(--text-dark);
}

/* --- Card variant: Design --- */
.feature-card--design {
  background: linear-gradient(165deg, #2c2520 0%, #1a1512 100%);
}

/* --- Shared image visual for cards --- */
.feature-visual--image {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.feature-visual--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-visual--image img {
  opacity: 1;
}

/* --- Card variant: Speed --- */
.feature-card--speed {
  background: linear-gradient(165deg, #1a1e27 0%, #12151b 100%);
}

/* --- Card variant: Hosting --- */
.feature-card--hosting {
  background: linear-gradient(165deg, #1e3a2d 0%, #122318 100%);
}

/* --- Card variant: Updates --- */
.feature-card--updates {
  background: linear-gradient(165deg, #302a24 0%, #1f1a15 100%);
}


/* --- Card variant: Lead Generation --- */
.feature-card--leads {
  background: linear-gradient(165deg, #1a2730 0%, #0f1a22 100%);
}


/* ========================================
   9b. Testimonials
   ======================================== */

.testimonials-section {
  padding: 0;
}

.testimonial-feature {
  background: #2c2520;
  padding: 120px 24px;
  text-align: center;
}

.testimonial-feature-quote {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: #fff;
  max-width: 860px;
  margin: 0 auto 32px;
}

.testimonial-feature-attr {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}


/* ========================================
   10. Portfolio
   ======================================== */

.portfolio-section {
  padding: 80px 0;
}

.portfolio-card {
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, #2d4a3a, #3d6a52, #4a7a5a);
  border-radius: var(--radius-lg);
  height: 280px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  cursor: pointer;
  transition: transform var(--transition);
}

.portfolio-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.portfolio-card:hover {
  transform: scale(1.01);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.75) 100%);
}

.portfolio-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.portfolio-card-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.portfolio-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
}

.portfolio-card-content p {
  font-size: 0.85rem;
  opacity: 0.8;
  font-weight: 300;
}

.portfolio-coming-soon {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-warm);
  border: 1px dashed rgba(0,0,0,0.12);
}

.portfolio-coming-icon {
  font-size: 0.75rem;
  color: var(--accent-copper);
  flex-shrink: 0;
}

.portfolio-coming-soon p {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
  margin: 0;
}

.view-all {
  font-size: 0.85rem;
  color: var(--accent-copper);
  font-weight: 500;
}


/* ========================================
   11. Portfolio Detail (portfolio page)
   ======================================== */

.portfolio-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.portfolio-detail-card.coming-soon {
  opacity: 0.6;
}

.portfolio-detail-image {
  min-height: 240px;
}

.portfolio-detail-preview {
  background: linear-gradient(135deg, #2d4a3a, #3d6a52);
  border-radius: var(--radius-md);
  height: 100%;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

.portfolio-detail-placeholder {
  background: var(--bg-warm);
  border-radius: var(--radius-md);
  height: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.portfolio-detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
}

.portfolio-detail-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.portfolio-location {
  font-size: 0.85rem;
  color: var(--accent-copper);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

.portfolio-detail-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}


/* ========================================
   12. CTA Banner
   ======================================== */

.cta-banner {
  margin: 0 24px 80px;
  padding: 60px 40px;
  background: linear-gradient(135deg, var(--bg-dark), #2a2520);
  border-radius: var(--radius-lg);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner-glow {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 149, 108, 0.12), transparent 70%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.cta-banner p {
  font-size: 0.95rem;
  opacity: 0.7;
  font-weight: 300;
  margin-bottom: 28px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-copper);
  color: #fff;
  padding: 14px 30px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--font-body);
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  background: var(--accent-gold);
  transform: translateY(-1px);
}


/* ========================================
   13. Pricing
   ======================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.pricing-header {
  margin-bottom: 20px;
}

.pricing-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 6px;
}

.pricing-frequency {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 0;
}

.pricing-timeline-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 12px;
}

.pricing-optional {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-sage);
  font-weight: 700;
}


/* ========================================
   14. Value Grid (pricing page)
   ======================================== */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.value-item {
  padding: 24px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.value-item h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ========================================
   15. FAQ
   ======================================== */

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

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: left;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--accent-copper);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

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

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 0 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ========================================
   16. Vision Grid (about page)
   ======================================== */

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

.vision-card {
  text-align: center;
  padding: 32px 24px;
}

.vision-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--accent-copper);
}

.vision-icon svg {
  width: 100%;
  height: 100%;
}

.vision-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.vision-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ========================================
   17. Contact
   ======================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.form-group {
  margin-bottom: 20px;
}

.message-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.preset-chip {
  display: inline-block;
  padding: 6px 14px;
  border: 1.5px solid var(--accent-copper);
  border-radius: 100px;
  background: transparent;
  color: var(--accent-copper);
  font-size: 0.82rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1.4;
}

.preset-chip:hover {
  background: var(--accent-copper);
  color: #fff;
}

.preset-chip.active {
  background: var(--accent-copper);
  color: #fff;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group .optional {
  color: var(--text-muted);
  font-weight: 400;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #fff;
  color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-copper);
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 149, 108, 0.1);
}

.form-group.error input,
.form-group.error textarea {
  border-color: var(--accent-error);
}

.form-submit {
  width: 100%;
  justify-content: center;
  cursor: pointer;
  border: none;
}

.contact-info-card {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-detail {
  margin-bottom: 20px;
}

.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-detail a {
  color: var(--accent-copper);
  font-weight: 500;
}


/* ========================================
   18. Footer
   ======================================== */

.footer {
  padding: 60px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  display: inline-block;
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-logo-accent {
  color: var(--accent-copper);
  font-style: italic;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* ========================================
   19. Scroll Reveal Animations
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ========================================
   20. Responsive — Tablet (max-width: 1024px)
   ======================================== */

@media (max-width: 1024px) {
  /* Results */
  .results-layout {
    gap: 48px;
  }

  .results-stat-value {
    font-size: 3.5rem;
  }

  /* Features */
  .feature-card {
    min-width: 260px;
    min-height: 460px;
  }

  /* Pricing */
  .pricing-grid {
    gap: 16px;
  }

  /* Vision — collapse to 2-col at tablet */
  .vision-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Value grid — collapse to 2-col at tablet */
  .value-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Portfolio */
  .portfolio-detail-card {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* ========================================
   20. Responsive — Mobile (max-width: 768px)
   ======================================== */

@media (max-width: 768px) {

  /* ---- Hero ---- */
  .hero h1,
  .page-hero h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero--video {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-content--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-left,
  .hero-right {
    flex: none;
    width: 100%;
  }

  .hero h1 {
    margin-bottom: 0;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .page-hero {
    padding: 120px 0 40px;
  }

  /* ---- Nav ---- */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 80px 32px 32px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-xl);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.3rem;
    padding: 12px 0;
    color: var(--text-dark) !important;
  }

  .nav-links a.active {
    color: var(--text-dark) !important;
  }

  .nav-links a::after {
    background: var(--accent-copper) !important;
    bottom: 6px;
  }

  .nav-mobile-cta {
    display: list-item;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
    width: 44px;
    height: 44px;
  }

  /* ---- Results ---- */
  .results-section {
    padding: 60px 0;
  }

  .results-layout {
    flex-direction: column;
    gap: 40px;
  }

  .results-left,
  .results-right {
    flex: none;
    width: 100%;
  }

  .results-heading {
    font-size: 2rem;
    margin-bottom: 32px;
  }

  .results-stats {
    gap: 32px;
  }

  .results-stat-value {
    font-size: 3rem;
  }

  .results-image-placeholder {
    aspect-ratio: 16 / 9;
  }

  /* ---- Features carousel ---- */
  .features-section {
    padding: 60px 0 24px;
  }

  .feature-card {
    width: 300px;
    min-width: 300px;
    height: 400px;
    min-height: 400px;
    padding: 28px 24px;
  }

  .features-carousel {
    padding-left: 20px;
  }

  /* ---- Testimonial ---- */
  .testimonial-feature {
    padding: 72px 24px;
  }

  .testimonial-feature-quote {
    font-size: 1.4rem;
    line-height: 1.5;
  }

  /* ---- Pricing ---- */
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 28px 24px;
  }

  .pricing-price {
    font-size: 2.2rem;
  }

  .pricing-card h3 {
    font-size: 1.2rem;
  }

  /* Value grid */
  .value-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .value-item {
    padding: 20px;
  }

  .value-item h4 {
    font-size: 1rem;
  }

  /* FAQ */
  .faq-question {
    font-size: 0.9rem;
    padding: 16px 0;
  }

  /* ---- About / Vision ---- */
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vision-card {
    padding: 24px 20px;
  }

  .vision-card h3 {
    font-size: 1.1rem;
  }

  /* Content narrow — add horizontal padding */
  .content-narrow {
    padding-left: 24px;
    padding-right: 24px;
  }

  /* ---- Portfolio ---- */
  .portfolio-card {
    height: 220px;
  }

  .portfolio-detail-info h3 {
    font-size: 1.4rem;
  }

  .portfolio-detail-preview {
    min-height: 200px;
  }

  /* ---- Contact ---- */
  .contact-info-card {
    padding: 24px 20px;
  }

  .contact-info-card h3 {
    font-size: 1.2rem;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 1rem;
    padding: 12px 16px;
  }

  .form-group label {
    font-size: 0.8rem;
  }

  /* ---- Footer ---- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links h4 {
    font-size: 0.95rem;
  }

  .footer {
    padding: 48px 0 24px;
  }

  /* ---- CTA Banner ---- */
  .cta-banner {
    margin: 0 16px 60px;
    padding: 40px 24px;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  .cta-banner p {
    font-size: 0.9rem;
  }

  /* ---- Section heads ---- */
  .section-head {
    flex-direction: column;
    gap: 12px;
  }

  .section-head h2 {
    font-size: 1.8rem;
  }

  /* ---- General section spacing ---- */
  .section-label {
    font-size: 0.72rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 13px 24px;
    font-size: 0.9rem;
  }
}
