/* ════════════════════════════════ FONTS ════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Caudex:ital,wght@0,400;0,700;1,400;1,700&family=JetBrains+Mono:wght@500&display=swap');

/* ════════════════════════════════ RESET & GLOBALS ════════════════════════════════ */

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

:root {
  --black: #0b0b0f;
  --white: #F5F0E8;
  --gray-900: #17171f;
  --gray-700: #3c3c46;
  --gray-600: #5a5a66;
  --gray-500: #7a7a86;
  --gray-300: #cfcfd6;
  --gray-200: #e7e7ee;
  --gray-100: #f6f6f9;
  --border: rgba(11, 11, 15, 0.10);
  --shadow: 0 18px 50px rgba(11, 11, 15, 0.10);
  --focus: 0 0 0 4px rgba(11, 11, 15, 0.10);
}

::selection {
  background: rgba(11, 11, 15, 0.12);
  color: var(--black);
}

html {
  scroll-behavior: smooth;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* custom cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  background: var(--black);
  border-radius: 999px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 200ms cubic-bezier(0.22, 1, 0.36, 1),
              height 200ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 200ms ease-out;
}

.cursor.hover {
  width: 36px;
  height: 36px;
  opacity: 0.6;
}

@media (hover: none) {
  .cursor { display: none; }
  html { cursor: auto; }
}

/* ════════════════════════════════ PARALLAX / REVEAL ════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 { transition-delay: 80ms; }
.reveal-delay-2 { transition-delay: 160ms; }
.reveal-delay-3 { transition-delay: 240ms; }
.reveal-delay-4 { transition-delay: 320ms; }

.hero-cover img {
  will-change: transform;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  font-size: 16px;
  text-rendering: geometricPrecision;
}

p, li, figcaption, blockquote {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

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

/* layout helpers */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 88px 0;
}

.stack-16 { display: grid; gap: 16px; }
.stack-24 { display: grid; gap: 24px; }
.stack-32 { display: grid; gap: 32px; }

.text-center { text-align: center; }

.muted { color: var(--gray-600); }
.small { font-size: 0.95rem; }
.kicker {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-600);
  letter-spacing: -0.01em;
}
.kicker .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--gray-700);
  background: var(--white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-900);
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }

.underline-italic {
  font-style: italic;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

/* home (editorial) */
.home-hero { position: relative; overflow: hidden; }
.home-hero .hero-subtitle {
  font-family: 'Caudex', Georgia, serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--black);
  text-align: center;
}

.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
  padding: 160px 0 80px;
}

@media (max-width: 768px) {
  .home-hero .hero-subtitle { font-size: 42px; }
}

.hero-cover {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-subtitle-row {
  display: flex;
  justify-content: center;
}

.spinning-badge {
  display: block;
  text-decoration: none;
  color: var(--black);
  animation: spin-badge 10s linear infinite;
  z-index: 10;
}

.spinning-badge svg {
  width: 100%;
  height: 100%;
}

.hero-badge {
  position: absolute;
  top: 8%;
  right: 6%;
  width: 190px;
  height: 190px;
}

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

@keyframes heroIn {
  from { opacity: 0; translate: 0 20px; filter: blur(8px); }
  to   { opacity: 1; translate: 0 0;    filter: blur(0px); }
}

.home-hero .hero-subtitle {
  animation: heroIn 700ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}

.hero-badge {
  animation: spin-badge 10s linear infinite, heroIn 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Pills section */
.pills-section {
  padding: 0 0 80px;
  overflow: hidden;
}

.pills-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 0 5vw;
  position: relative;
}

.pill {
  background: var(--black);
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  padding: 0.3em 0.8em;
  border-radius: 999px;
  line-height: 1.1;
  white-space: nowrap;
  display: inline-block;
}

.pill-1 { transform: rotate(-3deg) translateX(-1%); }
.pill-2 { transform: rotate(1.5deg) translateX(4%); }
.pill-3 { transform: rotate(-1deg) translateX(1%); }

@media (max-width: 768px) {
  .pill { font-size: clamp(1.6rem, 8vw, 3rem); }
  .pills-stack { gap: 12px; }
}

@media (max-width: 768px) {
  .spinning-badge {
    width: 90px;
    height: 90px;
    bottom: -24px;
    right: -24px;
  }
}

.hero-cover img {
  width: 100%;
  max-width: 520px;
  border-radius: 22px;
  display: block;
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-cover img {
    max-width: 100%;
  }
}

.gradient-blob {
  display: none;
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 700px;
  height: 700px;
  background: #a78bfa;
  top: -200px;
  left: -150px;
  animation: blob-drift-1 22s ease-in-out infinite;
}

.blob-2 {
  width: 560px;
  height: 560px;
  background: #f87171;
  bottom: -100px;
  left: 20%;
  animation: blob-drift-2 28s ease-in-out infinite;
}

.blob-3 {
  width: 640px;
  height: 640px;
  background: #6366f1;
  bottom: -140px;
  right: -140px;
  animation: blob-drift-3 24s ease-in-out infinite;
}

.blob-4 {
  width: 480px;
  height: 480px;
  background: #f472b6;
  top: -60px;
  right: 8%;
  animation: blob-drift-4 26s ease-in-out infinite;
}

@keyframes blob-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(50px, -40px) scale(1.06); }
  66%       { transform: translate(-30px, 50px) scale(0.94); }
}

@keyframes blob-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-60px, -30px) scale(1.1); }
  66%       { transform: translate(40px, 40px) scale(0.92); }
}

@keyframes blob-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-40px, 50px) scale(1.07); }
  66%       { transform: translate(60px, -40px) scale(0.95); }
}

@keyframes blob-drift-4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, 60px) scale(1.05); }
  66%       { transform: translate(-50px, -20px) scale(0.96); }
}

.clients-bar {
  padding: 32px 0;
  overflow: hidden;
}

.clients-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 0 5%;
  text-align: center;
}

.clients-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.clients-track img {
  height: 22px;
  width: auto;
  opacity: 0.45;
  filter: grayscale(1);
  flex-shrink: 0;
}

.clients-track img[src*="wayra"],
.clients-track img[src*="logo-lightmode"] {
  height: 36px;
}

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

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.profile {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  background: var(--white);
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--gray-100);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile h2 {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.home-section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.home-section-head h2 {
  font-size: 1.8rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.list-links {
  display: grid;
  gap: 10px;
}

.list-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
}

.list-link:first-child { border-top: none; }

.list-link .left {
  display: grid;
  gap: 2px;
}

.list-link .title {
  font-weight: 750;
  letter-spacing: -0.02em;
}

.list-link .meta {
  color: var(--gray-600);
  font-size: 0.95rem;
}

.list-link .arrow {
  color: var(--gray-600);
  font-weight: 700;
}

.list-link:hover .title { text-decoration: underline; }

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

/* ════════════════════════════════ NAVIGATION ════════════════════════════════ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 5%;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Caudex', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--gray-600);
  font-size: 0.95rem;
  font-weight: 450;
  letter-spacing: -0.01em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.18em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
  text-decoration-color: rgba(11, 11, 15, 0.35);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, scale 150ms ease-out;
}

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

.nav-cta:active {
  scale: 0.96;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 240ms ease, opacity 240ms ease;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  nav {
    padding: 14px 5%;
    min-height: 56px;
  }

  .burger { display: flex; }

  .nav-right {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: #F5F0E8;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 99;
    padding: 8px 5% 20px;
    box-shadow: 0 8px 24px rgba(11,11,15,0.08);
  }

  .nav-right.open { display: flex; }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a {
    display: block;
    font-size: 1rem;
    font-weight: 550;
    padding: 15px 0;
    color: var(--black);
  }

  .nav-cta {
    margin-top: 16px;
    font-size: 0.95rem;
    justify-content: center;
    text-align: center;
  }
}

/* ════════════════════════════════ HERO ════════════════════════════════ */

.hero {
  padding-top: 160px;
  padding-bottom: 40px;
  background: var(--white);
}

.hero-content {
  max-width: 860px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  font-weight: 650;
  line-height: 1.02;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 22px;
  line-height: 1.65;
  font-weight: 420;
  letter-spacing: -0.01em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .hero {
    padding-top: 108px;
    padding-bottom: 28px;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* ════════════════════════════════ WORK GRID ════════════════════════════════ */

.section-title {
  font-size: 2.1rem;
  font-weight: 650;
  margin-bottom: 26px;
}

.wide-container {
  max-width: 100%;
  padding: 0 20px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Work grid stagger — section fades instantly, cards stagger in */
.section:has(.work-grid).reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.section:has(.work-grid) .work-card {
  opacity: 0;
  translate: 0 20px;
  filter: blur(4px);
  transition: opacity 400ms cubic-bezier(0.22, 1, 0.36, 1),
              translate 400ms cubic-bezier(0.22, 1, 0.36, 1),
              filter 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.section:has(.work-grid).visible .work-grid .work-card:nth-child(1) { opacity:1; translate:0 0; filter:blur(0); transition-delay:0ms; }
.section:has(.work-grid).visible .work-grid .work-card:nth-child(2) { opacity:1; translate:0 0; filter:blur(0); transition-delay:80ms; }
.section:has(.work-grid).visible .work-grid .work-card:nth-child(3) { opacity:1; translate:0 0; filter:blur(0); transition-delay:160ms; }
.section:has(.work-grid).visible .work-grid .work-card:nth-child(4) { opacity:1; translate:0 0; filter:blur(0); transition-delay:240ms; }
.section:has(.work-grid).visible .work-grid .work-card:nth-child(5) { opacity:1; translate:0 0; filter:blur(0); transition-delay:320ms; }
.section:has(.work-grid).visible .work-grid .work-card:nth-child(6) { opacity:1; translate:0 0; filter:blur(0); transition-delay:400ms; }

.work-card {
  display: grid;
  gap: 18px;
  text-decoration: none;
  color: inherit;
}

.work-card:hover .work-thumb img {
  transform: scale(1.03);
  filter: blur(3px);
}

.work-thumb {
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  border: none;
  aspect-ratio: 16 / 11;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  outline: 1px solid rgba(11, 11, 15, 0.07);
  outline-offset: -1px;
}

.work-card--overlay .work-thumb {
  position: relative;
}

.work-card--overlay .work-thumb img {
  object-fit: cover;
}

.work-card--overlay .work-thumb {
  position: relative;
}

.work-card--overlay .work-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  opacity: 0;
  transition: opacity 300ms ease;
  border-radius: 10px;
}

.work-card--overlay:hover .work-overlay {
  opacity: 1;
}

.work-card--overlay .work-overlay::after {
  content: "↗";
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--black);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  line-height: 1;
}

.work-card--overlay .work-overlay .work-title,
.work-card--overlay .work-overlay .work-desc {
  display: none;
}

.work-meta {
  display: grid;
  gap: 6px;
}

.work-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  letter-spacing: 0.01em;
  order: -1;
}

.work-title {
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  color: var(--black);
  line-height: 1.2;
}

@media (max-width: 700px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-title { font-size: 1.3rem; }
}

/* ════════════════════════════════ CASE STUDY ════════════════════════════════ */

.case-hero {
  padding-top: 132px;
  padding-bottom: 28px;
}

.case-top {
  display: grid;
  gap: 18px;
  align-items: start;
}

.case-title {
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--gray-700);
  font-size: 0.92rem;
  font-weight: 520;
  letter-spacing: -0.01em;
}

.case-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: start;
}

.case-panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  padding: 28px;
  display: grid;
  gap: 14px;
}

.case-kv {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--gray-100);
}

.case-kv img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.case-h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dl {
  display: grid;
  gap: 12px;
}

.dl-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.dl-row:first-child {
  border-top: none;
  padding-top: 0;
}

.dt {
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.95rem;
}

.dd {
  color: var(--gray-900);
  font-weight: 700;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.gallery .work-thumb img {
  height: 520px;
}

@media (max-width: 900px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-kv img { height: 320px; }
  .dl-row { grid-template-columns: 120px 1fr; }
  .gallery .work-thumb img { height: 360px; }
}

/* ════════════════════════════════ STATS GRID ════════════════════════════════ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.stats-col { display: flex; flex-direction: column; gap: 16px; }

.stats-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.stats-years {
  font-family: 'Caudex', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--black);
}

.stats-bio {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.stats-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stats-list li {
  font-size: 0.95rem;
  color: var(--black);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .stats-years { font-size: 2.2rem; }
}

/* ════════════════════════════════ SERVICES ════════════════════════════════ */

.canela-heading {
  font-family: 'Caudex', Georgia, serif;
  font-weight: 400;
}

.services-title {
  font-family: 'Caudex', Georgia, serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 48px;
  text-align: center;
}

@media (max-width: 768px) {
  .services-title { font-size: 40px; }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

/* ── new service card layout ── */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card-new {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-card-top {
  margin-bottom: 40px;
}

.service-card-title {
  font-family: 'Caudex', Georgia, serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.service-card-desc {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.service-includes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gray-700);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.service-checklist {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-size: 1rem;
  color: var(--black);
  border-bottom: 1px dashed var(--gray-200);
}

.service-checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--gray-300);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-examples-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 10px 20px;
  border: 1px solid var(--black);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.service-examples-btn:hover {
  background: var(--black);
  color: var(--white);
}

@media (max-width: 900px) {
  .service-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .service-cards-grid { grid-template-columns: 1fr; }
  .service-card-title { font-size: 1.3rem; }
}

.service-card,
.service-tile {
  padding: 22px 22px 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover,
.service-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.service-no {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 10px;
  font-weight: 550;
}

.service-card h3,
.service-tile h3 {
  font-size: 1.2rem;
  font-weight: 650;
  margin-bottom: 10px;
}

.service-card p,
.service-tile p {
  color: var(--gray-600);
  line-height: 1.7;
}

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

/* ════════════════════════════════ ABOUT ════════════════════════════════ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  margin-bottom: 4rem;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-content strong {
  color: var(--black);
  font-weight: 650;
}

.about-image {
  width: 100%;
  height: 400px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-image {
    height: 300px;
  }
}

/* ════════════════════════════════ CTA SECTION ════════════════════════════════ */

.cta-section {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 36px 48px;
  border-radius: 22px;
  border: none;
  background: #85A5F2;
  overflow: hidden;
  position: relative;
}

.cta-section-text {
  display: grid;
  gap: 12px;
}

.cta-section-image {
  flex-shrink: 0;
  width: 200px;
  margin-bottom: -36px;
  margin-top: -36px;
  margin-right: -16px;
}

.cta-section-image img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 0.25rem;
}

.cta-section p {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: rgba(11,11,15,0.65);
}

.cta-section.cta-soft { background: #85A5F2; }

.cta-section.cta-dark { background: #85A5F2; }
.cta-section.cta-dark h2,
.cta-section.cta-dark p { color: var(--black); }
.cta-section.cta-dark h2 { color: var(--black); }

.cta-section.cta-blue { background: #85A5F2; }
.cta-section.cta-blue h2,
.cta-section.cta-blue p { color: var(--black); }
.cta-section.cta-blue h2 { color: var(--black); }

.cta-section.cta-light { background: #b2cee2; }

.cta-section.cta-navy { background: #3a4f99; }
.cta-section.cta-navy h2,
.cta-section.cta-navy p { color: rgba(255,255,255,0.85); }
.cta-section.cta-navy h2 { color: #fff; }

.cta-section.cta-peach { background: #FEECE9; }

.cta-section.cta-orange { background: #F26749; }
.cta-section.cta-orange h2,
.cta-section.cta-orange p { color: rgba(255,255,255,0.85); }
.cta-section.cta-orange h2 { color: #fff; }

@media (max-width: 700px) {
  .cta-section {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
  .cta-section-image { display: none; }
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, scale 150ms ease-out;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.cta-button:active {
  scale: 0.96;
}

.cta-button-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--black);
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--black);
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, scale 150ms ease-out;
}

.cta-button-outline:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.cta-button-outline:active {
  scale: 0.96;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* ════════════════════════════════ UTILITIES ════════════════════════════════ */

.stat-num {
  font-variant-numeric: tabular-nums;
}

/* ════════════════════════════════ FOOTER ════════════════════════════════ */

footer {
  padding: 68px 5% 44px;
  border-top: 1px solid var(--border);
  background: var(--white);
  color: var(--black);
}

.footer-content {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h3 {
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 14px;
}

.footer-col p, .footer-col a {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.footer-col a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.social-links a:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  footer {
    padding: 44px 5% 34px;
  }
  .footer-content {
    gap: 2rem;
  }
}

/* ════════════════════════════════ UTILITIES ════════════════════════════════ */

.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* ════════════════════════════════ WHATSAPP ════════════════════════════════ */

.wa-widget {
  display: none !important;
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wa-panel {
  display: none;
  flex-direction: column;
  width: 300px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  background: #f0f0f0;
}

.wa-panel.open { display: flex; }

.wa-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #25D366;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.2);
}

.wa-panel-header-info { flex: 1; }

.wa-panel-header-info strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 650;
}

.wa-panel-header-info span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.85);
}

.wa-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0;
  opacity: 0.8;
}

.wa-close:hover { opacity: 1; }

.wa-body {
  padding: 16px;
}

.wa-bubble {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.5;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  max-width: 85%;
}

.wa-bubble span {
  display: block;
  font-size: 0.72rem;
  color: #999;
  margin-top: 4px;
  text-align: right;
}

.wa-start {
  display: block;
  margin: 14px 16px 16px;
  padding: 12px;
  background: #25D366;
  color: #fff;
  text-align: center;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  transition: background 160ms ease;
}

.wa-start:hover { background: #1ebe5d; }

.wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #25D366;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.wa-btn svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

/* ════════════════════════════════ REDUCED MOTION ════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .section:has(.work-grid) .work-card {
    opacity: 1 !important;
    translate: none !important;
    filter: none !important;
    transition: none !important;
  }
  .clients-track {
    animation: none;
  }
}
