/* ═══════════════════════════════════════════════════════
   ATIYE — Landing page supplement
   Loaded AFTER styles.css — overrides and additions only
   ═══════════════════════════════════════════════════════ */

/* ── Landing page header — always dark/solid ──────────── */
.landing-page .header {
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-page .header.scrolled {
  background: rgba(8, 8, 8, 0.98);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
  height: 64px;
}

/* Override styles.css scrolled resets — keep dark on landing pages */
.landing-page .header.scrolled .logo img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.landing-page .header.scrolled .nav-list a {
  color: rgba(255, 255, 255, 0.7);
}

.landing-page .header.scrolled .nav-list a:hover {
  color: rgba(255, 255, 255, 0.95);
}

.landing-page .header.scrolled .menu-toggle span {
  background: rgba(255, 255, 255, 0.8);
}

.landing-page .header.scrolled .header-cta {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Logo: invert to white for dark header */
.landing-page .logo img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.landing-page .logo:hover img { opacity: 1; }

/* Nav links white on dark header */
.landing-page .nav-list a {
  color: rgba(255, 255, 255, 0.6);
}

.landing-page .nav-list a:hover {
  color: rgba(255, 255, 255, 0.95);
}

/* CTA in header */
.landing-page .header-cta {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.landing-page .header-cta:hover {
  background: white;
  color: var(--color-ink);
  border-color: white;
}

/* Mobile menu toggle */
.landing-page .menu-toggle span {
  background: rgba(255, 255, 255, 0.8);
}

/* ── Landing page footer logo ──────────────────────────── */
.landing-page .footer-brand a img {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

/* ── Landing section backgrounds alternate ─────────────── */
.landing-page .problem-section   { background: var(--color-warm); }
.landing-page .solution-section  { background: var(--color-white); }
.landing-page .price-section     { background: var(--color-warm); }
.landing-page .economy-section   { background: var(--color-warm); }
.landing-page .authority-section { background: var(--color-ink); }

/* Authority section on dark background */
.landing-page .authority-section .section-label { color: var(--color-gold); }

.landing-page .authority-section h2 {
  color: var(--color-white);
}

.landing-page .authority-section .authority-targets {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.landing-page .authority-section .target-item {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  padding: 1rem 2rem;
}

.landing-page .authority-section .target-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
}

/* ── Landing gallery (no tabs) ──────────────────────────── */
.gallery-landing {
  margin-top: var(--spacing-2xl);
}

/* ── Reality/problem section (corporate) ───────────────── */
.reality-section { background: var(--color-warm); }

/* ── Identification section ─────────────────────────────── */
.identification-section { background: var(--color-white); }

/* ── Economy section ─────────────────────────────────────── */
.economy-content {
  text-align: center;
}

.economy-content .section-label { display: block; margin-bottom: 1rem; }

.economy-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--color-ink);
  margin-bottom: var(--spacing-xl);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}

/* ── Social proof row (simple) ──────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  margin-top: var(--spacing-2xl);
}

.testimonial-item {
  background: var(--color-white);
  padding: var(--spacing-xl) var(--spacing-lg);
  transition: background 0.3s;
}

.testimonial-item:hover { background: var(--color-warm); }

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--color-ink);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.testimonial-quote::before { content: "\201C"; color: var(--color-gold); font-size: 1.4rem; }
.testimonial-quote::after  { content: "\201D"; color: var(--color-gold); font-size: 1.4rem; }

.testimonial-author {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ── Landing hero scroll indicator ─────────────────────── */
.landing-hero .hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.landing-hero .scroll-line {
  width: 1px;
  height: 48px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.landing-hero .scroll-line::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--color-gold);
  animation: scrollDrop 2s var(--ease-in-out) infinite;
}

/* ── Offer/price section variants ───────────────────────── */
.offer-section { background: var(--color-white); }
.offer-content { text-align: center; }

/* ── Responsive: landing ─────────────────────────────────── */
@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════
   Corporate Cases Section
   ══════════════════════════════════════════════════════════ */

.corp-cases {
  background: var(--color-ink);
  overflow: hidden;
}

/* ── Intro ─────────────────────────────────────────────── */
.cc-intro {
  padding: var(--spacing-3xl) var(--container-padding) var(--spacing-2xl);
  max-width: var(--container-max);
  margin: 0 auto;
}

.cc-eyebrow {
  color: var(--color-gold) !important;
}

.cc-intro-row {
  display: flex;
  align-items: flex-end;
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-sm);
}

.cc-section-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.cc-intro-text {
  font-size: 0.88rem;
  color: #fff;
  line-height: 1.75;
  max-width: 360px;
  padding-bottom: 0.25rem;
}

/* ── Grid ──────────────────────────────────────────────── */
.cc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: #0a0a0a;
}

/* ── Card ──────────────────────────────────────────────── */
.cc-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #111;
}

.cc-card--hero {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 7;
}

/* Background media */
.cc-card-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cc-card-bg img,
.cc-card-bg video {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transition: transform 1.2s cubic-bezier(0.16,1,0.3,1);
}

.cc-card:hover .cc-card-bg img,
.cc-card:hover .cc-card-bg video {
  transform: scale(1.06);
}

/* Overlay */
.cc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.22) 40%,
    rgba(0,0,0,0.78) 100%
  );
  transition: background 0.6s;
}

.cc-card:hover .cc-card-overlay {
  background: linear-gradient(
    160deg,
    rgba(0,0,0,0.12) 0%,
    rgba(0,0,0,0.38) 40%,
    rgba(0,0,0,0.9) 100%
  );
}

/* Body */
.cc-card-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem 2rem;
  z-index: 2;
}

.cc-card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.cc-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.02em;
  transition: color 0.4s;
  user-select: none;
}

.cc-card:hover .cc-num {
  color: rgba(255,255,255,0.13);
}

.cc-logos {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.cc-logo {
  height: 22px;
  width: auto;
  max-width: 76px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: opacity 0.3s;
}

.cc-logo--sm {
  height: 17px;
  opacity: 0.5;
}

.cc-card:hover .cc-logo    { opacity: 0.9; }
.cc-card:hover .cc-logo--sm{ opacity: 0.7; }

.cc-logo-sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

/* Card foot */
.cc-card-foot {
  transform: translateY(6px);
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1);
}

.cc-card:hover .cc-card-foot {
  transform: translateY(0);
}

.cc-card-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: 0.01em;
  margin-bottom: 0.6rem;
}

.cc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.cc-tag {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
}

.cc-tag--hl {
  background: rgba(196,168,122,0.16);
  border-color: rgba(196,168,122,0.32);
  color: var(--color-gold-light);
}

/* Open button */
.cc-open {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem 0.4rem 0.55rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.16,1,0.3,1), background 0.2s;
  backdrop-filter: blur(8px);
}

.cc-open svg {
  width: 13px;
  height: 13px;
  transition: transform 0.3s;
}

.cc-card:hover .cc-open {
  opacity: 1;
  transform: translateY(0);
}

.cc-open:hover {
  background: rgba(255,255,255,0.18) !important;
}

.cc-open:hover svg {
  transform: translateX(3px);
}

/* ── Modal ─────────────────────────────────────────────── */
.cc-modal {
  position: fixed;
  inset: 0;
  z-index: 9990;
  visibility: hidden;
  opacity: 0;
}

.cc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3,3,3,0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.cc-modal-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.cc-modal-wrap > * { pointer-events: all; }

.cc-modal-close {
  position: fixed;
  top: 1.4rem;
  right: 1.6rem;
  z-index: 9996;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.75);
  transition: background 0.2s, color 0.2s;
}

.cc-modal-close svg { width: 17px; height: 17px; }
.cc-modal-close:hover { background: rgba(255,255,255,0.16); color: #fff; }

.cc-modal-layout {
  display: flex;
  height: 100%;
  overflow: hidden;
}

/* Info sidebar */
.cc-modal-info {
  width: 290px;
  min-width: 260px;
  flex-shrink: 0;
  padding: 4.5rem 2.25rem 2.25rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(0,0,0,0.25);
}

.cc-mi-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  display: block;
  margin-bottom: 1.5rem;
}

.cc-mi-logos {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.cc-mi-logo {
  height: 26px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.cc-mi-sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.18);
}

.cc-mi-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.cc-mi-contractor {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.2rem;
}

.cc-mi-specs {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.2rem;
}

/* Viewer */
.cc-modal-viewer {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cc-viewer-stage {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #000;
}

.cc-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
}

.cc-slide img,
.cc-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cc-viewer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.65rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.5);
  flex-shrink: 0;
}

.cc-viewer-prev,
.cc-viewer-next {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.65);
  transition: background 0.2s, opacity 0.25s;
}

.cc-viewer-prev:hover,
.cc-viewer-next:hover { background: rgba(255,255,255,0.14); color: #fff; }

.cc-viewer-prev svg,
.cc-viewer-next svg { width: 15px; height: 15px; }

.cc-viewer-count {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  min-width: 48px;
  text-align: center;
}

/* Thumbnails */
.cc-viewer-thumbs {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: #000;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
  max-height: 70px;
}

.cc-viewer-thumbs::-webkit-scrollbar { display: none; }

.cc-thumb {
  flex-shrink: 0;
  width: 90px;
  height: 64px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.38;
  transition: border-color 0.2s, opacity 0.2s;
}

.cc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-thumb.active,
.cc-thumb:hover {
  border-color: var(--color-gold);
  opacity: 1;
}

/* ── Clients marquee: real logos ───────────────────────── */
.client-logo-item img {
  height: 26px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

/* ── Responsive: Corporate Cases ───────────────────────── */
@media (max-width: 900px) {
  .cc-card--hero { aspect-ratio: 16 / 9; }
}

@media (max-width: 768px) {
  .cc-intro-row {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: flex-start;
  }

  .cc-grid {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .cc-card--hero {
    grid-column: 1;
    aspect-ratio: 4 / 3;
  }

  .cc-card-body { padding: 1.25rem 1.5rem; }

  .cc-num { font-size: 3rem; }

  .cc-card-name { font-size: 1.15rem; }

  .cc-open { opacity: 1; transform: translateY(0); }

  /* Modal mobile */
  .cc-modal-layout { flex-direction: column; }

  .cc-modal-info {
    width: 100%;
    min-width: unset;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 3.5rem 1.5rem 1.25rem;
    max-height: 38vh;
    overflow-y: auto;
    justify-content: flex-start;
  }

  .cc-mi-num { font-size: 3rem; margin-bottom: 0.75rem; }

  .cc-viewer-thumbs { max-height: 54px; }

  .cc-thumb { width: 72px; height: 50px; }
}


/* ── Hero checklist ──────────────────────────────────── */
.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.01em;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3rem;
  height: 1.3rem;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* ── Ambientes tags ──────────────────────────────────── */
.corp-amb-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.03em;
  transition: background 0.2s, border-color 0.2s;
}

.corp-amb-tag:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
  .corp-img-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .hero-checklist li {
    font-size: 0.85rem;
  }
}

/* ── Landing hero: full-bleed image (no rounded corners, fills screen) ── */
.landing-hero { min-height: 100vh; }
.landing-hero .hero-visual,
.landing-hero .hero-visual img { border-radius: 0; }
.landing-hero .hero-visual img { width: 100%; height: 100%; object-fit: cover; }
