﻿:root {
  --c-primary: #005461;
  --c-secondary: #018790;
  --c-accent: #00B7B5;
  --c-bg: #F4F4F4;
  --c-text: #153237;
  --c-surface: #ffffff;
  --space-xs: 0.5rem;
  --space-sm: 0.9rem;
  --space-md: 1.4rem;
  --space-lg: 2.4rem;
  --space-xl: 4rem;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-soft: 0 12px 32px rgba(0, 84, 97, 0.12);
  --shadow-strong: 0 20px 50px rgba(0, 84, 97, 0.2);
  --font-main: "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--c-text);
  background: radial-gradient(circle at top right, #ffffff, var(--c-bg));
  line-height: 1.6;
}

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

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

a:hover {
  color: var(--c-accent);
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(244, 244, 244, 0.9);
  border-bottom: 1px solid rgba(0, 84, 97, 0.18);
}

.logo-wrap {
  text-align: center;
  padding-top: var(--space-md);
}

.logo {
  display: block;
}

.logo img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: var(--space-sm) 0 var(--space-md);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(0, 183, 181, 0.16);
  transform: translateY(-2px);
}

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

.hero {
  padding: 5rem 0 2.7rem;
}

.minimal-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.3vw, 3.2rem);
  max-width: 22ch;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-secondary);
  margin-bottom: var(--space-sm);
}

.grid-three,
.timeline-grid,
.footer-grid,
.trust-list,
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card,
.path-item,
.tab-panel,
.trust-banner {
  background: var(--c-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
}

.soft-lift {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.soft-lift:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-strong);
}

.tinted {
  background: linear-gradient(180deg, rgba(0, 183, 181, 0.08), rgba(1, 135, 144, 0.12));
}

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

.btn {
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  padding: 0.72rem 1.3rem;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--c-primary);
  border: 1px solid rgba(0, 84, 97, 0.2);
}

.gallery-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 300px;
  box-shadow: var(--shadow-soft);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

.center,
.cta-center {
  text-align: center;
}

.trust-banner h2 {
  margin-top: 0;
}

.trust-list p {
  margin: 0;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.tabs-head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  align-items: center;
  flex-wrap: wrap;
}

.tab-switch {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  border: 1px solid rgba(0, 84, 97, 0.2);
  background: #fff;
  color: var(--c-primary);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.tab-btn.active {
  background: rgba(0, 183, 181, 0.2);
  border-color: var(--c-secondary);
}

.tab-panel {
  display: none;
  margin-top: var(--space-md);
  animation: fadeSlide 0.5s ease;
}

.tab-panel.active {
  display: block;
}

.charter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.charter-grid ul {
  padding-left: 1.1rem;
  margin: 0;
}

.response-box {
  margin: 1rem 0;
  padding: 0.9rem;
  background: rgba(0, 183, 181, 0.12);
  border-radius: var(--radius-sm);
}

.hint {
  display: block;
  font-size: 0.82rem;
  color: #355a60;
  margin-top: 0.3rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.filter-btn {
  border: 1px solid rgba(0, 84, 97, 0.2);
  border-radius: 999px;
  background: #fff;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
}

.filter-btn.active {
  background: rgba(0, 183, 181, 0.2);
  border-color: var(--c-secondary);
}

.filter-item.is-hidden {
  display: none;
}

.faq-search-wrap input {
  max-width: 520px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-soft);
}

.faq-toggle {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.2rem;
}

.faq-item.open .faq-content {
  max-height: 220px;
  padding-bottom: 1rem;
}

.faq-item.no-match {
  display: none;
}

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

label {
  display: block;
  margin: var(--space-sm) 0 var(--space-xs);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(0, 84, 97, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.72rem;
  font: inherit;
  background: #fff;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(0, 183, 181, 0.36);
  border-color: var(--c-accent);
}

.checkbox-row {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  margin-top: var(--space-md);
}

.checkbox-row input {
  width: auto;
  margin-top: 0.3rem;
}

.error {
  color: #b3261e;
  min-height: 1.1rem;
  font-size: 0.86rem;
}

.site-footer {
  background: #073b42;
  color: #dff7f6;
  padding: 3rem 0;
}

.site-footer a,
.site-footer p,
.site-footer h3 {
  color: #dff7f6;
  margin: 0 0 0.5rem;
  display: block;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(920px, 94%);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-md);
  display: none;
  z-index: 200;
}

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

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 59, 66, 0.45);
  display: none;
  place-items: center;
  z-index: 220;
}

.cookie-panel {
  background: #fff;
  width: min(460px, 92%);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.cookie-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: var(--space-sm) 0;
}

.legal-page {
  max-width: 860px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

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

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

@media (max-width: 980px) {

  .grid-three,
  .timeline-grid,
  .footer-grid,
  .contact-grid,
  .split-layout,
  .gallery-layout,
  .trust-list,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {

  .grid-three,
  .timeline-grid,
  .footer-grid,
  .contact-grid,
  .split-layout,
  .gallery-layout,
  .trust-list,
  .stats-grid,
  .charter-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .main-nav {
    gap: 0.4rem;
  }

  .cookie-actions {
    flex-direction: column;
  }
}