/* ===== CSS RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #F5F4E7;
  background: #23282E;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #9BC2B1;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff;
}
ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #F5F4E7;
  font-weight: 700;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 1px 4px rgba(34,39,47,0.22);
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
p, .text-section p, .content-wrapper > p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #CFD3D6;
}
strong {
  font-weight: 700;
}

/* ===== BRAND COLORS ===== */
:root {
  --primary: #254055;
  --secondary: #9BC2B1;
  --accent: #F5F4E7;
  --dark-bg: #23282E;
  --light-bg: #30353D;
  --metallic: #7a868f;
  --danger: #C34747;
  --success: #39986b;
  --shadow: 0 2px 10px 0 rgba(30,34,38,0.11);
}

/* ===== CONTAINER & LAYOUTS ===== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.section,
.hero,
.features,
.services,
.testimonials,
.cta,
.about,
.team,
.legal,
.location,
.products-list,
.tips,
.solutions,
.articles,
.categories,
.newsletter,
.contact,
.thank-you {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--dark-bg);
  box-shadow: 0 2px 10px rgba(54,60,70,0.09);
  padding-top: 0;
  padding-bottom: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  position: relative;
  gap: 18px;
}
header img {
  height: 48px;
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  padding: 6px 4px;
  letter-spacing: 0.03em;
  color: var(--accent);
  opacity: 0.90;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
nav a:hover, nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
.cta-primary {
  background: linear-gradient(91deg, var(--secondary) 90%, #bfcdbf 100%);
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 7px;
  padding: 11px 30px;
  margin-left: 22px;
  box-shadow: 0 2px 10px 0 rgba(155,194,177,0.12);
  cursor: pointer;
  transition: all 0.18s cubic-bezier(.63,.1,.68,.99);
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--primary);
  color: var(--accent);
  border: 2px solid var(--secondary);
  box-shadow: 0 4px 16px 0 rgba(61, 71, 80, .21);
}
.cta-secondary {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 7px;
  padding: 10px 32px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.18s;
}
.cta-secondary:hover, .cta-secondary:focus {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: var(--primary);
}

header .mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: var(--dark-bg);
  border: 2px solid var(--metallic);
  border-radius: 5px;
  color: var(--accent);
  padding: 4px 14px;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.16s;
  z-index: 200;
}
header .mobile-menu-toggle:hover,
header .mobile-menu-toggle:focus {
  background: var(--primary);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 84vw;
  max-width: 340px;
  background: var(--primary);
  box-shadow: 0 0 44px 0 rgba(30,34,38,0.28);
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.73,.07,.55,.92);
  z-index: 1000;
  padding: 28px 28px 38px 30px;
  opacity: 0.97;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  margin-bottom: 28px;
  transition: color 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--accent);
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: border .13s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(115deg, var(--dark-bg) 80%, #313c45 100%);
  min-height: 280px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 14px;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.hero p {
  font-size: 1.15rem;
  color: var(--secondary);
  margin-bottom: 22px;
}

/* ===== FEATURE GRID ===== */
.feature-grid, .category-grid, .team-list, .solution-list, .article-list, .product-list, .testimonial-list, .blog-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 16px;
}

.feature-item, .category-item, .team-member, .solution-card, .article-item, .product-item {
  background: var(--light-bg);
  border-radius: 13px;
  min-width: 225px;
  flex: 1 1 245px;
  box-shadow: 0 2px 9px 0 rgba(40,46,54,0.13);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow 0.17s, transform 0.19s;
  position: relative;
  margin-bottom: 20px;
  border: 1.5px solid rgba(94,109,118,0.12);
}
.feature-item:hover, .category-item:hover, .team-member:hover,
.solution-card:hover, .article-item:hover, .product-item:hover {
  box-shadow: 0 8px 32px 0 rgba(35,58,81,0.19);
  transform: translateY(-6px) scale(1.025);
}
.feature-item img, .category-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  filter: grayscale(0.33) brightness(0.91);
}
.category-item h3, .feature-item h3 {
  margin-bottom: 3px;
  color: var(--secondary);
  font-size: 1.18rem;
}

/* ===== SERVICES ===== */
.services .category-grid {
  gap: 30px;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--light-bg);
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 20px;
  min-width: 250px;
  background: var(--accent);
  color: #23282E;
  border-radius: 12px;
  box-shadow: 0 2px 13px 0 rgba(58,61,69,0.13);
  flex: 1 1 340px;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-text {
  color: #23282E;
  font-size: 1rem;
  font-style: italic;
  margin-right: 8px;
}
.testimonial-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.testimonial-meta span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.99rem;
  font-weight: 600;
  color: #394042;
}
.testimonial-meta img {
  height: 23px;
}

/* ===== TEAM ===== */
.team-list {
  gap: 30px;
}
.team-member {
  background: var(--light-bg);
  border-radius: 10px;
  box-shadow: 0 2px 8px 0 rgba(55,167,144,0.06);
  padding: 22px 20px;
  flex: 1 1 268px;
}
.team-member h3 {
  font-size: 1.11rem;
  margin-bottom: 2px;
  color: var(--secondary);
}
.team-member span {
  font-size: 0.93rem;
  color: #A5BBB4;
}

/* ===== ARTICLE LIST ===== */
.article-list {
  gap: 28px;
}
.article-item {
  background: var(--light-bg);
  border-radius: 10px;
  box-shadow: 0 2px 11px 0 rgba(40,46,54,0.12);
  padding: 20px 20px 18px 20px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 20px;
}
.article-item a {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.97rem;
  transition: text-decoration 0.2s;
  text-decoration: underline dotted 1.5px;
  margin-top: 8px;
}
.article-item a:hover, .article-item a:focus {
  color: var(--primary);
  text-decoration: underline solid 2px;
}

/* ===== PRODUCTS LIST ===== */
.product-list {
  gap: 26px;
}
.product-item h3 {
  color: var(--accent);
  font-size: 1.09rem;
}
.product-item {
  background: var(--light-bg);
  border-radius: 10px;
  box-shadow: 0 2px 11px 0 rgba(40,46,54,0.11);
  padding: 20px 20px 13px 20px;
  flex: 1 1 300px;
  margin-bottom: 20px;
}

/* ===== CTA SECTION ===== */
.cta {
  background: var(--primary);
  color: var(--accent);
  border-radius: 12px;
  box-shadow: 0 4px 18px 0 rgba(51, 61, 72, .12);
  padding: 32px 16px 16px 16px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.cta .content-wrapper {
  align-items: center;
  gap: 12px;
  width: 100%;
}
.cta p {
  text-align: center;
  font-size: 1rem;
  color: var(--accent);
  margin-top: 10px;
}

/* ===== LEGAL & POLICY SECTIONS ===== */
.legal .text-section,
.privacy-policy .text-section,
.rodo .text-section,
.cookies-policy .text-section {
  color: #d8dcdf;
  background: var(--light-bg);
  border-radius: 9px;
  padding: 22px 20px;
  margin-top: 17px;
  box-shadow: 0 2px 10px 0 rgba(30,34,38,0.10);
}

/* ===== CONTACT PAGE ===== */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 10px;
  align-items: flex-start;
}
.info-block {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--light-bg);
  border-radius: 9px;
  padding: 14px 18px;
  min-width: 210px;
  color: var(--accent);
  box-shadow: 0 2px 9px 0 rgba(40,46,54,0.10);
}
.info-block img {
  width: 26px;
}
.location .address-details,
.thank-you .text-section {
  background: var(--light-bg);
  border-radius: 9px;
  padding: 18px 20px;
  margin-top: 13px;
}
.address-details a {
  color: var(--secondary);
  text-decoration: underline dotted 1.5px;
}
.address-details a:hover {
  color: var(--accent);
  text-decoration: underline solid;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark-bg);
  padding: 44px 0 30px 0;
  position: relative;
  border-top: 1.5px solid #364556;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.footer-menu {
  display: flex;
  gap: 30px;
  margin-bottom: 12px;
}
.footer-menu a {
  color: var(--metallic);
  font-size: 0.97rem;
  transition: color 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--accent);
}
.brand-info {
  color: #95999c;
  font-size: 0.97rem;
  text-align: center;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a img {
  height: 28px;
  opacity: 0.90;
  filter: grayscale(0.35) contrast(1.1);
  transition: filter 0.2s, opacity 0.2s;
}
.footer-social a:hover img,
.footer-social a:focus img {
  filter: grayscale(0) drop-shadow(0 0 8px var(--secondary));
  opacity: 1;
}

/* === BLOG CATEGORY === */
.blog-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}
.blog-category-list li {
  background: var(--primary);
  color: var(--accent);
  padding: 7px 16px;
  border-radius: 6px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  font-size: 0.98rem;
  box-shadow: 0 1px 5px 0 rgba(40,46,54,0.11);
}

/* === NEWSLETTER CSS === */
.newsletter-reassurance {
  background: var(--light-bg);
  color: #BFBFBF;
  border-radius: 9px;
  padding: 12px 16px;
  margin-top: 13px;
  font-size: 0.97rem;
}

/* ==== BUTTONS & FORMS ==== */
button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
button:active {
  opacity: 0.96;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1200;
  width: 100vw;
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 -3px 26px 0 rgba(60,66,77,0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 12px 18px 12px;
  font-size: 1rem;
  animation: fadeIn 0.8s;
}
.cookie-banner p {
  color: var(--accent);
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-top: 8px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border-radius: 6px;
  padding: 7px 22px;
  margin: 0 2px;
  border: none;
  background: var(--secondary);
  color: var(--primary);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, border 0.18s;
}
.cookie-btn.cookie-settings {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--secondary);
}
.cookie-btn.cookie-accept {
  background: var(--success);
  color: #fff;
}
.cookie-btn.cookie-reject {
  background: var(--danger);
  color: #fff;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: var(--accent);
  border: 2px solid var(--secondary);
}

/* ===== COOKIE BANNER MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  right: 0; bottom: 0;
  background: rgba(30,34,38,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  animation: fadeIn 0.45s;
}
.cookie-modal {
  background: var(--light-bg);
  color: var(--accent);
  border-radius: 10px;
  box-shadow: 0 6px 42px 0 rgba(60,70,80,0.25);
  max-width: 460px;
  width: 96vw;
  padding: 30px 22px 22px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: slideUp 0.5s;
}
.cookie-modal-close {
  position: absolute;
  top: 11px;
  right: 13px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal h3 {
  margin-bottom: 8px;
  font-size: 1.17rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 7px 0;
}
.cookie-category label {
  font-size: 1.03rem;
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-category input[type="checkbox"])) {
  accent-color: var(--secondary);
}
.cookie-category input[type="checkbox"]:disabled {
  accent-color: #aaa;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-top: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1140px) {
  .container {
    max-width: 98vw;
    padding-left: 9px; padding-right: 9px;
  }
}
@media (max-width: 900px) {
  header .container {
    gap: 13px;
  }
  nav {
    gap: 18px;
  }
  .feature-grid, .category-grid, .team-list, .solution-list, .article-list, .product-list, .testimonial-list {
    gap: 14px;
  }
}
@media (max-width: 820px) {
  .section,
  .hero,
  .features,
  .services,
  .testimonials,
  .cta,
  .about,
  .team,
  .legal,
  .location,
  .products-list,
  .tips,
  .solutions,
  .articles,
  .categories,
  .newsletter,
  .contact,
  .thank-you {
    padding: 22px 6px;
  }
  .feature-item, .category-item, .team-member, .solution-card, .article-item, .product-item {
    min-width: 180px;
    padding: 13px 10px;
    gap: 8px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .container { padding-left: 0; padding-right: 0; }
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  nav {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
    font-size: 0.98rem;
    padding: 8px 13px;
  }
  header .mobile-menu-toggle { display: block; }
  .feature-grid, .category-grid, .team-list, .solution-list, .article-list, .product-list, .testimonial-list {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item, .category-item, .team-member, .solution-card, .article-item, .product-item, .testimonial-card {
    min-width: unset;
    width: 100%;
    margin-bottom: 18px;
    padding: 13px 8px;
  }
  .testimonials, .testimonial-card {
    padding: 18px 0;
  }
  .footer-menu {
    gap: 15px;
    flex-direction: column;
    align-items: center;
  }
  .content-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 600px) {
  .content-wrapper, .container {
    padding-left: 0;
    padding-right: 0;
  }
  footer {
    padding: 24px 0 18px 0;
  }
  .cta {
    padding: 16px 0;
  }
}
@media (max-width: 460px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }
  header img {
    height: 38px;
  }
  .cta-primary, .cta-secondary {
    font-size: 0.91rem;
    padding: 7px 10px;
  }
  .footer-social a img {
    height: 21px;
  }
}

/* ===== FLEX CONTAINER PATTERNS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 11px;
  box-shadow: 0 2px 10px 0 rgba(34,39,47,0.13);
  background: var(--light-bg);
}
.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; }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===== ADDITIONAL UI ===== */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: #2B3B4B;
  border-radius: 7px;
}
::-webkit-scrollbar-track {
  background: #23282E;
}

/* ===== FONT IMPORTS ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
