/* ===========================================================
   iAgency × Expocamacol 2026 — Spot Pantalla + Video 2D/3D
=========================================================== */

@font-face{
  font-family: 'Figtree';
  src: url('assets/fonts/Figtree-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: 'Figtree';
  src: url('assets/fonts/Figtree-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root{
  --gold: #e8dcb8;
  --gold-dim: #b8ac8a;
  --gold-bright: #f5ecc9;
  --gray: #9ea3b4;
  --gray-mid: #7d8296;
  --gray-line: #2b2f42;
  --ink: #f6f5f2;
  --bg: #05050f;
  --bg-soft: #0b0d1c;

  --font-display: 'Figtree', sans-serif;
  --font-body: 'Figtree', sans-serif;

  --ease: cubic-bezier(.22,.68,.36,1);
  --dur-s: .25s;
  --dur-m: .5s;
  --dur-l: .9s;

  --radius: 18px;
  --radius-sm: 12px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar{ display: none; width: 0; height: 0; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0; }

::selection{ background: var(--gold); color: #05050f; }
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===========================================================
   Section shell
=========================================================== */
.section{
  position: relative;
  padding: 100px 0;
  background: var(--bg);
  background-image: radial-gradient(120% 90% at 82% 0%, rgba(232,220,184,.06) 0%, transparent 55%);
}
/* ===========================================================
   Light wrap — one continuous white ground running behind the
   proposal cover through the closing, with floating brand-color
   circles flowing across section boundaries (not resetting per
   section), so the color field reads as one continuous scene.
=========================================================== */
.light-wrap{
  position: relative;
  background: #ffffff;
  overflow: hidden;
}
.blob-field{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* Each blob is pinned mostly OUTSIDE the section (via a negative
   left/right offset), so only a sliver of its curved edge peeks
   into the page — clear of the text column at every breakpoint,
   with a small, deliberate float animation on top. Only `top`
   (set inline per blob, as a % of the whole light-wrap) varies
   per instance; horizontal placement is fully controlled by the
   --left / --right modifier classes. */
.blob{
  position: absolute;
  border-radius: 50%;
}
.blob--lg{ width: 640px; height: 640px; }
.blob--md{ width: 380px; height: 380px; }
.blob--sm{ width: 220px; height: 220px; }
.blob--left{ left: -410px; }
.blob--right{ right: -410px; }
.blob--left.blob--md{ left: -225px; }
.blob--right.blob--md{ right: -225px; }
.blob--left.blob--sm{ left: -110px; }
.blob--right.blob--sm{ right: -110px; }
.blob--orange{ background: #ec622b; }
.blob--lime{ background: #f3ff02; }
.blob--magenta{ background: #cd1160; }
.blob--blue{ background: #00aaff; }
.blob--purple{ background: #741da7; }

/* Subtle floating motion — each blob is wrapped in a translateY(-50%)
   centering transform via its own keyframe (baked in below) so it
   still bobs in place instead of drifting off its `top` position. */
@keyframes float-1{
  0%, 100%{ transform: translateY(-50%) translate(0, 0); }
  50%{ transform: translateY(-50%) translate(10px, -22px); }
}
@keyframes float-2{
  0%, 100%{ transform: translateY(-50%) translate(0, 0); }
  50%{ transform: translateY(-50%) translate(-14px, 18px); }
}
@keyframes float-3{
  0%, 100%{ transform: translateY(-50%) translate(0, 0); }
  50%{ transform: translateY(-50%) translate(8px, 24px); }
}
.floating{ transform: translateY(-50%); will-change: transform; }
.floating--1{ animation: float-1 9s ease-in-out infinite; }
.floating--2{ animation: float-2 11s ease-in-out infinite; }
.floating--3{ animation: float-3 8s ease-in-out infinite; }
.floating--2{ animation-delay: -3s; }
.floating--3{ animation-delay: -5.5s; }

.section--light{
  --ink: #14140f;
  --gray: #6b6b6b;
  --gray-mid: #8f8a78;
  --gray-line: #e4e2dc;
  --gold: #14140f;
  position: relative;
  background: transparent;
  padding: 56px 0;
}
/* 5% tighter gap between the cover ("Spot publicitario") and
   Pantalla 3D specifically. */
#proposal{ padding-bottom: 53px; }
#pantalla-3d{ padding-top: 53px; }

/* ===========================================================
   Section inner — centered content column, no card container
=========================================================== */
.section-inner{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}
.section-inner--center{ text-align: center; }
.section-inner--center .chapter-head{ text-align: center; }

/* ===========================================================
   Hero — full-bleed intro video, no copy, no header
=========================================================== */
.section--hero{
  padding: 0;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #fff;
}
@supports (height: 100dvh){
  .section--hero{ height: 100dvh; min-height: 100dvh; }
}
.hero-video{ width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-scroll-cue{
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #14140f;
  z-index: 3;
  animation: cue-bob 2.4s ease-in-out infinite;
}
.hero-scroll-cue span{
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .85;
}
.hero-scroll-cue svg{ width: 16px; height: 16px; opacity: .85; }
@keyframes cue-bob{
  0%, 100%{ transform: translate(-50%, 0); }
  50%{ transform: translate(-50%, 8px); }
}

/* ===========================================================
   Reveal-on-scroll
=========================================================== */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-l) var(--ease), transform var(--dur-l) var(--ease);
}
[data-reveal].is-visible{ opacity: 1; transform: translateY(0); }

/* ===========================================================
   Chapter header block
=========================================================== */
.chapter-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6.6vw, 68px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 14px;
}
.chapter-title--sub{ font-size: clamp(32px, 5.1vw, 51px); color: var(--gold); }
.chapter-head{ margin-bottom: 28px; }

/* ===========================================================
   Dot list — used for Pantalla 3D and Avisos publicitarios
=========================================================== */
.dot-list{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.dot-list li{
  position: relative;
  padding-left: 26px;
  font-family: var(--font-body);
  font-size: 19.5px;
  line-height: 1.55;
  color: var(--ink);
}
.dot-list li::before{
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.footnote{
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-mid);
}

/* ===========================================================
   Section description paragraph (Presencia de marca)
=========================================================== */
.section-desc{
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 28px;
}

/* ===========================================================
   Lead line (Avisos publicitarios)
=========================================================== */
.lead-line{
  font-family: var(--font-body);
  font-size: 20.5px;
  color: var(--ink);
  margin-bottom: 20px;
}

/* ===========================================================
   Investment total
=========================================================== */
.total-summary{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 12px 0 32px;
  margin-bottom: 24px;
}
.total-summary__value{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(50px, 8.2vw, 85px);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.total-summary__label{
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}

.terms-list{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.terms-list li{
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--gray-mid);
}

/* ===========================================================
   Comp video — full-bleed section between Pantalla 3D and Avisos
=========================================================== */
.section--video{
  display: flex;
  justify-content: center;
  padding-left: 24px;
  padding-right: 24px;
}
.video-full{ position: relative; z-index: 1; width: 100%; max-width: 784px; line-height: 0; }
.comp-video{ width: 100%; height: auto; display: block; border-radius: 12px; }

/* ===========================================================
   Closing
=========================================================== */
.section--closing{
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 100px;
}

/* Expocamacol 26 wordmark — traced to an SVG from the official
   logo file (not a font substitute), so it's pixel-exact to the
   source art and stays perfectly crisp at any size. Used both on
   the cover (above the title) and alone in the closing section. */
.camacol-logo-img{
  width: 100%;
  max-width: 435px;
  height: auto;
  margin: 0 auto;
}
.camacol-logo-img--cover{
  margin-top: 92px;
  margin-bottom: 111px;
}

/* ===========================================================
   Responsive
=========================================================== */

/* Tablet (portrait & landscape) — also absorbs the narrow-desktop
   range down to 1024px, where margins are too tight for the big
   desktop blob size to stay clear of the text column. */
@media (max-width: 1150px){
  .section--light{ padding: 48px 0; }
  #proposal{ padding-bottom: 46px; }
  #pantalla-3d{ padding-top: 46px; }
  .camacol-logo-img--cover{ margin-top: 64px; margin-bottom: 78px; }
  .section-inner{ max-width: 680px; }
  .blob--lg{ width: 320px; height: 320px; }
  .blob--md{ width: 200px; height: 200px; }
  .blob--sm{ width: 120px; height: 120px; }
  .blob--left{ left: -230px; }
  .blob--right{ right: -230px; }
  .blob--left.blob--md{ left: -135px; }
  .blob--right.blob--md{ right: -135px; }
  .blob--left.blob--sm{ left: -75px; }
  .blob--right.blob--sm{ right: -75px; }
}

/* Phones */
@media (max-width: 720px){
  .section--light{ padding: 40px 0; }
  #proposal{ padding-bottom: 38px; }
  #pantalla-3d{ padding-top: 38px; }
  .camacol-logo-img--cover{ margin-top: 44px; margin-bottom: 56px; }
  .section--video{ padding-left: 18px; padding-right: 18px; }
  .section-inner{ padding: 0 22px; }
  .blob--lg{ width: 170px; height: 170px; }
  .blob--md{ width: 110px; height: 110px; }
  .blob--sm{ width: 70px; height: 70px; }
  .blob--left{ left: -110px; }
  .blob--right{ right: -110px; }
  .blob--left.blob--md{ left: -65px; }
  .blob--right.blob--md{ right: -65px; }
  .blob--left.blob--sm{ left: -35px; }
  .blob--right.blob--sm{ right: -35px; }
  .total-summary{ padding: 8px 0 24px; }
}
