/* ==========================================================================
   ORWAT MARKETING SOLUTIONS — Design System
   Generamos leads. Or what?
   ========================================================================== */

:root {
  --black: #0D0D0D;
  --black-deep: #050505;
  --red: #8B1A1A;
  --red-bright: #A31F1F;
  --red-dim: rgba(139, 26, 26, 0.5);
  --carbon: #3A3A3A;
  --carbon-soft: #1A1A1A;
  --white: #F5F5F5;
  --white-dim: rgba(245, 245, 245, 0.6);
  --white-faint: rgba(245, 245, 245, 0.1);

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-swift: cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 10vw, 9rem);
}

/* ==========================================================================
   RESET
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

body.page-leaving main,
body.page-leaving .navbar,
body.page-leaving .footer {
  opacity: 0;
  transition: opacity 300ms var(--ease-swift);
}

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

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

button {
  font: inherit;
  background: none;
  border: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
}

::selection {
  background: var(--red);
  color: var(--white);
}

/* Hide native cursor everywhere — custom cursor replaces it */
html,
body,
a,
button,
input,
textarea,
select {
  cursor: none;
}

/* Touch devices: restore native cursor */
@media (hover: none) and (pointer: coarse) {
  *,
  *::before,
  *::after,
  html,
  body,
  a,
  button,
  input,
  textarea,
  select {
    cursor: auto;
  }
  a,
  button {
    cursor: pointer;
  }
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 9vw, 8rem);
}

h2 {
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

p {
  font-size: clamp(0.95rem, 1.1vw, 1.0625rem);
  line-height: 1.65;
  color: var(--white-dim);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--red);
}

/* Reveal animations — word/char split */
.split-line {
  display: block;
  overflow: hidden;
}

.split-word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.split-word > span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 900ms var(--ease-out);
  will-change: transform;
}

.split-word.visible > span {
  transform: translateY(0);
}

.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) rotateX(-40deg);
  transform-origin: 0 100%;
  will-change: transform, opacity;
}

.split-char.animate {
  animation: charIn 900ms var(--ease-out) forwards;
}

@keyframes charIn {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.section-header {
  max-width: 900px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section-header p {
  max-width: 640px;
  margin-top: 1.5rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 400ms var(--ease-out), background 300ms var(--ease-swift), color 300ms var(--ease-swift), border-color 300ms var(--ease-swift);
  position: relative;
  will-change: transform;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              background 0.3s ease;
}

.btn-primary:hover {
  background: var(--red-bright);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(139, 26, 26, 0.4);
}

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

.btn-secondary {
  border: 1px solid rgba(245, 245, 245, 0.25);
  color: var(--white);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.btn-ghost {
  color: var(--white-dim);
}

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

.btn .arrow {
  display: inline-block;
  transition: transform 300ms var(--ease-swift);
}

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

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 400ms var(--ease-swift), backdrop-filter 400ms var(--ease-swift), padding 400ms var(--ease-swift), border-color 400ms var(--ease-swift);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(13, 13, 13, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(245, 245, 245, 0.06);
  padding: 0.75rem 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  max-height: 48px;
  width: auto;
  height: auto;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color 250ms var(--ease-swift);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 0.7rem 1.4rem;
  font-size: 0.75rem;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  position: absolute;
  left: 4px;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 400ms var(--ease-out), opacity 200ms var(--ease-swift), top 400ms var(--ease-out);
}

.nav-toggle span:nth-child(1) {
  top: 10px;
}

.nav-toggle span:nth-child(2) {
  top: 16px;
}

.nav-toggle span:nth-child(3) {
  top: 22px;
}

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

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

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

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  min-height: 100vh;
  padding-top: 8rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 35%, rgba(139, 26, 26, 0.28) 0%, transparent 45%),
    linear-gradient(to right, rgba(13, 13, 13, 0.95) 50%, rgba(13, 13, 13, 0.6) 100%);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .hero {
    background-attachment: scroll;
  }
  .hero::before {
    background:
      radial-gradient(circle at 80% 15%, rgba(139, 26, 26, 0.25) 0%, transparent 50%),
      linear-gradient(to bottom, rgba(13, 13, 13, 0.88) 30%, rgba(13, 13, 13, 0.95) 80%);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-headline {
  font-size: clamp(1.925rem, 5.95vw, 5.25rem);
  line-height: 0.95;
  margin-bottom: 2rem;
  perspective: 1000px;
}

.hero-headline .accent {
  color: var(--red);
}

.hero-sub {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  max-width: 560px;
  margin-bottom: 2.5rem;
  color: var(--white-dim);
}

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

.hero-stats {
  display: grid;
  gap: 2.25rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--white-faint);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--white);
}

.hero-stat-num .plus,
.hero-stat-num .pct {
  color: var(--red);
}

.hero-stat-label {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-dim);
  max-width: 180px;
  line-height: 1.4;
}

/* New hero stat classes (.hero-num-item / .hn / .nl) */
.hero-num-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hn {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--white);
}

.nl {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-dim);
  max-width: 200px;
  line-height: 1.4;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--white-faint);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--red);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

/* ==========================================================================
   TICKER / MARQUEE
   ========================================================================== */

.ticker {
  background: var(--red);
  padding: 1.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(0,0,0,0.15);
  transform: rotate(-1.5deg);
  margin: 3rem 0;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: tickerScroll 22s linear infinite;
  white-space: nowrap;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: 0.02em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 3rem;
}

.ticker-star {
  color: var(--black);
  font-size: 1.5rem;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   ABOUT / FOUNDERS
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about-intro h2 {
  margin-bottom: 2rem;
}

.about-intro p + p {
  margin-top: 1.25rem;
}

.about-founders {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--white-faint);
}

.founder-chip {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-dim);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.founder-chip strong {
  color: var(--white);
  font-weight: 600;
}

.founder-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.or-what-card {
  background: var(--carbon-soft);
  border: 1px solid var(--white-faint);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}

.or-what-card::before {
  content: 'Or what?';
  position: absolute;
  top: -2rem;
  right: -1rem;
  font-family: var(--font-display);
  font-size: 10rem;
  color: var(--red);
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
}

.or-what-card h3 {
  margin-bottom: 1.5rem;
  color: var(--white);
}

.or-what-card h3 em {
  color: var(--red);
  font-style: normal;
}

.or-what-card p {
  margin-bottom: 1rem;
  position: relative;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--white-faint);
  border: 1px solid var(--white-faint);
}

.service-card {
  background: var(--black);
  padding: clamp(2rem, 3.5vw, 3rem);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--white-faint);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
  will-change: transform;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(139, 26, 26, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(139, 26, 26, 0.15);
}

/* Shimmer sweep on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 100%
  );
  transform: skewX(-15deg);
  transition: none;
  pointer-events: none;
  z-index: 2;
}

.service-card:hover::before {
  animation: shimmer 0.8s ease forwards;
}

.service-num {
  font-family: var(--font-display);
  font-size: 11rem;
  line-height: 0.8;
  color: var(--white);
  opacity: 0.06;
  position: absolute;
  top: -1.5rem;
  right: -0.5rem;
  pointer-events: none;
  transition: opacity 500ms var(--ease-swift), color 500ms var(--ease-swift);
}

.service-card:hover .service-num {
  opacity: 0.18;
  color: var(--red);
}

.service-body {
  position: relative;
  z-index: 1;
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--white-dim);
}

.service-link {
  margin-top: 2rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  transition: gap 300ms var(--ease-swift);
}

.service-card:hover .service-link {
  gap: 1rem;
}

/* ==========================================================================
   WHY ORWAT — COMPARISON TABLE
   ========================================================================== */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--white-faint);
  border: 1px solid var(--white-faint);
}

.compare-col {
  background: var(--black);
  padding: clamp(2rem, 4vw, 3rem);
}

.compare-col.orwat {
  background: var(--carbon-soft);
  position: relative;
}

.compare-col.orwat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--red);
}

.compare-head {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--white-faint);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.compare-head .label {
  font-size: 0.7rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.2em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.compare-col.traditional .compare-head .label {
  background: var(--white-faint);
  color: var(--white-dim);
}

.compare-col.orwat .compare-head .label {
  background: var(--red);
  color: var(--white);
}

.compare-list li {
  padding: 1.1rem 0;
  font-size: 0.95rem;
  color: var(--white-dim);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-bottom: 1px solid var(--white-faint);
}

.compare-list li:last-child {
  border-bottom: none;
}

.compare-list li::before {
  content: '—';
  color: var(--carbon);
  flex-shrink: 0;
}

.compare-col.orwat .compare-list li {
  color: var(--white);
}

.compare-col.orwat .compare-list li::before {
  content: '→';
  color: var(--red);
  font-weight: 700;
}

/* ==========================================================================
   PROCESS — 4 STEPS
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--white-faint);
  border-top: 1px solid var(--white-faint);
  border-bottom: 1px solid var(--white-faint);
}

.process-step {
  background: var(--black);
  padding: clamp(2rem, 3vw, 2.75rem) clamp(1.5rem, 2.5vw, 2rem);
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  vertical-align: top;
  transition: background 400ms var(--ease-swift);
}

.process-step:hover {
  background: var(--carbon-soft);
}

.process-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--red);
  line-height: 1;
}

.process-num-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  display: block;
  margin-bottom: 0.5rem;
}

.process-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 1.875rem);
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 2.5rem 0 1rem;
}

.process-desc {
  font-size: 0.9rem;
}

/* ==========================================================================
   CASE STUDIES
   ========================================================================== */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}

.case-card {
  background: var(--carbon-soft);
  border: 1px solid var(--white-faint);
  padding: clamp(2rem, 3vw, 2.5rem);
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease;
}

.case-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
              0 0 40px rgba(139, 26, 26, 0.15);
}

.case-tag {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.case-card h3 {
  margin-bottom: 1rem;
}

.case-card p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--white-faint);
}

.case-metric {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.case-metric-val {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1;
  color: var(--white);
  transform: translateY(10px);
  transition: transform 500ms var(--ease-out), color 300ms var(--ease-swift);
}

.case-card:hover .case-metric-val {
  color: var(--red);
  transform: translateY(0);
}

.case-metric-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials {
  padding: var(--section-y) 0;
  overflow: hidden;
}

.testimonials-viewport {
  overflow: hidden;
  cursor: grab;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-viewport.dragging {
  cursor: grabbing;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 clamp(300px, 32vw, 420px);
  background: var(--carbon-soft);
  border: 1px solid var(--white-faint);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  user-select: none;
}

.testimonial-quote {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 2rem;
  font-weight: 400;
}

.testimonial-quote::before {
  content: '"';
  font-family: var(--font-display);
  color: var(--red);
  font-size: 3rem;
  line-height: 0;
  display: block;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--white-faint);
}

.testimonial-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--white-dim);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 2rem;
}

.contact-info > p {
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.contact-list {
  display: grid;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--white-faint);
}

.contact-item-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.contact-item-value {
  font-size: 1.0625rem;
  color: var(--white);
  font-weight: 500;
  transition: color 250ms var(--ease-swift);
}

.contact-item a:hover .contact-item-value {
  color: var(--red);
}

.contact-form {
  background: var(--carbon-soft);
  border: 1px solid var(--white-faint);
  padding: clamp(2rem, 4vw, 3rem);
}

.form-field {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 0.6rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.9rem 0;
  font-size: 1rem;
  color: var(--white);
  border-bottom: 1px solid var(--white-faint);
  transition: border-color 300ms var(--ease-swift);
  background: transparent;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-bottom-color: var(--red);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

.form-field select option {
  background: var(--black);
  color: var(--white);
}

.form-submit {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

.form-note {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--white-dim);
  text-align: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--black-deep);
  padding: clamp(4rem, 8vw, 6rem) 0 2rem;
  border-top: 1px solid var(--white-faint);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: 'ORWAT MARKETING SOLUTIONS';
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 16rem);
  letter-spacing: 0.02em;
  color: var(--white);
  opacity: 0.03;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  max-width: 320px;
  font-size: 0.9375rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--white-dim);
  transition: color 250ms var(--ease-swift), padding 300ms var(--ease-out);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--red);
  padding-left: 0.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--white-faint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  transition: border-color 300ms var(--ease-swift), color 300ms var(--ease-swift), background 300ms var(--ease-swift);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-social:hover {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--white-faint);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--white-dim);
  position: relative;
  z-index: 1;
}

.footer-bottom a {
  color: var(--white);
  transition: color 250ms var(--ease-swift);
}

.footer-bottom a:hover {
  color: var(--red);
}

/* ==========================================================================
   PAGE HEADER (inner pages)
   ========================================================================== */

.page-header {
  padding: 12rem 0 6rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--white-faint);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 40%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 26, 26, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(3rem, 10vw, 9rem);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.page-header h1 .accent {
  color: var(--red);
}

.page-header p {
  max-width: 640px;
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   SERVICES PAGE — EXPANDED LIST
   ========================================================================== */

.service-detail {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(3rem, 5vw, 5rem) 0;
  border-bottom: 1px solid var(--white-faint);
  align-items: start;
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: var(--red);
  line-height: 0.9;
}

.service-detail-main h3 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
}

.service-detail-main p {
  margin-bottom: 1.25rem;
}

.service-detail-list {
  display: grid;
  gap: 0.875rem;
}

.service-detail-list-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.service-detail-list li {
  font-size: 0.9375rem;
  color: var(--white-dim);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.service-detail-list li::before {
  content: '→';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

/* ==========================================================================
   NOSOTROS — VALUES GRID
   ========================================================================== */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--white-faint);
  border: 1px solid var(--white-faint);
}

.value-card {
  background: var(--black);
  padding: clamp(2rem, 3vw, 2.75rem);
  transition: background 400ms var(--ease-swift);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  background: var(--carbon-soft);
}

.value-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.value-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 1.75vw, 1.625rem);
}

.value-card p {
  font-size: 0.9375rem;
}

/* ==========================================================================
   MANIFESTO BLOCK
   ========================================================================== */

.manifesto {
  padding: clamp(4rem, 8vw, 7rem) 0;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--white);
}

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

/* ==========================================================================
   MISSION / VISION BLOCK
   ========================================================================== */

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--white-faint);
  border: 1px solid var(--white-faint);
}

.mission-block {
  background: var(--black);
  padding: clamp(2.5rem, 4vw, 3.5rem);
}

.mission-block h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  margin-bottom: 1.5rem;
}

.mission-block h3 .accent {
  color: var(--red);
}

.mission-block p {
  font-size: 1rem;
}

/* ==========================================================================
   SCROLL REVEAL — .rv system
   ========================================================================== */

.rv, .rv-l, .rv-r, .rv-scale, .rv-blur {
  will-change: transform, opacity;
}

/* Up reveal */
.rv {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv.in { opacity: 1; transform: translateY(0); }

/* Left reveal */
.rv-l {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv-l.in { opacity: 1; transform: translateX(0); }

/* Right reveal */
.rv-r {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv-r.in { opacity: 1; transform: translateX(0); }

/* Scale reveal */
.rv-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv-scale.in { opacity: 1; transform: scale(1); }

/* Blur reveal */
.rv-blur {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(24px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1),
              filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv-blur.in {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
}

/* Stagger delays */
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
.d6 { transition-delay: 0.6s; }

/* ==========================================================================
   CURSOR SYSTEM — Branded ISO cursor
   ========================================================================== */

* { cursor: none !important; }

#cursor-iso { will-change: transform; }
#cursor-ring { will-change: transform; }

/* Hide on touch devices */
@media (hover: none) and (pointer: coarse) {
  * { cursor: auto !important; }
  a, button { cursor: pointer !important; }
  #cursor-iso,
  #cursor-ring {
    display: none;
  }
}

/* ==========================================================================
   ISO BACKGROUND DECORATIONS — animated logo marks
   ========================================================================== */

/* ── HERO — orbiting rings + glow ──── */
@keyframes orbit-1 {
  from { transform: translate(50%,-50%) rotate(0deg); }
  to   { transform: translate(50%,-50%) rotate(360deg); }
}
@keyframes orbit-2 {
  from { transform: translate(50%,-50%) rotate(0deg); }
  to   { transform: translate(50%,-50%) rotate(-360deg); }
}
@keyframes glow-pulse {
  0%,100% { opacity:0.6; transform:scale(1); }
  50%     { opacity:1;   transform:scale(1.15); }
}

/* ── ABOUT — fragmented grid ───────── */
@keyframes frag-1 {
  0%,100% { transform:rotate(0deg) scale(1);   opacity:0.7; }
  50%     { transform:rotate(15deg) scale(1.1); opacity:1; }
}
@keyframes frag-2 {
  0%,100% { transform:rotate(0deg) translateY(0);    opacity:0.5; }
  33%     { transform:rotate(-10deg) translateY(-8px); opacity:0.9; }
  66%     { transform:rotate(8deg) translateY(4px);    opacity:0.7; }
}
@keyframes frag-3 {
  0%,100% { transform:scale(1) rotate(0deg);    opacity:0.6; }
  50%     { transform:scale(0.85) rotate(-15deg); opacity:1; }
}

/* ── SERVICES — scanline reveal ────── */
@keyframes svc-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes bracket-pulse {
  0%,100% { opacity:0.3; transform:scale(1); }
  50%     { opacity:0.8; transform:scale(1.1); }
}

/* ── WHY — glitch offsets ──────────── */
@keyframes glitch-r {
  0%,89%,100% { opacity:0;    transform:translate(0,0); }
  90%         { opacity:0.08; transform:translate(6px,-2px); }
  92%         { opacity:0.05; transform:translate(-4px,3px); }
  94%         { opacity:0.09; transform:translate(8px,0px); }
  96%         { opacity:0.04; transform:translate(-6px,-1px); }
  98%         { opacity:0.07; transform:translate(4px,2px); }
}
@keyframes glitch-l {
  0%,89%,100% { opacity:0;    transform:translate(0,0); }
  90%         { opacity:0.06; transform:translate(-6px,2px); }
  92%         { opacity:0.08; transform:translate(4px,-3px); }
  94%         { opacity:0.05; transform:translate(-8px,1px); }
  96%         { opacity:0.09; transform:translate(6px,0px); }
  98%         { opacity:0.04; transform:translate(-4px,-2px); }
}

/* ==========================================================================
   PAGE LOADER
   ========================================================================== */

@keyframes loader-glow {
  0%,100% { transform:scale(1);   opacity:0.5; }
  50%     { transform:scale(1.4); opacity:1; }
}
@keyframes loader-spin-1 {
  from { transform:rotate(0deg); }
  to   { transform:rotate(360deg); }
}
@keyframes loader-spin-2 {
  from { transform:rotate(0deg); }
  to   { transform:rotate(360deg); }
}
@keyframes loader-breathe {
  0%,100% {
    transform:scale(1);
    filter:drop-shadow(0 0 24px rgba(139,26,26,0.5));
  }
  50% {
    transform:scale(1.1);
    filter:drop-shadow(0 0 50px rgba(139,26,26,1))
           drop-shadow(0 0 100px rgba(139,26,26,0.4));
  }
}

@keyframes navLinkIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  from { left: -100%; }
  to   { left: 150%; }
}

@keyframes iso-spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Navbar scrolled — smaller logo */
.navbar.scrolled .nav-logo img {
  height: 52px !important;
  transition: height 0.3s ease;
}

/* Navbar link stagger on load */
.nav-links > a {
  opacity: 0;
  animation: navLinkIn 0.5s ease forwards;
}
.nav-links > a:nth-child(1) { animation-delay: 3.1s; }
.nav-links > a:nth-child(2) { animation-delay: 3.2s; }
.nav-links > a:nth-child(3) { animation-delay: 3.3s; }
.nav-links > a:nth-child(4) { animation-delay: 3.4s; }
.nav-links > a:nth-child(5) { animation-delay: 3.5s; }
.nav-links > a:nth-child(6) { animation-delay: 3.6s; }

/* Service number hover color */
.service-card:hover .service-num {
  opacity: 0.18 !important;
  color: var(--red);
}

/* Ticker reverse row */
.ticker-reverse {
  background: #0D0D0D !important;
  border-top: 1px solid rgba(139, 26, 26, 0.15);
  transform: rotate(1deg);
  margin-top: -1rem;
  padding: 1.25rem 0;
}
.ticker-reverse .ticker-track {
  animation-direction: reverse;
  animation-duration: 28s;
}
.ticker-reverse span {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #8B1A1A;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  letter-spacing: 0.02em;
}
.ticker-reverse .ti-sep {
  color: #8B1A1A;
  opacity: 0.6;
  font-size: 0.9em;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    padding: 2rem 0;
  }

  .hero-stat-label {
    max-width: 100%;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    grid-template-columns: 80px 1fr;
  }

  .service-detail-list {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-y: 4.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 600ms var(--ease-out);
    z-index: 105;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.5rem;
    font-family: var(--font-display);
    letter-spacing: 0.04em;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 7rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-stat {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--white-faint);
  }

  .hero-stat:last-child {
    border-bottom: none;
  }

  .hero-stat-num {
    flex-shrink: 0;
  }

  .services-grid,
  .values-grid,
  .process-grid,
  .compare,
  .mission-grid,
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    justify-content: center;
  }

  .hero-scroll {
    display: none;
  }

  .page-header {
    padding: 9rem 0 4rem;
  }

  .ticker {
    margin: 2rem 0;
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .split-char,
  .split-word > span,
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .ticker-track,
  .hero::before,
  .hero-scroll-line::after {
    animation: none !important;
  }

  #cursor-dot,
  #cursor-ring {
    display: none;
  }

  *,
  *::before,
  *::after {
    cursor: auto !important;
  }

  a,
  button {
    cursor: pointer !important;
  }
}

/* ==========================================================================
   LIGHT SECTIONS (Why Orwat + Process)
   ========================================================================== */

.section-light {
  background: #1A0505;
  color: rgba(245, 245, 245, 0.7);
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4 {
  color: #F5F5F5;
}

.section-light p {
  color: rgba(245, 245, 245, 0.7);
}

.section-light .accent {
  color: #8B1A1A;
}

.section-light .eyebrow {
  color: #8B1A1A;
}

.section-light .eyebrow::before {
  background: #8B1A1A;
}

/* Compare table on dark-red bg */
.section-light .compare {
  background: rgba(139, 26, 26, 0.3);
  border-color: rgba(139, 26, 26, 0.3);
}

.section-light .compare-col {
  background: rgba(139, 26, 26, 0.08);
}

.section-light .compare-col.orwat {
  background: rgba(139, 26, 26, 0.08);
}

.section-light .compare-head {
  color: #F5F5F5;
  border-bottom-color: rgba(139, 26, 26, 0.3);
}

.section-light .compare-col.traditional .compare-head .label {
  background: rgba(245, 245, 245, 0.08);
  color: rgba(245, 245, 245, 0.7);
}

.section-light .compare-list li {
  color: rgba(245, 245, 245, 0.7);
  border-bottom-color: rgba(139, 26, 26, 0.3);
}

.section-light .compare-col.orwat .compare-list li {
  color: #F5F5F5;
}

.section-light .compare-list li::before {
  color: rgba(245, 245, 245, 0.4);
}

.section-light .compare-col.orwat .compare-list li::before {
  color: #8B1A1A;
}

/* Process grid on dark-red bg */
.section-light .process-grid {
  background: rgba(139, 26, 26, 0.3);
  border-color: rgba(139, 26, 26, 0.3);
}

.section-light .process-step {
  background: rgba(139, 26, 26, 0.08);
}

.section-light .process-step:hover {
  background: rgba(139, 26, 26, 0.14);
}

.section-light .process-num {
  color: #8B1A1A;
}

.section-light .process-num-label {
  color: rgba(245, 245, 245, 0.7);
}

.section-light .process-title {
  color: #F5F5F5;
}

.section-light .process-desc {
  color: rgba(245, 245, 245, 0.7);
}

/* ==========================================================================
   PLACEHOLDER IMAGE BLOCKS
   ========================================================================== */

.visual-block {
  position: relative;
  background: linear-gradient(135deg, #1A1A1A 0%, #0D0D0D 60%, #0A0A0A 100%);
  border: 1px solid var(--white-faint);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(139, 26, 26, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

.visual-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,245,245,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,245,245,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.visual-block img {
  position: relative;
  z-index: 1;
  width: auto;
  opacity: 0.92;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.6));
}

.visual-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--white-faint);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* About section visual */
.about-visual {
  grid-column: 1 / -1;
  min-height: clamp(280px, 35vw, 420px);
  margin-top: 1rem;
}

.about-visual img {
  max-width: 200px;
  width: 38%;
}

/* Case card visual — real image with dark gradient overlay */
.case-visual {
  position: relative;
  height: 220px;
  margin: -1px -1px 1.75rem;
  width: calc(100% + 2px);
  overflow: hidden;
  background: #1A1A1A;
}

.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
  opacity: 1;
  filter: grayscale(15%) contrast(1.08);
  transition: transform 800ms var(--ease-out), filter 500ms var(--ease-swift);
}

.case-card:hover .case-visual img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(1.12);
}

.case-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.95) 0%, rgba(13, 13, 13, 0.35) 55%, rgba(13, 13, 13, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

/* About image — real photo with red overlay via mix-blend */
.about-image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--white-faint);
  grid-column: 1 / -1;
  margin-top: 1rem;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.1);
  display: block;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(139, 26, 26, 0.32);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(13, 13, 13, 0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .about-image img {
    height: 340px;
  }
}

/* Service detail banner image (servicios.html) */
.service-detail-image {
  grid-column: 1 / -1;
  height: 280px;
  margin-bottom: 1.5rem;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--white-faint);
}

.service-detail-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 13, 13, 0.45) 0%, rgba(139, 26, 26, 0.25) 100%);
}

@media (max-width: 768px) {
  .service-detail-image {
    height: 200px;
  }
}

/* Page-header background image (inner pages) */
.page-header.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header.has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13, 13, 13, 0.96) 40%, rgba(13, 13, 13, 0.75) 100%);
  pointer-events: none;
  z-index: 0;
}

.page-header.has-bg > .container {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   PREMIUM UPGRADE — 3PM presentation polish
   ========================================================================== */

/* Hero animations */
@keyframes grid-drift {
  0%,100% { transform: translate(0, 0); }
  50%     { transform: translate(-10px, -10px); }
}
@keyframes scroll-bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(6px); }
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* btn-red (new hero & footer CTA) */
.btn-red {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              background 0.3s ease !important;
}
.btn-red:hover {
  background: #A31F1F !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(139, 26, 26, 0.45),
              0 0 0 1px rgba(139, 26, 26, 0.2);
}
.btn-red:active {
  transform: translateY(0) scale(0.98);
}

/* Service card — premium override */
.service-card {
  background: #0D0D0D !important;
  border: 1px solid rgba(139, 26, 26, 0.1) !important;
  padding: 3rem 2.5rem !important;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.5s ease !important;
}
.service-card:hover {
  transform: translateY(-12px);
  border-color: rgba(139, 26, 26, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(139, 26, 26, 0.1),
              inset 0 1px 0 rgba(139, 26, 26, 0.1);
}

/* Top red line reveal on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, #8B1A1A, rgba(139, 26, 26, 0.3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100% !important;
  left: 0 !important;
  z-index: 3;
}
.service-card:hover::before {
  transform: scaleX(1) !important;
  animation: none !important;
}

/* Shimmer sweep stays on ::after */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 50%,
    transparent 100%);
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 2;
}
.service-card:hover::after {
  animation: card-shimmer 0.8s ease forwards;
}
@keyframes card-shimmer {
  from { left: -100%; }
  to   { left: 150%; }
}

/* Why Orwat premium — strikethrough and color */
.compare-col.orwat .compare-list li {
  color: #F5F5F5;
  font-weight: 500;
  transition: transform 0.3s ease, padding 0.3s ease;
}
.compare-col.orwat:hover {
  box-shadow: -4px 0 20px -5px rgba(139, 26, 26, 0.4);
}
.compare-col.traditional .compare-list li {
  color: rgba(245, 245, 245, 0.35);
  position: relative;
  transition: color 0.3s ease;
}
.compare-col.traditional .compare-list li::after {
  content: '';
  position: absolute;
  left: 1.2rem;
  right: 0;
  top: 50%;
  height: 1px;
  background: rgba(139, 26, 26, 0.5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.compare-col.traditional:hover .compare-list li::after {
  transform: scaleX(1);
}

/* Process step timeline premium */
.process-step {
  transition: background 0.3s ease !important;
}
.process-step:hover {
  background: rgba(139, 26, 26, 0.04) !important;
}
.process-step:hover .process-num {
  color: #A31F1F;
  text-shadow: 0 0 30px rgba(139, 26, 26, 0.6);
  transform: scale(1.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-num {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-desc,
.process-step p {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.3s ease;
}
.process-step:hover .process-desc,
.process-step:hover p {
  transform: translateY(-3px);
  color: rgba(245, 245, 245, 0.85);
}

/* Testimonial premium treatment */
.testimonial-card {
  background: #111111 !important;
  border: 1px solid rgba(139, 26, 26, 0.1) !important;
  padding: 2.8rem !important;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease !important;
}
.testimonial-card:hover {
  border-color: rgba(139, 26, 26, 0.35) !important;
  transform: translateY(-4px);
}

/* Gradient fade at bottom of testimonial */
.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, #111111, transparent);
  pointer-events: none;
}

.testimonial-quote {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   FINAL POLISH — global
   ========================================================================== */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(139, 26, 26, 0.4);
  color: #F5F5F5;
}

a {
  transition: color 0.3s ease, opacity 0.3s ease;
}

:focus-visible {
  outline: 1px solid #8B1A1A;
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
  image-rendering: -webkit-optimize-contrast;
}

section {
  position: relative;
}

/* Responsive hero — stats below on narrow screens */
@media (max-width: 900px) {
  #hero {
    padding: 120px 5% 4rem !important;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start;
    gap: 4rem;
  }
  #hero > div.rv-r {
    position: static !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 2rem !important;
    width: 100%;
  }
  #hero > div.rv-r > div {
    text-align: left !important;
    flex: 1;
    min-width: 120px;
  }
  #hero h1 {
    font-size: clamp(3rem, 10vw, 5rem) !important;
  }
}

/* ==========================================================================
   CINEMATIC OVERHAUL — full identity system
   ========================================================================== */

/* Section entrance reveals */
.slam-left {
  opacity: 0;
  transform: translateX(-80px) skewX(3deg);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.slam-left.in { opacity: 1; transform: translateX(0) skewX(0deg); }

.slam-right {
  opacity: 0;
  transform: translateX(80px) skewX(-3deg);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.slam-right.in { opacity: 1; transform: translateX(0) skewX(0deg); }

.slam-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.slam-up.in { opacity: 1; transform: translateY(0); }

.clip-reveal {
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1),
              -webkit-clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.clip-reveal.in {
  clip-path: inset(0 0% 0 0);
  -webkit-clip-path: inset(0 0% 0 0);
}

.punch-in {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}
.punch-in.in { opacity: 1; transform: scale(1); }


/* Section slash divider */
.section-slash {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  height: 3px;
  position: relative;
  margin: 0;
}
.section-slash .slash-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    transparent 0%,
    #8B1A1A 20%,
    #8B1A1A 80%,
    transparent 100%);
  transform: skewX(-45deg) scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-slash.in .slash-line {
  transform: skewX(-45deg) scaleX(1.2);
}

/* Navbar v2 */
nav#navbar { transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
nav#navbar.scrolled {
  padding: 1rem 5% !important;
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 26, 26, 0.15);
}
nav#navbar.scrolled img[alt="Orwat Marketing Solutions"] {
  height: 52px !important;
}

.nav-link {
  text-decoration: none;
  color: rgba(245, 245, 245, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  position: relative;
  overflow: hidden;
  display: inline-block;
  transition: color 0.3s;
}
.nav-link span { position: relative; z-index: 1; }
.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #8B1A1A;
  transform: scaleX(0) skewX(-8deg);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: 0;
}
.nav-link:hover::before {
  transform: scaleX(1) skewX(-8deg);
  transform-origin: left;
}
.nav-link:hover { color: #F5F5F5; }

nav#navbar .nav-cta {
  background: #8B1A1A !important;
  border-radius: 2px;
  color: #F5F5F5 !important;
}
nav#navbar .nav-cta::before { display: none !important; }
nav#navbar .nav-cta:hover {
  background: #A31F1F !important;
  color: #F5F5F5 !important;
}

nav#navbar ul {
  display: flex;
  gap: 0;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  nav#navbar ul { display: none !important; }
  #menu-toggle { display: flex !important; }
}

#menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
}
#menu-toggle .ham-line {
  display: block;
  width: 28px;
  height: 1.5px;
  background: #F5F5F5;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
#menu-toggle .ham-line:nth-child(2) {
  width: 20px;
  background: #8B1A1A;
}

/* Hero v2 */
#hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 7.5vw, 7.5rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
}
#hero-title .line-stroke {
  display: block;
  color: rgba(245, 245, 245, 0.25);
  -webkit-text-stroke: 0;
  font-style: normal;
}
#hero-title .line-red {
  display: block;
  color: #8B1A1A;
  text-shadow: 0 0 80px rgba(139, 26, 26, 0.4);
}
#type-cursor {
  color: #8B1A1A;
  animation: blink 1s step-end infinite;
  display: inline-block;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* Services list v2 */
#services-list { border-top: 1px solid rgba(139, 26, 26, 0.2); }

.svc-item {
  border-bottom: 1px solid rgba(139, 26, 26, 0.2);
  overflow: hidden;
  transition: background 0.4s ease;
}
.svc-item:hover { background: rgba(139, 26, 26, 0.03); }

.svc-item-header {
  display: flex;
  align-items: center;
  padding: 2rem 0;
  gap: 2rem;
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-item h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #F5F5F5;
  letter-spacing: 0.02em;
  flex: 1;
  margin: 0;
  line-height: 1;
  transition: color 0.3s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-item:hover h3 {
  color: #8B1A1A;
  transform: translateX(8px);
}

.svc-arrow-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(139, 26, 26, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8B1A1A;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.svc-item:hover .svc-arrow-icon {
  background: #8B1A1A;
  border-color: #8B1A1A;
  color: #F5F5F5;
  transform: rotate(45deg);
}

.svc-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.4s;
  padding: 0 0 0 5rem;
}
.svc-item.open .svc-item-body {
  max-height: 300px;
  padding: 0 0 2rem 5rem;
}
.svc-item.open .svc-arrow-icon {
  transform: rotate(45deg);
  background: #8B1A1A;
  border-color: #8B1A1A;
  color: #F5F5F5;
}

/* Why split / Contact split / Cases grid responsive */
@media (max-width: 768px) {
  #why-split {
    grid-template-columns: 1fr !important;
  }
  #why-split > div:first-child {
    border-right: none !important;
    border-bottom: 2px solid #8B1A1A;
  }
  #contact-split {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 900px) {
  #cases-grid-v2 {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
  #cases-grid-v2 > article {
    grid-column: 1 !important;
    grid-row: auto !important;
    min-height: 280px !important;
  }
}

/* Global typography v2 */
body p {
  font-weight: 300;
  line-height: 1.85;
}

strong { color: #F5F5F5; font-weight: 600; }

/* VS section — mobile collapse only (desktop padding handled at bottom) */
@media (max-width: 768px) {
  .why-right {
    padding-left: 5% !important;
  }
}

/* ==========================================================================
   SURGICAL FIXES — spacing & layout
   ========================================================================== */

/* Fix 1 — Hero fits viewport, no scrolling needed */
#hero {
  min-height: 100vh;
  max-height: 100vh;
  padding: 0 5%;
  padding-top: 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero p, .hero-sub {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
  max-width: 420px;
}

#hero .hero-actions,
#hero > div > div.rv.d4 {
  gap: 1.2rem;
  margin-bottom: 0;
}

/* Hero stat numbers — smaller & tighter */
#hero [data-countup] {
  font-size: 2.2rem !important;
}
#hero .rv-r {
  gap: 1.5rem !important;
  bottom: 8% !important;
}
.hero-stats [data-countup],
.hero-stats .hn {
  font-size: 2.2rem !important;
}
.hero-stats {
  gap: 1.5rem !important;
  bottom: 8% !important;
}

/* Fix 3 — Global section padding */
section {
  padding: 5rem 5%;
}
@media (max-width: 768px) {
  section { padding: 3.5rem 5%; }
}

/* Hero ignores global section padding rule */
#hero {
  padding: 0 5%;
  padding-top: 100px;
}

/* Testimonials padding */
.testimonials {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

/* Contact section — zero outer padding */
#contact {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#contact-split > div {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

/* Footer padding reduced */
.footer {
  padding: 3rem 5% 1.5rem !important;
}

.footer .clip-reveal {
  padding-top: 3rem !important;
  padding-bottom: 2.5rem !important;
  margin-bottom: 2.5rem !important;
}

/* No gap between contact and footer */
#contact + .footer,
#contact ~ .footer,
#contact + footer,
#contact ~ footer {
  margin-top: 0 !important;
}

/* Fix 4 — Why section centered, max-width balanced */
#why-split {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
#why-split > div {
  padding: 4rem 3rem !important;
}
/* VS badge remains centered relative to the 1280px split container */

/* Fix 5 — Container max-width reinforced */
.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* Eyebrow label override (classes containing "eyebrow") */
[class*="section-label"],
[class*="eyebrow"] {
  font-size: 1.1rem !important;
  color: #C0392B !important;
  letter-spacing: 0.22em !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
  margin-bottom: 1.5rem !important;
}

/* VS — right column desktop padding (5rem) */
@media (min-width: 768px) {
  #why > div > div:last-child,
  .why-right,
  [class*="why"] > div:last-child {
    padding-left: 5rem !important;
  }
}

/* ===== SECTION LABELS OVERRIDE ===== */
.sec-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
  font-size: 1.2rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #C0392B !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.sec-label::after {
  content: '' !important;
  width: 36px !important;
  height: 2px !important;
  background: #C0392B !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

@media(max-width:768px){
  .founders-grid{grid-template-columns:1fr !important;}
}
