/* ============================================================
   PORTFOLIO-EDITORIAL — DESIGN SYSTEM
   Premium editorial personal-freelancer portfolio
   Warm off-white · deep charcoal · golden-yellow accent
   ============================================================ */
:root {
  --paper: #f4f1ea;
  --paper-2: #ece8df;
  --ink: #16150f;
  --ink-soft: #3a382f;
  --muted: #6f6b5e;
  --line: #d8d2c4;
  --gold: #f5b800;
  --gold-deep: #dc9f00;
  --gold-soft: #ffe28a;
  --white: #ffffff;
  --black: #16150f;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 20px;
  --radius-sm: 14px;
  --container: 1200px;
  --shadow-board: 0 0 0 1px rgba(22, 21, 15, 0.06);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

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

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

.accent {
  color: var(--gold-deep);
}

section[id] {
  scroll-margin-top: 84px;
}

/* ============================================================
   EDITORIAL METADATA / LABELS
   ============================================================ */
.ed-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.ed-tag::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 16px;
}

.btn--sm {
  padding: 11px 20px;
  font-size: 13px;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 184, 0, 0.32);
}

.btn--whatsapp {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--whatsapp:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  font-size: 13px;
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav.scrolled {
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(22, 21, 15, 0.04);
}

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

.nav__logo {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.nav__logo .accent {
  color: var(--gold-deep);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.2s ease;
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--ink);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

.nav__cta {
  padding: 11px 22px;
  font-size: 13px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 100;
}

.nav__toggle span {
  width: 26px;
  height: 3px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.nav__toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 150px 0 96px;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(60% 40% at 90% 10%, rgba(245, 184, 0, 0.12), transparent 60%),
    var(--paper);
}

.hero::before {
  content: '01';
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(180px, 26vw, 420px);
  line-height: 1;
  color: rgba(22, 21, 15, 0.04);
  top: -60px;
  left: -20px;
  z-index: 0;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero__tag::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 32px;
}

.hero__title .accent {
  position: relative;
  color: var(--ink);
  z-index: 0;
}

.hero__title .accent::before {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 6%;
  height: 34%;
  background: var(--gold);
  z-index: -1;
  transform: rotate(-1.5deg);
}

.hero__copy {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__trust {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero visual — editorial graphic */
.hero__graphic {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
}

.hero__orb--1 {
  width: 360px;
  height: 360px;
  background: var(--gold);
  top: 4%;
  right: 2%;
  opacity: 0.9;
  transform: rotate(-8deg);
}

.hero__orb--2 {
  width: 220px;
  height: 220px;
  border: 2px solid var(--ink);
  bottom: 6%;
  left: 4%;
  background: transparent;
}

.hero__dashboard {
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 30px;
  width: 330px;
  box-shadow: 14px 14px 0 rgba(22, 21, 15, 0.9);
  transform: rotate(-2deg);
}

.hero__dash-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid var(--ink);
}

.dot--green { background: var(--gold); }

.dash-line {
  height: 8px;
  border-radius: 2px;
  background: var(--paper-2);
}

.dash-line--w80 { width: 80%; }
.dash-line--w60 { width: 60%; }
.dash-line--w90 { width: 90%; }
.dash-line--w45 { width: 45%; }

.hero__dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 100px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.chart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--ink);
  animation: grow 1.4s ease forwards;
  transform-origin: bottom;
}

@keyframes grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.hero__floating {
  position: absolute;
  z-index: 3;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 6px 6px 0 rgba(22, 21, 15, 0.85);
}

.hero__float-seo {
  top: 10%;
  right: 0%;
  transform: rotate(6deg);
  animation: float 5s ease-in-out infinite;
}

.hero__float-ai {
  bottom: 16%;
  left: 0%;
  transform: rotate(-5deg);
  background: var(--gold);
  animation: float 5s ease-in-out 1s infinite;
}

.hero__float-web {
  top: 50%;
  left: -8%;
  transform: rotate(-3deg);
  animation: float 5s ease-in-out 2s infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(0) rotate(var(--r, 0deg)); }
  50% { transform: translateX(-8px) rotate(var(--r, 0deg)); }
}

.hero__float-seo { --r: 6deg; }
.hero__float-ai { --r: -5deg; }
.hero__float-web { --r: -3deg; }

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  padding: 104px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 820px;
}

.section__title .accent {
  position: relative;
  color: var(--ink);
  z-index: 0;
}

.section__title .accent::before {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 4%;
  height: 30%;
  background: var(--gold);
  z-index: -1;
  transform: rotate(-1.5deg);
}

.section__subtitle {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 52px;
  line-height: 1.75;
}

.section__cta {
  margin-top: 52px;
  display: flex;
  justify-content: center;
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem {
  background: var(--paper);
}

.problem .section__title {
  margin-bottom: 52px;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.problem__card {
  background: var(--paper);
  padding: 28px 26px;
  font-size: 15px;
  color: var(--ink-soft);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transition: background 0.25s ease, color 0.25s ease;
  min-height: 128px;
}

.problem__card:hover {
  background: var(--ink);
  color: var(--paper);
}

.problem__icon {
  font-family: var(--font-display);
  font-weight: 900;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 13px;
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.problem__card:hover .problem__icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.problem__solution {
  margin-top: 48px;
  border-left: 8px solid var(--gold);
  padding: 8px 0 8px 28px;
  max-width: 760px;
}

.problem__solution p {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

/* ============================================================
   VALUE PROPOSITION
   ============================================================ */
.valueprop {
  background: var(--ink);
  color: var(--paper);
}

.valueprop .section__title {
  color: var(--paper);
  text-align: center;
  max-width: none;
}

.valueprop .section__title .accent::before {
  background: var(--gold);
}

.valueprop__visual {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.valueprop__stack {
  margin-bottom: 32px;
}

.valueprop__item {
  background: transparent;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: 0.02em;
  color: var(--paper);
  padding: 12px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
}

.valueprop__item:nth-child(1) { border-color: var(--gold); color: var(--gold); }
.valueprop__item:nth-child(3) { border-color: var(--gold); color: var(--gold); }
.valueprop__item:nth-child(7) { border-color: var(--gold); color: var(--gold); }
.valueprop__item:nth-child(11) { border-color: var(--gold); color: var(--gold); }

.valueprop__plus {
  display: block;
  color: var(--muted);
  font-size: 24px;
  font-weight: 800;
  margin: 14px 0;
}

.valueprop__equals {
  display: block;
  color: var(--gold);
  font-size: 34px;
  font-weight: 900;
  margin: 26px 0 18px;
}

.valueprop__result {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: 0.03em;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  padding: 18px 34px;
  transform: rotate(-2deg);
}

.valueprop__desc {
  color: var(--muted);
  font-size: 16px;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

.valueprop .btn--primary {
  background: var(--gold);
  color: var(--ink);
}

.valueprop .btn--primary:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--paper);
}

.services .section__title {
  margin-bottom: 52px;
}

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

.service-card {
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
}

.service-card:nth-child(1),
.service-card:nth-child(4),
.service-card:nth-child(6),
.service-card:nth-child(7) {
  background: var(--gold);
}

.service-card:nth-child(2),
.service-card:nth-child(5),
.service-card:nth-child(8) {
  background: var(--paper);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 10px 10px 0 rgba(22, 21, 15, 0.9);
}

.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  background: var(--ink);
  margin-bottom: 22px;
}

.service-card:nth-child(1) .service-card__icon,
.service-card:nth-child(4) .service-card__icon,
.service-card:nth-child(6) .service-card__icon,
.service-card:nth-child(7) .service-card__icon {
  background: var(--paper);
  color: var(--ink);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--ink);
}

.service-card__desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-style: italic;
  border-left: 3px solid var(--ink);
  padding-left: 12px;
}

.service-card__list {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.service-card__list li {
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-card__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  flex-shrink: 0;
  margin-top: 8px;
}

.service-card:nth-child(1) .service-card__list li,
.service-card:nth-child(4) .service-card__list li,
.service-card:nth-child(6) .service-card__list li,
.service-card:nth-child(7) .service-card__list li {
  color: var(--ink);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  background: var(--paper-2);
  position: relative;
}

.process__flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
}

.process__step {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process__step:hover {
  transform: translateX(12px);
  box-shadow: 8px 8px 0 rgba(22, 21, 15, 0.9);
}

.process__number {
  position: absolute;
  top: -20px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  color: var(--gold-deep);
  line-height: 1;
}

.process__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}

.process__desc {
  font-size: 14px;
  color: var(--muted);
}

.process__arrow {
  text-align: center;
  color: var(--ink);
  font-size: 28px;
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 800;
}

/* ============================================================
   AI ADVANTAGE
   ============================================================ */
.ai-advantage {
  background: var(--paper);
  text-align: center;
}

.ai-advantage .section__title {
  max-width: none;
}

.ai-advantage .section__subtitle {
  margin: 0 auto 52px;
}

.ai-advantage__headline {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 44px;
  position: relative;
  display: inline-block;
  padding: 6px 24px;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}

.ai-advantage__flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.ai-advantage__item {
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.ai-advantage__item:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-4px);
}

.ai-advantage__item:nth-child(4n) {
  background: var(--gold);
}

/* ============================================================
   HYPERLOCAL
   ============================================================ */
.hyperlocal {
  background: var(--paper);
}

.hyperlocal__formula {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hyperlocal__item {
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 24px 30px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hyperlocal__item:nth-child(1) { background: var(--gold); transform: rotate(-2deg); }
.hyperlocal__item:nth-child(3) { transform: rotate(2deg); }
.hyperlocal__item:nth-child(5) { background: var(--gold); transform: rotate(-1.5deg); }

.hyperlocal__plus {
  color: var(--ink);
  font-weight: 900;
  font-size: 30px;
  font-family: var(--font-display);
}

.hyperlocal__example {
  text-align: center;
  padding: 28px;
  background: var(--ink);
  border-radius: var(--radius);
  margin-bottom: 34px;
  color: var(--paper);
}

.hyperlocal__ex-title {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.hyperlocal__example p {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 800;
}

.hyperlocal__example .accent {
  color: var(--gold);
}

.hyperlocal__desc {
  text-align: center;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
}

/* ============================================================
   FLOW SECTIONS (SOCIAL / CONTENT / SEO / CREATIVE / VIDEO)
   ============================================================ */
.social-media,
.content-system,
.creative-design {
  background: var(--paper);
}

.seo-copywriting,
.ai-video {
  background: var(--ink);
  color: var(--paper);
}

.seo-copywriting .section__title,
.ai-video .section__title {
  color: var(--paper);
}

.seo-copywriting .section__title .accent::before,
.ai-video .section__title .accent::before {
  background: var(--gold);
}

.seo-copywriting .section__subtitle,
.ai-video .section__subtitle {
  color: var(--muted);
}

.social-media__flow,
.content-system__flow,
.seo-copywriting__grid,
.ai-video__workflow,
.creative-design__wf-flow {
  display: grid;
  gap: 16px;
}

.social-media__flow {
  grid-template-columns: repeat(4, 1fr);
  max-width: 960px;
  margin: 0 auto 44px;
}

.social-media__step,
.content-system__step,
.seo-copywriting__item,
.ai-video__step,
.creative-design__wf-step,
.creative-design__type {
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 22px 16px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.social-media__step:hover,
.content-system__step:hover,
.seo-copywriting__item:hover,
.ai-video__step:hover,
.creative-design__wf-step:hover,
.creative-design__type:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-3px);
}

/* dark sections — flow chips on ink background */
.seo-copywriting__item,
.ai-video__step {
  background: var(--paper);
  border-color: var(--paper-2);
  color: var(--ink);
}

.seo-copywriting__item:hover,
.ai-video__step:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.seo-copywriting__grid {
  grid-template-columns: repeat(4, 1fr);
  max-width: 900px;
  margin: 0 auto 40px;
}

.social-media__platforms,
.ai-video__services {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-media__platform,
.ai-video__services span {
  padding: 12px 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  transition: background 0.25s ease, color 0.25s ease;
}

.social-media__platform:hover,
.ai-video__services span:hover {
  background: var(--gold);
}

.ai-video__services span {
  border-color: var(--paper-2);
  color: var(--paper);
  background: transparent;
}

.ai-video__services span:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.content-system__flow {
  grid-template-columns: repeat(5, 1fr);
  max-width: 1080px;
  margin: 0 auto;
}

.creative-design__types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 52px;
}

.creative-design__type {
  padding: 28px 18px;
  font-size: 16px;
}

.creative-design__type:nth-child(2),
.creative-design__type:nth-child(5) {
  background: var(--gold);
}

.creative-design__workflow {
  max-width: 900px;
  margin: 0 auto;
}

.creative-design__wf-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.creative-design__wf-flow {
  grid-template-columns: repeat(4, 1fr);
}

.ai-video__workflow {
  grid-template-columns: repeat(5, 1fr);
  margin: 0 auto 44px;
  max-width: 1080px;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio {
  background: var(--paper);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.portfolio__card {
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.portfolio__card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 64px;
  background: var(--gold);
  border-radius: 0 0 0 100%;
  z-index: 1;
}

.portfolio__card:nth-child(1) {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-1deg);
}

.portfolio__card:nth-child(1)::after {
  background: var(--gold);
}

.portfolio__card:nth-child(2) {
  transform: translateY(40px) rotate(1deg);
}

.portfolio__card:nth-child(3) {
  background: var(--gold);
  transform: rotate(-0.5deg);
}

.portfolio__card:hover {
  transform: translateY(28px) rotate(0deg);
  box-shadow: 10px 10px 0 rgba(22, 21, 15, 0.8);
}

.portfolio__card:hover::after {
  width: 80px;
  height: 80px;
}

.portfolio__label {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.portfolio__name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.1;
  position: relative;
  z-index: 2;
}

.portfolio__industry {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.portfolio__card:nth-child(1) .portfolio__industry {
  color: var(--gold-soft);
}

.portfolio__details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 2;
}

.portfolio__detail {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.portfolio__card:nth-child(1) .portfolio__detail {
  border-top-color: rgba(244, 241, 234, 0.2);
}

.portfolio__detail strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
}

.portfolio__card:nth-child(1) .portfolio__detail strong {
  color: var(--gold);
}

.portfolio__detail p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.portfolio__card:nth-child(1) .portfolio__detail p {
  color: var(--paper-2);
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries {
  background: var(--paper-2);
}

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

.industries__card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 30px 20px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.industries__card:nth-child(1),
.industries__card:nth-child(4),
.industries__card:nth-child(6),
.industries__card:nth-child(7) {
  background: var(--gold);
}

.industries__card:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-4px);
}

.industries__note {
  margin-top: 44px;
  text-align: center;
  font-size: 17px;
  color: var(--ink-soft);
}

.industries__note a {
  color: var(--gold-deep);
  font-weight: 700;
  font-family: var(--font-display);
  border-bottom: 2px solid var(--gold);
}

.industries__note a:hover {
  color: var(--ink);
}

/* ============================================================
   WHY ME
   ============================================================ */
.why-me {
  background: var(--paper);
  position: relative;
}

.why-me::before {
  content: '06';
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(160px, 22vw, 360px);
  line-height: 1;
  color: rgba(22, 21, 15, 0.04);
  top: 20px;
  right: -20px;
  z-index: 0;
  pointer-events: none;
}

.why-me__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}

.why-me__card {
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 34px 30px;
  counter-increment: why;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-me__card::before {
  content: counter(why, decimal-leading-zero);
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  color: rgba(22, 21, 15, 0.12);
}

.why-me__grid {
  counter-reset: why;
}

.why-me__card:nth-child(3n+1) {
  border-top: 8px solid var(--gold);
}

.why-me__card:hover {
  transform: translateY(-6px);
  box-shadow: 10px 10px 0 rgba(22, 21, 15, 0.8);
}

.why-me__card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  color: var(--ink);
  padding-right: 40px;
}

.why-me__card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--paper);
}

.about .section__title {
  font-size: clamp(40px, 6vw, 72px);
}

.about__content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
}

.about__text p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: 1.85;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: sticky;
  top: 110px;
}

.about__tags span {
  padding: 12px 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease;
}

.about__tags span:nth-child(2),
.about__tags span:nth-child(5) {
  background: var(--gold);
}

.about__tags span:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--paper-2);
}

.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--paper);
  overflow: hidden;
  transition: background 0.25s ease;
}

.faq__item.open {
  background: var(--white);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-display);
  padding: 24px 28px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq__icon {
  width: 26px;
  height: 26px;
  position: relative;
  flex-shrink: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq__icon::before {
  width: 2px;
  height: 12px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 12px;
  height: 2px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.faq__item.open .faq__icon {
  background: var(--gold);
  border-color: var(--ink);
}

.faq__item.open .faq__icon::before {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

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

.faq__answer p {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--ink);
  color: var(--paper);
}

.contact .section__title {
  color: var(--paper);
}

.contact .section__title .accent::before {
  background: var(--gold);
}

.contact .section__subtitle {
  color: var(--muted);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 34px;
  position: relative;
  z-index: 1;
}

.contact__detail {
  border-top: 2px solid var(--paper-2);
  padding-top: 20px;
}

.contact__detail h3 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.contact__detail a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  transition: color 0.2s ease;
  word-break: break-word;
}

.contact__detail a:hover {
  color: var(--gold);
}

.contact__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  margin-top: 8px;
}

.contact .btn--primary {
  background: var(--gold);
  color: var(--ink);
}

.contact .btn--primary:hover {
  background: var(--paper);
  color: var(--ink);
}

.contact .btn--whatsapp {
  color: var(--paper);
  border-color: var(--paper-2);
}

.contact .btn--whatsapp:hover {
  background: var(--paper);
  color: var(--ink);
}

.contact__form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 40px;
  border: 2px solid var(--gold);
  box-shadow: 12px 12px 0 rgba(245, 184, 0, 0.25);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form__group input,
.form__group textarea {
  width: 100%;
  background: var(--paper-2);
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(245, 184, 0, 0.25);
}

.form__group textarea {
  resize: vertical;
  min-height: 110px;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: #a9a394;
}

.contact__form .btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.contact__form .btn--primary:hover {
  background: var(--gold);
  color: var(--ink);
}

.form__success {
  display: none;
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}

.form__success.show {
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid rgba(244, 241, 234, 0.12);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 40px;
  padding: 60px 0 44px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.footer__logo .accent {
  color: var(--gold);
}

.footer__tagline {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}

.footer__sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  color: var(--paper-2);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact a {
  color: var(--paper-2);
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer__contact a:hover {
  color: var(--gold);
}

.footer__bottom {
  border-top: 1px solid rgba(244, 241, 234, 0.12);
  padding: 24px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--paper-2);
  opacity: 0.6;
}

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  z-index: 100;
  padding: 12px 16px;
  gap: 12px;
  background: rgba(244, 241, 234, 0.97);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--ink);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.mobile-cta.visible {
  transform: translateY(0);
}

.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-display);
}

.mobile-cta__whatsapp {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
}

.mobile-cta__consult {
  background: var(--ink);
  color: var(--paper);
}

.mobile-cta__consult:hover {
  background: var(--gold);
  color: var(--ink);
}

/* ============================================================
   REVEAL ANIMATION (progressive enhancement)
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .problem__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-me__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio__grid {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio__card:nth-child(3) {
    grid-column: span 2;
  }
  .portfolio__card:nth-child(2) {
    transform: translateY(0) rotate(1deg);
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__graphic {
    min-height: 400px;
  }
}

@media (max-width: 900px) {
  .nav__toggle {
    display: flex;
  }
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 34px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 2px solid var(--ink);
    z-index: 99;
  }
  .nav__links.open {
    transform: translateX(0);
  }
  .nav__link {
    font-size: 20px;
    color: var(--ink);
  }
  .nav__cta {
    display: none;
  }
  .hero__content {
    text-align: left;
  }
  .about__content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about__tags {
    position: static;
  }
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .social-media__flow {
    grid-template-columns: repeat(3, 1fr);
  }
  .content-system__flow {
    grid-template-columns: repeat(3, 1fr);
  }
  .ai-video__workflow {
    grid-template-columns: repeat(3, 1fr);
  }
  .seo-copywriting__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .creative-design__wf-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mobile-cta {
    display: flex;
  }
  body {
    padding-bottom: 72px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 128px 0 72px;
  }
  .services__grid {
    grid-template-columns: 1fr;
  }
  .problem__grid {
    grid-template-columns: 1fr;
  }
  .why-me__grid {
    grid-template-columns: 1fr;
  }
  .industries__grid {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio__grid {
    grid-template-columns: 1fr;
  }
  .portfolio__card:nth-child(3) {
    grid-column: span 1;
  }
  .social-media__flow,
  .content-system__flow,
  .ai-video__workflow,
  .seo-copywriting__grid,
  .creative-design__wf-flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .creative-design__types {
    grid-template-columns: 1fr;
  }
  .hyperlocal__formula {
    flex-direction: column;
    gap: 14px;
  }
  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .section {
    padding: 72px 0;
  }
  .contact__form {
    padding: 26px;
  }
  .ai-advantage__flow {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio__card:nth-child(2).reveal.visible {
    transform: rotate(1deg);
  }
}

/* accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
