:root {
  --brand-primary: #9abf46;
  --brand-primary-dark: #7aa03e;
  --brand-soft: #ecf4d8;
  --brand-ink: #0f172a;
  --brand-surface: rgba(255, 255, 255, 0.96);
  --brand-border: rgba(148, 163, 184, 0.2);
  --brand-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

body {
  font-family: "Inter", sans-serif;
}

.hero-bg {
  background-image:
    linear-gradient(120deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.58)),
    url("https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section-padding {
  padding-top: 90px;
  padding-bottom: 90px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
}

.nav-link.active {
  color: var(--brand-primary);
}

.gallery-img {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.07);
  filter: brightness(0.82);
}

.hero-action-group {
  row-gap: 0.85rem;
}

.hero-action-button {
  flex-shrink: 0;
}

.hero-primary-cta {
  background: linear-gradient(135deg, #ff8a00 0%, #f14f00 55%, #d93800 100%);
  box-shadow: 0 16px 38px rgba(217, 56, 0, 0.45), 0 0 0 0 rgba(255, 138, 0, 0.55);
  letter-spacing: 0.01em;
  position: relative;
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
  animation: heroCtaPulse 2.6s ease-out infinite;
}

.hero-primary-cta::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.hero-primary-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 42px rgba(217, 56, 0, 0.5), 0 0 0 9px rgba(255, 138, 0, 0.16);
  filter: saturate(1.08);
}

.hero-primary-cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
}

.team-cta-button {
  background: #ffffff;
  border: 1px solid rgba(154, 191, 70, 0.45);
  color: #7aa03e;
  box-shadow: 0 10px 22px rgba(122, 160, 62, 0.16);
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.team-cta-button:hover {
  transform: translateY(-1px);
  background: #9abf46;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(122, 160, 62, 0.3);
}

.team-cta-button:focus-visible {
  outline: 3px solid rgba(154, 191, 70, 0.3);
  outline-offset: 3px;
}

@keyframes heroCtaPulse {
  0% {
    box-shadow: 0 16px 38px rgba(217, 56, 0, 0.45), 0 0 0 0 rgba(255, 138, 0, 0.45);
  }
  70% {
    box-shadow: 0 16px 38px rgba(217, 56, 0, 0.45), 0 0 0 14px rgba(255, 138, 0, 0);
  }
  100% {
    box-shadow: 0 16px 38px rgba(217, 56, 0, 0.45), 0 0 0 0 rgba(255, 138, 0, 0);
  }
}

.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 1rem;
}

.cookie-consent-shell {
  margin: 0 auto;
  display: flex;
  max-width: 1180px;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  border: 1px solid rgba(154, 191, 70, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(246, 249, 238, 0.96));
  border-radius: 1.75rem;
  box-shadow: var(--brand-shadow);
  backdrop-filter: blur(18px);
  padding: 1.15rem;
}

.cookie-consent-copy {
  flex: 1 1 420px;
}

.cookie-consent-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-primary-dark);
}

.cookie-consent-title {
  margin: 0;
  color: var(--brand-ink);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
}

.cookie-consent-text {
  margin: 0.75rem 0 0;
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.65;
}

.cookie-consent-actions,
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-consent-actions {
  justify-content: flex-end;
  align-items: center;
}

.cookie-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.95rem 1.3rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-btn:focus-visible,
.cookie-icon-button:focus-visible,
.cookie-settings-fab:focus-visible,
.cookie-toggle-input:focus-visible + .cookie-toggle-slider {
  outline: 3px solid rgba(154, 191, 70, 0.28);
  outline-offset: 3px;
}

.cookie-btn-primary {
  background: var(--brand-primary);
  box-shadow: 0 16px 30px rgba(154, 191, 70, 0.28);
  color: #fff;
}

.cookie-btn-primary:hover {
  background: var(--brand-primary-dark);
}

.cookie-btn-secondary {
  background: #fff;
  border-color: rgba(148, 163, 184, 0.25);
  color: #334155;
}

.cookie-btn-secondary:hover {
  border-color: rgba(154, 191, 70, 0.32);
  color: var(--brand-primary-dark);
}

.cookie-settings-fab {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: inline-flex;
  height: 3.75rem;
  width: 3.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(154, 191, 70, 0.2);
  border-radius: 999px;
  background: linear-gradient(145deg, #ffffff, #f3f8e6);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  color: var(--brand-primary-dark);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.cookie-settings-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.22);
}

.cookie-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
}

.cookie-consent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(8px);
}

.cookie-consent-dialog {
  position: relative;
  z-index: 1;
  margin: 4vh auto;
  display: flex;
  max-height: 92vh;
  width: min(720px, calc(100% - 2rem));
  flex-direction: column;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 251, 244, 0.98));
  box-shadow: 0 32px 90px rgba(15, 23, 42, 0.24);
  padding: 1.5rem;
}

.cookie-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-modal-description {
  margin-bottom: 1.25rem;
}

.cookie-icon-button {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #475569;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.cookie-icon-button:hover {
  transform: translateY(-1px);
  border-color: rgba(154, 191, 70, 0.32);
  color: var(--brand-primary-dark);
}

.cookie-options {
  display: grid;
  gap: 0.9rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--brand-border);
  border-radius: 1.35rem;
  background: #fff;
  padding: 1.15rem 1.1rem;
}

.cookie-option-locked {
  background: linear-gradient(135deg, rgba(236, 244, 216, 0.45), rgba(255, 255, 255, 0.96));
}

.cookie-option-copy h3 {
  margin: 0;
  color: var(--brand-ink);
  font-size: 1rem;
  font-weight: 800;
}

.cookie-option-copy p {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.55;
}

.cookie-toggle-control {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}

.cookie-toggle-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.cookie-toggle-slider {
  position: relative;
  display: inline-flex;
  height: 2rem;
  width: 3.6rem;
  align-items: center;
  border-radius: 999px;
  background: #dbe4ee;
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.1);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.cookie-toggle-slider::after {
  content: "";
  position: absolute;
  left: 0.22rem;
  height: 1.55rem;
  width: 1.55rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
  transition: transform 0.2s ease;
}

.cookie-toggle-input:checked + .cookie-toggle-slider {
  background: linear-gradient(135deg, var(--brand-primary), #b7d96f);
}

.cookie-toggle-input:checked + .cookie-toggle-slider::after {
  transform: translateX(1.58rem);
}

.cookie-toggle-input:disabled + .cookie-toggle-slider {
  background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary));
  opacity: 0.9;
}

.cookie-modal-actions {
  margin-top: 1.35rem;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .hero-bg {
    background-attachment: scroll;
  }

  .hero-action-group .hero-action-button {
    width: 100%;
    justify-content: center;
  }

  .cookie-consent-banner {
    padding: 0.75rem;
  }

  .cookie-consent-shell {
    border-radius: 1.4rem;
    padding: 1rem;
  }

  .hero-primary-cta {
    width: 100%;
  }

  .cookie-consent-title {
    font-size: 1.2rem;
  }

  .cookie-consent-actions,
  .cookie-modal-actions {
    width: 100%;
  }

  .cookie-consent-actions .cookie-btn,
  .cookie-modal-actions .cookie-btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .cookie-consent-dialog {
    margin: 2vh auto;
    width: min(100% - 1rem, 720px);
    max-height: 96vh;
    border-radius: 1.5rem;
    padding: 1rem;
  }

  .cookie-option {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-toggle-control {
    align-self: flex-end;
  }

  .cookie-settings-fab {
    height: 3.35rem;
    width: 3.35rem;
  }
}

@media (min-width: 640px) {
  .hero-action-group {
    flex-wrap: wrap;
  }

  .hero-action-group .hero-action-button {
    white-space: nowrap;
  }
}
