﻿:root {
  --color-primary: #016B61;
  --color-secondary: #70B2B2;
  --color-accent: #9ECFD4;
  --color-muted: #E5E9C5;
  --color-surface: #f8fbfa;
  --color-text: #143935;
  --color-soft: #3d615d;
  --font-main: "Segoe UI", "Roboto", "Inter", sans-serif;
  --font-head: "Orbitron", "Segoe UI", sans-serif;
  --shadow-soft: 0 10px 28px rgba(1, 107, 97, 0.12);
  --shadow-strong: 0 20px 45px rgba(1, 107, 97, 0.2);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
  background: linear-gradient(180deg, #fff 0%, var(--color-surface) 100%);
}

header,
main,
section,
article,
nav,
footer,
figure,
form,
aside {
  width: 100%;
}

header>section,
main>section,
footer>section,
main>article {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

h1,
h2,
h3 {
  margin: 0 0 var(--space-sm);
  line-height: 1.25;
}

h1,
h2 {
  font-family: var(--font-head);
  letter-spacing: 0.02em;
}

p,
ul {
  margin: 0 0 var(--space-md);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: 0.28s ease;
}

a:hover,
a:focus-visible {
  color: #014e46;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

.top-bar {
  background: var(--color-primary);
  color: #fff;
}

.top-bar nav {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-lg);
}

.top-bar a {
  color: #fff;
  font-weight: 600;
}

.main-header {
  background: #fff;
  border-bottom: 1px solid rgba(1, 107, 97, 0.16);
  position: sticky;
  top: 0;
  z-index: 20;
}

.main-header section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
}

.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;
  }
}

.main-header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.main-header nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 var(--space-md);
  border-radius: var(--radius-sm);
  background: var(--color-muted);
  font-weight: 600;
}

.main-header nav a:hover,
.main-header nav a:focus-visible {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.hero {
  padding: var(--space-2xl) 0;
}

.hero article {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.hero figure {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.hero figure img {
  box-shadow: var(--shadow-soft);
  animation: floatTile 6s ease-in-out infinite;
}

.hero figure img:nth-child(2) {
  animation-delay: 0.8s;
}

.hero figure img:nth-child(3) {
  animation-delay: 1.3s;
}

.hero figure img:nth-child(4) {
  animation-delay: 1.9s;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.button {
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-lg);
  font: inherit;
  font-weight: 700;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.button-primary {
  background: var(--color-primary);
  color: #fff;
}

.button-secondary {
  background: var(--color-muted);
  color: var(--color-text);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.tiles,
.cards,
.contact-map,
.form-section,
.policy-content {
  padding: var(--space-xl) 0;
}

.tiles ul,
.cards-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.tiles li {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-lg);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover,
.tiles li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.stat-strip {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: var(--space-lg);
}

.stat-strip article {
  background: rgba(158, 207, 212, 0.22);
  border: 1px solid rgba(1, 107, 97, 0.2);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
}

.interactive-panel {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-lg);
}

.faq details {
  border: 1px solid rgba(1, 107, 97, 0.2);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  background: #fff;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.tab-buttons button[aria-selected="true"] {
  background: var(--color-primary);
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeUp 0.35s ease;
}

.range-value {
  font-weight: 700;
  color: var(--color-primary);
}

.progress {
  height: 10px;
  background: rgba(1, 107, 97, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  transition: width 0.25s ease;
}

.notice {
  margin-top: var(--space-lg);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  background: var(--color-muted);
}

.contact-map article {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr 1fr;
}

iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

form {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-lg);
}

form section {
  display: grid;
  gap: var(--space-md);
}

label {
  display: grid;
  gap: var(--space-xs);
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(1, 107, 97, 0.35);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(1, 107, 97, 0.28);
}

.error {
  min-height: 1.2rem;
  color: #a3072d;
  font-size: 0.9rem;
}

.timeline {
  display: grid;
  gap: var(--space-sm);
}

.timeline article {
  background: #fff;
  border-left: 4px solid var(--color-primary);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

footer {
  margin-top: var(--space-xl);
  background: #073d37;
  color: #e7fbf7;
}

footer section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer a {
  color: #d6f7f2;
}

.cookie-banner {
  position: fixed;
  right: var(--space-md);
  bottom: var(--space-md);
  max-width: 430px;
  z-index: 50;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  background: #fff;
  padding: var(--space-lg);
}

.cookie-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.cookie-panel {
  margin-top: var(--space-md);
  border-top: 1px solid rgba(1, 107, 97, 0.2);
  padding-top: var(--space-md);
}

.toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: 0.45s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatTile {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {

  .hero article,
  .contact-map article {
    grid-template-columns: 1fr;
  }

  .main-header section {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-bar nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}