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

:root {
  --background: #05070f;
  --background-strong: #0b0e1a;
  --foreground: #f5f7ff;
  --muted: #a1a7c7;
  --accent: #f3b949;
  --accent-strong: #ffda64;
  --surface: rgba(18, 21, 34, 0.82);
  --border: rgba(255, 255, 255, 0.08);
  --radius: 18px;
  --max-width: 1120px;
  --transition: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html,
body {
  background-color: var(--background);
  background-image: radial-gradient(circle at top, rgba(25, 32, 58, 0.8), var(--background));
  color: var(--foreground);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  min-height: 100%;
  scroll-behavior: smooth;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.24rem;
  color: var(--accent);
  font-weight: 600;
}

.lede {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 42rem;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 3.5vw;
  color: var(--foreground);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(5, 7, 15, 0.68);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 26px rgba(10, 14, 32, 0.35);
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Animated logo in the header */
.brand-logo {
  width: 198px;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(243, 185, 73, 0.22));
  mix-blend-mode: screen;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.95rem;
}

.lang-dropdown {
  position: relative;
  margin-left: 1rem;
}

.lang-current {
  appearance: none;
  background: rgba(5, 7, 15, 0.35);
  color: inherit;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  font-size: 1rem;
}

.lang-current:hover,
.lang-current:focus-visible {
  border-color: rgba(243, 185, 73, 0.5);
  transform: translateY(-1px);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  background: rgba(5, 7, 15, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.4rem;
  display: none;
  box-shadow: 0 20px 40px rgba(10, 14, 32, 0.45);
  z-index: 30;
}

.lang-dropdown.open .lang-menu {
  display: block;
}

.lang-menu li { list-style: none; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
  background: transparent;
  color: inherit;
  border: 0;
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
}

.lang-option:hover,
.lang-option:focus-visible { background: rgba(255, 255, 255, 0.05); }

.lang-current .fi,
.lang-option .fi {
  font-size: 1.1em;
  border-radius: 2px;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.25rem;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--transition);
}

.nav-links a:focus-visible::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 32px;
  height: 22px;
  background: transparent;
  border: 0;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  border-radius: 999px;
  width: 100%;
}

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  border-bottom: none;
  padding-bottom: 0;
  padding-top: 6.5rem; /* space for fixed nav */
  background-image: linear-gradient(
      180deg,
      rgba(5, 7, 15, 0.72) 0%,
      rgba(5, 7, 15, 0.62) 40%,
      rgba(5, 7, 15, 0.55) 100%
    ),
    url('../assets/bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 3.5vw;
  max-width: var(--max-width);
  margin: 10rem auto; /* ~160px top and bottom */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-logo {
  width: 120px;
  filter: drop-shadow(0 20px 40px rgba(243, 185, 73, 0.25));
  mix-blend-mode: screen;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  line-height: 1.1;
  font-weight: 700;
  max-width: 28ch;
}

.hero .lede {
  max-width: 38ch;
}

.cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta .btn-primary {
  color: #211402;
}

.cta .btn-primary:hover {
  color: #211402;
}

.btn {
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.4s var(--transition), background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #fff;
  box-shadow: 0 20px 40px rgba(243, 185, 73, 0.25);
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d9a33e 0%, #e6c45a 100%);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: var(--foreground);
}

.btn:focus-visible,
.btn:hover {
  transform: translateY(-3px);
}

.hero-badge {
  position: absolute;
  bottom: 2rem;
  right: 3.5vw;
  z-index: 1;
  display: flex;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: rgba(5, 7, 15, 0.55);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.section {
  position: relative;
  padding: 7rem 3.5vw;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 6.5rem; /* anchor offset for fixed header */
}

.section-header {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.grid {
  display: grid;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.project-card,
.contact-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--transition), border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Make What we do cards clickable */
.section-focus .card {
  cursor: pointer;
}

.card::before,
.project-card::before,
.service-column::before {
  content: '';
  position: absolute;
  inset: -60% 20% auto;
  height: 160%;
  background: radial-gradient(circle, rgba(243, 185, 73, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.card:hover::before,
.project-card:hover::before,
.service-column:hover::before {
  opacity: 1;
}

.card:hover,
.project-card:hover,
.service-column:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(243, 185, 73, 0.4);
  box-shadow: 0 30px 60px rgba(10, 14, 32, 0.45);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  color: inherit;
  height: 100%;
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.project-meta .tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: var(--accent-strong);
}

.project-logo {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 1rem;
  padding: 0.5rem 1.5rem;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.project-logo-animation {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 1rem;
  padding: 0.5rem 1.5rem;
}

.project-meta h3 {
  font-size: 1.6rem;
}

.project-arrow {
  align-self: flex-end;
  font-size: 1.8rem;
  transition: transform 0.4s var(--transition);
}

.project-card:hover .project-arrow {
  transform: translate(4px, -4px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Team */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.team-stack {
  display: grid;
  align-content: start;
  gap: 1.75rem;
}

.section-header.small {
  margin: 0 0 0.5rem 0;
  gap: 0.4rem;
}
.section-header.small h3 {
  font-size: 1.35rem;
}

.team-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.team-card.compact {
  padding: 1rem;
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) - 10px);
}

.team-photo--placeholder {
  background: linear-gradient(135deg, rgba(243, 185, 73, 0.2), rgba(99, 162, 255, 0.25));
  border: 1px dashed rgba(255, 255, 255, 0.22);
}

.team-meta h4 {
  font-size: 1rem;
}
.team-meta .role {
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.9rem;
}
.team-meta .bio {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .team-stack {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .team-stack .section-header.small {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .team-stack {
    grid-template-columns: 1fr;
  }
}

.service-column {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--transition), border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-column h3 {
  font-size: 1.2rem;
}

.service-column ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.timeline {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: calc(0.85rem / 2); /* align to dot center */
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(243, 185, 73, 0.6) 15%, rgba(243, 185, 73, 0.6) 85%, transparent);
}

.timeline-item {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 1.75rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(243, 185, 73, 0.16);
}

.timeline-year {
  display: block;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 0.65rem;
}

.contact-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.contact-link {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(243, 185, 73, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button[type="submit"] {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.footer {
  padding: 3rem 3.5vw;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-separator {
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-registry {
  margin-top: 0.5rem;
}

.footer-registry a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-registry a:hover {
  color: var(--accent);
}

.swiss-flag {
  width: 14px;
  height: 14px;
  border-radius: 2px;
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.8s var(--transition), opacity 0.8s ease;
}

.fade-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav { padding: 1.25rem; }

  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 15, 0.92);
    backdrop-filter: blur(16px);
    border: 0;
    border-radius: 0;
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    transform: translateX(100%);
    opacity: 1;
    pointer-events: none;
    transition: transform 0.4s var(--transition);
  }

  .lang-dropdown { margin-left: auto; }

  body.nav-open .nav-links {
    pointer-events: auto;
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-left: auto; /* push to right */
  }

  .hero-content {
    padding: 0 1.25rem; /* keep content off the edges */
    margin: 10rem auto; /* keep ~160px on small screens */
    gap: 1.2rem;
  }

  .nav-links a {
    font-size: 1.35rem;
    line-height: 1.4;
  }

  /* Keep logo reasonable on small screens */
  .brand-logo {
    width: 140px;
  }

  .hero-logo {
    width: 92px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-badge {
    position: static;
    align-self: center;
    margin-bottom: 2rem;
  }

  .section {
    padding: 5rem 1.75rem;
  }
}

@media (max-width: 600px) {
  .cta {
    flex-direction: column;
    align-items: stretch;
  }

  .card,
  .project-card,
  .contact-card,
  .service-column {
    padding: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: auto;
  max-width: 420px;
  z-index: 1000;
  background: rgba(5, 7, 15, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(243, 185, 73, 0.2);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(243, 185, 73, 0.1);
  animation: cookie-slide-up 0.4s ease-out;
}

@keyframes cookie-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner h3 {
  color: var(--foreground);
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

.cookie-banner p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 1rem 0;
  font-size: 0.875rem;
}

.cookie-banner .cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-banner .btn {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: modal-fade-in 0.2s ease-out;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: relative;
  background: rgba(5, 7, 15, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(243, 185, 73, 0.2);
  border-radius: 24px;
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 60px rgba(243, 185, 73, 0.15);
  animation: modal-scale-in 0.3s ease-out;
}

@keyframes modal-scale-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
  color: var(--muted);
  line-height: 1.7;
}

.modal-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.modal-body h3:first-child {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-body ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

.modal-body strong {
  color: var(--foreground);
}

.modal-footer {
  padding: 1rem 2rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.25rem;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--foreground);
  border-color: rgba(243, 185, 73, 0.5);
}

/* Custom Scrollbar for Modal */
.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(5, 7, 15, 0.8);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(71, 85, 105, 0.8);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.9);
}

/* Company Info Card */
.company-info-card {
  width: 80%;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.company-info-content {
  text-align: left;
}

.company-info-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  margin-top: 0;
}

.company-info-content p {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
  line-height: 1.6;
}

.company-name {
  margin-top: 0.5rem;
}

.company-link {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.company-link:hover {
  color: var(--accent-strong);
}

.company-email {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.company-email:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

/* Cookie Status Card */
.cookie-status-card {
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.cookie-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cookie-status-header h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.not-set {
  background: rgba(148, 163, 184, 0.2);
  color: rgba(203, 213, 225, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.status-badge.accepted {
  background: rgba(34, 197, 94, 0.15);
  color: rgba(134, 239, 172, 0.95);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.declined {
  background: rgba(239, 68, 68, 0.15);
  color: rgba(252, 165, 165, 0.95);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.cookie-status-text {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

#reset-cookies {
  width: 100%;
  justify-content: center;
}

/* Hidden class for modals and banner */
.hidden {
  display: none !important;
}

@media (max-width: 640px) {
  .company-info-card {
    width: 100%;
  }

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
    padding: 1.25rem;
  }

  .modal-content {
    border-radius: 20px;
    max-height: 90vh;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
