/* ============================================================
   T.M. HARVEY — STYLESHEET
   Luxury dark theme · Champagne gold accent · Cormorant + Inter
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colours */
  --bg:           #07080D;
  --surface:      #0D0F18;
  --surface-2:    #111420;
  --surface-3:    #171B2A;
  --accent:       #C9A96E;
  --accent-light: #E8D5A3;
  --accent-dim:   #9A7D4F;
  --accent-glow:  rgba(201, 169, 110, 0.18);
  --text:         #F0EBE3;
  --text-muted:   #7A7568;
  --text-dim:     #3D3B35;
  --border:       rgba(201, 169, 110, 0.08);
  --border-mid:   rgba(201, 169, 110, 0.14);
  --border-hover: rgba(201, 169, 110, 0.32);

  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing scale */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Geometry */
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Motion */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.35s var(--ease);

  /* Shadows */
  --shadow:        0 8px 40px rgba(0, 0, 0, 0.55);
  --shadow-accent: 0 0 50px rgba(201, 169, 110, 0.12);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: var(--space-3xl) 0; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 0.975rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.85;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 2.25rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 0 40px rgba(201, 169, 110, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-mid);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-2px);
}

/* ============================================================
   SCROLL-TRIGGERED REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: none; }

/* Stagger delays */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.18s; }
.stagger > *:nth-child(3) { transition-delay: 0.31s; }
.stagger > *:nth-child(4) { transition-delay: 0.44s; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.75rem 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(7, 8, 13, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo span { color: var(--accent); }

.nav-logo-mark {
  flex-shrink: 0;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(201, 169, 110, 0.15);
  transition: box-shadow 0.3s;
}
.nav-logo:hover .nav-logo-mark {
  box-shadow: 0 0 12px rgba(201, 169, 110, 0.2), 0 0 0 1px rgba(201, 169, 110, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.75rem;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: transparent !important;
  color: var(--accent) !important;
  border: 1px solid var(--border-hover) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-size: 0.72rem !important;
  letter-spacing: 0.1em;
  font-weight: 500 !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--bg) !important;
  box-shadow: 0 0 24px rgba(201, 169, 110, 0.2);
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--text-muted);
  border-radius: 1px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--accent); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--accent); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 8, 13, 0.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.mobile-nav a:hover { color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

/* Atmospheric light washes */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 65% 35%, rgba(201, 169, 110, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 85%, rgba(120, 90, 50, 0.05) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

/* Horizontal rule at bottom */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 2rem; right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding-top: 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-dim);
}
.hero-badge::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--accent-dim);
}
.hero-badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: badgePulse 3s infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--text);
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 460px;
  margin-bottom: 3rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 5rem;
}

.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}
.hero-stat {
  padding-right: 3rem;
  margin-right: 3rem;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 0.4rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollAnim 2.5s ease-in-out infinite;
}
.scroll-text {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30%  { opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: top; }
  61%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  margin-top: var(--space-xl);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--surface);
  padding: 2.75rem 2.25rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
  border-right: 1px solid var(--border);
}
.service-card:last-child { border-right: none; }

/* Top accent line */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 2.25rem; right: 2.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover { background: var(--surface-2); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--accent);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover .service-icon {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(201, 169, 110, 0.15);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.85rem;
  letter-spacing: 0.01em;
}
.service-card p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.why::after {
  content: '';
  position: absolute;
  top: calc(-150px + var(--parallax-y, 0px));
  right: -250px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: start;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
}
.why-intro { position: sticky; top: 108px; }

.why-cards {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem 2.25rem;
  background: var(--surface-2);
  transition: background 0.35s;
  border-bottom: 1px solid var(--border);
}
.why-card:last-child { border-bottom: none; }
.why-card:hover { background: var(--surface-3); }

.why-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-top: 2px;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.why-card p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.portfolio-card:first-child { grid-column: span 2; }

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.4s, box-shadow 0.4s;
  cursor: pointer;
}
.portfolio-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow), var(--shadow-accent);
}

.portfolio-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.portfolio-card:first-child .portfolio-thumb { aspect-ratio: 16/9; }

.portfolio-thumb-inner {
  width: 100%; height: 100%;
  transition: transform 0.6s var(--ease);
}
.portfolio-card:hover .portfolio-thumb-inner { transform: scale(1.04); }

/* Mock browser */
.mock-browser {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
}
.mock-bar {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  flex-shrink: 0;
}
.mock-dot { width: 7px; height: 7px; border-radius: 50%; }
.mock-body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.mock-h   { height: 2px; border-radius: 2px; width: 40%; }
.mock-t   { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.05); }
.mock-t.sm { height: 5px; width: 65%; background: rgba(255,255,255,0.03); }
.mock-row { display: flex; gap: 0.5rem; margin-top: 0.35rem; }
.mock-block { border-radius: 5px; flex: 1; height: 36px; }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,8,13,0.97) 0%, rgba(7,8,13,0.3) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
  gap: 1rem;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.portfolio-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
}
.portfolio-arrow {
  margin-left: auto;
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.portfolio-meta {
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}
.portfolio-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.portfolio-year { font-size: 0.72rem; color: var(--text-dim); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: -400px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201, 169, 110, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-xl);
}

.testimonial-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}

/* Decorative quote mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.08;
  pointer-events: none;
}

.stars { display: flex; gap: 3px; margin-bottom: 1.25rem; }
.star  { color: var(--accent); font-size: 0.8rem; }

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dim), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg);
  flex-shrink: 0;
}
.author-name    { font-weight: 500; font-size: 0.875rem; color: var(--text); }
.author-company { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.1rem; font-weight: 300; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: var(--space-xl);
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  position: relative;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
}
.pricing-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  background: var(--surface-2);
  border-color: var(--border-hover);
  transform: scale(1.03);
}
.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: var(--shadow), var(--shadow-accent);
}

/* Top gold rule on featured */
.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pricing-badge {
  position: absolute;
  top: 2rem; right: 2rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border-hover);
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
}

.pricing-tier {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 1.25rem;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}
.pricing-price sup { font-size: 1.4rem; vertical-align: super; }

.pricing-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.pricing-divider { height: 1px; background: var(--border); margin: 1.75rem 0; }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
}
.check {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 0.55rem;
}
.pricing-card .btn { width: 100%; justify-content: center; }

/* ============================================================
   PRICING — SINGLE BESPOKE CARD
   ============================================================ */
.pricing-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: var(--space-xl);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  position: relative;
}

/* Gold top rule */
.pricing-single::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.pricing-single-left {
  padding: 3.5rem;
  border-right: 1px solid var(--border);
}

.pricing-single-right {
  padding: 3.5rem;
  background: var(--surface-2);
}

.pricing-price-from {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
  margin-top: 1.25rem;
}

.pricing-includes-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.75rem;
}

.pricing-addon {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--surface-3);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
}

.pricing-addon-left { flex: 1; }

.pricing-addon-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.pricing-addon-desc {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

.pricing-addon-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  white-space: nowrap;
}

.pricing-addon-amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}

.pricing-addon-amount sup {
  font-size: 1rem;
  vertical-align: super;
}

.pricing-addon-period {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .pricing-single {
    grid-template-columns: 1fr;
  }
  .pricing-single-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 2rem;
  }
  .pricing-single-right {
    padding: 2.5rem 2rem;
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: -500px; left: -300px;
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
  margin-top: var(--space-xl);
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.contact-info p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.contact-details { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.contact-item:last-child { border-bottom: none; }
.contact-item:hover { background: var(--surface-3); }

.contact-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}
.contact-value {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text);
  transition: color 0.3s;
}
.contact-value:hover { color: var(--accent-light); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }

.form-group label {
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.875rem 1.1rem;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--surface-2); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-dim);
  background: rgba(201, 169, 110, 0.03);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.08);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #c0453a;
  box-shadow: 0 0 0 3px rgba(192, 69, 58, 0.1);
}
.form-group .error-msg { font-size: 0.72rem; color: #c0453a; }
.form-group textarea { height: 140px; }

.form-submit { padding: 0.95rem; }

.form-success {
  display: none;
  background: rgba(201, 169, 110, 0.06);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: var(--accent-light);
  font-size: 0.875rem;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #040508;
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: var(--space-2xl);
}

.footer-brand-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  margin-top: 1.1rem;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-dim); font-weight: 300; letter-spacing: 0.03em; }
.footer-bottom a { color: var(--text-dim); transition: color 0.3s; }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .why-layout { grid-template-columns: 1fr; }
  .why-intro  { position: static; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-card:first-child { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(2) { border-right: none; }
  .service-card:nth-child(3) { border-top: 1px solid var(--border); }
  .service-card:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 5.5rem;
    --space-2xl: 3.5rem;
  }
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .hero-stats { gap: 0; }
  .hero-stat  { padding-right: 1.5rem; margin-right: 1.5rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card:first-child { grid-column: auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-6px); }
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .form-row     { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; border: 1px solid var(--border); }
  .service-card { border-right: none; border-top: 1px solid var(--border); }
  .service-card:first-child { border-top: none; }
}

@media (max-width: 480px) {
  .container    { padding: 0 1.25rem; }
  .hero-ctas    { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-stats   { flex-wrap: wrap; }
  .hero-stat    { min-width: 120px; }
}
