/* =============================================
   OTR — On The Rocks
   CSS fiel al diseño Figma
   Fuente: Clash Grotesk (local)
   Paleta: #15141D (bg dark), #F5F3EF (bg light), #0143D8 (azul), #0148E9 (azul links)
   ============================================= */

@font-face {
  font-family: 'Clash Grotesk';
  src: url('../fonts/clash-grotesk-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Clash Grotesk';
  src: url('../fonts/clash-grotesk-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Clash Grotesk';
  src: url('../fonts/clash-grotesk-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Clash Grotesk';
  src: url('../fonts/clash-grotesk-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --otr-dark: #15141D;
  --otr-light: #F5F3EF;
  --otr-blue: #0143D8;
  --otr-blue-link: #0148E9;
  --otr-white: #FFFFFF;
  --otr-gray-label: #8A8A8A;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  overscroll-behavior-y: none;
}

html:has(.page-home) {
  background: #15141D;
}

section[id],
div[id] {
  scroll-margin-top: 110px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--otr-blue-link);
  outline-offset: 3px;
}

/* Pressed-state feedback for the site's pill-shaped buttons/links */
.contact-btn:active,
.contact-submit:active,
.svc-cta:active,
.blog-empty-cta:active,
.portfolio-filter:active,
.navbar-menu-toggle:active {
  transform: scale(0.96);
}

body {
  font-family: 'Clash Grotesk', 'Inter', sans-serif;
  background: #F5F3EF;
  color: #15141D;
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

body.page-home {
  background: #15141D;
}

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

ul {
  list-style: none;
}

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

/* ---- NAVBAR ---- */
/* Figma: Rectangle 28 — width:1056px, height:61px, left:106px, top:33px, bg:#15141D, border-radius:41.5px */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding-top: 33px;
  pointer-events: none;
  transition: padding-top 0.28s ease;
}

.navbar.is-scrolled {
  padding-top: 16px;
}

.navbar-pill {
  width: 1056px;
  height: 61px;
  background: #15141D;
  border-radius: 41.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px 0 34px;
  pointer-events: all;
  animation: navDrop 0.7s ease-out both;
  transition: background 0.35s ease;
}

.navbar.is-scrolled .navbar-pill {
  background: rgba(1, 72, 233, 0.9);
}

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

/* Figma: "Reducción Blanco 1" — left:140px, top:50px, width:60px, height:24px */
.navbar-logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

/* Figma: "SERVICE ABOUT PORTFOLIO BLOG CONTACT" — width:510px, height:15px, left:611px, top:56px, font-size:18px, color:#FFFFFF */
.navbar-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.navbar-links li a {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 15px;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.navbar-links li a:hover {
  opacity: 0.7;
}

/* ---- MOBILE NAV MENU ---- */
.navbar-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.navbar-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--otr-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.navbar-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 10px;
  width: calc(100% - 32px);
  max-width: 320px;
  background: var(--otr-dark);
  border-radius: 20px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 17px;
  color: var(--otr-white);
  padding: 12px 10px;
  border-radius: 10px;
  transition: background 0.15s;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

/* ---- HERO SECTION ---- */
/* Figma: Rectangle 1 — width:1280px, height:693px, left:0, top:0, background:url(image.png) */
/* Figma: Rectangle 39 — gradient overlay — width:1280px, height:337px, top:356px, linear-gradient(180deg, rgba(21,20,29,0) 0%, #15141D 100%) */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  /* Fallback si el <video> no carga (navegador sin soporte, red lenta, etc). */
  background-image: url('../images/hero-video-poster.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video,
  .about-hero-video {
    display: none;
  }
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 337px;
  background: linear-gradient(180deg, rgba(21, 20, 29, 0) 0%, #15141D 100%);
  pointer-events: none;
}

/* Figma: "Comunicación integral..." — width:1007px, height:116px, left:60px, bottom:91px, font-size:50px, line-height:55px, color:#FFFFFF */
/* Anclado al bottom (no al top) para que funcione con el hero a 100vh: mantiene */
/* el mismo margen respecto del borde inferior sin importar la altura del viewport. */
.hero-content {
  position: absolute;
  left: 60px;
  bottom: 91px;
  width: 1007px;
}

.hero-text {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 55px;
  color: #FFFFFF;
  animation: heroFadeUp 0.9s ease-out both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- 001 OUR WORK ---- */
/* Figma: Rectangle 2 — width:1280px, height:693px, left:0, top:693px, bg:#15141D */
/* Total section height: 693px (top:693px → bottom:1386px) */
/* 001 OUR WORK label: top:748px → offset from section top = 55px */
/* Heading line 1: top:866px → offset = 173px */
/* Heading line 2: top:970px → offset = 277px */
/* Body copy: top:1192px → offset = 499px */
.section-work {
  background: #15141D;
  width: 100%;
  height: 693px;
  position: relative;
  overflow: hidden;
}

.work-inner {
  position: relative;
  width: 100%;
  max-width: 1280px;
  height: 693px;
  margin: 0 auto;
}

/* Figma: "001 OUR WORK" — left:80px, top:748px (page) = top:55px (section), font-size:20px, line-height:55px, color:#666666 */
.section-label {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 55px;
  color: var(--otr-gray-label);
  display: block;
  position: absolute;
  left: 80px;
  top: 55px;
  width: 1124px;
  letter-spacing: 0.05em;
}

.section-label-white {
  color: #FFFFFF;
}

.section-label-gray {
  color: var(--otr-gray-label);
}

/* Figma: "Somos la agencia de referencia..." — left:72px, top:866px (page) = top:173px (section) */
/* width:1124px, height:110px, font-size:60px, line-height:55px, text-align:right */
/* Figma: dos líneas blancas a la izquierda + cola azul a la derecha */
.work-heading-line1,
.work-heading-line2,
.work-heading-line3 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 55px;
  position: absolute;
  left: 80px;
  right: 80px;
  width: auto;
  height: 55px;
  white-space: nowrap;
}

.work-heading-line1 {
  color: #FFFFFF;
  text-align: left;
  top: 181px;
}

.work-heading-line2 {
  color: #FFFFFF;
  text-align: left;
  top: 236px;
}

.work-heading-line3 {
  color: var(--otr-blue-link);
  text-align: right;
  top: 291px;
}

/* Figma: "Ayudamos a compañías..." — left:80px, top:1192px (page) = top:499px (section) */
/* width:1124px, height:60px, font-size:20px, line-height:30px */
.work-body {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #FFFFFF;
  position: absolute;
  left: 80px;
  top: 499px;
  width: 1124px;
  height: 60px;
}

/* ---- 002 PORTFOLIO ---- */
/* Figma: section starts at page top 1386px */
.section-portfolio {
  background: #15141D;
  width: 100%;
  overflow: hidden;
}

.portfolio-inner {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Figma: "002 PORTFOLIO" overlays the top of the cards — left:59px, top:27px into section */
.portfolio-label {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 55px;
  color: #FFFFFF;
  display: block;
  position: absolute;
  left: 59px;
  top: 27px;
  z-index: 5;
  letter-spacing: 0.05em;
  margin: 0;
  pointer-events: none;
}

/* ---- TOP ROW: 3 cards each 428×452px ---- */
.portfolio-top-row {
  display: flex;
  width: 100%;
  height: 452px;
}

/* ---- BOTTOM: ARGY y ByBit full-bleed, una debajo de la otra (Figma) ---- */
.portfolio-bottom-row {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
}

/* ---- SHARED PCARD BASE ---- */
.pcard {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
}

/* TOP ROW: 3 columnas a todo el viewport (Figma 0 / 426 / 852) */
.pcard-1,
.pcard-2,
.pcard-3 { width: 33.333%; }

.pcard-4,
.pcard-5 {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  height: 227px;
}

/* ---- CARD BACKGROUND ---- */
.pcard-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

/* Card 2 (Draper): Figma opacity:0.8, rotate:-180deg */
.pcard-2 .pcard-bg {
  opacity: 0.8;
  transform: rotate(180deg);
}
.pcard-2:hover .pcard-bg {
  opacity: 0.9;
  transform: rotate(180deg) scale(1.04);
}

/* Card 4 (ARGY): Figma rotate:90deg */
.pcard-4 .pcard-bg {
  transform: rotate(90deg) scale(1.8);
  transform-origin: center center;
}
.pcard-4:hover .pcard-bg {
  transform: rotate(90deg) scale(1.9);
}

/* Card 5 (ByBit): Figma matrix(1,0,0,-1,0,0) = flip vertical */
.pcard-5 .pcard-bg {
  transform: scaleY(-1);
  background-size: cover;
  background-position: center;
}
.pcard-5:hover .pcard-bg {
  transform: scaleY(-1) scale(1.04);
}

/* Default hover for cards 1, 3 */
.pcard-1:hover .pcard-bg,
.pcard-3:hover .pcard-bg {
  transform: scale(1.04);
}

/* ---- CARD PHOTO (cards 1, 2, 4 — real photos over the abstract .pcard-bg) ---- */
/* Figma: al pasar el mouse la foto se va y queda el gradiente + descripción */
.pcard-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.35s ease;
}

.pcard-4 .pcard-photo,
.pcard-5 .pcard-photo {
  background-size: cover;
  background-position: center;
}

.pcard:hover .pcard-photo {
  opacity: 0;
}

/* ---- CARD CONTENT ---- */
/* Figma: content positioned at bottom-left of each card */
/* icon at ~138px from card top, title at ~207px, service at ~284px, num at ~397px */
.pcard-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  /* Gradient overlay over content area */
  background: linear-gradient(180deg, rgba(0,14,31,0) 0%, rgba(0,14,31,0.75) 100%);
  padding: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

/* ---- ICON ---- */
/* Figma: icon at left:59px (card-relative), top:138px from card top */
.pcard-icon {
  position: absolute;
  left: 59px;
  top: 138px;
  width: 52px;
  height: 50px;
  z-index: 2;
}

.pcard-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Icons are white-on-black exports — screen blend removes black */
  mix-blend-mode: screen;
}

.pcard-icon svg {
  width: 100%;
  height: 100%;
}

/* ---- TITLE ---- */
/* Figma: left:59px (card-relative), top:207px, font-size:50px, line-height:45px */
.pcard-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 45px;
  color: #FFFFFF;
  position: absolute;
  left: 59px;
  top: 207px;
  width: calc(100% - 80px);
}

/* Figma Melian title at card-rel top:231px */
.pcard-title-melian {
  top: 231px;
}

/* Bottom row cards — Figma ARGY top:39px, ByBit top:36px */
.pcard-4 .pcard-title {
  top: 39px;
  font-size: 50px;
  line-height: 45px;
}

.pcard-5 .pcard-title {
  top: 36px;
  font-size: 50px;
  line-height: 45px;
}

/* ---- SERVICE LABEL ---- */
/* Figma: left:59px, top:284px (top-row cards), font-size:20px, line-height:45px */
.pcard-service {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 45px;
  color: #FFFFFF;
  position: absolute;
  left: 59px;
  top: 284px;
  width: calc(100% - 80px);
}

.pcard-1 .pcard-service {
  width: calc(100% - 70px);
  white-space: nowrap;
}

.pcard-4 .pcard-service,
.pcard-5 .pcard-service {
  top: 107px;
}

/* ---- NUMBER ---- */
/* Figma: left:59px, top:397px (top-row), font-size:20px, line-height:55px */
.pcard-num {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 55px;
  color: #FFFFFF;
  position: absolute;
  left: 59px;
  top: 397px;
}

.pcard-4 .pcard-num,
.pcard-5 .pcard-num {
  top: 162px;
}

/* ---- HOVER: reveal description, hide icon+num ---- */
/* Figma: al pasar el mouse se agrega el texto y se va la imagen (si tiene) */
.pcard-icon,
.pcard-num {
  transition: opacity 0.3s ease;
}

.pcard-desc {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  color: #FFFFFF;
  position: absolute;
  left: 59px;
  top: 345px;
  bottom: 20px;
  width: calc(100% - 100px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  overflow: hidden;
}

.pcard-4 .pcard-desc,
.pcard-5 .pcard-desc {
  top: 145px;
}

.pcard:hover .pcard-icon,
.pcard:hover .pcard-num {
  opacity: 0;
}

.pcard:hover .pcard-desc {
  opacity: 1;
}

/* ---- BLUE BAR ---- */
/* Figma: Rectangle 8 — width:1280px, height:131px, left:0, top:2291px, bg:#0143D8 */
/* Figma: "Ver más" — width:1124px, height:55px, left:96px, top:2333px, font-size:40px, line-height:55px, text-align:right, color:#FFFFFF */
.blue-bar {
  background: #0143D8;
  width: 100%;
  height: 131px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 96px;
}

.blue-bar-link {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 55px;
  color: #FFFFFF;
  text-align: right;
  transition: opacity 0.2s;
}

.blue-bar-link:hover {
  opacity: 0.8;
}

/* ---- 003 SERVICE ---- */
/* Figma: Rectangle 17 — width:1280px, height:754px, top:2422px, bg:#15141D */
.section-service {
  background: #15141D;
  width: 100%;
  /* height:754px from Figma; use min-height to allow content to breathe */
  min-height: 754px;
  overflow: hidden;
}

.service-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

/* Figma: "003 SERVICE" — left:80px, top:2508px (section offset:86px), 20px, #666666 */
.service-label {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 55px;
  color: var(--otr-gray-label);
  display: block;
  padding-top: 86px;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

/* Figma: "Creamos y ejecutamos..." — left:398px, top:2592px (offset:170px) */
/* width:818px, height:60px, font-size:20px, line-height:30px, text-align:right, color:#FFFFFF */
/* Offset from label bottom: 170-86-55 = 29px. Use margin-top to position. */
.service-desc {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #FFFFFF;
  text-align: right;
  width: 818px;
  margin-left: auto;
  margin-top: 29px;
  margin-bottom: 0;
}

/* Figma: 4 photo cards — lefts 80 / 388 / 690 / 970 → gaps 60 / 54 / 33 */
.service-cards {
  display: flex;
  justify-content: flex-start;
  gap: 0;
  margin-top: 68px;
  padding-bottom: 60px;
  width: 100%;
}

.scard:nth-child(1) { margin-right: 60px; }
.scard:nth-child(2) { margin-right: 54px; }
.scard:nth-child(3) { margin-right: 33px; }

/* ---- SCARD (service photo card) ---- */
.scard {
  position: relative;
  width: 248px;
  height: 346px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
}

a.scard {
  display: block;
  color: inherit;
  text-decoration: none;
}

.scard:nth-child(3) {
  width: 247px;
}

/* Photo background */
.scard-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  transition: transform 0.5s ease;
}

/* Opacity variants per Figma */
.scard-photo-op80 { opacity: 0.8; }
.scard-photo-op60 { opacity: 0.6; }
.scard-photo-op50 { opacity: 0.5; }

.scard:hover .scard-photo {
  transform: scale(1.04);
}

/* Dark gradient overlay for text readability */
.scard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%);
  border-radius: 12px;
  pointer-events: none;
}

/* Figma: "x" icon — card-relative left:21px, top:146px, font-size:30px, line-height:25px */
.scard-x {
  position: absolute;
  left: 21px;
  top: 146px;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 25px;
  color: #FFFFFF;
  z-index: 2;
}

/* Figma: title — card-relative left:20px, top:206px, font-size:25px, line-height:25px */
.scard-title {
  position: absolute;
  left: 20px;
  top: 206px;
  width: calc(100% - 32px);
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 25px;
  line-height: 25px;
  color: #FFFFFF;
  z-index: 2;
}

/* Card 2: title at top:219px (Figma: top:2939px → card-rel:219px) */
.scard-title-2 {
  top: 219px;
}

/* Card 4: title at top:231px (Figma: top:2951px → card-rel:231px) */
.scard-title-4 {
  top: 231px;
}

/* ---- 004 TRUSTED BY ---- */
/* Figma: Rectangle 26 — width:1280px, height:883px, top:3176px, bg:#19191D */
.section-trusted {
  background: #19191D;
  width: 100%;
  min-height: 883px;
}

.trusted-inner {
  max-width: 1280px;
  margin: 0 auto;
  /* No horizontal padding — grid borders go edge-to-edge inside the 1120px content area */
  padding: 0;
  /* El margen inferior vacío debe igualar al superior (90px del label + 55px de su
     line-height + 20px de margin-top = 165px) — antes quedaba mucho más angosto. */
  padding-bottom: 165px;
}

/* Figma: "004 TRUSTED BY" — left:80px, top:3266px (section offset:90px), 20px, #666666 */
.trusted-label {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 55px;
  color: var(--otr-gray-label);
  display: block;
  padding-top: 90px;
  padding-left: 80px;
  padding-bottom: 0;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

/* Figma: logos grid — 4 cols × 5 rows, each cell ~256×120px, no dividers — logos float on continuous bg */
/* Section width 1280px / 4 cols = 320px per col */
/* Row height: (883 - 90 - 55) / 5 = ~147px per row */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 rows of logos + 1 bottom row */
  grid-template-rows: repeat(4, 147px) 100px;
  gap: 0;
  margin-top: 20px;
}

/* Each logo cell — centered, no borders */
.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
}

.logo-cell img {
  max-width: 168px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  animation: logoDrift 7.5s ease-in-out infinite;
  animation-delay: calc(var(--logo-i, 0) * 0.18s);
}

@keyframes logoDrift {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

/* Text-only logo cells */
.logo-cell-text {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}

/* Bottom row: spans full width, logos centered horizontally */
.logo-cell-bottom {
  /* stays in 4-col grid, just shorter height */
}

.logo-cell-bottom img {
  max-width: 130px;
  max-height: 40px;
  opacity: 0.85;
}

/* ---- 005 FAQs ---- */
/* Figma: Rectangle 29 — width:1288px, height:634px, top:4059px, bg:#D9D9D9 */
.section-faq {
  background: #D9D9D9;
  width: 100%;
  min-height: 634px;
}

.faq-inner {
  max-width: 1280px;
  margin: 0 auto;
  /* Figma: label at left:60px, items at left:100px */
  padding: 0;
}

/* Figma: "005 FAQs" — left:60px, top:4124px (section offset:65px), 20px, #666666 */
.faq-label {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 55px;
  color: #666666;
  display: block;
  padding-top: 65px;
  padding-left: 60px;
  margin-bottom: 0;
  letter-spacing: 0.05em;
}

/* Figma: FAQ list — first item at top:4256px (section offset:197px) */
/* Offset from label bottom: 197-65-55 = 77px */
/* Gap between items: 4320-4256=64px; item height:41px; so gap between items = 64-41 = 23px */
.faq-list {
  margin-top: 77px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  padding-left: 100px;
  padding-bottom: 80px;
}

/* Figma: Rectangle 30-34 — width:640px, height:41px, border:0.5px solid #15141D, border-radius:27px */
.faq-item {
  display: grid;
  grid-template-columns: 22px 1fr 12px;
  align-items: center;
  column-gap: 9px;
  width: 640px;
  min-height: 41px;
  height: auto;
  border: 0.5px solid #15141D;
  border-radius: 27px;
  padding: 0 20px 0 30px;
  cursor: pointer;
  transition: background 0.2s, border-radius 0.2s;
}

.faq-item:hover {
  background: rgba(21, 20, 29, 0.06);
}

.faq-item.faq-open {
  border-radius: 20px;
  padding-top: 8px;
  padding-bottom: 14px;
  align-items: start;
}

/* Figma: number — left:130px (item-relative:30px), width:22px, font-size:20px, color:#15141D */
.faq-num {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 41px;
  color: #15141D;
  width: 22px;
  flex-shrink: 0;
}

/* Figma: question — left:161px (item-relative:61px), font-size:20px, line-height:55px, color:#15141D */
.faq-q {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 41px;
  color: #15141D;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.faq-a {
  grid-column: 1 / -1;
  display: none;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #15141D;
  opacity: 0.8;
  padding: 4px 32px 0 0;
}

.faq-item.faq-open .faq-a {
  display: block;
}

/* Figma: Vector 11-15 — left:687px (item-relative:587px), 12×12px, border:1px solid #0148E9, rotate:90deg */
.faq-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-top: 14px;
  transform: rotate(90deg);
  transition: transform 0.25s ease;
}

.faq-item.faq-open .faq-arrow {
  transform: rotate(-90deg);
}

.faq-item:not(.faq-open) .faq-arrow {
  margin-top: 0;
}

/* ---- CONTACT US ---- */
/* Figma: Rectangle 22 — width:1282px, height:693px, left:-2px, top:4693px, bg:#15141D */
.section-contact {
  background: #15141D;
  width: 100%;
  min-height: 693px;
  position: relative;
  overflow: hidden;
}

/* Figma: contact-inner holds the 3 columns at top of section */
/* Left col at left:122px, legal col at left:684px, social col at left:1018px */
/* All columns start at top:4768px (section offset: 75px) */
.contact-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 75px 122px 0 122px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  /* CONTACT US label at offset 75px, button at offset 134px: gap = 134-75-55 = 4px */
  gap: 4px;
}

/* Figma: "CONTACT US" — left:122px, top:4768px (section offset:75px), 20px, line-height:55px, white */
.contact-label {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 55px;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: 0.05em;
}

.contact-location {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Figma: Rectangle 25 — width:167px, height:33px, left:122px, top:4827px, bg:#15141D, border:0.5px solid white, border-radius:27px */
/* Figma: "Get in touch" — left:138px (padding-left:16px), top:4816px, 20px, white */
/* Figma: Vector 10 — left:257px (right side of button), 12×12px, circle+arrow, white */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 167px;
  height: 33px;
  background: #15141D;
  border: 0.5px solid #FFFFFF;
  border-radius: 27px;
  padding: 0 12px 0 16px;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  color: #FFFFFF;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
  gap: 8px;
}

.contact-btn:hover {
  background: rgba(255,255,255,0.08);
  color: #FFFFFF;
}

/* RIGHT side: legal + social columns */
/* Figma: legal at left:684px (section-relative), social at left:1018px */
/* Gap between them: 1018-684-205 = 129px */
.contact-right {
  display: flex;
  gap: 129px;
  /* Align to top of section at same offset as label (75px already from padding) */
}

/* Figma: "Cookie Policy / Privacy Notice" — left:684px, top:4775px (offset:82px), width:205px, height:60px, 20px, line-height:30px, white */
.contact-legal {
  display: flex;
  flex-direction: column;
  gap: 0;
  /* offset from section top: 82px; inner padding already 75px, so extra 7px */
  margin-top: 7px;
}

.contact-legal a {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #FFFFFF;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.contact-legal a:hover { opacity: 1; }

/* Figma: "Linkedin Twitter Instagram Youtube" — left:1018px, top:4775px (offset:82px), width:205px, height:120px, 20px, line-height:30px, white */
.contact-social {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 7px;
}

.contact-social a {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: #FFFFFF;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.contact-social a:hover { opacity: 1; }

/* Figma: Logotipo Blanco — full-bleed, pegado al piso, letras recortadas */
.contact-logotype {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 124px;
  overflow: hidden;
  pointer-events: none;
  clip-path: inset(calc((1 - var(--wordmark-reveal, 0)) * 100%) 0 0 0);
}

.contact-logotype-text {
  display: none;
}

.contact-logotype img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: contain;
  object-position: center bottom;
  position: absolute;
  left: 0;
  bottom: -18px;
}

@keyframes otrWordmarkReveal {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes otrWordmarkLift {
  from { transform: translateY(28px); }
  to { transform: translateY(0); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .navbar-pill,
  .hero-text,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .contact-logotype {
    clip-path: none !important;
    animation: none !important;
  }

  .contact-logotype img {
    transform: none !important;
    animation: none !important;
  }

  .logo-cell img {
    animation: none !important;
  }

  .page-service .svc-block {
    position: relative !important;
    top: auto !important;
    min-height: 0 !important;
    box-shadow: none !important;
  }

  .about-values-pin {
    height: auto !important;
  }

  .about-values-sticky {
    position: static !important;
    height: auto !important;
  }

  .about-values-track {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 48px;
    padding: 80px;
    transform: none !important;
  }

  .about-value {
    flex: none;
    width: min(560px, 100%);
  }

  .about-typewriter-caret {
    display: none !important;
  }

  /* Keep the functional end-state (X shape, pressed scale) but drop the
     animated transition between states. */
  .navbar-menu-toggle span,
  .contact-btn,
  .contact-submit,
  .svc-cta,
  .blog-empty-cta,
  .portfolio-filter {
    transition: none !important;
  }
}

/* ---- SERVICE PAGE (Figma node 2:794) ---- */
.page-service {
  background: #FFFFFF;
}

.navbar-solid {
  pointer-events: none;
}

.navbar-solid .navbar-pill {
  margin: 0 auto;
}

.navbar-links a.is-active {
  color: #5BE0D8;
  opacity: 1;
}

.svc-block {
  width: 100%;
}

.svc-block--white {
  background: #FFFFFF;
}

.svc-block--gray {
  background: #D9D9D9;
}

.page-service main {
  padding-top: 80px;
}

.page-service .svc-block {
  position: relative;
  display: flex;
  flex-direction: column;
}

.svc-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 80px 72px;
  display: flex;
  flex-direction: column;
}

.page-service .svc-title {
  position: static;
  padding: 0 0 8px;
}

.page-service .svc-block--white .svc-title { background: transparent; }
.page-service .svc-block--gray .svc-title { background: transparent; }

.svc-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #15141D;
  margin: 0;
  text-transform: uppercase;
}

.svc-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 32px;
  margin-left: 28%;
}

.svc-list {
  list-style: none;
  width: 100%;
  margin: 0 0 36px;
  padding: 0;
}

.svc-list li {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45;
  color: #15141D;
  padding: 18px 0;
  border-bottom: 0.5px solid rgba(21, 20, 29, 0.28);
}

.svc-list li:first-child {
  padding-top: 0;
}

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

.svc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 200px;
  height: 36px;
  margin-top: 8px;
  padding: 0 14px 0 18px;
  background: #15141D;
  color: #FFFFFF;
  border-radius: 27px;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.svc-cta:hover {
  background: #0143D8;
  color: #FFFFFF;
}

.svc-cta svg {
  flex-shrink: 0;
}

.page-service .section-contact {
  margin-top: 0;
}

/* ---- ABOUT PAGE (Figma node 1:248) ---- */
.page-about {
  background: #F5F5F0;
}

.about-hero {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
  background: #15141D;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0.7;
}

.about-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.about-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,20,29,0.2) 0%, rgba(21,20,29,0.55) 45%, rgba(21,20,29,0.92) 100%);
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 72px;
}

.about-hero-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.05;
  color: #FFFFFF;
  margin: 0;
}

.about-hero-title span {
  font-weight: 600;
}

.about-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.about-label {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: #888888;
  margin: 0 0 28px;
}

.about-label--blue {
  color: #0148E9;
}

.about-intro {
  background: #F5F5F0;
  padding: 90px 0;
}

.about-intro-text {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.4;
  color: #15141D;
  max-width: 980px;
  margin: 0 0 0 64px;
}

.about-intro-text strong {
  font-weight: 600;
}

.about-vision {
  background: #15141D;
  padding: 90px 0 100px;
}

.about-vision-text {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.35;
  color: #FFFFFF;
  max-width: 980px;
  margin: 0 0 0 64px;
}

.about-accent {
  color: #0148E9;
}

.about-values {
  background: #F5F5F0;
}

.about-values-pin {
  height: 200vh;
}

.about-values-sticky {
  position: sticky;
  top: 110px;
  height: calc(100vh - 110px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.about-values-track {
  display: flex;
  gap: 56px;
  padding: 0 80px;
  will-change: transform;
}

.about-value {
  flex: 0 0 min(560px, 72vw);
}

.about-value-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  color: #15141D;
  margin: 0 0 16px;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.about-value-body {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: #444444;
  margin: 0;
  max-width: 480px;
}

.about-typewriter-caret {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  margin-left: 3px;
  background: #0148E9;
  vertical-align: -0.08em;
  animation: typeCaret 0.7s steps(1) infinite;
}

@keyframes typeCaret {
  50% { opacity: 0; }
}

.about-mission {
  background: #15141D;
  padding: 90px 0 110px;
}

.about-mission-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0 0 64px;
  max-width: 980px;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}

.about-pillar-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  color: #FFFFFF;
  margin: 0 0 14px;
}

.about-pillar-body {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  margin: 0;
}

.about-media {
  background: #F5F5F0;
  padding: 72px 0 40px;
}

.about-media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-media-card {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 16 / 10;
  background: #15141D;
}

.about-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.about-media-card:hover .about-media-img {
  transform: scale(1.03);
}

.about-team {
  background: #F5F5F0;
  padding: 70px 0 110px;
}

.about-team-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 50px;
  line-height: 1.1;
  color: #000E1F;
  margin: 0 0 56px;
}

.about-member.about-member--lead {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 720px;
  margin: 0 0 48px;
  text-decoration: none;
}

.about-member--lead .about-member-photo {
  width: 265px;
  flex-shrink: 0;
  margin: 0;
}

.about-member--lead .about-member-photo::after {
  height: 60%;
}

.about-member--lead .about-member-copy {
  position: static;
  padding: 0;
}

.about-member--lead .about-member-name {
  font-size: 50px;
  line-height: 1;
  color: #000E1F;
  margin: 0 0 10px;
}

.about-member--lead .about-member-role {
  font-size: 20px;
  line-height: 1.3;
  color: #000E1F;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}

.about-member {
  display: block;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.about-member-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 265 / 337;
  border-radius: 20px;
  overflow: hidden;
  background-color: #D9D9D9;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.about-member-photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 92%;
  background: linear-gradient(to bottom, rgba(0, 14, 31, 0) 0%, #000E1F 84.56%);
  pointer-events: none;
}

.about-member-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0 18px 18px;
}

.about-member-name {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #FFFFFF;
}

.about-member-role {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0;
}

/* ---- PORTFOLIO PAGE (Figma node 1:313) ---- */
.page-portfolio {
  background: #F0F0F0;
}

.portfolio-page {
  padding: 148px 0 80px;
}

.portfolio-page-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}

.portfolio-filters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.portfolio-filter {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #15141D;
  background: transparent;
  border: 0.5px solid #15141D;
  border-radius: 12px;
  width: 100%;
  min-height: 62px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.portfolio-filter:hover,
.portfolio-filter.is-active {
  background: #15141D;
  color: #FFFFFF;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px 31px;
}

.pgrid-card {
  position: relative;
  display: block;
  aspect-ratio: 267 / 344;
  border-radius: 4px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #FFFFFF;
}

.pgrid-card.is-hidden {
  display: none;
}

.pgrid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.72) 100%);
  transition: background 0.3s;
}

.pgrid-card:hover .pgrid-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.82) 100%);
}

.pgrid-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 20px 18px;
}

.pgrid-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.pgrid-cat {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  opacity: 0.85;
}

.pgrid-extra {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 13px;
  margin: 8px 0 0;
  opacity: 0.9;
}

/* ---- CONTACT PAGE (Figma node 150:2) ---- */
.page-contact {
  background: #15141D;
}

.contact-page {
  padding: 169px 0 80px;
}

.contact-page-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 144px;
}

.contact-page-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.12;
  color: #FFFFFF;
  margin: 0 0 56px;
}

.contact-form {
  max-width: 620px;
}

.contact-reasons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 36px;
  padding: 0;
  border: none;
}

.contact-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 17px;
  color: #FFFFFF;
  cursor: pointer;
}

.contact-radio input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-radio-dot {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1px solid #FFFFFF;
  border-radius: 50%;
  position: relative;
}

.contact-radio input:checked + .contact-radio-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #FFFFFF;
}

.contact-radio input:focus-visible + .contact-radio-dot {
  outline: 2px solid #0148E9;
  outline-offset: 2px;
}

.contact-jobs-link {
  display: inline-block;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 15px;
  color: #FFFFFF;
  text-decoration: underline;
  opacity: 0.85;
  margin-bottom: 36px;
}

.contact-jobs-link:hover { opacity: 1; }

.contact-form-hint {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin: 0 0 28px;
  max-width: 672px;
}

.contact-form-bar {
  width: min(551px, 100%);
  height: 75px;
  min-height: 75px;
  background: #3C3B44;
  border-radius: 4px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  margin-bottom: 14px;
}

.contact-form-bar input,
.contact-form-bar textarea {
  width: 100%;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 16px;
  padding: 4px 0;
  resize: none;
}

.contact-form-bar input::placeholder,
.contact-form-bar textarea::placeholder {
  color: rgba(255,255,255,0.35);
}

.contact-form-bar input:focus,
.contact-form-bar textarea:focus {
  outline: none;
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 24px;
}

.contact-form-fields input,
.contact-form-fields textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 0.5px solid rgba(255,255,255,0.4);
  color: #FFFFFF;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 16px;
  padding: 10px 2px;
  resize: none;
}

.contact-form-fields input::placeholder,
.contact-form-fields textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.contact-form-fields input:focus,
.contact-form-fields textarea:focus {
  border-bottom-color: #0148E9;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-field label {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.contact-form-note {
  display: none;
}

.contact-form-status {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 14px;
  margin: 16px 0 0;
  min-height: 1em;
}

.contact-form-status.is-error {
  color: #FF8A80;
}

.contact-form-status.is-success {
  color: #7FE0C4;
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-form-actions {
  width: min(551px, 100%);
  display: flex;
  justify-content: flex-end;
  margin: 0 0 8px;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: auto;
  padding: 0;
  background: none;
  color: #FFFFFF;
  border: none;
  border-radius: 0;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.contact-submit svg {
  display: none;
}

.contact-submit:hover {
  background: none;
  color: #FFFFFF;
  opacity: 1;
}

/* ---- CONTACT PANEL (footer "Get in touch") ---- */
/* Figma: Rectangle 43 — 774×693, anclado a la derecha del footer 1282×693.
   Se expande desde la derecha (translateX) y deja CONTACT US + logotype a la
   izquierda. El resto de la página se atenúa; el footer queda por encima. */
.contact-dim-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(21, 20, 29, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.contact-dim-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.section-contact.is-contact-open {
  z-index: 2100;
}

.contact-modal {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: #FFFFFF;
  color: #15141D;
  width: min(774px, 100%);
  overflow-y: auto;
  padding: 91px 65px 64px;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s linear 0.55s;
}

.contact-modal.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0s linear 0s;
}

.contact-modal:focus {
  outline: none;
}

.contact-modal-body {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.35s ease 0.18s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}

.contact-modal.is-open .contact-modal-body {
  opacity: 1;
  transform: none;
}

.contact-modal-close {
  position: absolute;
  top: 39px;
  right: 32px;
  z-index: 2;
  background: none;
  border: none;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 14px;
  color: #15141D;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.contact-modal-close:hover {
  opacity: 1;
}

.contact-modal-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
  color: #15141D;
  margin: 0 0 48px;
}

.contact-modal .contact-radio,
.contact-modal .contact-jobs-link,
.contact-modal .contact-field label {
  color: #15141D;
}

.contact-modal .contact-form-hint,
.contact-modal .contact-form-note {
  color: rgba(21, 20, 29, 0.6);
}

.contact-modal .contact-radio-dot {
  border-color: rgba(21, 20, 29, 0.4);
}

.contact-modal .contact-radio input:checked + .contact-radio-dot::after {
  background: #15141D;
}

.contact-modal .contact-form-fields input,
.contact-modal .contact-form-fields textarea {
  color: #15141D;
  border-bottom-color: rgba(21, 20, 29, 0.3);
}

.contact-modal .contact-form-fields input::placeholder,
.contact-modal .contact-form-fields textarea::placeholder {
  color: rgba(21, 20, 29, 0.4);
}

.contact-modal .contact-form-bar {
  background: #E8E6E1;
}

.contact-modal .contact-form-bar input,
.contact-modal .contact-form-bar textarea {
  color: #15141D;
}

.contact-modal .contact-form-bar input::placeholder,
.contact-modal .contact-form-bar textarea::placeholder {
  color: rgba(21, 20, 29, 0.4);
}

.contact-modal .contact-submit {
  background: none;
  color: #15141D;
}

.contact-modal .contact-submit:hover {
  background: none;
  color: #0148E9;
}

@media (max-width: 768px) {
  .contact-modal {
    width: 100%;
    padding: 72px 24px 40px;
  }

  .contact-modal-title {
    font-size: 28px;
    margin-bottom: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-dim-overlay,
  .contact-modal,
  .contact-modal-body {
    transition: none;
  }

  .contact-modal {
    transform: none;
  }

  .contact-modal:not(.is-open) {
    visibility: hidden;
  }

  .contact-modal-body {
    transform: none;
  }
}

.contact-recruit {
  max-width: 820px;
  margin-top: 48px;
  padding-top: 0;
  border-top: none;
}

.contact-recruit-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.25;
  color: #FFFFFF;
  margin: 0 0 14px;
}

.contact-recruit-text {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 16px;
  color: #FFFFFF;
  margin: 0 0 28px;
}

.contact-recruit-text a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-recruit .contact-location {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 14px;
  color: #FFFFFF;
  margin: 0;
}

.section-contact--page {
  min-height: 424px;
}

.section-contact--page .contact-inner {
  justify-content: flex-start;
  padding: 80px 131px 180px;
}

.section-contact--page .contact-right {
  gap: 129px;
}

/* ---- LEGAL PAGES (Cookie Policy / Privacy Notice — provisional content) ---- */
.page-legal {
  background: var(--otr-light);
}

/* ---- PORTFOLIO CASE STUDY PAGES ---- */
.page-case {
  background: var(--otr-light);
  overflow-x: hidden;
}

.case-page {
  padding: 220px 0 0;
}

.case-page-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 76px;
}

.case-back {
  display: inline-flex;
  align-items: center;
  color: var(--otr-blue-link);
  margin-bottom: 8px;
}

.case-back svg {
  width: 47px;
  height: 53px;
}

.case-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 70px;
  line-height: 60px;
  text-transform: uppercase;
  color: #000E1F;
  margin: 0 0 10px;
}

.case-subtitle {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #000E1F;
  margin: 0 0 56px;
}

.case-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  aspect-ratio: 1280 / 550;
  background: #D9D9D9;
  margin-bottom: 64px;
  overflow: hidden;
}

.case-hero img,
.case-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-hero-mute {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(21, 20, 29, 0.6);
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.case-hero-mute:hover {
  background: rgba(21, 20, 29, 0.85);
}

.case-hero-mute svg {
  width: 18px;
  height: 18px;
}

.case-hero-mute .icon-muted { display: block; }
.case-hero-mute .icon-unmuted { display: none; }
.case-hero-mute.is-unmuted .icon-muted { display: none; }
.case-hero-mute.is-unmuted .icon-unmuted { display: block; }

/* Segundo video AFF: misma placa full-bleed que el hero. */
.case-hero-secondary {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  aspect-ratio: 1280 / 550;
  background: #D9D9D9;
  margin-bottom: 0;
  overflow: hidden;
}

.case-hero-secondary video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-body {
  column-count: 2;
  column-gap: 64px;
  padding-bottom: 100px;
}

.case-body:has(+ .case-hero-secondary) {
  padding-bottom: 48px;
}

.case-body p,
.case-body .case-stats,
.case-body .case-chips,
.case-body .case-results-title,
.case-body .case-result-group,
.case-body .case-channel,
.case-body .case-metrics {
  break-inside: avoid;
}

.case-body--split {
  column-count: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  align-items: start;
}

.case-metrics {
  column-span: all;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 64px;
  margin-top: 64px;
}

.case-metrics--stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-body--split .case-metrics {
  margin-top: 0;
}

.case-body p {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--otr-dark);
  margin: 0 0 28px;
}

.case-body p strong {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}

.case-results-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--otr-dark);
  margin: 0 0 12px;
}

.case-channel {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}

.case-channel svg {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 4px 0 28px;
}

.case-stat {
  background: var(--otr-dark);
  color: #FFFFFF;
  border-radius: 13.5px;
  padding: 14px 16px;
  min-height: 90px;
  box-sizing: border-box;
}

.case-stat.is-muted {
  background: #C4C3C8;
  color: var(--otr-dark);
}

.case-stat-num {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.case-stat-label {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 13px;
  line-height: 1.25;
  margin-top: 6px;
}

.case-chips {
  display: flex;
  gap: 20px;
  margin: 4px 0 28px;
  flex-wrap: wrap;
}

.case-chip {
  background: var(--otr-dark);
  color: #FFFFFF;
  border-radius: 50px;
  width: auto;
  min-width: 120px;
  height: 36px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  text-align: center;
  box-sizing: border-box;
}

.case-chip--market {
  width: 168px;
  min-width: 168px;
  padding: 0 12px;
}

a.case-chip:hover {
  opacity: 0.82;
}

@media (max-width: 1100px) {
  .case-page-inner {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .case-page {
    padding: 120px 0 0;
  }

  .case-page-inner {
    padding: 0 24px;
  }

  .case-back svg {
    width: 36px;
    height: 40px;
  }

  .case-title {
    font-size: 36px;
    line-height: 1.05;
  }

  .case-subtitle {
    font-size: 22px;
    line-height: 1.2;
  }

  .case-body {
    column-count: 1;
  }

  .case-body--split,
  .case-metrics {
    grid-template-columns: 1fr;
  }

  .case-hero-secondary {
    aspect-ratio: 16 / 10;
  }

  .case-chip {
    min-width: 0;
    padding: 0 18px;
  }
}

.legal-page {
  padding: 150px 0 100px;
}

.legal-page-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-back {
  display: inline-block;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 15px;
  color: var(--otr-dark);
  opacity: 0.7;
  margin-bottom: 28px;
}

.legal-back:hover {
  opacity: 1;
}

.legal-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 44px;
  color: var(--otr-dark);
  margin: 0 0 28px;
}

.legal-notice {
  background: #FBF0D9;
  border: 1px solid #E8D18C;
  border-radius: 10px;
  padding: 16px 18px;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #5C4A12;
  margin-bottom: 44px;
}

.legal-updated {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 14px;
  color: #888888;
  margin: 0 0 36px;
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--otr-dark);
  margin: 0 0 10px;
}

.legal-section p {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #33323B;
}

.legal-section a {
  color: var(--otr-blue-link);
  text-decoration: underline;
}

/* ---- BLOG PAGE (Figma node 136:163) ---- */
.page-blog {
  background: #F5F5F0;
}

.blog-page {
  padding: 140px 0 100px;
}

.blog-page-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.blog-page-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  color: #15141D;
  margin: 0 0 8px;
}

.blog-page-subtitle {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #15141D;
  margin: 0 0 56px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px 30px;
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card-media {
  width: 100%;
  aspect-ratio: 534 / 226;
  background: #D9D9D9;
  margin: 0 0 16px;
}

.blog-card-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: #15141D;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.blog-card-year {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #888888;
  margin: 0;
}

.blog-empty {
  max-width: 520px;
  padding: 56px 40px;
  border: 1px solid rgba(21, 20, 29, 0.12);
  border-radius: 16px;
  background: #FFFFFF;
}

.blog-empty-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--otr-dark);
  margin: 0 0 12px;
}

.blog-empty-text {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #55545C;
  margin: 0 0 28px;
}

.blog-empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 20px;
  background: var(--otr-dark);
  color: #FFFFFF;
  border-radius: 27px;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 16px;
  transition: background 0.2s;
}

.blog-empty-cta svg path {
  stroke: #FFFFFF;
}

.blog-empty-cta:hover {
  background: var(--otr-blue);
}

/* ---- RESPONSIVE (tablet/mobile) ---- */
@media (max-width: 1279px) {
  /* Scale down the absolute-positioned Our Work section */
  .section-work {
    height: auto;
    min-height: 693px;
  }

  .work-inner {
    width: 100%;
    height: auto;
    min-height: 693px;
  }

  .section-label {
    left: 6.25%;
    width: 87.8%;
  }

  .work-heading-line1,
  .work-heading-line2,
  .work-heading-line3 {
    left: 6.25%;
    right: 6.25%;
    width: auto;
  }

  .work-body {
    left: 6.25%;
    width: 87.8%;
  }
}

@media (max-width: 1279px) and (min-width: 1101px) {
  /* Scale portfolio cards proportionally */
  .portfolio-top-row,
  .portfolio-bottom-row {
    width: 100%;
  }

  .portfolio-bottom-row {
    display: flex;
    flex-direction: column;
  }

  .pcard-1, .pcard-2, .pcard-3 {
    width: calc(100% / 3);
  }

  .pcard-4,
  .pcard-5 {
    width: 100%;
    height: 227px;
  }

  .pcard-title {
    font-size: 40px;
    left: 40px;
    top: 200px;
  }

  .pcard-service {
    left: 40px;
    top: 270px;
  }

  .pcard-num {
    left: 40px;
    top: 380px;
  }

  .pcard-icon {
    left: 40px;
    top: 130px;
  }

  .pcard-4 .pcard-title,
  .pcard-5 .pcard-title {
    font-size: 40px;
    left: 30px;
    top: 30px;
  }

  .pcard-4 .pcard-service,
  .pcard-5 .pcard-service {
    left: 30px;
    top: 90px;
  }

  .pcard-4 .pcard-num,
  .pcard-5 .pcard-num {
    left: 30px;
    top: 145px;
  }
}

@media (max-width: 1100px) {
  .navbar {
    padding-top: 16px;
  }

  .navbar.is-scrolled {
    padding-top: 10px;
  }

  .navbar-pill {
    width: calc(100% - 40px);
    padding: 0 24px;
  }

  .navbar-links {
    display: none;
  }

  .navbar-menu-toggle {
    display: flex;
  }

  .hero-content {
    left: 40px;
    width: calc(100% - 80px);
  }

  .service-inner,
  .trusted-inner,
  .faq-inner,
  .contact-inner {
    padding: 0 40px;
  }

  .contact-page-inner,
  .blog-page-inner {
    padding: 0 40px;
  }

  .contact-page-title {
    font-size: 34px;
  }

  .blog-page-title {
    font-size: 48px;
  }

  .svc-inner {
    padding: 72px 40px 80px;
  }

  .svc-content {
    margin-top: 32px;
  }

  .svc-title {
    font-size: 40px;
  }

  .about-hero {
    height: 480px;
  }

  .about-hero-inner,
  .about-inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  .about-hero-title {
    font-size: 48px;
  }

  .about-vision-text,
  .about-intro-text {
    font-size: 28px;
  }

  .about-mission-title {
    font-size: 32px;
  }

  .about-pillars,
  .about-media-grid {
    grid-template-columns: 1fr;
  }

  .about-intro-text {
    margin-left: 40px;
  }

  .about-values-track {
    padding: 0 40px;
  }

  .about-team-title {
    font-size: 40px;
  }

  .about-member--lead {
    gap: 28px;
  }

  .about-member--lead .about-member-photo {
    width: 220px;
  }

  .about-member--lead .about-member-name {
    font-size: 40px;
  }

  .about-member-name {
    font-size: 32px;
  }

  .about-team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-page-inner {
    padding: 0 24px;
  }

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

  .pgrid-title {
    font-size: 18px;
  }

  /* Portfolio: scale cards to viewport */
  .pcard-1, .pcard-2, .pcard-3 {
    width: calc(100% / 3);
  }

  .pcard-4,
  .pcard-5 {
    width: 100%;
    height: 227px;
  }

  .pcard-title {
    font-size: 32px;
    left: 30px;
    top: 180px;
  }

  .pcard-service {
    font-size: 16px;
    left: 30px;
    top: 250px;
  }

  .pcard-num {
    left: 30px;
    top: 360px;
  }

  .pcard-icon {
    left: 30px;
    top: 120px;
  }

  .pcard-4 .pcard-title,
  .pcard-5 .pcard-title {
    font-size: 32px;
    left: 24px;
    top: 24px;
  }

  .pcard-4 .pcard-service,
  .pcard-5 .pcard-service {
    font-size: 16px;
    left: 24px;
    top: 80px;
  }

  .pcard-4 .pcard-num,
  .pcard-5 .pcard-num {
    left: 24px;
    top: 130px;
  }

  /* Service cards: 2×2 grid on tablet */
  .service-cards {
    flex-wrap: wrap;
    gap: 20px;
  }

  .scard,
  .scard:nth-child(3) {
    width: calc(50% - 10px);
    margin-right: 0;
  }

  .service-desc {
    width: 100%;
  }

  /* Trusted by: keep 4 cols on tablet, just reduce cell height */
  .logos-grid {
    grid-template-rows: repeat(4, 120px) 80px;
  }

  .logo-cell img {
    max-width: 110px;
    max-height: 50px;
  }
}

@media (max-width: 768px) {
  /* Our Work section mobile */
  .section-work {
    height: auto;
    min-height: 0;
    padding-bottom: 60px;
  }

  .work-inner {
    position: static;
    width: 100%;
    height: auto;
    padding: 0 24px;
  }

  .section-label {
    position: static;
    display: block;
    padding-top: 40px;
    width: auto;
    left: auto;
    top: auto;
    font-size: 16px;
  }

  .work-heading-line1,
  .work-heading-line2,
  .work-heading-line3 {
    position: static;
    display: block;
    width: auto;
    height: auto;
    font-size: 36px;
    line-height: 40px;
    margin-top: 24px;
    white-space: normal;
  }

  .work-heading-line1,
  .work-heading-line2 {
    text-align: left;
  }

  .work-heading-line3 {
    text-align: right;
  }

  .work-body {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin-top: 40px;
  }

  .navbar {
    padding-top: 16px;
  }

  .navbar.is-scrolled {
    padding-top: 10px;
  }

  .navbar-pill {
    width: calc(100% - 32px);
    height: 52px;
    padding: 0 20px;
  }

  .navbar-links {
    display: none;
  }

  .navbar-menu-toggle {
    display: flex;
  }

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

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

  .svc-inner {
    padding: 56px 24px 64px;
  }

  .svc-content {
    margin-top: 24px;
    margin-left: 0;
  }

  .svc-title {
    font-size: 32px;
    line-height: 1.1;
  }

  .svc-list li {
    font-size: 16px;
    padding: 14px 0;
  }

  .about-hero {
    height: 420px;
  }

  .about-hero-inner,
  .about-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-hero-title {
    font-size: 36px;
  }

  .about-vision-text,
  .about-intro-text,
  .about-team-title {
    font-size: 26px;
  }

  .about-vision-text,
  .about-intro-text {
    margin-left: 24px;
  }

  .about-mission-title {
    font-size: 26px;
  }

  .about-value-title {
    font-size: 22px;
  }

  .page-service .svc-block {
    position: relative;
    top: auto;
    min-height: 0;
    box-shadow: none;
  }

  .page-service .svc-title {
    position: static;
    padding: 0;
  }

  .about-values-pin {
    height: auto !important;
  }

  .about-values-sticky {
    position: static;
    height: auto;
    overflow: visible;
  }

  .about-values-track {
    flex-direction: column;
    gap: 48px;
    padding: 72px 24px;
    transform: none !important;
  }

  .about-value {
    flex: none;
    width: 100%;
  }

  .about-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .about-member.about-member--lead {
    display: block;
    max-width: none;
    margin-bottom: 16px;
  }

  .about-member--lead .about-member-photo {
    width: 100%;
  }

  .about-member--lead .about-member-photo::after {
    height: 92%;
  }

  .about-member--lead .about-member-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 16px 16px;
  }

  .about-member--lead .about-member-name,
  .about-member--lead .about-member-role {
    color: #FFFFFF;
  }

  .about-member--lead .about-member-name {
    font-size: 28px;
  }

  .about-member-name {
    font-size: 24px;
  }

  .about-member-role {
    font-size: 14px;
  }

  .about-member-copy {
    padding: 0 12px 14px;
  }

  .about-member-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 265 / 337;
  }

  .portfolio-filters {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .portfolio-filter {
    width: 100%;
    min-height: 48px;
    font-size: 11px;
    padding: 8px 12px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pgrid-card {
    aspect-ratio: 16 / 10;
  }

  .hero {
    height: 500px;
    min-height: 0;
  }

  .hero-text {
    font-size: 32px;
    line-height: 38px;
  }

  .hero-content {
    left: 24px;
    top: 340px;
    bottom: auto;
    width: calc(100% - 48px);
  }

  .work-heading-line1,
  .work-heading-line2,
  .work-heading-line3 {
    font-size: 36px;
    line-height: 40px;
  }

  /* Portfolio mobile: stack all cards vertically */
  .portfolio-label {
    position: static;
    padding: 24px 24px 0;
    pointer-events: auto;
  }

  .portfolio-top-row {
    flex-direction: column;
    height: auto;
  }

  .portfolio-bottom-row {
    flex-direction: column;
    height: auto;
  }

  .pcard-1, .pcard-2, .pcard-3 {
    width: 100%;
    height: 280px;
  }

  .pcard-4, .pcard-5 {
    width: 100%;
    height: 200px;
  }

  .pcard-title {
    font-size: 28px;
    left: 24px;
    top: 120px;
  }

  .pcard-service {
    font-size: 14px;
    left: 24px;
    top: 170px;
  }

  .pcard-num {
    left: 24px;
    top: 220px;
  }

  .pcard-icon {
    left: 24px;
    top: 60px;
  }

  .pcard-4 .pcard-title,
  .pcard-5 .pcard-title {
    font-size: 28px;
    left: 24px;
    top: 24px;
  }

  .pcard-4 .pcard-service,
  .pcard-5 .pcard-service {
    font-size: 14px;
    left: 24px;
    top: 70px;
  }

  .pcard-4 .pcard-num,
  .pcard-5 .pcard-num {
    left: 24px;
    top: 110px;
  }

  .blue-bar {
    padding-right: 24px;
    justify-content: flex-end;
  }

  .blue-bar-link {
    font-size: 28px;
  }

  /* Service cards mobile: 2 columns */
  .service-cards {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
  }

  .scard,
  .scard:nth-child(3) {
    width: calc(50% - 6px);
    height: 260px;
    margin-right: 0;
  }

  .scard-x {
    top: 100px;
    font-size: 24px;
  }

  .scard-title,
  .scard-title-2,
  .scard-title-4 {
    top: 150px;
    font-size: 18px;
    line-height: 20px;
  }

  .service-desc {
    width: 100%;
    font-size: 16px;
  }

  /* Trusted by mobile: 2 cols, auto row height */
  .logos-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }

  .logo-cell {
    min-height: 90px;
    padding: 16px 12px;
  }

  .logo-cell img {
    max-width: 90px;
    max-height: 40px;
  }

  .logo-cell-text {
    font-size: 14px;
  }

  .trusted-label {
    padding-left: 24px;
    padding-top: 50px;
  }

  /* FAQ mobile overrides */
  .faq-label {
    padding-left: 24px;
    padding-top: 40px;
    font-size: 16px;
  }

  .faq-list {
    padding-left: 24px;
    padding-right: 24px;
    margin-top: 40px;
  }

  .faq-item {
    width: 100%;
    height: auto;
    min-height: 41px;
    padding: 8px 16px;
  }

  .faq-q {
    font-size: 16px;
    line-height: 1.4;
    white-space: normal;
  }

  .faq-num {
    font-size: 16px;
    line-height: 1.4;
  }

  /* Contact mobile overrides */
  .section-contact {
    min-height: auto;
    padding-bottom: 110px; /* space for cropped wordmark */
  }

  .contact-inner {
    flex-direction: column;
    gap: 32px;
    padding: 40px 24px 0 24px;
  }

  .contact-right {
    gap: 40px;
  }

  .contact-btn {
    font-size: 16px;
    width: auto;
    padding: 0 16px;
  }

  .contact-logotype {
    height: 72px;
  }

  .contact-logotype img {
    height: 88px;
    bottom: -10px;
  }

  .contact-page {
    padding: 120px 0 48px;
  }

  .section-contact--page .contact-inner {
    padding: 40px 24px 120px;
  }

  .contact-page-inner,
  .blog-page-inner {
    padding: 0 24px;
  }

  .contact-page-title {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .blog-page {
    padding: 110px 0 60px;
  }

  .blog-page-title {
    font-size: 40px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-empty {
    padding: 40px 24px;
  }
}
