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

:root {
  --orange: #E8491A;
  --orange-light: #F4632E;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --bg: #ffffff;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ── HERO SECTION ── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255, 230, 180, 0.7) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(180, 230, 210, 0.7) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(200, 220, 255, 0.3) 0%, transparent 70%),
    #f0f4f0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='580'%3E%3Crect x='120' y='240' width='18' height='18' rx='3' fill='%23d4a892' opacity='0.5'/%3E%3Crect x='370' y='195' width='14' height='14' rx='2' fill='%23a0b89a' opacity='0.4'/%3E%3Crect x='960' y='180' width='16' height='16' rx='2' fill='%23a0b89a' opacity='0.4'/%3E%3Crect x='1070' y='310' width='18' height='18' rx='3' fill='%23a0b89a' opacity='0.5'/%3E%3Crect x='110' y='420' width='14' height='14' rx='2' fill='%23d4a892' opacity='0.4'/%3E%3Crect x='870' y='380' width='14' height='14' rx='2' fill='%23a0b89a' opacity='0.4'/%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
}

/* ── PAGE HEADER (páginas interiores) ── */
.page-header {
  background: var(--bg);
  padding-bottom: 20px;
}

/* ── NAV ── */
nav {
  position: relative;
  z-index: 10;
  margin: 40px auto 0;
  width: 900px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.85; }

.nav-logo:hover .logo-icon {
  transform: scale(1.08) rotate(-6deg);
  transition: transform 0.2s ease;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.logo-icon svg {
  width: 20px;
  height: 20px;
}

.nav-logo span {
  font-size: 18px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.3px;
}

.nav-logo span strong {
  color: var(--orange);
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; }

.nav-cta {
  background: var(--orange);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 980px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--orange-light);
  transform: scale(1.02);
}

/* ── HERO CONTENT ── */
.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 20px 30px;
  gap: 32px;
  width: 900px;
  margin: 0 auto;
}

.hero-text {
  max-width: 520px;
  text-align: center;
}

.hero-annotation {
  display: block;
  height: 80px;
  width: auto;
  margin-left: 260px;
  margin-bottom: 4px;
}

.hero-headline {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 12px;
}

.hero-headline-sub {
  font-size: 36px;
  display: block;
}

.hero-headline em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 460px;
  margin-top: 16px;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

.hero-image-wrap {
  position: absolute;
  right: 60px;
  top: 80px;
  animation: fadeUp 0.6s ease 0.2s both;
}

.hero-image {
  width: 220px;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.14));
  animation: float 4s ease-in-out 0.8s infinite;
}

/* ── TICKER ── */
.ticker-wrapper {
  position: relative;
  background: white;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 0;
  overflow: hidden;
}

.ticker-wrapper::before,
.ticker-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.ticker-wrapper::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.ticker-wrapper::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  border-right: 1px solid rgba(0,0,0,0.08);
  transition: color 0.2s;
  cursor: default;
}

.ticker-item:hover { color: var(--orange); }

.ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ── HERO TICKER PLACEHOLDER ── */
.hero-ticker-placeholder {
  height: 125px;
  position: relative;
}

.hero-ticker-placeholder::before,
.hero-ticker-placeholder::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 1px;
  background: rgba(0,0,0,0.07);
}

.hero-ticker-placeholder::before { top: 0; }
.hero-ticker-placeholder::after { bottom: 0; }

/* ── SECTION BELOW ── */
.section-placeholder {
  background: white;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 14px;
}

/* ── ANIMATIONS ── */
nav, .hero-text {
  animation: fadeUp 0.6s ease both;
}

.hero-text { animation-delay: 0.1s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: rotate(4deg) translateY(-10px); }
  50% { transform: rotate(2deg) translateY(-20px); }
}
