/* ============================================================
   TAVORA WEB DESIGN — Master Stylesheet
   TavoraWebDesign.com
   
   Color System:
   --bg-primary:    Deep dark background
   --bg-secondary:  Slightly lighter surface
   --bg-card:       Card/elevated surface
   --accent:        Warm amber/gold accent
   --accent-hover:  Lighter accent for hovers
   --text-primary:  Near-white text
   --text-secondary: Muted body text
   --text-tertiary: Subtle/caption text
   --border:        Subtle borders
   
   Typography:
   Headings: "Outfit" — geometric, modern, premium
   Body: "DM Sans" — clean, friendly, readable
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary: #0a0a0c;
  --bg-secondary: #111114;
  --bg-card: #16161a;
  --bg-elevated: #1c1c21;
  --accent: #c8a24e;
  --accent-hover: #dab862;
  --accent-subtle: rgba(200, 162, 78, 0.1);
  --accent-glow: rgba(200, 162, 78, 0.15);
  --text-primary: #f0eee6;
  --text-secondary: #9a9a9e;
  --text-tertiary: #6a6a6f;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.2);
  --shadow-elevated: 0 4px 12px rgba(0,0,0,0.4), 0 16px 48px rgba(0,0,0,0.3);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --section-padding: clamp(80px, 10vw, 140px);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 80px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

::selection {
  background: var(--accent);
  color: var(--bg-primary);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

h4 {
  font-size: 1.15rem;
  font-weight: 500;
}

p {
  max-width: 640px;
  line-height: 1.75;
}

.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--text-tertiary);
}

/* ---------- Layout Utilities ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

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

.section-header {
  margin-bottom: 60px;
}

.section-header p {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.section--alt {
  background: var(--bg-secondary);
}

.section--dark {
  background: var(--bg-primary);
}

/* ---------- Animated Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200, 162, 78, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 14px 0;
}

.btn-ghost:hover {
  color: var(--accent-hover);
}

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

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

.btn-icon {
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(20px, 4vw, 40px);
  transition: all var(--transition-smooth);
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 12, 0.92);
  border-bottom-color: var(--border);
}

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

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-logo .logo-mark {
  color: var(--accent);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 9px 22px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

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

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 72px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--accent-subtle);
  border: 1px solid rgba(200, 162, 78, 0.15);
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.8;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-stat h3 {
  font-size: 1.8rem;
  color: var(--accent);
  font-weight: 700;
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-top: 4px;
  font-family: 'Outfit', sans-serif;
}

/* ---------- Grid Layouts ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(28px, 3vw, 40px);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  color: var(--accent);
  border: 1px solid rgba(200, 162, 78, 0.12);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Feature card with top accent line */
.card-featured {
  border-top: 2px solid var(--accent);
}

.card-featured:hover {
  border-top-color: var(--accent-hover);
}

/* ---------- Value Props / Why Section ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: clamp(32px, 3vw, 48px) clamp(20px, 2vw, 32px);
}

.value-card .card-icon {
  margin: 0 auto 20px;
}

/* ---------- Process Section ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  padding: 40px 32px;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition-smooth);
}

.process-step:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.process-step:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.process-step:hover {
  background: var(--bg-elevated);
  border-color: var(--border-hover);
  z-index: 1;
}

.step-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 16px;
}

.process-step:hover .step-number {
  opacity: 0.5;
}

.process-step h3 {
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Projects / Work Section ---------- */

/*
  ==========================================================
  PROJECT CARDS — HOW TO ADD NEW PROJECTS:
  ==========================================================
  1. In work.html, find the "projects" array in the <script> tag
  2. Add a new object to the array with:
     - title: "Project Name"
     - category: "Category"
     - description: "Short description"
     - image: "path/to/screenshot.jpg"
     - url: "https://link-to-project.com"
     - status: "live" (or "coming-soon")
  3. The card will render automatically.
  ==========================================================
*/

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.project-thumb {
  aspect-ratio: 16/10;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-thumb img {
  transform: scale(1.04);
}

/* Coming Soon placeholder styling */
.project-thumb--placeholder {
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  position: relative;
}

.project-thumb--placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, transparent 49.5%, var(--border) 49.5%, var(--border) 50.5%, transparent 50.5%),
    linear-gradient(0deg, transparent 0%, transparent 49.5%, var(--border) 49.5%, var(--border) 50.5%, transparent 50.5%);
  background-size: 40px 40px;
  opacity: 0.3;
}

.placeholder-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-subtle);
  border: 1px solid rgba(200, 162, 78, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
}

.project-info {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.project-category {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.project-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid rgba(200, 162, 78, 0.12);
}

.project-badge--live {
  background: rgba(52, 199, 89, 0.1);
  color: #34c759;
  border-color: rgba(52, 199, 89, 0.15);
}

.project-info h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.project-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 20px;
}

.project-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.project-link:hover {
  gap: 10px;
}

.project-link--disabled {
  color: var(--text-tertiary);
  pointer-events: none;
}

/* ---------- FAQ Section ---------- */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition-fast);
  gap: 16px;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-tertiary);
  transition: all var(--transition-fast);
}

.faq-item.open .faq-icon {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
}

.faq-answer-inner {
  padding-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 620px;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  text-align: center;
  padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 40px);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
}

.cta-banner h2 {
  position: relative;
  margin-bottom: 16px;
}

.cta-banner p {
  position: relative;
  margin: 0 auto 36px;
  font-size: 1.1rem;
}

.cta-banner .btn {
  position: relative;
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  border: 1px solid rgba(200, 162, 78, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--accent);
}

.contact-item h4 {
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.9rem;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(28px, 3vw, 44px);
}

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

.form-label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-tertiary);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239a9a9e' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-select option {
  background: var(--bg-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 280px;
}

.footer-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 5px 0;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

/* ---------- Page Headers (inner pages) ---------- */
.page-header {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.page-header h1 {
  position: relative;
  margin-bottom: 16px;
}

.page-header p {
  position: relative;
  font-size: 1.15rem;
  max-width: 560px;
}

/* ---------- About Page ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4/3;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--accent-subtle) 0%, transparent 50%),
    linear-gradient(225deg, rgba(200, 162, 78, 0.05) 0%, transparent 50%);
}

.about-visual-text {
  position: relative;
  z-index: 1;
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.15;
  letter-spacing: -0.04em;
}

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

.about-content p {
  margin-bottom: 16px;
}

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

.philosophy-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
}

.philosophy-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.philosophy-card .card-icon {
  margin: 0 auto 16px;
}

/* ---------- Services Page ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(28px, 3vw, 40px);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.service-card .card-icon {
  margin-bottom: 24px;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  flex: 1;
}

.service-card .includes-list {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.includes-list li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.includes-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
}

/* ---------- Process Page (Expanded) ---------- */
.process-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.timeline-step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  z-index: 1;
}

.timeline-content h3 {
  margin-bottom: 8px;
  padding-top: 10px;
}

.timeline-content p {
  font-size: 0.92rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3, .value-grid, .services-grid, .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4, .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step:first-child { border-radius: var(--radius-md) 0 0 0; }
  .process-step:nth-child(2) { border-radius: 0 var(--radius-md) 0 0; }
  .process-step:last-child { border-radius: 0 0 var(--radius-md) 0; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .about-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    border-left: 1px solid var(--border);
    transition: right var(--transition-smooth);
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-link {
    font-size: 1.05rem;
  }

  .nav-cta {
    font-size: 0.95rem;
    padding: 12px 28px;
  }

  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
  }

  .grid-2, .grid-3, .grid-4,
  .value-grid, .services-grid,
  .process-grid, .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-radius: var(--radius-md) !important;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}
