/* =========================================================
   RESET & ROOTS
   ========================================================= */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #eaf6f0;
  background: #0d1c1a;
  line-height: 1.6;
}

*, *::before, *::after {
  box-sizing: inherit;
}

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

ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s cubic-bezier(.4,0,.2,1);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  margin-bottom: 16px;
}

h1 {
  font-size: 2.8rem;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  line-height: 1.2;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.25;
}

p {
  font-size: 1rem;
  color: #eaf6f0;
  margin-bottom: 16px;
}

strong, b {
  color: #f9b26d;
  font-weight: 700;
}

code {
  background: #132826;
  padding: 2px 5px;
  border-radius: 3px;
}

/* =========================
   VARIABLES
   ========================= */
:root {
  --color-primary: #276749;
  --color-secondary: #181f1c;
  --color-accent: #A86022;
  --color-accent-light: #FFBB66;
  --color-bg: #121b18;
  --color-bg-light: #253532;
  --color-fg: #eaf6f0;
  --color-white: #fff;
  --color-neutral: #2f4538;
  --color-link: #ffaf4f;
  --color-footer: #181f1c;
  --font-display: 'Montserrat', 'Roboto', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --shadow-big: 0 4px 32px 0 rgba(150,255,164,0.055);
  --shadow-mid: 0 2px 16px 0 rgba(40,255,100,0.08);
  --shadow-neon: 0 0 4px #45f8ab, 0 0 16px #6ef0c9;
  --radius: 16px;
  --radius-lg: 28px;
  --transition: 0.24s cubic-bezier(.4,0,.2,1);
  --gradient-primary: linear-gradient(90deg,#20634c 0%, #192f25 50%,#1d4541 100%);
  --gradient-accent: linear-gradient(90deg,#A86022 0%,#ffbd60 100%);
}

/* =========================================================
   GENERAL LAYOUT
   ========================================================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

@media (max-width: 768px) {
  .section {
    padding: 28px 8px;
    margin-bottom: 32px;
  }
  .container {
    padding: 0 8px;
  }
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
header {
  background: var(--gradient-primary);
  padding: 0;
  box-shadow: 0 2px 16px 0 rgba(40,255,160,0.14);
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: 66px;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 20px;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.main-nav a {
  color: #eaf6f0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 16px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover,
.main-nav a:focus {
  background: #1e3b2c;
  color: var(--color-accent-light);
}

.cta.primary {
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  outline: none;
  padding: 12px 24px;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px 0 rgba(168,96,34, 0.16);
  cursor: pointer;
  transition: background 0.22s;
  letter-spacing: 0.03em;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #ffbb66;
  color: #1e2c2b;
  box-shadow: 0 0 18px 0 #A86022;
}

/* Hamburger menu toggle button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-accent-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.18s;
  z-index: 501;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #1c2126;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta.primary {
    display: none;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(14, 27, 25, 0.99);
  backdrop-filter: blur(0.5px);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 500;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -6px 0 80px #45d5ab88;
}

.mobile-menu-close {
  background: none;
  color: var(--color-accent-light);
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  margin: 24px 22px 12px auto;
  display: block;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #26322b;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: var(--font-display);
  padding: 13px 32px;
  border-radius: 26px;
  text-shadow: 0 2px 24px #44d19e44;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: #29231f;
}

@media (max-width: 500px) {
  .mobile-nav a {
    font-size: 1.08rem;
    padding: 10px 16px;
  }
}


/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  background: linear-gradient(100deg,#165d3d 20%,#206555 80%,#191e19 100%);
  padding: 60px 0 48px 0;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero h1 {
  color: #fff;
  text-shadow: 0 2px 24px #45fcab26, 0 0 4px #2fb48a44;
}
.hero p {
  color: #eaf6f0;
  font-size: 1.22rem;
  margin-bottom: 24px;
  max-width: 600px;
}
.hero .cta.primary {
  margin-top: 8px;
  font-size: 1.09rem;
}

/* =========================================================
   FLEX CONTAINERS & CARDS
   ========================================================= */
.section,
.features,
.about-short,
.services,
.news,
.cta,
.newsletter-cta,
.about,
.team,
.about-concept,
.legal,
.contact,
.thankyou {
  width: 100%;
}

.card-container,
.feature-grid,
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  background: #15362e;
  border-radius: var(--radius);
  box-shadow: var(--shadow-mid);
  position: relative;
  transition: box-shadow var(--transition), transform 0.15s;
  overflow: hidden;
}
.card:hover {
  box-shadow: 0 2px 42px #58eabb42;
  transform: translateY(-4px) scale(1.015);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-grid .feature {
  background: #192f25;
  border-radius: var(--radius);
  padding: 28px 22px 20px 22px;
  box-shadow: 0 2px 14px #1c5c3c44;
  flex: 1 1 256px;
  max-width: 320px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, transform 0.16s;
  margin-bottom: 20px;
  border-left: 3px solid var(--color-accent);
  position: relative;
}
.feature-grid .feature img {
  width: 38px; height: 38px; margin-bottom: 7px;
  filter: drop-shadow(0 0 6px #58eabb99);
}
.feature-grid .feature h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 7px;
}
.feature-grid .feature p {
  color: #eaf6f0;
  font-size: 0.99rem;
}
.feature-grid .feature:hover {
  box-shadow: 0 2px 36px var(--color-accent-light), 0 0 12px #17674988;
  transform: translateY(-5px) scale(1.025);
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
  }
  .feature-grid .feature { max-width: none; }
}

.team-bios {
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 0;
}
.team-bios .bio {
  background: #172715;
  padding: 22px 18px;
  border-radius: var(--radius);
  box-shadow: 0 2px 18px #ffeee911;
  flex: 1 1 260px;
  min-width: 180px;
  transition: box-shadow .18s, transform .13s;
  margin-bottom: 20px;
  border-left: 4px solid #A86022;
}
.team-bios .bio:hover {
  box-shadow: 0 2px 32px #ff993333, 0 0 6px #43c58b55;
  transform: scale(1.018);
}

@media (max-width: 700px) {
  .team-bios { flex-direction: column; gap: 18px; }
}


/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  background: #f9fafb;
  padding: 48px 0 44px 0;
  margin-bottom: 0;
}
.testimonials h2 {
  color: var(--color-primary);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  background: #b5b1b1;
  color: #23241f;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 24px #a860221c;
  min-width: 260px;
  max-width: 400px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  border-left: 4px solid #A86022;
  font-size: 1.09rem;
  transition: box-shadow 0.18s, transform 0.14s;
}
.testimonial-card strong {
  color: #276749;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  margin-top: 2px;
}
.testimonial-card:hover {
  box-shadow: 0 3px 32px #ff983326, 0 0 12px #45eabb3f;
  transform: translateY(-2px) scale(1.012);
}
@media (max-width: 900px) {
  .testimonial-list { flex-direction: column; }
}


/* =========================================================
   LISTS, UL, OL & DETAILS
   ========================================================= */
ul, ol {
  margin-bottom: 16px;
  padding-left: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #eaf6f0;
  line-height: 1.6;
  position: relative;
}
ul li:before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  display: inline-block;
  border-radius: 50%;
  margin-right: 12px;
  margin-bottom: -1.5px;
}
.about-short ul li, .about ul li, .about-concept ul li {
  color: #eaf6f0;
}

/* Contact details use own style */
.contact-details {
  display: flex;        
  flex-direction: column;
  gap: 13px;
  margin-bottom: 16px;
}
.contact-details li {
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  color: #eaf6f0;
  margin-bottom: 3px;
  gap: 13px;
}
.contact-details img {
  margin-right: 7px;
  width: 22px; height: 22px;
}

/* =========================================================
   CTA, BUTTONS, LINKS
   ========================================================= */
.cta {
  display: inline-block;
  background: var(--gradient-accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  border: none;
  outline: none;
  padding: 12px 27px;
  border-radius: var(--radius);
  box-shadow: 0 2px 11px #a860222b;
  font-size: 1.06rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, color 0.13s, box-shadow 0.18s, transform 0.15s cubic-bezier(.4,0,.2,1);
  margin: 0 0 0 0;
  margin-bottom: 20px;
}
.cta:hover, .cta:focus {
  background: #ffeee9;
  color: #1c2822;
  box-shadow: 0 0 24px #ffbb6688;
  transform: translateY(-2px) scale(1.035);
}

button, .button, input[type=submit], input[type=button] {
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  border: none;
  outline: none;
  padding: 12px 22px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.16s, color 0.1s, box-shadow 0.19s, transform 0.13s;
}
button:hover, .button:hover, input[type=submit]:hover, input[type=button]:hover {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 6px 42px #a8602288;
  transform: scale(1.023);
}

/* =========================================================
   SERVICES, ABOUT & LEGAL SECTIONS
   ========================================================= */
.services ul li,
.news ul li,
.legal ul li {
  color: #eaf6f0;
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 6px;
}
.services ul li strong,
.news ul li strong,
.legal ul li strong {
  color: var(--color-accent);
  font-weight: 700;
}

.legal {
  background: #17271b;
  color: #eaf6f0;
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: 32px 0 32px 0;
}
.legal h1, .legal h2, .legal h3 {
  color: #fff;
}
.legal p {
  color: #eaf6f0;
}

/* =========================================================
   NEWSLETTER / CTA & THANK YOU
   ========================================================= */
.newsletter-cta,
.cta {
  background: linear-gradient(100deg,#1f493b 0%, #253638 70%, #2b2f2b 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 34px #167a4624;
  text-align: center;
  padding: 40px 0;
  margin-bottom: 60px;
}
.newsletter-cta h2,
.cta h2 {
  color: var(--color-accent);
  margin-bottom: 14px;
}

.thankyou {
  min-height: 400px;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg,#1d4541 0%,#276749 100%);
}
.thankyou .content-wrapper {
  align-items: center;
  text-align: center;
}
.thankyou .cta {
  margin-top: 20px;
  margin-bottom: 24px;
}
.thankyou .followup {
  margin-top: 22px;
  color: #ffe2c0;
  background: #062313;
  border-radius: 13px;
  padding: 6px 22px;
  font-size: 0.99rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--color-footer);
  color: #eaf6f0;
  font-size: 1rem;
  padding: 48px 0 18px 0;
  box-shadow: 0 -3px 18px #2e4d3c42;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #b7ffdf;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.14s, color 0.08s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #23392e; color: var(--color-accent);
}
.footer-contact {
  color: #eaf6f0;
  font-size: 0.99rem;
  line-height: 1.5;
  margin-bottom: 4px;
}
.footer-contact img {
  width: 20px; height: 20px; margin-right: 6px;
}
footer p:last-child {
  color: #717c74;
  font-size: .96rem;
  margin-top: 12px;
}

@media (max-width: 700px) {
  footer .container {
    padding: 0 8px;
    gap: 8px;
  }
  .footer-nav {
    gap: 12px;
  }
}

/* =========================================================
   COOKIE BANNER & MODAL
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #27342f;
  box-shadow: 0 -4px 32px #45cda660;
  color: #fff;
  padding: 22px 16px 22px 16px;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: bannerFadeIn 0.7s;
}
@keyframes bannerFadeIn {
  from { transform: translateY(96px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  max-width: 500px;
  line-height: 1.4;
  margin-bottom: 0;
  color: #fff;
}
.cookie-banner-buttons {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-banner .cookie-btn {
  background: var(--color-accent);
  color: #fff;
  border: none;
  outline: none;
  padding: 8px 20px;
  margin: 0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 14px #f9ab3422;
  transition: background 0.14s, color 0.14s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #ffbb66;
  color: #181f1c;
}
.cookie-banner .cookie-settings {
  background: #17251e;
  color: #fb0;
  border: 1px solid #a86022;
  font-weight: 500;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  color: #1e2822;
  background: #ffe6ce;
  border-color: #ffbb66;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 18px;
    padding: 16px 4px;
    font-size: .99rem;
  }
  .cookie-banner-buttons { gap: 10px; }
}

.cookie-modal-overlay {
  background: rgba(21,24,22,0.87);
  position: fixed; z-index: 10000;
  left:0; top:0; width:100vw; height:100vh;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(.4,0,.2,1);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #1b2c26;
  color: #fff;
  padding: 36px 28px 26px 28px;
  border-radius: 20px;
  box-shadow: 0 4px 40px #45eabb44;
  min-width: 320px;
  max-width: 96vw;
  font-size: 1.03rem;
  position: relative;
  animation: modalIn .32s cubic-bezier(.68, .1, .46, 1.12);
}
@keyframes modalIn {
  from { transform: scale(0.88) translateY(50px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--color-accent);
  margin-bottom: 13px;
}
.cookie-modal ul {
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-weight: 500;
  color: #eaf6f0;
  font-size: 1.05rem;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  background: #233e2d;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  border: 1.5px solid #419d59;
  margin-right: 6px;
}
.cookie-toggle input[type=checkbox] {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}
.cookie-toggle span {
  display: block;
  width: 18px;
  height: 18px;
  background: var(--color-accent);
  border-radius: 50%;
  position: absolute;
  top: 1.5px;
  left: 2px;
  transition: left .19s;
}
.cookie-toggle input[type=checkbox]:checked + span {
  left: 20px;
  background: #26da88;
}
.cookie-modal .modal-actions {
  display: flex; gap: 16px; margin-top: 16px;
}
.cookie-modal .modal-btn {
  background: var(--color-accent);
  color: #fff;
  padding: 9px 22px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  margin-right: 0;
  transition: background 0.17s, color 0.14s;
}
.cookie-modal .modal-btn:hover, .cookie-modal .modal-btn:focus {
  background: #ffbb66;
  color: #27342f;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  color: #eee;
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.3rem;
  cursor: pointer;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: #ffbb66;
}

/* =========================================================
   RESPONSIVE HELPERS
   ========================================================= */
@media (max-width: 800px) {
  .feature-grid, .team-bios, .testimonial-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 14px;
  }
}
@media (max-width: 500px) {
  header img {
    height: 42px;
  }
  h1 { font-size: 2.02rem; }
  h2 { font-size: 1.32rem; }
  h3 { font-size: 1.05rem; }
  .hero, .section, .thankyou, .newsletter-cta, .cta {padding: 24px 0;}
}

/* =========================================================
   ANIMATION CLASSES & MICRO-INTERACTIONS
   ========================================================= */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.3s forwards;
}
@keyframes fadeIn {
  to {opacity:1;}
}

/* =====================================
   PRINT OVERRIDE
   ===================================== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {display: none !important;}
}
