/* ===========================
   Foodactive → Food Cluster Hamburg
   Transition Landing (static)
   =========================== */

:root {
  /* Corporate Brand Colors (Food Cluster style) */
  --blue: #223186; /* Footer + primary blue */
  --yellow: #ffd200; /* Corporate yellow buttons */
  --bg: #f4f6f8;
  --line: #e3e6eb;

  --primary: #005aa9; /* Food Cluster Hamburg Blau (approx.) */
  --primary-2: #004b8a;
  --accent: #f2b705; /* Food Cluster Hamburg Gelb (approx.) */
  --surface: #f8fafc;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.1);

  --radius: 16px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Utilities */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
a {
  color: inherit;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  transition: transform 0.06s ease, background-color 0.15s ease,
    border-color 0.15s ease, color 0.15s ease;
  user-select: none;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn--lg {
  padding: 1rem 1.35rem;
}
.btn--block {
  width: 100%;
}

.btn--primary {
  background: #ffe100;

  font-weight: 600;
  border: 2.5px solid transparent;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.btn--primary:hover {
  border-color: #223186;
  transform: translateY(-2px);
}

.btn--secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--text);
}
.btn--secondary:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0rem;
  gap: 70px;
}
.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  height: 110px; /* ajusta 64–80 según te guste */
  width: auto; /* clave: NO forzar ancho */
  max-width: 520px; /* limita si el logo es enorme */
  display: block;
  object-fit: contain; /* no deforma */
}

.brand-separator {
  width: 1px;
  height: 34px;
  background: #cbd5e1;
}
.brand-link {
  display: inline-flex;
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      115deg,
      rgba(2, 6, 23, 0.8) 0%,
      rgba(2, 6, 23, 0.55) 45%,
      rgba(2, 6, 23, 0.75) 100%
    ),
    url("images/hero.jpg") center/cover no-repeat;
}
.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  padding: 64px 0;
}
.hero-card {
  max-width: 720px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}
.eyebrow {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.hero-card h1 {
  margin: 0 0 0.6rem;
  line-height: 1.1;
  font-size: clamp(1.9rem, 2.5vw, 3rem);
  color: #fff;
}
.lead {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 12px;
}
.note {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 54px 0;
  background: var(--surface);
}
.grid {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr;
  gap: 22px;
  align-items: start;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card--padded {
  padding: 26px;
}
.card--accent {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 55%,
    rgba(37, 99, 235, 0.05) 100%
  );
}
.section-title {
  margin: 0 0 14px;
  font-size: 1.25rem;
  letter-spacing: 0.2px;
}
.prose p {
  margin: 0 0 14px;
  color: var(--text);
}
.prose strong {
  color: var(--text);
}

.figure {
  margin: 18px 0 22px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.figure img {
  display: block;
  width: 100%;
  height: auto;
}
.figure figcaption {
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #fbfdff;
}
.aside-text {
  margin: 0 0 14px;
  color: var(--muted);
}
.aside-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.small {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", monospace;
  font-size: 0.92em;
}

/* CTA band */
.cta-band {
  padding: 44px 0;
  background: #223186;
  color: #fff;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cta-band h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
}
.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}
.cta-band-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* CTA Band */
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo en CTA */
.cta-logo img {
  height: 100px; /* ajusta 64–80 según te guste */
  width: auto; /* clave: NO forzar ancho */
  max-width: 520px;
  filter: brightness(0) invert(1); /* blanco sobre fondo oscuro */
  opacity: 0.95;
}

.aside-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 24px;
  opacity: 0.9;
}

.aside-logo img {
  height: 100px;
  width: auto;
  filter: grayscale(100%);
  transition: all 0.2s ease;
}

.aside-logo img:hover {
  filter: grayscale(0%);
  transform: scale(1.03);
}
.aside-logo a:hover img {
  transform: scale(1.04);
  opacity: 1;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;

  padding: 18px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.footer-copy {
  margin: 0;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  gap: 14px;
}
.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}
.footer-nav a:hover {
  text-decoration: underline;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.site-footer a:hover {
  border-color: #ffffff;
  opacity: 0.85;
}

/* Footer CTA text color override */
.btn--footer {
  color: #000000 !important;
}

.btn--footer:hover {
  color: #000000 !important;
}

/* ===========================
   RESPONSIVE SYSTEM
   =========================== */

/* TABLET */
@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .header-cta {
    display: none;
  }

  .hero-inner {
    padding: 48px 0;
  }

  .hero-card {
    max-width: 100%;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-logo img {
    height: 60px;
  }
}

/* MOBILE */
@media (max-width: 680px) {
  .container {
    width: calc(100% - 24px);
  }

  .header-inner {
    padding: 14px 0;
    gap: 20px;
  }

  .brand-logo {
    height: 50px;
    width: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 36px 0;
  }

  .hero-card {
    padding: 18px;
    border-radius: 14px;
  }

  .hero-card h1 {
    font-size: 1.6rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 36px 0;
  }

  .card--padded {
    padding: 18px;
  }

  .aside-logo img {
    height: 70px;
  }

  .cta-band {
    padding: 32px 0;
  }

  .cta-inner {
    gap: 20px;
  }

  .cta-logo img {
    height: 50px;
  }

  .cta-text h2 {
    font-size: 1.3rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* SMALL MOBILE (iPhone SE, Galaxy Fold, etc) */
@media (max-width: 420px) {
  .hero-card h1 {
    font-size: 1.4rem;
  }

  .eyebrow {
    font-size: 0.7rem;
  }

  .lead {
    font-size: 0.95rem;
  }

  .cta-text h2 {
    font-size: 1.15rem;
  }

  .cta-logo img {
    height: 42px;
  }
}
body {
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}
