/* ============================================================
   CINEVISUAL — Main Stylesheet
   Colors: #eceee3 (cream) | #1a1a1a (dark)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --cream:   #eceee3;
  --dark:    #1a1a1a;
  --mid:     #2e2e2e;
  --muted:   #6b6b60;
  --border:  #d4d6cc;
  --cream-2: #e2e4da;
  --accent:  #c8b89a;
  --white:   #fafaf7;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Inter', system-ui, sans-serif;
  --radius:  14px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--cream);
  color: var(--dark);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── UTILITY ──────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.section-pad { padding: 110px 0; }
.section-pad-sm { padding: 80px 0; }
.text-center { text-align: center; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--border); border-radius: 40px;
  padding: 6px 16px; margin-bottom: 20px;
}
.tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--dark);
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 0.88rem; font-weight: 600;
  padding: 14px 30px; border-radius: 50px;
  transition: var(--transition); letter-spacing: 0.02em;
  position: relative; overflow: hidden;
}
.btn-dark {
  background: var(--dark); color: var(--cream);
}
.btn-dark:hover {
  background: var(--mid); transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26,26,26,0.25);
}
.btn-outline {
  background: transparent; color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline:hover {
  background: var(--dark); color: var(--cream);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s ease; }
.btn:hover svg { transform: translateX(4px); }

/* ─── NAVBAR ───────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
  background: rgba(236,238,227,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
}
.nav-logo-img {
  height: 125px; width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: opacity 0.3s ease;
}
.nav-logo-img:hover { opacity: 0.75; }
.footer-logo-img {
  height: 143px; width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.logo-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--dark); display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 20px; height: 20px; fill: var(--cream); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--muted);
  transition: color 0.25s ease; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1.5px; background: var(--dark);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--dark);
  transition: var(--transition);
}

/* ─── HERO ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 80px; padding-top: 140px;
  position: relative; overflow: hidden;
}
.hero-noise {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-content { position: relative; max-width: 900px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 32px; opacity: 0;
  animation: fadeUp 0.7s 0.2s ease forwards;
}
.hero-eyebrow-line {
  width: 40px; height: 1.5px; background: var(--muted);
}
.hero-eyebrow span { font-size: 0.8rem; font-weight: 500; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.hero-title {
  font-family: var(--serif); font-size: clamp(3.2rem, 6.5vw, 6rem);
  font-weight: 900; line-height: 1.06; letter-spacing: -0.02em;
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.8s 0.35s ease forwards;
}
.hero-title em { font-style: italic; color: var(--muted); }
.hero-sub {
  font-size: 1.1rem; color: var(--muted); max-width: 540px;
  line-height: 1.7; margin-bottom: 44px;
  opacity: 0; animation: fadeUp 0.8s 0.5s ease forwards;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.65s ease forwards;
}
.hero-scroll {
  position: absolute; bottom: 40px; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 1s 1.2s ease forwards;
}
.scroll-line {
  width: 1.5px; height: 60px;
  background: linear-gradient(to bottom, var(--dark), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero-scroll span {
  writing-mode: vertical-rl; font-size: 0.7rem; letter-spacing: 0.15em;
  color: var(--muted); text-transform: uppercase;
}

/* ─── MARQUEE ──────────────────────────────────────────────── */
.marquee-section {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 26px 0; overflow: hidden; background: var(--cream-2);
}
.marquee-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
  padding: 0 28px; white-space: nowrap;
}
.marquee-wrapper { display: flex; overflow: hidden; position: relative; }
.marquee-track {
  display: flex; align-items: center; gap: 0;
  animation: marqueeScroll 28s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 36px; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--dark); white-space: nowrap;
}
.marquee-item::after {
  content: '✦'; font-size: 0.6rem; color: var(--muted);
}

/* ─── STATS ────────────────────────────────────────────────── */
#stats { background: var(--dark); color: var(--cream); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-block {
  padding: 64px 40px;
  border-right: 1px solid rgba(236,238,227,0.1);
  position: relative; overflow: hidden;
}
.stat-block:last-child { border-right: none; }
.stat-block::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(236,238,227,0.15), transparent);
}
.stat-num {
  font-family: var(--serif); font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 900; line-height: 1; margin-bottom: 8px;
  color: var(--cream);
}
.stat-plus { color: var(--accent); }
.stat-label { font-size: 0.82rem; font-weight: 500; color: rgba(236,238,227,0.55); letter-spacing: 0.05em; }

/* ─── PILLARS ──────────────────────────────────────────────── */
#pillars { background: var(--cream); }
.pillars-header { margin-bottom: 70px; }
.pillars-title {
  font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; line-height: 1.2; max-width: 600px;
}
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.pillar-card {
  background: var(--cream-2); padding: 48px 40px;
  transition: var(--transition); cursor: default;
  position: relative; overflow: hidden;
}
.pillar-card::after {
  content: ''; position: absolute; inset: 0;
  background: var(--dark); transform: scaleY(0);
  transform-origin: bottom; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}
.pillar-card:hover::after { transform: scaleY(1); }
.pillar-card * { position: relative; z-index: 1; transition: color 0.4s ease; }
.pillar-card:hover .pillar-num, .pillar-card:hover .pillar-name,
.pillar-card:hover .pillar-desc { color: var(--cream); }
.pillar-num {
  font-family: var(--serif); font-size: 1rem; font-weight: 700;
  color: var(--muted); margin-bottom: 32px; display: block;
}
.pillar-name {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 700;
  line-height: 1.2; margin-bottom: 16px; color: var(--dark);
}
.pillar-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ─── SERVICES ─────────────────────────────────────────────── */
#services { background: #f3f4f0; border-top: 1px solid var(--border); }
.services-header { margin-bottom: 60px; }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.service-card {
  background: var(--cream-2); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 0; background: var(--dark);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card:hover::before { width: 3px; }
.service-card:hover { transform: translateX(4px); }
.service-icon {
  min-width: 40px; height: 40px; border-radius: 10px;
  background: var(--cream); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: var(--transition);
}
.service-icon svg { width: 18px; height: 18px; }
.service-card:hover .service-icon {
  background: var(--dark); color: var(--cream);
}
.service-info { flex: 1; }
.service-name {
  font-family: var(--serif); font-size: 0.95rem; font-weight: 700;
  margin-bottom: 6px; line-height: 1.3;
}
.service-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.6; }
.service-card.full { grid-column: span 1; }

/* ─── SPOTS CTA ────────────────────────────────────────────── */
#spots {
  background: var(--dark); color: var(--cream);
  text-align: center; position: relative; overflow: hidden;
}
.spots-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(200,184,154,0.1) 0%, transparent 70%);
}
.spots-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(236,238,227,0.5);
  border: 1px solid rgba(236,238,227,0.15); border-radius: 40px;
  padding: 6px 16px; margin-bottom: 24px;
}
.spots-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.spots-title {
  font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900; line-height: 1.08; margin-bottom: 20px;
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.spots-sub {
  font-size: 1rem; color: rgba(236,238,227,0.6); margin-bottom: 44px;
}
.btn-cream {
  background: var(--cream); color: var(--dark);
}
.btn-cream:hover {
  background: var(--white); transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.3);
}

/* ─── FOUNDER ──────────────────────────────────────────────── */
#founder { background: var(--cream); }
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.founder-img-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5;
}
.founder-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.founder-img-placeholder {
  width: 100%; height: 100%; background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; border-radius: var(--radius);
}
.founder-badge {
  position: absolute; bottom: 28px; left: 28px;
  background: rgba(236,238,227,0.95);
  backdrop-filter: blur(12px); border-radius: 12px;
  padding: 16px 22px; border: 1px solid var(--border);
}
.founder-badge-title { font-size: 0.75rem; color: var(--muted); margin-bottom: 4px; }
.founder-badge-name { font-family: var(--serif); font-size: 1rem; font-weight: 700; }
.founder-content { padding: 20px 0; }
.founder-quote {
  font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700; line-height: 1.3; margin-bottom: 28px;
}
.founder-quote em { font-style: italic; color: var(--muted); }
.founder-body { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.founder-email {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; margin-top: 20px;
  border-bottom: 1.5px solid var(--dark); padding-bottom: 2px;
}

/* ─── TESTIMONIALS ─────────────────────────────────────────── */
#testimonials { background: var(--cream-2); border-top: 1px solid var(--border); }
.testimonials-header { margin-bottom: 60px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.testi-card {
  background: var(--cream); padding: 40px 36px;
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(26,26,26,0.08); }
.testi-stars { display: flex; gap: 4px; margin-bottom: 20px; }
.testi-stars span { font-size: 0.9rem; }
.testi-quote { font-family: var(--serif); font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--dark); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 0.875rem; }
.testi-role { font-size: 0.78rem; color: var(--muted); }

/* ─── FAQ ──────────────────────────────────────────────────── */
#faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.faq-left .section-title { max-width: 360px; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; font-size: 0.96rem; font-weight: 600;
  text-align: left; gap: 16px; transition: color 0.3s ease;
}
.faq-q:hover { color: var(--muted); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--border); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; transition: var(--transition);
  font-size: 1rem; line-height: 1;
}
.faq-item.open .faq-icon { background: var(--dark); color: var(--cream); border-color: var(--dark); transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.4s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; padding-bottom: 22px; }

/* ─── CONTACT ──────────────────────────────────────────────── */
#contact { background: var(--dark); color: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info { padding: 20px 0; }
.contact-title {
  font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 24px;
}
.contact-sub { font-size: 0.95rem; color: rgba(236,238,227,0.6); line-height: 1.7; margin-bottom: 44px; }
.contact-detail {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px; font-size: 0.9rem;
}
.contact-detail-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(236,238,227,0.08); border: 1px solid rgba(236,238,227,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-detail a { color: rgba(236,238,227,0.75); transition: color 0.25s; }
.contact-detail a:hover { color: var(--cream); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(236,238,227,0.5); }
.form-input, .form-textarea, .form-select {
  background: rgba(236,238,227,0.06); border: 1px solid rgba(236,238,227,0.12);
  border-radius: 10px; padding: 14px 18px; color: var(--cream);
  font-family: var(--sans); font-size: 0.9rem;
  transition: border-color 0.3s ease, background 0.3s ease; width: 100%;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(236,238,227,0.3); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: rgba(236,238,227,0.4);
  background: rgba(236,238,227,0.09);
}
.form-textarea { resize: none; min-height: 120px; }
.form-select option { background: var(--dark); color: var(--cream); }
.form-submit { margin-top: 6px; }

/* ─── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--dark); color: var(--cream);
  border-top: 1px solid rgba(236,238,227,0.08);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .nav-logo { color: var(--cream); margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; color: rgba(236,238,227,0.5); line-height: 1.7; max-width: 280px; }
.footer-col-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(236,238,227,0.4);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem; color: rgba(236,238,227,0.65);
  transition: color 0.25s ease;
}
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(236,238,227,0.08);
  padding-top: 28px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(236,238,227,0.35); }
.footer-socials { display: flex; gap: 14px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  border: 1px solid rgba(236,238,227,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: rgba(236,238,227,0.5);
  transition: var(--transition);
}
.social-btn:hover {
  background: rgba(236,238,227,0.08); color: var(--cream);
  border-color: rgba(236,238,227,0.25);
}

/* ─── SECTION TITLE ────────────────────────────────────────── */
.section-title {
  font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; line-height: 1.2; margin-bottom: 16px;
}
.section-sub {
  font-size: 0.95rem; color: var(--muted); line-height: 1.7; max-width: 480px;
}

/* ─── PORTFOLIO ────────────────────────────────────────────── */
#portfolio {
  background: #000;
  border-top: none;
  padding: 80px 0 100px;
}
#portfolio .tag { border-color: rgba(236,238,227,0.2); color: rgba(236,238,227,0.5); }
#portfolio .tag::before { background: var(--cream); }
#portfolio .section-title { color: var(--cream); }
#portfolio .section-sub { color: rgba(236,238,227,0.5); }
#portfolio .services-header { margin-bottom: 50px; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.portfolio-item {
  position: relative; overflow: hidden; background: #111;
  border-radius: 20px; cursor: pointer;
  transition: transform 0.3s ease;
}
.portfolio-item:hover { transform: scale(1.02); }

.portfolio-video-wrap {
  position: relative; aspect-ratio: 9/16; overflow: hidden;
  border-radius: 20px;
}
.portfolio-video {
  width: 100%; height: 100%; object-fit: cover;
  display: block; border-radius: 20px;
  background: #1a1a1a; /* dark placeholder while loading */
}

/* Shimmer skeleton while video loads */
.portfolio-video-wrap::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  border-radius: 20px;
  background: linear-gradient(
    110deg,
    #111 25%,
    #222 50%,
    #111 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.portfolio-video-wrap.loaded::before {
  opacity: 0;
  animation: none;
}
/* Images load instantly — hide shimmer for result images */
.portfolio-video-wrap:has(img)::before {
  display: none;
}
@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
/* No overlay, no play btn — clean auto-play like ubuzz */
.portfolio-overlay { display: none; }
.portfolio-info { display: none; }

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

/* ─── RESULTS ──────────────────────────────────────────────── */
#results {
  background: #000;
  border-top: none;
  padding: 80px 0 100px;
}
#results .tag { border-color: rgba(236,238,227,0.2); color: rgba(236,238,227,0.5); }
#results .tag::before { background: var(--cream); }
#results .section-title { color: var(--cream); }
#results .section-sub { color: rgba(236,238,227,0.5); }
#results .services-header { margin-bottom: 50px; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}
.results-row-2 {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.results-row-2 .portfolio-item {
  width: calc(33.333% - 8px);
}

/* ─── RESULTS (SocioArks style) ────────────────────────────── */
.results-section-inner {
  background: #f3f4f0;
  padding: 100px 0 80px;
}
.results-header { margin-bottom: 56px; }
.results-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--border); border-radius: 40px;
  padding: 6px 16px; margin-bottom: 20px;
}
.results-title {
  font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900; line-height: 1.15; color: var(--dark); margin-bottom: 14px;
}
.results-title em { font-style: italic; color: var(--muted); }
.results-sub { font-size: 0.95rem; color: var(--muted); max-width: 420px; }

.res-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.res-card {
  background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: 0 2px 24px rgba(26,26,26,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.res-card:hover { transform: translateY(-4px); box-shadow: 0 12px 48px rgba(26,26,26,0.12); }
.res-card-img { width: 100%; overflow: hidden; background: #111; position: relative; }
.res-card-img img { width: 100%; height: 260px; object-fit: contain; display: block; }
.res-platform-badge {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(8px);
  color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  z-index: 3;
}
.res-platform-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.res-img-annotated { position: relative; }
.res-annotation {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}
.res-card-full { margin-bottom: 20px; max-width: 720px; margin-left: auto; margin-right: auto; }
.res-card-full .res-card-img img { height: 280px; }
.res-card-body { padding: 28px 28px 24px; }
.res-metric-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.res-metric {
  font-family: var(--serif); font-size: 2.2rem;
  font-weight: 900; color: var(--dark); line-height: 1;
}
.res-badge {
  background: var(--dark); color: var(--cream);
  font-size: 0.72rem; font-weight: 700;
  padding: 5px 12px; border-radius: 40px; letter-spacing: 0.04em;
}
.res-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.res-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.res-pill {
  background: #f0f0eb; color: var(--dark);
  font-size: 0.72rem; font-weight: 600;
  padding: 5px 12px; border-radius: 40px; letter-spacing: 0.03em;
}
.res-stats-row {
  display: flex; align-items: center;
  background: #fff; border-radius: 20px;
  padding: 24px 32px;
  box-shadow: 0 2px 20px rgba(26,26,26,0.06);
  max-width: 800px;
  margin: 0 auto;
}
.res-stat { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.res-stat-num { font-family: var(--serif); font-size: 1.8rem; font-weight: 900; color: var(--dark); line-height: 1; }
.res-stat-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.res-stat-divider { width: 1px; height: 48px; background: var(--border); flex-shrink: 0; }

@media (max-width: 768px) {
  .res-cards-grid { grid-template-columns: 1fr; }
  .res-stats-row { flex-wrap: wrap; gap: 24px; padding: 24px; }
  .res-stat-divider { display: none; }
  .res-stat { flex: 0 0 45%; }
}


/* ─── WHATSAPP FLOAT ───────────────────────────────────────── */
#wa-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  transition: var(--transition); font-size: 1.4rem;
}
#wa-float:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(37,211,102,0.5); }

/* ─── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block:nth-child(2) { border-right: none; }
  .stat-block:nth-child(1), .stat-block:nth-child(2) { border-bottom: 1px solid rgba(236,238,227,0.1); }
  .founder-grid { grid-template-columns: 1fr; gap: 50px; }
  .founder-img-wrap { max-width: 420px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-pad { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
  .hamburger { display: flex; }
  .pillars-grid { grid-template-columns: 1fr; gap: 2px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.full { grid-column: span 2; }
  .service-card.full { grid-column: span 1; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-block { border-right: none !important; border-bottom: 1px solid rgba(236,238,227,0.1); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}
