/* =============================================
   BAHA CONNECT : Main Stylesheet
   Design: Dark premium charcoal with champagne gold accents
   Fonts: Sora (headings) + Inter (body)
   Sections:
     1. Tokens and base
     2. Utilities and layout
     3. Buttons
     4. Navigation
     5. Hero
     6. Meet section (headshot)
     7. Cards and grids (value / services / why)
     8. Process
     9. Portfolio timeline and joke section
    10. Page hero and inner pages (services / about / contact / legal)
    11. FAQ
    12. CTA band and footer
    13. Floating buttons
    14. Animations and responsive
============================================= */

/* ---- 1. TOKENS AND BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #131316;
  --bg-2: #191920;
  --bg-3: #1f1f27;
  --surface: #23232b;
  --surface-2: #2a2a33;
  --border: rgba(235, 220, 195, 0.10);
  --border-strong: rgba(235, 220, 195, 0.22);

  --accent: #d8bd92;          /* champagne gold */
  --accent-2: #c2a472;        /* deeper gold (hover) */
  --accent-soft: rgba(216, 189, 146, 0.12);
  --accent-line: rgba(216, 189, 146, 0.30);

  --text: #f6f1e9;
  --text-2: #b3a892;
  --text-3: #786c58;
  --white: #ffffff;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 56px rgba(0, 0, 0, 0.55);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Visible focus states for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---- 2. UTILITIES AND LAYOUT ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 18px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text);
}
.section-header > p { margin-top: 16px; font-size: 16px; color: var(--text-2); line-height: 1.7; }
h2 em, h1 em { font-style: normal; color: var(--accent); }

/* ---- 3. BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #1a1610;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 100px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(216, 189, 146, 0.22);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  transition: var(--transition);
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: var(--transition);
  cursor: pointer;
}
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }

.btn-full { width: 100%; justify-content: center; border-radius: var(--radius); }

/* ---- 4. NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 70px;
  background: rgba(15, 15, 18, 0.80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled { background: rgba(15, 15, 18, 0.97); }

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 100px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.nav-cta {
  background: var(--accent);
  color: #1a1610;
  font-weight: 600;
  padding: 9px 18px;
}
.nav-links a.nav-cta:hover { background: var(--accent-2); color: #1a1610; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- 5. HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}
.hero-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.16; }
.orb-1 { width: 520px; height: 520px; background: #d8bd92; top: -120px; right: -120px; }
.orb-2 { width: 420px; height: 420px; background: #7a5d39; bottom: -60px; left: -60px; }
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at top, black, transparent 75%);
}

.hero-content { flex: 1; max-width: 640px; animation: fadeUp 0.7s ease both; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 22px;
}
.hero-accent { color: var(--accent); }
.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; align-items: center; gap: 22px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--text); }
.stat-label { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
.stat-div { width: 1px; height: 32px; background: var(--border); }

.hero-visual {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeUp 0.7s 0.15s ease both;
}
.hero-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  border-left: 2px solid var(--accent-line);
}
.card-float { animation: float 6s ease-in-out infinite; }
.card-float-2 { animation: float 6s 2s ease-in-out infinite; }
.card-float-3 { animation: float 6s 4s ease-in-out infinite; }
.card-text { display: flex; flex-direction: column; }
.card-text strong { font-size: 14px; font-weight: 600; color: var(--text); }
.card-text span { font-size: 12px; color: var(--text-3); }

/* ---- 6. MEET SECTION (HEADSHOT) ---- */
.meet { background: var(--bg-2); }
.meet-inner { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.meet-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
  background: var(--surface);
}
.meet-photo img { width: 100%; height: 100%; object-fit: cover; }
.meet-text .section-tag { margin-bottom: 16px; }
.meet-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.meet-text p { font-size: 16px; color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.meet-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* ---- 7. CARDS AND GRIDS ---- */
/* Value / "What you can get done" cards */
.value-props { background: var(--bg); }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: var(--transition);
  border-top: 2px solid var(--accent-line);
}
.value-card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.value-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* Services preview cards */
.services-preview { background: var(--bg-2); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; flex: 1; }
.service-link { font-size: 13px; color: var(--accent); margin-top: 16px; font-weight: 600; }

/* Why us */
.why { background: var(--bg); }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.why-text p { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 28px; }
.why-list { list-style: none; margin-bottom: 8px; display: flex; flex-direction: column; gap: 12px; }
.why-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.why-list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 8px; }

.why-visual { display: flex; flex-direction: column; gap: 20px; }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.why-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.why-badge-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.why-badge {
  font-size: 13px;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
}

/* ---- 8. PROCESS ---- */
.process { background: var(--bg-2); }
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition);
}
.process-step:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.process-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #1a1610;
  background: var(--accent);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.process-step h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ---- 9. PORTFOLIO TIMELINE AND JOKE SECTION ---- */
.port-intro { background: var(--bg); }
.timeline { position: relative; max-width: 1000px; margin: 0 auto; padding: 8px 0; }
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-line), var(--border) 85%);
  transform: translateX(-50%);
}
.tl-item { position: relative; width: 50%; padding: 0 46px 48px; }
.tl-item.tl-left { left: 0; }
.tl-item.tl-right { left: 50%; }
.tl-node {
  position: absolute;
  top: 26px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent-line);
  z-index: 2;
}
.tl-item.tl-left .tl-node { right: -8px; }
.tl-item.tl-right .tl-node { left: -8px; }

/* Portfolio card */
.port-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.port-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent-line); }
.port-preview-link { display: block; }

/* Themed browser mock : uses per-card --proj and --proj-bg */
.port-browser { background: var(--bg-3); }
.port-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.port-dots { display: flex; gap: 5px; flex-shrink: 0; }
.port-dots span { width: 9px; height: 9px; border-radius: 50%; }
.port-dots span:nth-child(1) { background: #ff5f57; }
.port-dots span:nth-child(2) { background: #febc2e; }
.port-dots span:nth-child(3) { background: #28c840; }
.port-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.port-screen { background: var(--proj-bg, #15151b); padding: 0 0 18px; min-height: 190px; }
.pm-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.18);
}
.pm-logo { width: 58px; height: 8px; border-radius: 4px; background: var(--proj); opacity: 0.9; }
.pm-cta { width: 44px; height: 20px; border-radius: 20px; background: var(--proj); opacity: 0.85; }
.pm-hero { padding: 18px 18px 0; display: flex; flex-direction: column; gap: 8px; }
.pm-eyebrow { width: 86px; height: 7px; border-radius: 3px; background: var(--proj); opacity: 0.6; }
.pm-h1 { width: 88%; height: 14px; border-radius: 3px; background: rgba(255, 255, 255, 0.85); }
.pm-h1.short { width: 60%; background: var(--proj); opacity: 0.75; }
.pm-line { width: 92%; height: 7px; border-radius: 3px; background: rgba(255, 255, 255, 0.4); }
.pm-line.short { width: 70%; opacity: 0.7; }
.pm-btns { display: flex; gap: 8px; margin-top: 8px; }
.pm-btn { width: 78px; height: 24px; border-radius: 20px; background: var(--proj); opacity: 0.9; }
.pm-btn.ghost { background: transparent; border: 1px solid var(--proj); opacity: 0.6; }
/* Light-themed previews keep heading text dark for contrast */
.port-card.light .pm-h1 { background: rgba(20, 20, 24, 0.78); }
.port-card.light .pm-line { background: rgba(20, 20, 24, 0.32); }

.port-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.port-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.port-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.2; }
.port-tag {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--accent);
  white-space: nowrap;
  font-weight: 500;
  flex-shrink: 0;
}
.port-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.6; flex: 1; }
.port-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--accent);
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--border);
  transition: var(--transition);
}
.port-cta:hover { color: var(--text); }

/* Joke section */
.joke-section { background: var(--bg-2); }
.joke-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
}
.joke-card h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--text); margin-bottom: 12px; }
.joke-card > p { font-size: 16px; color: var(--text-2); line-height: 1.7; margin-bottom: 24px; }
.joke-panel {
  margin-top: 24px;
  background: var(--bg-3);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: left;
}
.joke-panel[hidden] { display: none; }
.joke-panel strong { display: block; font-family: var(--font-display); color: var(--accent); font-size: 15px; margin-bottom: 8px; }
.joke-panel p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ---- 10. PAGE HERO AND INNER PAGES ---- */
.page-hero {
  padding: 150px 0 72px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero .section-tag { margin-bottom: 16px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.page-hero p { font-size: 17px; color: var(--text-2); max-width: 580px; margin: 0 auto; line-height: 1.6; }

/* Services full */
.services-full { background: var(--bg); }
.service-block { margin-bottom: 64px; padding-bottom: 64px; border-bottom: 1px solid var(--border); scroll-margin-top: 100px; }
.service-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.service-block-header { display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.service-block h2 { font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; color: var(--text); }
.service-block-desc { font-size: 15px; color: var(--text-2); line-height: 1.75; max-width: 720px; margin-bottom: 28px; }

/* Service chips: centered, clean, no checkmarks or icons */
.service-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.service-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: var(--transition);
}
.service-item:hover { border-color: var(--accent-line); background: var(--surface-2); transform: translateY(-2px); }
.service-item strong { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.4; }

/* About */
.about-main { background: var(--bg); }
.about-inner { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.about-photo-frame {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-lg);
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-credentials { display: flex; flex-direction: column; gap: 12px; }
.credential {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.credential strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.credential span { font-size: 12px; color: var(--text-3); }
.about-text-col h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--text); margin-bottom: 20px; letter-spacing: -0.01em; }
.about-text-col p { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.about-text-col .btn-primary { margin-top: 8px; }

.skills-section { background: var(--bg-2); }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  border-top: 2px solid var(--accent-line);
}
.skill-card:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.skill-card h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.skill-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* Contact */
.contact-section { background: var(--bg); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: var(--text); margin-bottom: 16px; }
.contact-info > p { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 28px; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-method {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: var(--transition);
}
.contact-method:hover { border-color: var(--accent-line); transform: translateX(4px); }
.contact-method.no-link:hover { transform: none; }
.contact-method strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.contact-method span { font-size: 13px; color: var(--text-3); }
.policy-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.policy-note strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.policy-note ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.policy-note li { font-size: 14px; color: var(--text-2); padding-left: 16px; position: relative; line-height: 1.55; }
.policy-note li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Legal */
.legal-section { background: var(--bg); }
.legal-container { max-width: 760px; }
.legal-content h2 { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text); margin: 36px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { margin: 12px 0 12px 20px; }
.legal-content li { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 6px; }
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--accent); }

/* ---- 11. FAQ ---- */
.faq-section { background: var(--bg-2); }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--accent-line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: none; border: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px; font-weight: 500;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
  transition: var(--transition);
}
.faq-q:hover { color: var(--accent); }
.faq-icon { font-size: 22px; color: var(--accent); flex-shrink: 0; font-weight: 300; transition: var(--transition); line-height: 1; }
.faq-a { font-size: 14px; color: var(--text-2); line-height: 1.7; padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 20px 18px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ---- 12. CTA BAND AND FOOTER ---- */
.cta-band { background: linear-gradient(135deg, #d8bd92 0%, #9c7a4a 100%); padding: 80px 0; }
.cta-inner { text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(26px, 4vw, 40px); font-weight: 700; color: #1a1610; margin-bottom: 12px; letter-spacing: -0.01em; }
.cta-band p { font-size: 16px; color: rgba(26, 22, 16, 0.72); margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-primary { background: #1a1610; color: var(--accent); }
.cta-band .btn-primary:hover { background: #000; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); }
.cta-band .btn-ghost-dark { background: rgba(26, 22, 16, 0.12); color: #1a1610; border-color: rgba(26, 22, 16, 0.3); }
.cta-band .btn-ghost-dark:hover { background: rgba(26, 22, 16, 0.2); }

.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 48px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: start; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.footer-brand strong { display: block; font-family: var(--font-display); font-size: 15px; color: var(--text); }
.footer-brand span { font-size: 12px; color: var(--text-3); }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.footer-links a { font-size: 13px; color: var(--text-3); transition: var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px 24px; text-align: center; font-size: 12px; color: var(--text-3); }

.cta-phone, .cta-email {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.cta-phone { background: var(--accent); color: #1a1610; }
.cta-phone:hover { background: var(--accent-2); transform: translateY(-2px); }
.cta-email { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line); }
.cta-email:hover { background: rgba(216, 189, 146, 0.2); transform: translateY(-2px); }

/* ---- 13. FLOATING BUTTONS ---- */
.float-btns {
  position: fixed; bottom: 28px; right: 24px;
  display: flex; flex-direction: column; gap: 12px;
  z-index: 9999;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.float-btns.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.float-btn:hover, .float-btn:active { transform: scale(1.1); box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45); }
.float-btn svg { width: 24px; height: 24px; display: block; }
.float-btn-wa { background: #25D366; }
.float-btn-wa svg { fill: #ffffff; }
.float-btn-tel { background: var(--accent); }
.float-btn-tel svg { fill: #1a1610; }
.float-btn-label {
  position: absolute; right: 62px;
  background: rgba(20, 20, 24, 0.92);
  color: #f6f1e9;
  font-size: 12px; font-weight: 500;
  padding: 5px 10px; border-radius: 6px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
  font-family: var(--font-body);
}
.float-btn:hover .float-btn-label { opacity: 1; }

/* ---- 14. ANIMATIONS AND RESPONSIVE ---- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Reveal-on-scroll (driven by IntersectionObserver in main.js) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero { flex-direction: column; padding-top: 110px; gap: 40px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { flex-direction: row; flex: unset; width: 100%; justify-content: center; flex-wrap: wrap; }
  .hero-card { flex: 0 0 calc(50% - 8px); }
  .meet-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .meet-photo { max-width: 280px; margin: 0 auto; }
  .meet-actions { justify-content: center; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo-frame { aspect-ratio: 1/1; max-width: 300px; margin: 0 auto 20px; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-contact { align-items: center; }
  .footer-links { flex-direction: row; justify-content: center; flex-wrap: wrap; }
}

/* Timeline collapses to single column */
@media (max-width: 760px) {
  .timeline::before { left: 18px; }
  .tl-item, .tl-item.tl-left, .tl-item.tl-right { width: 100%; left: 0; padding: 0 0 36px 46px; }
  .tl-item.tl-left .tl-node, .tl-item.tl-right .tl-node { left: 10px; right: auto; }
}

@media (max-width: 640px) {
  .nav { padding: 0 20px; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(15, 15, 18, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 4px;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links a { padding: 11px 16px; border-radius: var(--radius); }
  .nav-links a.nav-cta { margin-top: 8px; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }
  .hero { padding: 96px 20px 60px; }
  .hero-card { flex: 0 0 100%; }
  .section { padding: 64px 0; }
  .service-items { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-inner { padding-bottom: 28px; gap: 24px; }
}

/* ---- ACCESSIBILITY: REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .card-float, .card-float-2, .card-float-3 { animation: none !important; }
}
