/* ============================================================
   Monteblack Producciones — Main Stylesheet
   Paleta: #191919 fondo · #b91d17 rojo · #f1f2f2 crema
   Font:   Montserrat (Google Fonts)
   ============================================================ */

:root {
  --ink:   #191919;
  --red:   #b91d17;
  --cream: #f1f2f2;
  --muted: rgba(241,242,242,0.35);
  --font:  'Montserrat', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ── NAV ──────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 58px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  transition: background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(255,255,255,0.05);
}
.nav-logo { display: flex; align-items: center; }
.nav-wordmark {
  font-size: 10px; font-weight: 700; letter-spacing: 4.5px;
  color: white; text-transform: uppercase;
}
.nav-links { display: none; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(241,242,242,0.4);
  transition: color .2s;
}
.nav-links a:hover { color: white; }
.nav-links .nav-cta {
  padding: 8px 18px;
  background: var(--red); color: white;
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  transition: background .2s;
}
.nav-links .nav-cta:hover { background: #d42420; }
.nav-lang {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  color: rgba(241,242,242,0.3); text-transform: uppercase;
  transition: color .2s; cursor: pointer;
}
.nav-lang:hover, .nav-lang.active { color: white; }
.nav-lang-sep { color: rgba(255,255,255,0.15); margin: 0 2px; }
.nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 20px; height: 1.5px; background: white; border-radius: 1px; transition: all .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none; position: fixed; top: 58px; left: 0; right: 0;
  background: rgba(15,15,15,0.97); backdrop-filter: blur(20px);
  padding: 28px 24px 36px; z-index: 190;
  flex-direction: column; gap: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 14px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(241,242,242,0.5);
  transition: color .2s;
}
.nav-mobile a:hover { color: white; }
.nav-mobile .nav-mobile-cta {
  display: inline-block; padding: 14px 22px; background: var(--red);
  color: white; font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-align: center; margin-top: 8px;
}
.nav-mobile-lang { display: flex; gap: 12px; margin-top: 8px; }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh; min-height: 620px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img-layer {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 1.4s cubic-bezier(.4,0,.2,1);
}
#hero-img-a { opacity: 1; }
#hero-img-b { opacity: 0; }
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.28) 40%, rgba(0,0,0,0.84) 100%);
}
.hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0 22px 34px;
  display: flex; flex-direction: column; gap: 13px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--red); padding: 5px 11px;
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: white; align-self: flex-start;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: white;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero-title {
  font-size: clamp(34px, 8.1vw, 47px);
  font-weight: 900; line-height: .88;
  letter-spacing: -2px; text-transform: uppercase; color: white;
  text-wrap: balance;
  transition: opacity .18s ease;
}
.hero-title.fading { opacity: 0; }
.hero-title em { font-style: normal; color: var(--red); }
.hero-sub {
  font-size: 12px; font-weight: 400; color: var(--muted);
  line-height: 1.65; max-width: 300px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; background: var(--red);
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: white;
  align-self: flex-start; margin-top: 4px;
  transition: background .2s;
}
.hero-cta:hover { background: #d42420; }
.hero-cta svg { flex-shrink: 0; }
.hero-redline { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--red); }

/* ── SECTION LABEL ──────────────────────────────────────── */
.sec-label {
  font-size: 9px; font-weight: 700; letter-spacing: 5px;
  text-transform: uppercase; color: rgba(241,242,242,0.18);
  padding: 28px 22px 14px;
}

/* ── SERVICES ──────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.svc-card { position: relative; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; }
.svc-card img { transition: transform .5s ease; }
.svc-card:hover img { transform: scale(1.05); }
.svc-card .svc-placeholder {
  position: absolute; inset: 0; background: #2a2a2a;
  display: flex; align-items: center; justify-content: center;
}
.svc-grad {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.12) 100%);
  transition: opacity .3s;
}
.svc-card:hover .svc-grad { opacity: .85; }
.svc-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px 13px; display: flex; flex-direction: column; gap: 3px;
}
.svc-n { font-size: 9px; font-weight: 700; color: var(--red); letter-spacing: 2.5px; text-transform: uppercase; }
.svc-name { font-size: 25px; font-weight: 900; color: white; text-transform: uppercase; letter-spacing: -.3px; line-height: 1.05; }
.svc-desc { font-size: 10px; color: rgba(255,255,255,0.4); letter-spacing: .3px; margin-top: 2px; }

/* Services — interactive state */
.services-grid.has-active .svc-card { transition-delay: 0s !important; }
.services-grid.has-active .svc-card:not(.svc-active) { opacity: 0.2; }
.svc-card.svc-active .svc-grad { opacity: .92; }

/* Services — detail panel */
.svc-detail-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s ease;
}
.svc-detail-wrap.open { max-height: 600px; }
.svc-detail-inner {
  padding: 20px 22px 26px;
  border-top: 1px solid rgba(185,29,23,0.6);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-detail-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.svc-detail-n {
  display: block;
  font-size: 9px; font-weight: 700; color: var(--red);
  letter-spacing: 3px; text-transform: uppercase;
}
.svc-detail-name {
  display: block;
  font-size: 18px; font-weight: 900; color: var(--cream);
  text-transform: uppercase; letter-spacing: -.5px; line-height: 1;
  margin-top: 6px;
}
.svc-detail-close {
  background: none;
  border: 1px solid rgba(241,242,242,0.15);
  color: rgba(241,242,242,0.35);
  font-size: 16px; cursor: pointer; flex-shrink: 0;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, color .2s;
  padding: 0; font-family: inherit; line-height: 1;
}
.svc-detail-close:hover { border-color: var(--red); color: var(--red); }
.svc-detail-desc { white-space: pre-line;
  font-size: 12px; color: rgba(241,242,242,0.5);
  line-height: 1.8; margin: 0;
}

/* ── PORTFOLIO ──────────────────────────────────────────── */
.port-wrap { padding: 0 22px 26px; }
.port-featured {
  position: relative; aspect-ratio: 16/9; overflow: hidden; margin-bottom: 3px;
}
.port-featured img { transition: transform .5s ease; }
.port-featured:hover img { transform: scale(1.03); }
.port-featured-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
}
.port-caption {
  position: absolute; bottom: 10px; left: 12px;
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
}
.port-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.port-thumb { aspect-ratio: 1; overflow: hidden; position: relative; }
.port-thumb img { transition: transform .4s ease; }
.port-thumb:hover img { transform: scale(1.06); }
.port-thumb .port-thumb-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0);
  transition: background .3s;
  display: flex; align-items: flex-end; padding: 8px;
}
.port-thumb:hover .port-thumb-overlay { background: rgba(0,0,0,0.3); }
.port-link {
  display: block; margin-top: 14px; text-align: right;
  font-size: 11px; font-weight: 700; color: var(--red);
  letter-spacing: 2.5px; text-transform: uppercase; transition: color .2s;
}
.port-link:hover { color: #d42420; }


/* ── LOGOS CAROUSEL ──────────────────────────────────────── */
.logos-section {
  padding: 22px 0; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
}
.logos-section::before, .logos-section::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 72px; z-index: 2; pointer-events: none;
}
.logos-section::before { left: 0; background: linear-gradient(to right, var(--ink), transparent); }
.logos-section::after  { right: 0; background: linear-gradient(to left, var(--ink), transparent); }
.logos-runner {
  display: flex; align-items: center; width: max-content;
  animation: logoScroll 34s linear infinite;
}
.logos-runner:hover { animation-play-state: paused; }
@keyframes logoScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.logo-item {
  display: flex; align-items: center; justify-content: center;
  padding: 0 30px; opacity: .28; transition: opacity .3s;
  flex-shrink: 0; font-size: 11px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: white;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.logo-item:last-child { border-right: none; }
.logo-item:hover { opacity: .65; }

/* ── STARLINK CALLOUT ──────────────────────────────────── */
.starlink-wrap { padding: 0 22px 22px; margin-top: 32px; }
.starlink {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(185,29,23,0.28);
  background: rgba(185,29,23,0.03);
  transition: border-color .25s, background .25s;
}
.starlink:hover { border-color: var(--red); background: rgba(185,29,23,0.07); }
.sl-icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%;
  background: rgba(185,29,23,0.12);
  display: flex; align-items: center; justify-content: center;
}
.sl-body { flex: 1; }
.sl-title { font-size: 10px; font-weight: 700; color: white; letter-spacing: 2.5px; text-transform: uppercase; }
.sl-url { font-size: 9px; color: rgba(255,255,255,0.25); letter-spacing: 1.5px; margin-top: 3px; }
.sl-arrow { font-size: 20px; color: var(--red); flex-shrink: 0; }

/* ── CTA ──────────────────────────────────────────────── */
.cta-sec {
  padding: 44px 22px 38px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex; flex-direction: column; gap: 16px;
  align-items: center; text-align: center;
}
.cta-title {
  font-size: clamp(30px,7vw,40px); font-weight: 900; color: white;
  text-transform: uppercase; letter-spacing: -1.5px; line-height: .9; text-wrap: balance;
}
.cta-right { display: flex; flex-direction: column; gap: 14px; align-items: center; width: 100%; }
.cta-sub { font-size: 12px; color: var(--muted); line-height: 1.65; max-width: 268px; }
.cta-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px;
  background: #25D366; font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: white;
  transition: background .2s;
}
.cta-wa:hover { background: #1ebb58; }

/* ── FOOTER ──────────────────────────────────────────── */
footer {
  padding: 14px 22px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.foot-brand { display: none; align-items: center; gap: 9px; }
.foot-brand-word {
  font-size: 9px; font-weight: 700; letter-spacing: 3.5px;
  color: rgba(241,242,242,0.18); text-transform: uppercase;
}
.foot-copy { font-size: 9px; font-weight: 600; color: rgba(241,242,242,0.15); letter-spacing: 1.5px; text-transform: uppercase; }
.foot-social { display: flex; gap: 18px; }
.foot-social a {
  font-size: 9px; font-weight: 700; color: rgba(241,242,242,0.22);
  letter-spacing: 1.5px; transition: color .2s;
}
.foot-social a:hover { color: white; }



/* ── SCROLL REVEAL ──────────────────────────────────────── */
.fu {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: var(--d,0s);
}
.fu.on { opacity: 1; transform: none; }

/* ── PAGE HEADER (trabajos page) ──────────────────────── */
.page-header {
  padding: 120px 22px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.page-header h1 {
  font-size: clamp(42px, 8vw, 84px); font-weight: 900;
  letter-spacing: -3px; text-transform: uppercase; line-height: .88;
}
.page-header h1 em { font-style: normal; color: var(--red); }
.page-header p {
  font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.65;
}

/* ── CATEGORY FILTER ──────────────────────────────────── */
.cat-filter {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 22px 22px 0;
}
.cat-btn {
  font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 7px 14px; border: 1px solid rgba(255,255,255,0.1);
  color: rgba(241,242,242,0.4); cursor: pointer; transition: all .2s;
  background: none;
}
.cat-btn:hover, .cat-btn.active { border-color: var(--red); color: white; }

/* ── WORKS GRID ──────────────────────────────────────── */
.works-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3px; padding: 22px 22px 40px;
}
.work-card { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.work-card img { transition: transform .5s ease; }
.work-card:hover img { transform: scale(1.05); }
.work-card-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.8) 100%);
  transition: opacity .3s;
}
.work-card:hover .work-card-grad { opacity: .9; }
.work-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 14px; display: flex; flex-direction: column; gap: 2px;
}
.work-cat {
  font-size: 8px; font-weight: 700; color: var(--red);
  letter-spacing: 2px; text-transform: uppercase;
}
.work-title {
  font-size: 11px; font-weight: 900; color: white;
  text-transform: uppercase; letter-spacing: -.2px; line-height: 1.1;
}
.work-client {
  font-size: 8px; color: rgba(255,255,255,0.35); margin-top: 2px;
}

/* ── PAGINATION ──────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; gap: 6px; padding: 0 22px 48px;
}
.pag-btn {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.1); font-size: 11px; font-weight: 700;
  color: rgba(241,242,242,0.4); transition: all .2s;
}
.pag-btn:hover, .pag-btn.active { border-color: var(--red); color: white; }

/* ── WORK DETAIL PAGE ──────────────────────────────────── */
.work-detail-hero {
  height: 55svh; min-height: 380px; position: relative; overflow: hidden;
  margin-top: 58px;
}
.work-detail-hero img { object-fit: cover; width: 100%; height: 100%; }
.work-detail-hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
}
.work-detail-content { padding: 36px 22px; }
.work-detail-meta {
  display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 22px;
}
.work-meta-item {
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(241,242,242,0.3);
}
.work-meta-item span { color: var(--red); }
.work-detail-title {
  font-size: clamp(32px, 7vw, 64px); font-weight: 900;
  letter-spacing: -2px; text-transform: uppercase; line-height: .9;
  margin-bottom: 20px;
}
.work-detail-desc {
  font-size: 14px; line-height: 1.75; color: rgba(241,242,242,0.65);
  max-width: 680px; margin-bottom: 36px;
}
.work-gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  margin: 0 -22px; padding: 0 22px;
}
.work-gallery-item { aspect-ratio: 4/3; overflow: hidden; }
.work-gallery-item img { transition: transform .4s; }
.work-gallery-item:hover img { transform: scale(1.04); }
.work-back {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 40px;
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--red); transition: color .2s;
}
.work-back:hover { color: #d42420; }

/* ══════════════════════════════════════════════════
   TABLET — 768px+
══════════════════════════════════════════════════ */
@media (min-width: 768px) {
  #nav { height: 64px; padding: 0 36px; }
  .nav-mobile { top: 64px; }
  .hero-title { font-size: clamp(50px, 7.2vw, 72px); letter-spacing: -3.5px; }
  .hero-content { padding: 0 36px 50px; gap: 16px; }
  .hero-sub { max-width: 360px; font-size: 13px; }
  .sec-label { padding: 36px 36px 16px; font-size: 10px; letter-spacing: 5.5px; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .svc-card { aspect-ratio: 1/1; }
  .svc-name { font-size: 13px; }
  .port-wrap { padding: 0 36px 32px; }
  .starlink-wrap { padding: 0 36px 26px; margin-top: 36px; }
  .cta-sec { padding: 56px 36px; }
  footer { padding: 16px 36px; }

  .page-header { padding: 130px 36px 56px; }
  .works-grid { grid-template-columns: repeat(3, 1fr); padding: 22px 36px 40px; }
  .cat-filter { padding: 22px 36px 0; }
  .pagination { padding: 0 36px 56px; }
  .work-detail-content { padding: 44px 36px; }
  .work-gallery { margin: 0 -36px; padding: 0 36px; grid-template-columns: repeat(3, 1fr); }
}

/* ══════════════════════════════════════════════════
   DESKTOP — 1024px+
══════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  #nav { height: 70px; padding: 0 56px; }
  .nav-mobile { top: 70px; }
  .nav-links { display: flex; }
  .nav-burger { display: none; }
  .nav-wordmark { font-size: 11px; letter-spacing: 5px; }

  .hero-title { font-size: clamp(72px, 8.1vw, 108px); letter-spacing: -6px; line-height: .84; }
  .hero-content { padding: 0 56px 64px; gap: 20px; max-width: 900px; }
  .hero-sub { font-size: 14px; max-width: 420px; line-height: 1.7; }
  .hero-badge { font-size: 10px; padding: 6px 13px; }
  .hero-cta { padding: 15px 30px; font-size: 11px; letter-spacing: 2.5px; gap: 11px; margin-top: 6px; }

  .sec-label { padding: 48px 56px 22px; font-size: 10px; letter-spacing: 6px; }

  .services-grid { grid-template-columns: repeat(4, 1fr); gap: 3px; }
  .svc-card { aspect-ratio: 3/5; }
  .svc-info { padding: 18px 16px; gap: 5px; }
  .svc-n { font-size: 10px; letter-spacing: 3px; }
  .svc-name { font-size: 20px; }
  .svc-desc { font-size: 10px; margin-top: 2px; }

  .svc-detail-inner {
    flex-direction: row; align-items: flex-start;
    padding: 28px 56px 36px; gap: 56px;
  }
  .svc-detail-meta {
    flex-direction: column; min-width: 220px; flex-shrink: 0;
    justify-content: flex-start; gap: 0;
  }
  .svc-detail-name { font-size: 26px; }
  .svc-detail-close { margin-top: 18px; }
  .svc-detail-desc { white-space: pre-line; font-size: 13px; align-self: center; }

  .port-wrap {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 560px 48px;
    gap: 3px;
    padding: 0 56px 52px;
    align-items: stretch;
  }
  .port-featured {
    grid-column: 1; grid-row: 1 / 3;
    aspect-ratio: unset; height: 100%; margin-bottom: 0;
  }
  .port-grid {
    grid-column: 2; grid-row: 1;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 3px; height: 560px;
  }
  .port-thumb { aspect-ratio: unset; height: 100%; }
  .port-link {
    grid-column: 2; grid-row: 2;
    margin-top: 0; align-self: center; font-size: 10px;
  }
  .port-caption { font-size: 10px; left: 18px; bottom: 18px; letter-spacing: 3px; }

  .logos-section { padding: 26px 0; }
  .logo-item { padding: 0 38px; font-size: 12px; letter-spacing: 3px; }

  .starlink-wrap { max-width: 880px; margin: 52px auto; padding: 0 56px 36px; }
  .starlink { padding: 22px 26px; gap: 18px; }
  .sl-icon { width: 46px; height: 46px; }
  .sl-title { font-size: 11px; letter-spacing: 3px; }
  .sl-url { font-size: 10px; margin-top: 4px; }
  .sl-arrow { font-size: 22px; }

  .cta-sec {
    flex-direction: row; justify-content: space-between;
    text-align: left; padding: 88px 56px; gap: 64px; align-items: center;
  }
  .cta-title {
    font-size: clamp(56px, 6.5vw, 84px);
    letter-spacing: -4px; line-height: .86; flex-shrink: 0;
  }
  .cta-right { align-items: flex-start; max-width: 400px; gap: 22px; width: auto; }
  .cta-sub { max-width: 340px; font-size: 14px; line-height: 1.7; }
  .cta-wa { width: auto; padding: 17px 34px; font-size: 11px; letter-spacing: 2.5px; }

  footer { padding: 22px 56px; }
  .foot-brand { display: flex; }
  .foot-copy { font-size: 10px; }
  .foot-social { gap: 24px; }
  .foot-social a { font-size: 10px; letter-spacing: 2px; }

  .page-header { padding: 148px 56px 64px; }
  .works-grid { grid-template-columns: repeat(4, 1fr); padding: 26px 56px 48px; }
  .cat-filter { padding: 26px 56px 0; }
  .pagination { padding: 0 56px 64px; }
  .work-detail-content { padding: 56px 56px; }
  .work-gallery { margin: 0 -56px; padding: 0 56px; grid-template-columns: repeat(4, 1fr); }
}

/* ══════════════════════════════════════════════════
   LARGE — 1440px+
══════════════════════════════════════════════════ */
@media (min-width: 1440px) {
  #nav { padding: 0 80px; }
  .hero-content { padding: 0 80px 72px; max-width: 1100px; }
  .hero-title { font-size: clamp(90px, 8.5vw, 126px); letter-spacing: -7px; }
  .sec-label { padding: 56px 80px 24px; }
  .port-wrap { padding: 0 80px 60px; grid-template-rows: 640px 52px; }
  .port-grid { height: 640px; }
  .starlink-wrap { padding: 0 80px 40px; max-width: 1000px; }
  .cta-sec { padding: 100px 80px; }
  .cta-title { font-size: clamp(72px, 7vw, 100px); }
  footer { padding: 26px 80px; }
  .page-header { padding: 160px 80px 72px; }
  .works-grid { padding: 28px 80px 52px; }
  .cat-filter { padding: 28px 80px 0; }
  .work-detail-content { padding: 64px 80px; }
}

/* Logo image in nav */
.nav-logo-img {
  height: 36px; width: auto; display: block; max-height: 36px;
}
@media (min-width: 1024px) {
  .nav-logo-img { height: 44px; max-height: 44px; }
}

/* Port thumb title overlay */
.port-thumb { position: relative; }
.port-thumb-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.82) 100%);
  pointer-events: none;
}
.port-thumb-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 12px; display: flex; flex-direction: column; gap: 2px;
  pointer-events: none;
}
.port-thumb-cat {
  font-size: 8px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red);
}
.port-thumb-title {
  font-size: 11px; font-weight: 900; color: white;
  text-transform: uppercase; letter-spacing: -.2px; line-height: 1.1;
}
@media (min-width: 1024px) {
  .port-thumb-title { font-size: 12px; }
  .port-thumb-cat   { font-size: 9px; }
  .port-thumb-caption { padding: 12px 14px; }
}

/* Port featured title overlay */
.port-featured-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 4px;
  pointer-events: none;
}
.port-featured-cat {
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--red);
}
.port-featured-title {
  font-size: 14px; font-weight: 900; color: white;
  text-transform: uppercase; letter-spacing: -.3px; line-height: 1.1;
}
@media (min-width: 1024px) {
  .port-featured-info { padding: 20px 22px; }
  .port-featured-title { font-size: 18px; }
  .port-featured-cat { font-size: 10px; letter-spacing: 3px; }
}

/* ── WORK WITH US STRIP ─────────────────────────────── */
.work-with-us {
  padding: 20px 22px;
  border-top: 2px solid rgba(185,29,23,0.4);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: nowrap;
}
.work-with-us-text {
  font-size: 13px;
  font-family: var(--font);
  font-weight: 900;
  letter-spacing: -.3px;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.1;
}
.work-with-us-text em {
  font-style: normal;
  color: var(--red);
  display: block;
}
.work-with-us-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font);
  font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid rgba(241,242,242,0.25);
  color: var(--cream);
  transition: all .2s; white-space: nowrap; flex-shrink: 0;
  text-decoration: none;
}
.work-with-us-btn:hover {
  background: white;
  border-color: white;
  color: var(--ink);
}
@media (min-width: 768px) {
  .work-with-us { padding: 28px 36px; }
  .work-with-us-text { font-size: 18px; letter-spacing: -.5px; }
  .work-with-us-btn { font-size: 9px; padding: 12px 22px; }
}
@media (min-width: 1024px) {
  .work-with-us { padding: 44px 56px; background: rgba(185,29,23,0.04); }
  .work-with-us-text { font-size: clamp(22px, 2.5vw, 30px); letter-spacing: -1px; line-height: .95; }
  .work-with-us-btn { font-size: 10px; padding: 14px 28px; letter-spacing: 2.5px; }
}
@media (min-width: 1440px) { .work-with-us { padding: 48px 80px; } }

/* ── INSTAGRAM STRIP ────────────────────────────────── */
.ig-strip {
  padding: 26px 22px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.ig-strip-left {
  display: flex; align-items: center; gap: 16px;
}
.ig-strip-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.ig-handle {
  font-size: 14px; font-weight: 700; color: var(--cream);
  letter-spacing: -.2px;
}
.ig-tagline {
  font-size: 11px; color: rgba(241,242,242,0.45);
  margin-top: 3px; line-height: 1.4;
}
.ig-strip-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 11px 22px;
  background: var(--red); color: white;
  transition: background .2s; white-space: nowrap; flex-shrink: 0;
  text-decoration: none;
}
.ig-strip-btn:hover { background: #d42420; }
@media (min-width: 768px) { .ig-strip { padding: 28px 36px; } }
@media (min-width: 1024px) { .ig-strip { padding: 32px 56px; } .ig-handle { font-size: 16px; } }
@media (min-width: 1440px) { .ig-strip { padding: 32px 80px; } }
