/* ============================================================
   GRUPO IQ — Coming Soon
   Design system: Kreativ/Gleamy banner aesthetic
   Colors: #000 bg · #fff text · #FF7E21 orange accent · #212121 dark
   Fonts:  Poppins (display/headline) · Roboto (straps/tags) · Inter (body)
   ============================================================ */

:root {
  --black:      #000000;
  --white:      #ffffff;
  --orange:     #FF7E21;
  --coral:      #FF7E21;   /* alias — keeps downstream references working */
  --dark-grey:  #212121;
  --off-white:  #FAFAFA;
  --grey:       #8C8C8C;
  --light:      #f5f5f5;
  --border:     rgba(255,255,255,0.12);
  --font-display: 'Poppins', 'Inter', sans-serif;
  --font-ribbon:  'Roboto', 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --strap-h:    72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 72px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--white);
  user-select: none;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 6px 14px;
  cursor: pointer;
  color: var(--grey);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }
.lang-toggle .divider { opacity: 0.4; }
.lang-toggle .lang-option { transition: color 0.2s; }
.lang-toggle .lang-option.active { color: var(--white); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  background: var(--black);
  overflow: hidden;
  /* clip-path: inset(0) clips even GPU-composited children (will-change:transform layers)
     which overflow:hidden + contain:paint alone cannot clip in Chrome */
  clip-path: inset(0);
  display: flex;
  align-items: center;
}

/* Ghost "g" — large background letter (Figma: Poppins 454px, stroke #363636) */
.ghost-g {
  position: absolute;
  left: 7%;
  top: -5%;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(240px, 38vw, 520px);
  line-height: 1;
  text-transform: lowercase;
  -webkit-text-stroke: 1px #363636;
  color: transparent;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.9;
}

/* Vertical sidebar labels */
.vertical-labels {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.vertical-labels span {
  font-family: var(--font-ribbon);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  text-transform: uppercase;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  padding-left: 120px;
  padding-right: 60px;
  max-width: 960px;
}

.headline-line {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 4.8vw, 80px);
  line-height: 1.7;
  letter-spacing: 0em;
  color: var(--white);
  text-transform: capitalize;
  white-space: nowrap;
  /* keep text legible against the white strap background */
  text-shadow:
    0 0 20px rgba(0,0,0,0.8),
    0 2px 8px  rgba(0,0,0,0.6);
}

/* Orange dots */
.dots { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}
.dot:nth-child(2) { animation-delay: 0.5s; }
.dot:nth-child(3) { animation-delay: 1s; }
.dot:nth-child(4) { animation-delay: 1.5s; }
.dot:nth-child(5) { animation-delay: 2s; }
.dot:nth-child(6) { animation-delay: 2.5s; }

@keyframes pulse {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* ============================================================
   DIAGONAL STRAPS (from Figma: 2 bands, different angles + colors)
   Strap-light: #FAFAFA bg · dark text · +44.71deg
   Strap-dark:  #212121 bg · white text · −12.95deg

   Technique: straps are unsized wrappers at the correct position;
   the inner .band element is very wide and carries the background
   color + rotation. clip-path: inset(0) clips the scrolling text
   to the band's local height without the overflow:hidden+transform
   Chrome clipping bug. .hero's overflow:hidden clips at section edge.
   ============================================================ */
.straps {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* NO overflow:hidden — let .hero clip instead */
  z-index: 1;
}

.strap {
  position: absolute;
  left: -80%;
  width: 260%;        /* wide enough to fully cover at any rotation */
  height: var(--strap-h);
  clip-path: inset(0);  /* clips track to band height in local coords */
  transform-origin: 50% 50%;
}

/* Light strap: steep diagonal (+44.71deg) — upper portion, tilts right */
.strap-light {
  top: 18%;
  background: var(--off-white);
  transform: rotate(44.71deg);
}

/* Dark strap: slight tilt (−12.95deg) — lower-center band */
.strap-dark {
  top: 55%;
  background: var(--dark-grey);
  transform: rotate(-12.95deg);
}

.strap-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  height: 100%;
  gap: 40px;
  padding: 0 24px;
  white-space: nowrap;
  animation: scrollStrap 22s linear infinite;
  will-change: transform;
}

.strap-dark .strap-track {
  animation-duration: 26s;
  animation-direction: reverse;
}

.strap-track span {
  font-family: var(--font-ribbon);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
  color: var(--dark-grey);   /* dark text on light background */
}

.strap-dark .strap-track span {
  color: var(--white);        /* white text on dark background */
}

.strap-dot {
  display: block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes scrollStrap {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   COMING SOON
   ============================================================ */
.coming-soon {
  background: var(--white);
  color: var(--black);
  padding: 120px 60px;
  text-align: center;
}

.cs-inner { max-width: 780px; margin: 0 auto; }

.cs-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.cs-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 28px;
}

.cs-subtitle {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: #444;
  margin-bottom: 60px;
}

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
}

.cd-num {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  line-height: 1;
  color: var(--black);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.cd-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--grey);
  margin-top: 4px;
}

.cd-sep {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: var(--coral);
  margin: 0 4px;
  padding-bottom: 20px;
  align-self: flex-start;
}

/* Notify form */
.notify-form {
  position: relative;
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
}

.notify-input {
  flex: 1;
  height: 54px;
  padding: 0 20px;
  border: 2px solid #ddd;
  border-right: none;
  border-radius: 8px 0 0 8px;
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
  color: var(--black);
  transition: border-color 0.2s;
  outline: none;
}
.notify-input:focus { border-color: var(--black); }
.notify-input:focus + .notify-label,
.notify-input:not(:placeholder-shown) + .notify-label {
  top: -10px;
  font-size: 11px;
  background: #fff;
  padding: 0 4px;
  color: var(--black);
}
.notify-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #999;
  pointer-events: none;
  transition: all 0.18s;
  background: transparent;
}

.notify-btn {
  height: 54px;
  padding: 0 28px;
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.notify-btn:hover { background: var(--coral); border-color: var(--coral); }

.notify-success {
  margin-top: 16px;
  font-size: 14px;
  color: #16a34a;
  font-weight: 600;
}
.hidden { display: none !important; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 120px 60px;
  overflow: hidden;
}

.contact-inner { position: relative; z-index: 2; max-width: 960px; margin: 0 auto; }

.contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 60px;
}

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

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.contact-card:hover {
  border-color: var(--orange);
  background: rgba(255,126,33,0.06);
  transform: translateY(-2px);
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--coral);
  transition: background 0.2s;
}
.contact-card:hover .contact-icon { background: rgba(255,126,33,0.15); }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--grey);
  text-transform: uppercase;
}

.contact-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}

/* Decorative coral blob */
.contact-deco {
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 400px;
  height: 400px;
  background: var(--coral);
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
  filter: blur(60px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .site-header { padding: 0 24px; }

  .hero-content { padding-left: 64px; padding-right: 24px; }

  .vertical-labels { display: none; }

  .contact { padding: 80px 24px; }
  .contact-grid { grid-template-columns: 1fr; }

  .coming-soon { padding: 80px 24px; }

  .site-footer { padding: 24px; flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 600px) {
  .headline-line { white-space: normal; line-height: 1.5; }
  .hero-content { padding-left: 24px; }
  .ghost-g { left: 0; font-size: clamp(180px, 55vw, 280px); }
  .strap-light { top: 18%; }
  .strap-dark  { top: 58%; }
  .notify-form { flex-direction: column; }
  .notify-input { border-right: 2px solid #ddd; border-radius: 8px; }
  .notify-btn { border-radius: 8px; }
  .countdown { gap: 8px; }
  .cd-unit { min-width: 64px; }
}

/* ============================================================
   ANIMATIONS — fade in on load
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content,
.cs-inner,
.contact-inner {
  animation: fadeUp 0.8s ease-out both;
}
.cs-inner    { animation-delay: 0.1s; }
.contact-inner { animation-delay: 0.15s; }
