/* =====================================================
   CODEZEM — WordPress Custom Plugin Development
   Aesthetic: Editorial dark dev-studio, warm amber accent
   ===================================================== */

:root {
  --bg: #0a0a09;
  --bg-2: #0f0f0d;
  --bg-3: #161613;
  --ink: #f5f1e8;
  --ink-2: #c8c2b3;
  --ink-3: #7a7468;
  --line: rgba(245, 241, 232, 0.08);
  --line-2: rgba(245, 241, 232, 0.15);
  --accent: #ff7a2e;
  --accent-2: #ffb649;
  --accent-soft: rgba(255, 122, 46, 0.12);
  --green: #7dd685;

  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --maxw: 1320px;
  --pad: clamp(20px, 4vw, 60px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em, i { font-style: italic; font-family: var(--serif); font-weight: 400; }

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

/* ============ GRAIN ============ */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grain-shift 8s steps(10) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0,0); }
  10% { transform: translate(-2%,-3%); }
  20% { transform: translate(-4%,2%); }
  30% { transform: translate(2%,-4%); }
  40% { transform: translate(-2%,5%); }
  50% { transform: translate(-4%,2%); }
  60% { transform: translate(3%,-1%); }
  70% { transform: translate(0,-2%); }
  80% { transform: translate(-3%,3%); }
  90% { transform: translate(2%,4%); }
}

/* ============ GRID BG ============ */
.grid-bg {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ============ CURSOR ============ */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transition: transform 0.05s linear, width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease);
}
.cursor {
  width: 36px; height: 36px;
  border: 1px solid var(--accent);
  transform: translate(-50%,-50%);
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  transform: translate(-50%,-50%);
}
.cursor.hover {
  width: 70px; height: 70px;
  background: var(--accent-soft);
  border-color: transparent;
}

@media (hover: none), (pointer: coarse) {
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 32px);
  max-width: var(--maxw);
  transition: top 0.4s var(--ease), transform 0.4s var(--ease);
}
.nav.scrolled .nav-inner {
  background: rgba(15, 15, 13, 0.85);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-color: var(--line-2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px 14px 24px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(10, 10, 9, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s var(--ease);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.logo-mark { color: var(--accent); font-weight: 700; }
.logo-text { color: var(--ink); }

.nav-links {
  display: flex;
  gap: 6px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 100px;
  transition: all 0.25s var(--ease);
  letter-spacing: 0.01em;
}
.nav-link:hover {
  color: var(--ink);
  background: rgba(245, 241, 232, 0.05);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 14px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s var(--ease);
}
.nav-cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(255, 122, 46, 0.4);
}

.status-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 140px var(--pad) 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-2);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.2s forwards;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 8.5vw, 138px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 60px;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .word {
  display: inline-block;
}
.hero-title .word.serif {
  font-style: italic;
  color: var(--accent);
}
.hero-title .word.italic {
  font-style: italic;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  animation: revealUp 1.1s var(--ease) forwards;
}
.line .word.reveal { animation-delay: 0.3s; }
.line:nth-child(1) .word.reveal { animation-delay: 0.3s; }
.line:nth-child(2) .word:nth-child(1) { animation-delay: 0.45s; }
.line:nth-child(2) .word:nth-child(2) { animation-delay: 0.55s; }
.line:nth-child(3) .word.reveal { animation-delay: 0.7s; }
.line:nth-child(4) .word:nth-child(1) { animation-delay: 0.85s; }
.line:nth-child(4) .word:nth-child(2) { animation-delay: 0.95s; }

.hero-sub.reveal { animation-delay: 1.1s; }
.hero-actions.reveal { animation-delay: 1.25s; }
.hero-stats.reveal { animation-delay: 1.4s; }

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.hero-sub {
  max-width: 540px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--ink-2);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent); color: var(--bg); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 800px) {
  .hero-bottom { grid-template-columns: 1fr; gap: 32px; }
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 20px;
  position: relative;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 60%;
  background: var(--line);
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  display: inline;
}
.stat-plus {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  color: var(--accent);
  margin-left: 2px;
}
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 8px;
}
@media (max-width: 700px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat:nth-child(2)::after { display: none; }
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--ink-3) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: -20px; left: 0;
  width: 1px; height: 20px;
  background: var(--accent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -20px; }
  100% { top: 60px; }
}

/* ============ MARQUEE ============ */
.marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marqueeScroll 40s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.marquee-dot {
  color: var(--accent);
  font-size: 16px;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTION HEADER ============ */
.section-header {
  max-width: 900px;
  margin: 0 0 80px;
}
.section-header.center { margin: 0 auto 80px; text-align: center; }
.section-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent);
}
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.section-title em {
  color: var(--accent);
  font-style: italic;
}
.section-sub {
  margin-top: 24px;
  max-width: 620px;
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--ink-2);
  line-height: 1.6;
}

/* ============ INTRO BLOCK ============ */
.intro-block {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px var(--pad);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
}
.intro-copy p {
  font-size: 16px;
  color: var(--ink-2);
  margin-bottom: 20px;
  line-height: 1.65;
}
.intro-copy .lead {
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 32px;
}
.intro-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.side-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  transition: border-color 0.3s var(--ease);
}
.side-card:hover { border-color: var(--line-2); }
.side-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.side-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.side-card p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}
.stack-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.stack-list li:last-child { border-bottom: none; }
.stack-list .mono {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ PLUGINS ============ */
.plugins {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px var(--pad) 120px;
}
.plugin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.plugin-card {
  position: relative;
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background 0.4s var(--ease);
  overflow: hidden;
}
.plugin-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.plugin-card:hover::before { opacity: 1; }
.plugin-card:hover { background: var(--bg-2); }
.plugin-card.featured {
  background: linear-gradient(135deg, rgba(255, 122, 46, 0.06), rgba(255, 122, 46, 0.02));
}
.plugin-glow {
  position: absolute;
  top: -50px; right: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}
.plugin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.plugin-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
}
.plugin-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--ink-2);
}
.plugin-tag.accent {
  color: var(--accent);
  border-color: var(--accent);
}
.plugin-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  color: var(--ink);
}
.plugin-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.plugin-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.plugin-features li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.plugin-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
}
.plugin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all 0.3s var(--ease);
}
.plugin-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.plugin-link span { transition: transform 0.3s var(--ease); }
.plugin-link:hover span { transform: translateX(4px); }

@media (max-width: 950px) {
  .plugin-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .plugin-grid { grid-template-columns: 1fr; }
}

/* ============ SERVICES ============ */
.services {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  padding: 120px var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services .section-header { max-width: var(--maxw); margin: 0 auto 80px; }
.service-list {
  max-width: var(--maxw);
  margin: 0 auto;
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 40px;
  align-items: center;
  gap: 32px;
  padding: 32px 16px;
  border-top: 1px solid var(--line);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
  z-index: 0;
}
.service-row:hover::before { transform: translateY(0); }
.service-row:hover .service-num,
.service-row:hover .service-body h3,
.service-row:hover .service-body p,
.service-row:hover .service-tags span,
.service-row:hover .service-arrow { color: var(--bg); position: relative; z-index: 1; }
.service-row:hover .service-tags span { border-color: var(--bg); }
.service-row > * { position: relative; z-index: 1; }

.service-num {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-3);
  transition: color 0.4s var(--ease);
}
.service-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
  transition: color 0.4s var(--ease);
}
.service-body p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 680px;
  margin-bottom: 12px;
  transition: color 0.4s var(--ease);
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tags span {
  font-family: var(--mono);
  font-size: 10px;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  transition: all 0.4s var(--ease);
}
.service-arrow {
  font-size: 24px;
  color: var(--ink-3);
  transition: all 0.4s var(--ease);
  text-align: right;
}
.service-row:hover .service-arrow { transform: translateX(8px); }

@media (max-width: 700px) {
  .service-row { grid-template-columns: 50px 1fr 30px; gap: 16px; }
}

/* ============ PROCESS ============ */
.process {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px var(--pad);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process-step {
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.process-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.process-step:hover::before { transform: scaleX(1); }
.process-step:hover {
  background: var(--bg-3);
  border-color: var(--line-2);
  transform: translateY(-4px);
}
.process-num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.process-step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ============ DEEP CONTENT ============ */
.deep-content {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px var(--pad);
  border-top: 1px solid var(--line);
}
.content-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 80px;
}
.content-col h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  color: var(--ink);
  line-height: 1.2;
}
.content-col p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 16px;
}

@media (max-width: 800px) {
  .content-columns { grid-template-columns: 1fr; gap: 40px; }
}

/* ============ FAQ ============ */
.faq {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px var(--pad);
  border-top: 1px solid var(--line);
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease);
}
.faq-item[open] { background: var(--bg-2); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 16px;
  cursor: none;
  list-style: none;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-toggle {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.4s var(--ease);
  flex-shrink: 0;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-body {
  padding: 0 16px 28px;
  max-width: 820px;
}
.faq-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}

/* ============ CONTACT ============ */
.contact {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  padding: 120px var(--pad);
  border-top: 1px solid var(--line);
}
.contact-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 5.5vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 16px 0 28px;
}
.contact-title em { color: var(--accent); }
.contact-sub {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 40px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.channel {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  transition: all 0.3s var(--ease);
}
.channel:hover {
  border-color: var(--accent);
  background: var(--bg-3);
  transform: translateX(4px);
}
.channel-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border-radius: 50%;
  color: var(--accent);
  flex-shrink: 0;
}
.channel-icon svg { width: 20px; height: 20px; }
.channel-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.channel-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.channel-value {
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
}
.channel-arrow {
  color: var(--ink-3);
  font-size: 18px;
  transition: all 0.3s var(--ease);
}
.channel:hover .channel-arrow { color: var(--accent); transform: translateX(4px); }

/* Terminal */
.terminal {
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: #0c0c0a;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.terminal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #161613;
  border-bottom: 1px solid var(--line);
}
.terminal-head .dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.terminal-title {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}
.terminal-body {
  padding: 24px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.9;
}
.terminal-body p { margin: 0; }
.t-prompt { color: var(--accent); margin-right: 8px; }
.t-cmd { color: var(--ink); }
.t-out { color: var(--ink-2); padding-left: 0; opacity: 0; animation: typeIn 0.5s var(--ease) forwards; }
.t-out.success { color: var(--green); }
.terminal-body p:nth-child(2) { animation-delay: 0.5s; }
.terminal-body p:nth-child(3) { animation-delay: 1s; }
.terminal-body p:nth-child(4) { animation-delay: 1.5s; }
.terminal-body p:nth-child(6) { animation-delay: 2.2s; }
.terminal-body p:nth-child(7) { animation-delay: 2.7s; }
.t-cursor {
  color: var(--accent);
  animation: blink 1s steps(2) infinite;
}
@keyframes typeIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes blink {
  50% { opacity: 0; }
}

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 60px; }
}

/* ============ FOOTER ============ */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: 80px var(--pad) 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer-brand p {
  margin: 24px 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
  max-width: 360px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact a {
  font-size: 14px;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.footer-contact a:hover { color: var(--accent); }
.online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 4px;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--ink); }
.footer-base {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-3);
}
.footer-base .mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 99;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
.wa-float svg { width: 30px; height: 30px; }
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============ SCROLL REVEAL ============ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE TWEAKS ============ */
@media (max-width: 540px) {
  .nav { top: 12px; width: calc(100% - 24px); }
  .nav-inner { padding: 10px 14px; }
  .nav-cta span:last-child { display: none; }
  .nav-cta { padding: 8px 12px; }
  .logo-text { font-size: 16px; }
  .hero { padding-top: 120px; }
  .hero-scroll { display: none; }
}
