:root {
  --color-bg: #091413;
  --color-surface: #11211e;
  --color-primary: #285a48;
  --color-secondary: #408a71;
  --color-accent: #b0e4cc;
  --color-text: #eaf7f1;
  --color-muted: #b8d2c8;
  --font-heading: "Urbanist", "Segoe UI", sans-serif;
  --font-body: "Urbanist", "Segoe UI", sans-serif;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.25);
  --shadow-focus: 0 0 0 3px rgba(176, 228, 204, 0.45);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --max-width: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: radial-gradient(circle at top, #153128, var(--color-bg) 60%);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: #d8ffed;
}

.wrap {
  width: min(var(--max-width), 92%);
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(9, 20, 19, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(176, 228, 204, 0.15);
}

.brand {
  display: block;
}

.brand img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.brand img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.brand:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0 0 var(--space-2);
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

nav a {
  background: rgba(64, 138, 113, 0.18);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

nav a:hover {
  background: rgba(176, 228, 204, 0.16);
}

.hero {
  min-height: 88vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-6) 0;
  background: linear-gradient(rgba(9, 20, 19, 0.52), rgba(9, 20, 19, 0.82)),
    url("../images/3.jpg") center/cover no-repeat;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
}

.hero p {
  max-width: 760px;
  margin: 0 auto var(--space-3);
  color: var(--color-muted);
}

.button-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 700;
}

.btn {
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-secondary);
  color: #fff;
  padding: 0.72rem 1.1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: #5fa98f;
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(176, 228, 204, 0.35);
}

.btn.ghost {
  background: rgba(176, 228, 204, 0.09);
}

main section {
  padding: var(--space-5) 0;
}

.grid-two {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-4);
  align-items: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
}

.split-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2);
}

.local-block {
  border-left: 4px solid var(--color-secondary);
  background: rgba(64, 138, 113, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-2);
}

.fact-list {
  margin: 0;
  padding-left: 1.2rem;
}

.fact-list li {
  margin-bottom: 0.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(176, 228, 204, 0.15);
  font-size: 0.85rem;
  font-weight: 600;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}

.tab-btn[aria-selected="true"] {
  background: var(--color-secondary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeUp 0.4s ease;
}

.accordion-item {
  border: 1px solid rgba(176, 228, 204, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-1);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: rgba(64, 138, 113, 0.12);
  color: var(--color-text);
  border: 0;
  padding: 0.95rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1rem;
}

.accordion-item.open .accordion-panel {
  max-height: 200px;
  padding: 0.8rem 1rem 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.calculator {
  display: grid;
  gap: var(--space-1);
}

.result-box {
  padding: var(--space-2);
  border-radius: var(--radius-md);
  background: rgba(176, 228, 204, 0.08);
  border: 1px solid rgba(176, 228, 204, 0.2);
}

article,
.card,
form,
.panel {
  background: rgba(17, 33, 30, 0.9);
  border: 1px solid rgba(176, 228, 204, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--space-3);
}

h2,
h3 {
  margin-top: 0;
  font-family: var(--font-heading);
}

.muted {
  color: var(--color-muted);
}

form {
  max-width: 720px;
}

label {
  display: block;
  margin-bottom: var(--space-1);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(176, 228, 204, 0.35);
  background: #0b1d1a;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: 0;
  border-color: var(--color-accent);
  box-shadow: var(--shadow-focus);
}

.field {
  margin-bottom: var(--space-2);
}

.error {
  color: #ffb9b9;
  font-size: 0.9rem;
  min-height: 1.1rem;
}

.checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: var(--space-2);
}

.checkbox input {
  width: auto;
  margin-top: 0.2rem;
}

iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius-lg);
}

footer {
  background: #07100f;
  border-top: 1px solid rgba(176, 228, 204, 0.15);
  padding: var(--space-4) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3);
}

.cookie-banner,
.cookie-panel {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 760px);
  background: #122622;
  border: 1px solid rgba(176, 228, 204, 0.2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  z-index: 60;
}

.cookie-banner {
  bottom: var(--space-2);
  padding: var(--space-2);
}

.cookie-panel {
  bottom: calc(var(--space-2) + 170px);
  padding: var(--space-3);
  display: none;
}

.cookie-actions {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
  margin-top: var(--space-2);
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: var(--space-1) 0;
}

.toggle-row input {
  width: 20px;
  height: 20px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {

  .grid-two,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 76vh;
  }

  .hero h1 {
    font-size: 1.9rem;
  }
}