/* ============================================
   AGI MARKETING — style.css  (Light Theme)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

/* ===== Design Tokens ===== */
:root {
  /* Backgrounds */
  --bg-1:         #ffffff;
  --bg-2:         #f4f6fc;
  --bg-3:         #eceffe;
  --bg-card:      #ffffff;
  --bg-card-2:    #f8f9fe;

  /* Brand palette — from logo */
  --red:          #d42b2f;
  --red-dark:     #aa1f23;
  --red-light:    #e84848;
  --navy:         #1a2340;
  --navy-light:   #2d3a5e;
  --navy-pale:    #e8eaf4;

  /* Text */
  --txt:          #1a2340;
  --txt-muted:    #5a6480;
  --txt-dim:      #9aa0b8;

  /* Borders */
  --border:       rgba(26,35,64,0.09);
  --border-hover: rgba(26,35,64,0.22);
  --border-red:   rgba(212,43,47,0.28);
  --border-navy:  rgba(26,35,64,0.18);

  /* Gradients */
  --grad-red:     linear-gradient(135deg, #d42b2f 0%, #e84848 100%);
  --grad-navy:    linear-gradient(135deg, #1a2340 0%, #2d3a5e 100%);
  --grad-card:    linear-gradient(160deg, #ffffff 0%, #f8f9ff 100%);
  --grad-hero:    linear-gradient(160deg, #fafbff 0%, #ffffff 60%, #fff8f8 100%);

  /* Shadows */
  --sh-xs:        0  1px   4px rgba(26,35,64,0.06);
  --sh-sm:        0  2px  12px rgba(26,35,64,0.09);
  --sh-md:        0  8px  32px rgba(26,35,64,0.12);
  --sh-lg:        0 24px  64px rgba(26,35,64,0.14);
  --glow-r:       0  4px  24px rgba(212,43,47,0.28);
  --glow-n:       0  4px  20px rgba(26,35,64,0.22);

  /* Typography */
  --ff-body:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-display:   'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --sec-py:       120px;
  --wrap:         1280px;
  --wrap-px:      24px;

  /* Radius */
  --r-sm:   8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;
  --r-pill: 9999px;

  /* Transition */
  --t:  0.28s ease;
  --ts: 0.55s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--bg-1);
  color: var(--txt);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img    { max-width: 100%; height: auto; display: block; }
a      { text-decoration: none; color: inherit; }
ul     { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== Container ===== */
.container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--wrap-px);
}

/* ===== Gradient text ===== */
.gradient-text {
  background: var(--grad-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
}

/* ===== Section Tag ===== */
.section-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: var(--r-pill);
  background: rgba(212,43,47,0.08);
  border: 1px solid rgba(212,43,47,0.25);
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ===== Section Titles ===== */
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 18px;
  color: var(--navy);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--txt-muted);
  line-height: 1.78;
  max-width: 740px;
}

.section-body {
  font-size: 1.05rem;
  color: var(--txt-muted);
  line-height: 1.85;
  margin-bottom: 36px;
}

.section-header { text-align: center; margin-bottom: 72px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--r-pill);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: 700;
  transition: all var(--t);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}

.btn--primary {
  background: var(--grad-red);
  color: #fff;
  box-shadow: var(--glow-r);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(212,43,47,0.40);
}

.btn--ghost {
  background: rgba(26,35,64,0.06);
  color: var(--navy);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: rgba(26,35,64,0.10);
  border-color: var(--border-navy);
  transform: translateY(-3px);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border-navy);
}
.btn--outline:hover {
  background: var(--navy-pale);
  transform: translateY(-3px);
}

.btn--navy {
  background: var(--grad-navy);
  color: #fff;
  box-shadow: var(--glow-n);
}
.btn--navy:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(26,35,64,0.35);
}

.btn--large { padding: 18px 40px; font-size: 1rem; }

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: all var(--t);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255,255,255,0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--sh-sm);
}

.navbar__container {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo image */
.navbar__logo-img {
  height: 78px;          /* desktop — grande e leggibile */
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  transition: height var(--t);
}
.navbar.scrolled .navbar__logo-img {
  height: 60px;
}

/* ── Navbar over dark hero (before scroll) ── */
.navbar:not(.scrolled) .navbar__hamburger span {
  background: #fff;
}
.navbar:not(.scrolled) .navbar__hamburger:hover {
  background: rgba(255,255,255,0.12);
}
.navbar:not(.scrolled) .navbar__link {
  color: rgba(255,255,255,0.80);
}
.navbar:not(.scrolled) .navbar__link:hover {
  color: #fff;
  background: rgba(255,255,255,0.10);
}
.navbar:not(.scrolled) .navbar__link.active {
  color: #f87070;
  background: rgba(212,43,47,0.18);
}

.navbar__brand { flex-shrink: 0; display: block; }

/* Fallback text brand (hidden when logo image loads) */
.brand-nova    { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.brand-digital { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 800; color: var(--red); }
.brand-tag     {
  font-size: 0.68rem; font-weight: 600; color: var(--txt-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  padding-left: 6px; align-self: flex-end; padding-bottom: 3px;
}

/* Desktop nav */
.navbar__menu {
  display: flex; align-items: center; gap: 2px;
  flex: 1; justify-content: center;
}

.navbar__link {
  font-size: 0.88rem; font-weight: 600;
  color: var(--txt-muted);
  padding: 8px 15px;
  border-radius: var(--r-pill);
  transition: color var(--t), background var(--t);
}
.navbar__link:hover,
.navbar__link.active { color: var(--navy); background: var(--navy-pale); }
.navbar__link.active  { color: var(--red); background: rgba(212,43,47,0.07); }

.navbar__cta { flex-shrink: 0; }

/* Hamburger */
.navbar__hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; padding: 9px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  border: 1px solid var(--border);
  margin-left: auto;
  transition: background var(--t);
}
.navbar__hamburger:hover { background: var(--navy-pale); }
.navbar__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: all var(--t);
}
.navbar__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.navbar__mobile {
  display: none;
  padding: 16px var(--wrap-px) 24px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  box-shadow: var(--sh-md);
}
.navbar__mobile.open { display: block; }
.navbar__mobile ul   { display: flex; flex-direction: column; gap: 4px; }
.navbar__mobile .navbar__link { display: block; padding: 13px 18px; font-size: 1rem; }
.navbar__mobile .btn { display: flex; justify-content: center; margin-top: 16px; }

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  background-color: var(--navy);  overflow: hidden;
  padding: 150px 0 80px;
  background:
    linear-gradient(160deg, rgba(15,18,45,0.84) 0%, rgba(26,35,64,0.78) 55%, rgba(15,18,45,0.90) 100%),
    url('https://images.unsplash.com/photo-1551434678-e076c223a692?w=1920&q=80&fit=crop&auto=format') center/cover no-repeat;
  background-attachment: fixed;
}

.hero__container {
  position: relative; z-index: 2; text-align: center;
  width: 100%;        /* fix: flex-column + margin:auto defaults to max-content width */
}

/* Hero brand logo — white card on dark background */
.hero__brand { margin-bottom: 36px; }
.hero__brand-logo {
  max-width: 240px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--r-md);
  box-shadow: 0 12px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08);
}

/* Soft tinted orbs — very subtle on white */
.hero__orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero__orb--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(212,43,47,0.30), transparent 70%);
  top: -150px; left: -200px; animation: orbFloat 9s ease-in-out infinite;
}
.hero__orb--2 {
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(0,180,255,0.15), transparent 70%);
  top: 40%; right: -180px; animation: orbFloat 11s ease-in-out infinite reverse;
}
.hero__orb--3 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(212,43,47,0.22), transparent 70%);
  bottom: -80px; left: 38%; animation: orbFloat 13s ease-in-out infinite 2s;
}

/* Subtle dot grid */
.hero__grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

/* Floating cards */
.hero__floating-cards { position: absolute; inset: 0; pointer-events: none; z-index: 1; }

.floating-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.82rem; font-weight: 700; color: var(--navy);
  white-space: nowrap;
  box-shadow: var(--sh-md);
}
.floating-card--1 { top: 22%; left: 5%; }
.floating-card--2 { top: 28%; right: 7%; }
.floating-card--3 { bottom: 32%; left: 7%; }
.floating-card--4 { bottom: 26%; right: 5%; }
.floating-card__icon { font-size: 1.1rem; }

/* Badge */
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 22px;
  border-radius: var(--r-pill);
  background: rgba(212,43,47,0.20);
  border: 1px solid rgba(212,43,47,0.50);
  color: #f87070;
  font-size: 0.82rem; font-weight: 700;
  margin-bottom: 32px;
}
.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%; background: var(--red); display: inline-block;
}

/* Hero title */
.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.10;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
  color: #ffffff;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin: 0 auto 52px;
  max-width: 740px;
}
.hero__subtitle strong { color: #fff; }

.hero__actions {
  display: flex; justify-content: center;
  gap: 14px; margin-bottom: 72px; flex-wrap: wrap;
}
.hero .btn--ghost {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border-color: rgba(255,255,255,0.32);
}
.hero .btn--ghost:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.55);
  color: #fff;
  transform: translateY(-3px);
}

/* Ticker */
.hero__ticker {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.ticker__track   { display: flex; gap: 32px; width: max-content; }
.ticker__track span { font-size: 0.83rem; font-weight: 600; color: rgba(255,255,255,0.50); white-space: nowrap; }
.ticker__sep     { color: var(--red) !important; opacity: 0.70; }

/* ================================================================
   TRUST STRIP
================================================================ */
.trust-section {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}

.trust-item {
  background: var(--bg-2);
  padding: 48px 28px; text-align: center;
  transition: background var(--t);
}
.trust-item:hover { background: #fff; }

.trust-item__icon {
  display: flex; justify-content: center;
  margin-bottom: 14px; color: var(--red);
}

.trust-item__counter,
.trust-item__text {
  font-family: var(--ff-display);
  font-size: 3rem; font-weight: 900;
  background: var(--grad-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block; line-height: 1; margin-bottom: 8px;
}
.trust-item__plus {
  display: inline-block;
  font-family: var(--ff-display); font-size: 2.2rem; font-weight: 900;
  background: var(--grad-red);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.trust-item__label { font-size: 0.88rem; font-weight: 600; color: var(--txt-muted); }

/* ================================================================
   SERVICES
================================================================ */
.services-section { padding: var(--sec-py) 0; background: var(--bg-1); }

.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative; overflow: hidden;
  will-change: transform;
  box-shadow: var(--sh-xs);
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-red);
  opacity: 0; transition: opacity var(--t);
}
.service-card:hover {
  border-color: var(--border-red);
  box-shadow: var(--sh-md);
  transform: translateY(-5px);
}
.service-card:hover::before { opacity: 1; }

.service-card__header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 18px;
}

.service-card__icon {
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform var(--t);
}
.service-card:hover .service-card__icon { transform: scale(1.08) rotate(-3deg); }

.service-card__icon--video { background: rgba(212,43,47,0.09); color: var(--red); }
.service-card__icon--ads   { background: rgba(26,35,64,0.07);  color: var(--navy); }
.service-card__icon--auto  { background: rgba(212,43,47,0.09); color: var(--red); }
.service-card__icon--web   { background: rgba(26,35,64,0.07);  color: var(--navy); }
.service-card__icon--brand { background: rgba(212,43,47,0.09); color: var(--red); }
.service-card__icon--strat { background: rgba(26,35,64,0.07);  color: var(--navy); }

.service-card__title {
  font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700;
  color: var(--navy); line-height: 1.3;
}

.service-card__desc { font-size: 0.88rem; color: var(--txt-muted); line-height: 1.72; margin-bottom: 22px; }

.service-card__list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 26px; }
.service-card__list li {
  font-size: 0.83rem; color: var(--txt-muted);
  padding-left: 16px; position: relative; line-height: 1.5;
}
.service-card__list li::before {
  content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--red); opacity: 0.7;
}

.service-card__link {
  font-size: 0.83rem; font-weight: 700; color: var(--red);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--t);
}
.service-card__link:hover { gap: 12px; }

/* ================================================================
   TARGET
================================================================ */
.target-section { padding: var(--sec-py) 0; background: var(--bg-2); }

.target-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.target-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 28px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--t);
  min-width: 130px; text-align: center;
  box-shadow: var(--sh-xs);
}
.target-item:hover {
  border-color: var(--border-red);
  background: #fff;
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}
.target-item__icon { font-size: 2rem; }
.target-item span  { font-size: 0.88rem; font-weight: 700; color: var(--navy); }

/* ================================================================
   AI SECTION
================================================================ */
.ai-section {
  padding: var(--sec-py) 0;
  background: var(--bg-1);
  position: relative; overflow: hidden;
}
.ai-section::after {
  content: '';
  position: absolute; top: 50%; right: -200px;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,43,47,0.05), transparent 65%);
  pointer-events: none;
}

.ai-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
  position: relative; z-index: 1;
}

.ai-text { position: sticky; top: 120px; }
.ai-text .section-title { text-align: left; }

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

.ai-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: all var(--t);
  box-shadow: var(--sh-xs);
  will-change: transform;
}
.ai-card:hover {
  border-color: var(--border-red);
  box-shadow: var(--sh-md);
  background: #fff;
}
.ai-card__icon { font-size: 1.8rem; margin-bottom: 10px; }
.ai-card h4    { font-size: 0.93rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.ai-card p     { font-size: 0.80rem; color: var(--txt-muted); line-height: 1.55; }

/* ================================================================
   METHOD
================================================================ */
.method-section { padding: var(--sec-py) 0; background: var(--bg-2); }

.method-steps {
  display: flex; flex-direction: column;
  max-width: 820px; margin: 0 auto; position: relative;
}
.method-steps::before {
  content: '';
  position: absolute; left: 27px; top: 44px; bottom: 44px; width: 2px;
  background: linear-gradient(to bottom, var(--red) 0%, var(--navy) 70%, transparent 100%);
  opacity: 0.18;
}

.method-step {
  display: grid; grid-template-columns: 54px 1fr;
  gap: 32px; padding: 28px 0; position: relative;
}

.method-step__number {
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  background: var(--grad-red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 0.95rem; font-weight: 900; color: #fff;
  flex-shrink: 0; box-shadow: var(--glow-r);
  position: relative; z-index: 1;
  transition: transform var(--t), box-shadow var(--t);
}
.method-step:hover .method-step__number {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(212,43,47,0.45);
}

.method-step__content h3 {
  font-family: var(--ff-display); font-size: 1.28rem; font-weight: 800;
  color: var(--navy); margin-bottom: 8px;
}
.method-step__content p { font-size: 1rem; color: var(--txt-muted); line-height: 1.75; }

/* ================================================================
   RESULTS
================================================================ */
.results-section { padding: var(--sec-py) 0; background: var(--bg-1); }

.results-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

.result-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all var(--t);
  box-shadow: var(--sh-xs);
  will-change: transform;
}
.result-card:hover {
  border-color: var(--border-red);
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}
.result-card__icon { font-size: 2.1rem; margin-bottom: 16px; }
.result-card h4    { font-family: var(--ff-display); font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.result-card p     { font-size: 0.88rem; color: var(--txt-muted); line-height: 1.65; }

/* ================================================================
   CTA SECTION
================================================================ */
.cta-section {
  padding: var(--sec-py) 0;
  background: var(--navy);
  position: relative; overflow: hidden; text-align: center;
}
.cta-section__orb {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,43,47,0.18), transparent 65%);
  pointer-events: none;
}

/* Dot grid on dark CTA */
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 900; line-height: 1.18;
  margin-bottom: 22px; color: #fff;
}
.cta-title .gradient-text {
  background: var(--grad-red);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.cta-subtitle {
  font-size: 1.08rem; color: rgba(255,255,255,0.68);
  line-height: 1.75; margin-bottom: 48px;
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.cta-subtitle strong { color: #fff; }

.cta-actions { display: flex; justify-content: center; gap: 16px; margin-bottom: 44px; flex-wrap: wrap; }

.cta-features { display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; }
.cta-features span {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; color: rgba(255,255,255,0.60);
}
.cta-features svg { color: var(--red); flex-shrink: 0; }

/* CTA section tag override */
.cta-section .section-tag {
  background: rgba(212,43,47,0.18);
  border-color: rgba(212,43,47,0.40);
  color: #ff8a8a;
}

/* Buttons on dark CTA section */
.cta-section .btn--outline {
  border-color: rgba(255,255,255,0.30);
  color: #fff;
}
.cta-section .btn--outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.55);
}

/* ================================================================
   PORTFOLIO / VIDEO CAROUSEL
================================================================ */
.portfolio-section {
  padding: var(--sec-py) 0;
  background: var(--bg-1);
  overflow: visible;
}

/* ── Outer carousel wrapper ── */
.carousel {
  position: relative;
  padding: 0 64px;
}

.carousel__track-wrapper {
  overflow: hidden;
  border-radius: var(--r-lg);
}

.carousel__track {
  display: flex;
  gap: 24px;
  transition: transform 0.58s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  align-items: stretch;
}

/* Each slide occupies exactly 1/3 of available width (desktop) */
.carousel__slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  display: flex;
}

/* ── Prev / Next buttons ── */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 28px));
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border);
  box-shadow: var(--sh-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--t);
  z-index: 10;
  flex-shrink: 0;
}
.carousel__btn svg { pointer-events: none; }
.carousel__btn:disabled {
  opacity: 0.28; cursor: not-allowed;
  box-shadow: none;
}
.carousel__btn:not(:disabled):hover {
  background: var(--red); border-color: var(--red);
  color: #fff; box-shadow: var(--glow-r);
  transform: translateY(calc(-50% - 28px)) scale(1.06);
}
.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }

/* ── Dot indicators ── */
.carousel__dots {
  display: flex; justify-content: center;
  gap: 8px; margin-top: 36px;
}
.carousel__dot {
  width: 8px; height: 8px; border-radius: var(--r-pill);
  background: rgba(26,35,64,0.18);
  border: none; cursor: pointer;
  transition: all 0.35s ease; padding: 0;
}
.carousel__dot.active {
  background: var(--red);
  width: 28px;
}
.carousel__dot:not(.active):hover { background: rgba(26,35,64,0.36); }

/* ── Video Card ── */
.video-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  cursor: pointer;
  display: flex; flex-direction: column;
  width: 100%;
}
.video-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-lg);
  border-color: var(--border-red);
}

/* Thumbnail */
.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.video-card__thumb-bg {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-end;
  padding: 16px;
}

/* Category gradient backgrounds */
.video-card--cat-1 .video-card__thumb-bg { background: linear-gradient(140deg, #1a0608 0%, #6e0f15 55%, #d42b2f 100%); }
.video-card--cat-2 .video-card__thumb-bg { background: linear-gradient(140deg, #060c1a 0%, #0d1d70 55%, #2563eb 100%); }
.video-card--cat-3 .video-card__thumb-bg { background: linear-gradient(140deg, #0d0618 0%, #3a1a6d 55%, #7c3aed 100%); }
.video-card--cat-4 .video-card__thumb-bg { background: linear-gradient(140deg, #06180b 0%, #0c5228 55%, #16a34a 100%); }
.video-card--cat-5 .video-card__thumb-bg { background: linear-gradient(140deg, #180c06 0%, #7a3a10 55%, #d97706 100%); }
.video-card--cat-6 .video-card__thumb-bg { background: linear-gradient(140deg, #06141a 0%, #0c4c58 55%, #0891b2 100%); }

/* Subtle grid pattern on thumbnail */
.video-card__thumb::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Bottom-right decorative icon */
.video-card__thumb-icon {
  font-size: 3.5rem; opacity: 0.18; z-index: 1;
  pointer-events: none; line-height: 1;
}

/* Category badge */
.video-card__cat-badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(0,0,0,0.50);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff; font-size: 0.70rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.14);
}

/* Play button */
.video-card__play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,0.96);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(0,0,0,0.32);
  transition: transform var(--t), box-shadow var(--t);
  z-index: 4;
}
.video-card__play-btn svg { color: var(--red); margin-left: 4px; }
.video-card:hover .video-card__play-btn {
  transform: translate(-50%, -50%) scale(1.14);
  box-shadow: 0 12px 40px rgba(0,0,0,0.40);
}

/* Duration badge */
.video-card__duration {
  position: absolute; bottom: 12px; right: 12px; z-index: 3;
  padding: 2px 8px;
  background: rgba(0,0,0,0.65);
  color: #fff; font-size: 0.72rem; font-weight: 600;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

/* Info area */
.video-card__info {
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 8px; flex: 1;
}

.video-card__title {
  font-family: var(--ff-display);
  font-size: 1rem; font-weight: 800;
  color: var(--navy); line-height: 1.3;
}

.video-card__desc {
  font-size: 0.83rem; color: var(--txt-muted);
  line-height: 1.60; flex: 1;
}

.video-card__meta {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.video-card__type {
  font-size: 0.72rem; font-weight: 800;
  color: var(--red); text-transform: uppercase;
  letter-spacing: 0.07em;
}

.video-card__watch {
  font-size: 0.78rem; font-weight: 600; color: var(--txt-dim);
  display: flex; align-items: center; gap: 5px;
  transition: color var(--t), gap var(--t);
}
.video-card:hover .video-card__watch { color: var(--red); gap: 8px; }

/* Portfolio bottom CTA */
.portfolio__cta {
  text-align: center; margin-top: 56px;
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}

/* ================================================================
   VIDEO MODAL / LIGHTBOX
================================================================ */
.video-modal {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.30s ease;
  padding: 24px;
}
.video-modal.open {
  opacity: 1; pointer-events: auto;
}

.video-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,28,0.94);
  cursor: pointer;
}

.video-modal__box {
  position: relative; z-index: 1;
  width: 100%; max-width: 1000px;
  transform: scale(0.94);
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1);
}
.video-modal.open .video-modal__box { transform: scale(1); }

/* Close button */
.video-modal__close {
  position: absolute; top: -48px; right: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all var(--t);
}
.video-modal__close:hover { background: var(--red); border-color: var(--red); }

/* Responsive video wrapper */
.video-modal__video {
  position: relative; aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 32px 96px rgba(0,0,0,0.70);
}
.video-modal__video iframe,
.video-modal__video video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none; display: block;
}

/* Placeholder (no video ID set yet) */
.video-modal__placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; background: var(--bg-3);
  border-radius: var(--r-lg);
}
.video-modal__placeholder-icon { font-size: 4rem; opacity: 0.40; }
.video-modal__placeholder p {
  font-size: 1rem; color: var(--txt-muted); text-align: center;
  line-height: 1.6; max-width: 320px;
}
.video-modal__placeholder strong { color: var(--navy); }

/* ================================================================
   SHORT VIDEO CARDS  (9:16 vertical format)
================================================================ */
.portfolio-shorts {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}

.portfolio-shorts__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.portfolio-shorts__title {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.portfolio-shorts__title span { display: block; }
.portfolio-shorts__title em {
  font-style: normal;
  background: var(--grad-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.portfolio-shorts__sub {
  font-size: 0.9rem;
  color: var(--txt-muted);
}

/* Grid — 3 col desktop */
.shorts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Single short card */
.short-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--navy);
  box-shadow: var(--sh-md);
  transition: transform var(--t), box-shadow var(--t);
  /* keep GPU layer for smooth video */
  transform: translateZ(0);
}

.short-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--sh-lg);
}

/* The <video> element */
.short-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

/* Gradient overlays */
.short-card__overlay-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(10,10,30,0.65), transparent);
  z-index: 2;
  pointer-events: none;
}
.short-card__overlay-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 130px;
  background: linear-gradient(to top, rgba(10,10,30,0.90), transparent);
  z-index: 2;
  pointer-events: none;
  transition: height var(--t);
}
.short-card:hover .short-card__overlay-bottom { height: 150px; }

/* Category badge */
.short-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 4;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(0,0,0,0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.16);
}

/* Number label top-right */
.short-card__num {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 4;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; color: #fff;
  border: 1px solid rgba(255,255,255,0.20);
}

/* Center play button */
.short-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  z-index: 5;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(0,0,0,0.30);
  transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}
.short-card__play svg { color: var(--red); margin-left: 3px; }

/* Hide play icon while playing, show on pause */
.short-card.is-playing .short-card__play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}
.short-card:hover .short-card__play {
  box-shadow: 0 10px 36px rgba(0,0,0,0.40);
  transform: translate(-50%, -50%) scale(1.08);
}
.short-card.is-playing:hover .short-card__play {
  opacity: 0.60;
  transform: translate(-50%, -50%) scale(0.95);
}

/* Bottom info */
.short-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 18px 20px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.short-card__label {
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.short-card__type {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.62);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.short-card__type::before {
  content: '';
  width: 18px; height: 2px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

/* "Suono ON" hint that appears on hover */
.short-card__sound-hint {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  padding: 8px 16px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.18);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  margin-top: 46px; /* below the play button */
}
.short-card:hover .short-card__sound-hint { opacity: 1; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .shorts-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .shorts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .portfolio-shorts__header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .shorts-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Video Modal — vertical variant ── */
.video-modal--vertical .video-modal__box {
  max-width: 380px;
}
.video-modal--vertical .video-modal__video {
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
}

/* ================================================================
   WHATSAPP FLOATING BUTTON
================================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 8500;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.28s ease;
  /* Entrance — appears after 1.8s page load */
  animation: waEntrance 0.65s cubic-bezier(0.34,1.56,0.64,1) 1.8s both;
  text-decoration: none;
  outline-offset: 4px;
}

.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 40px rgba(37,211,102,0.60);
}

.whatsapp-btn:focus-visible {
  outline: 3px solid #25d366;
}

/* Pulse ring that fades outward */
.whatsapp-btn__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: waPulse 2.8s ease-out infinite 2.5s;
}

/* Second delayed ring for depth */
.whatsapp-btn__pulse-2 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: waPulse 2.8s ease-out infinite 3.4s;
}

/* Tooltip — slides in from right */
.whatsapp-btn__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: var(--navy);
  color: #fff;
  padding: 9px 16px;
  border-radius: var(--r-sm);
  font-size: 0.83rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: var(--sh-md);
  line-height: 1.3;
}

/* Arrow on tooltip */
.whatsapp-btn__tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-left-color: var(--navy);
}

.whatsapp-btn:hover .whatsapp-btn__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Icon wrapper */
.whatsapp-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Keyframes ── */
@keyframes waEntrance {
  from { opacity: 0; transform: scale(0.4) rotate(-90deg); }
  to   { opacity: 1; transform: scale(1)   rotate(0deg);   }
}

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  80%  { transform: scale(1.7); opacity: 0;    }
  100% { transform: scale(1.7); opacity: 0;    }
}

/* Mobile — slightly smaller and higher to avoid browser UI */
@media (max-width: 768px) {
  .whatsapp-btn {
    width: 56px; height: 56px;
    bottom: 22px; right: 18px;
  }
  /* Hide tooltip on mobile (no hover) */
  .whatsapp-btn__tooltip { display: none; }
}

/* ================================================================
   PHOTO SEPARATORS
================================================================ */
.photo-sep {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;     /* parallax desktop */
  background-repeat: no-repeat;
}

/* Overlay gradient */
.photo-sep::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.photo-sep--navy::before {
  background: linear-gradient(
    135deg,
    rgba(26,35,64,0.82) 0%,
    rgba(26,35,64,0.68) 100%
  );
}

.photo-sep--red::before {
  background: linear-gradient(
    135deg,
    rgba(26,35,64,0.80) 0%,
    rgba(212,43,47,0.70) 100%
  );
}

.photo-sep--split::before {
  background: linear-gradient(
    to right,
    rgba(26,35,64,0.90) 0%,
    rgba(26,35,64,0.55) 60%,
    rgba(212,43,47,0.45) 100%
  );
}

/* Content */
.photo-sep__content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding: 0 var(--wrap-px);
}

.photo-sep__tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.30);
  color: rgba(255,255,255,0.90);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.photo-sep__quote {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.20;
  margin-bottom: 22px;
  letter-spacing: -0.015em;
}

.photo-sep__quote em {
  font-style: normal;
  color: var(--red-light);
}

.photo-sep__sub {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: rgba(255,255,255,0.68);
  line-height: 1.70;
  max-width: 680px;
  margin: 0 auto 36px;
}

.photo-sep .btn--primary   { box-shadow: 0 4px 28px rgba(212,43,47,0.50); }
.photo-sep .btn--outline {
  border-color: rgba(255,255,255,0.40);
  color: #fff;
}
.photo-sep .btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.70);
}
.photo-sep__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Portfolio intro variant — taller, fade to white below */
.photo-sep--portfolio-intro {
  min-height: 520px;
}
.photo-sep--portfolio-intro::after {
  /* Override the bottom line with a white fade */
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 80px;
  background: linear-gradient(to bottom, transparent, #ffffff);
  z-index: 4;
  border-radius: 0;
  width: 100%;
  transform: none;
}

/* Scroll hint arrow (pure CSS animated) */
.photo-sep--portfolio-intro .photo-sep__content::after {
  content: '';
  display: block;
  width: 28px; height: 28px;
  margin: 28px auto 0;
  border-right: 2px solid rgba(255,255,255,0.50);
  border-bottom: 2px solid rgba(255,255,255,0.50);
  transform: rotate(45deg);
  animation: arrowBounce 1.6s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.50; }
  50%       { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* Decorative side accent line */
.photo-sep::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px;
  background: var(--grad-red);
  z-index: 3;
  border-radius: 2px 2px 0 0;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 80px 0 40px;
}

.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px; margin-bottom: 64px;
}

/* Footer logo inside white card (JPEG has white bg) */
.footer__logo-card {
  display: inline-block;
  background: #fff;
  border-radius: var(--r-md);
  padding: 14px 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}
.footer__logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: none;
}

.footer__tagline { font-size: 0.9rem; color: rgba(255,255,255,0.48); line-height: 1.75; margin-bottom: 28px; }

.footer__social { display: flex; gap: 10px; }

.social-link {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.50); transition: all var(--t);
}
.social-link:hover {
  background: var(--red); border-color: var(--red);
  color: #fff; transform: translateY(-3px); box-shadow: var(--glow-r);
}

.footer__heading {
  font-family: var(--ff-display); font-size: 0.78rem; font-weight: 800;
  color: rgba(255,255,255,0.90); text-transform: uppercase; letter-spacing: 0.10em; margin-bottom: 20px;
}

.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.88rem; color: rgba(255,255,255,0.48); transition: color var(--t); }
.footer__links a:hover { color: var(--red-light); }

.footer__contacts { display: flex; flex-direction: column; gap: 14px; }
.footer__contacts li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: rgba(255,255,255,0.48); }
.footer__contacts svg { color: var(--red-light); flex-shrink: 0; }
.footer__contacts a   { color: rgba(255,255,255,0.48); transition: color var(--t); }
.footer__contacts a:hover { color: var(--red-light); }

.footer__bottom {
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
}
.footer__bottom p { font-size: 0.83rem; color: rgba(255,255,255,0.30); }

.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 0.83rem; color: rgba(255,255,255,0.30); transition: color var(--t); }
.footer__legal a:hover { color: rgba(255,255,255,0.55); }
