/* ================== CSS RESET & NORMALIZATION ================== */
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, hgroup,
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  text-decoration: none;
  color: inherit;
}
img {
  border: none;
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  border: none;
  outline: none;
  background: none;
}
button {
  cursor: pointer;
  background: none;
}

/* ================== BRAND VARIABLES ================== */
:root {
  --color-primary: #2C3E50;
  --color-secondary: #27AE60;
  --color-accent: #E5E9F2;
  --color-light: #FFFFFF;
  --color-dark: #181A1B;
  --color-grey: #F6F8FC;
  --color-neutral: #B6C2D1;
  --color-shadow: rgba(44,62,80,0.06);
  --color-testimonial-bg: #F5F7FB;
  --transition: 0.28s cubic-bezier(0.33,1,0.68,1);
  --border-radius: 14px;
  --shadow-lg: 0 4px 32px rgba(44,62,80,0.10);
  --shadow: 0 2px 10px rgba(44,62,80,0.08);
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: var(--color-primary);
  background: var(--color-accent);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 28px;
  line-height: 1.12;
}
h2 {
  font-size: 2rem;
  margin-bottom: 22px;
  line-height: 1.15;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  line-height: 1.18;
}
h4 {
  font-size: 1.04rem;
  margin-bottom: 10px;
}
p, ul, ol, blockquote {
  color: var(--color-primary);
  margin-bottom: 14px;
  font-size: 1rem;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--color-testimonial-bg);
  border-left: 4px solid var(--color-secondary);
  margin-bottom: 32px;
  margin-top: 12px;
  padding: 18px 28px;
  font-weight: 500;
  font-size: 1.22rem;
  color: var(--color-primary);
  border-radius: var(--border-radius);
}
ul, ol {
  margin-bottom: 20px;
  padding-left: 25px;
}
ul li, ol li {
  margin-bottom: 8px;
  list-style: disc inside;
  color: var(--color-primary);
}
a {
  color: var(--color-secondary);
  transition: color var(--transition);
}
a:hover, a:focus {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ================== HEADER & NAVIGATION ================== */
header {
  background: var(--color-light);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 11;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  height: 40px;
  width: auto;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--color-primary);
  padding: 8px 4px;
  border-radius: 4px;
  position: relative;
}
.main-nav a::after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background: var(--color-secondary);
  transition: width var(--transition);
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 2px;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}

/* ================== CTAs & BUTTONS ================== */
.cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--color-secondary);
  color: var(--color-light);
  border-radius: calc(var(--border-radius) / 1.3);
  padding: 13px 36px;
  font-size: 1.075rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px rgba(39, 174, 96, .10);
  border: 2px solid var(--color-secondary);
  display: inline-block;
  margin-top: 16px;
  outline: none;
  position: relative;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-light);
  box-shadow: 0 4px 18px 0 rgba(44,62,80,.13);
  transform: translateY(-2px) scale(1.04) skewX(-5deg);
}

button, .btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 11px 24px;
  border-radius: calc(var(--border-radius) / 1.3);
  background: var(--color-secondary);
  color: var(--color-light);
  border: none;
  font-weight: 600;
  margin-right: 12px;
  box-shadow: 0 2px 8px rgba(39, 174, 96, .07);
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
}
button:hover, button:focus, .btn:hover, .btn:focus {
  background: var(--color-primary);
  color: var(--color-accent);
  box-shadow: 0 4px 18px 0 rgba(44,62,80,.12);
}

/* ================== BURGER MENU (Mobile) ================== */
.mobile-menu-toggle {
  font-size: 2rem;
  color: var(--color-primary);
  background: none;
  border: none;
  margin-left: 18px;
  z-index: 6001;
  display: none;
  line-height: 1;
  padding: 8px;
  border-radius: 7px;
  box-shadow: 0 1px 4px rgba(44,62,80,0.08);
  transition: background var(--transition);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-accent);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-light);
  box-shadow: var(--shadow-lg);
  transform: translateX(-100vw);
  transition: transform var(--transition);
  z-index: 6000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-primary);
  margin: 24px 30px 12px 0;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 6002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  padding: 52px 36px 0 48px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  color: var(--color-primary);
  padding: 12px 5px;
  border-radius: 6px;
  width: 100%;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  header .cta-primary {
    display: none;
  }
}
@media (max-width: 575px) {
  .mobile-nav {
    padding: 38px 14px 0 24px;
    gap: 18px;
  }
  .mobile-menu-close {
    margin-right: 10px;
  }
}

/* ================== HERO SECTION ================== */
.hero-section {
  background: var(--color-grey);
  min-height: 398px;
  display: flex;
  align-items: center;
  border-bottom: 4px solid var(--color-secondary);
  clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
}
.hero-section .container {
  justify-content: center;
}
.hero-section .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 700px;
  gap: 22px;
}
.hero-section h1 {
  color: var(--color-primary);
  letter-spacing: 1.5px;
}
.hero-section p {
  color: var(--color-primary);
  font-size: 1.18rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ================== SECTIONS, LAYOUT & FLEXBOX UTILS ================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
section:last-child {
  margin-bottom: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.feature-grid, .service-list, .catalog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature {
  background: var(--color-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 28px 24px 22px 24px;
  min-width: 260px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  border: 2.2px solid var(--color-accent);
  transition: box-shadow var(--transition), border var(--transition);
  margin-bottom: 20px;
  position: relative;
}
.feature:hover, .feature:focus-within {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
  z-index: 2;
}
.feature img {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
}
.service-tile {
  background: var(--color-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 30px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border: 2.2px solid var(--color-accent);
  min-width: 260px;
  max-width: 340px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), border var(--transition);
}
.service-tile:hover, .service-tile:focus-within {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}
.service-tile img {
  width: 45px;
  height: 45px;
  margin-bottom: 13px;
}
.catalog-list {
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.training-item {
  background: var(--color-light);
  border-radius: var(--border-radius);
  padding: 24px 18px 16px 18px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  border: 2px solid var(--color-accent);
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--transition), border var(--transition);
}
.training-item:hover, .training-item:focus-within {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}
.training-item h3 {
  margin-bottom: 2px;
}
.tag {
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 0.9rem;
  border-radius: 6px;
  padding: 3px 12px;
  font-weight: 500;
  align-self: flex-start;
  margin-top: 8px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  border: 2px solid var(--color-accent);
  transition: box-shadow var(--transition), border var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-image-section > * {
  flex: 1 1 320px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-testimonial-bg);
  border-left: 5px solid var(--color-secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  font-family: 'Montserrat', Arial, sans-serif;
  max-width: 470px;
  min-width: 230px;
}
.testimonial-card p {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 1.09rem;
  margin-bottom: 6px;
}
.testimonial-meta {
  display: flex;
  flex-direction: row;
  gap: 14px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-primary);
}
.company-logos {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 20px;
}
.company-logos img {
  width: 50px;
  height: 50px;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

/* ================== BLOG STYLE ================== */
input[type="text"] {
  display: block;
  width: 100%;
  max-width: 380px;
  background: var(--color-light);
  border: 2px solid var(--color-accent);
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 18px;
  transition: border var(--transition), box-shadow var(--transition);
}
input[type="text"]:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 2px var(--color-secondary);
}
.post-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.post-list li {
  background: var(--color-light);
  border-left: 4px solid var(--color-secondary);
  padding: 14px 18px;
  border-radius: var(--border-radius);
  transition: box-shadow var(--transition), border var(--transition);
  box-shadow: var(--shadow);
  font-size: 1.06rem;
}
.post-list li .category {
  background: var(--color-accent);
  color: var(--color-primary);
  margin-left: 12px;
  padding: 2px 7px;
  font-size: 0.9rem;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
}
.post-list li a:hover, .post-list li a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* ================== FOOTER ================== */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 44px 0 28px 0;
}
footer .container {
  gap: 22px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  opacity: 0.88;
  letter-spacing: 1px;
  padding: 5px 0;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  color: var(--color-secondary);
  background: var(--color-grey);
}
.company-info {
  font-size: 0.95rem;
  margin-bottom: 3px;
}
.company-info a {
  color: var(--color-secondary);
  text-decoration: underline;
}
footer p {
  margin-bottom: 0;
  color: var(--color-accent);
  font-size: 0.91rem;
  opacity: 0.90;
}

/* ================== COOKIE CONSENT BANNER ================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--color-light);
  color: var(--color-primary);
  box-shadow: 0 -2px 24px 0 rgba(44,62,80,0.13);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 22px 22px 30px;
  z-index: 7000;
  font-size: 1.01rem;
  animation: cookieSlideUp 0.5s cubic-bezier(.77,0,.18,1) 1;
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 13px;
}
.cookie-banner button {
  margin-right: 0;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 0.96rem;
  font-weight: 600;
}
.cookie-banner .btn-secondary {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
  margin-left: 5px;
  transition: background var(--transition), color var(--transition);
}
.cookie-banner .btn-secondary:hover, .cookie-banner .btn-secondary:focus {
  background: var(--color-secondary);
  color: var(--color-light);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 7100;
  background: rgba(44,62,80,0.40);
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal .cookie-modal-content {
  background: var(--color-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 42px 36px 32px 36px;
  max-width: 440px;
  width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  animation: cookiePopIn 0.32s cubic-bezier(.83,0,.17,1) 1;
}
@keyframes cookiePopIn {
  from { transform: scale(0.95) translateY(30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 1.6rem;
  color: var(--color-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  color: var(--color-secondary);
}
.cookie-modal h3 {
  margin-bottom: 6px;
  color: var(--color-primary);
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
  font-size: 1.01rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-secondary);
}
.cookie-modal .cookie-actions {
  margin-top: 12px;
  display: flex;
  gap: 11px;
}
.cookie-modal label {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1rem;
}

/* ================== RESPONSIVE BREAKPOINTS ================== */
@media (max-width: 1023px) {
  .container {
    max-width: 92vw;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .header .container, .footer .container {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .catalog-list {
    gap: 18px;
  }
  .feature, .service-tile, .training-item {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .content-grid, .feature-grid, .service-list, .catalog-list, .card-container, .testimonial-slider {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .section, section {
    padding: 28px 6px;
    margin-bottom: 36px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .hero-section {
    min-height: 250px;
    padding: 30px 0;
  }
  .hero-section .content-wrapper {
    gap: 16px;
    max-width: 98vw;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.68rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
  .footer-nav {
    gap: 13px;
    flex-direction: column;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 17px 6px 11px 9px;
  }
}

/* ================== ACCESSIBILITY FOCUS ================== */
:focus {
  outline: 2px solid var(--color-secondary) !important;
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 8000;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  background: var(--color-accent);
  padding: 8px 16px;
  border-radius: 7px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;
}

/* ========== MISCELLANEOUS STRUCTURED GEOMETRIC STYLES ========== */
hr {
  height: 3px;
  background: var(--color-secondary);
  border: none;
  border-radius: 3px;
  margin: 30px 0;
}
section {
  border-radius: calc(var(--border-radius) * 0.4);
}

/* Bordered/angled dividers (for geometric/structured look) */
.section > .container {
  border-top: 3px solid var(--color-accent);
  border-radius: 0 0 calc(var(--border-radius)/1.5) calc(var(--border-radius)/1.5);
  margin-bottom: 0;
}

/* ================== UTILS ================== */
.text-center {
  text-align: center;
}
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.w-100 { width: 100%; }
.flex-between { display: flex; justify-content: space-between; }
.d-flex { display: flex; }

/* ================== END OF STRUCTURED GEOMETRIC THEME ================== */
