/* =============================
   CSS RESET & BASELINE STYLES  
   ============================= */
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,
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;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #224263;
  background: #f5f5f2;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
  margin: 0;
}

a {
  color: #224263;
  text-decoration: none;
  transition: color 0.2s;
}

a:focus {
  outline: 2px solid #F6A51B;
  outline-offset: 3px;
}

/* Accessibility for focus and contrast */
:focus-visible {
  outline: 2px solid #F6A51B;
  outline-offset: 1px;
}

/* =============================
   BRAND TYPOGRAPHY SCALE
   ============================= */
h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #224263;
  margin-bottom: 24px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #224263;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.2;
  margin-bottom: 12px;
  color: #224263;
}

h4,h5,h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #224263;
}

p, li, label, table, address {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #224263;
  margin-bottom: 14px;
}

strong {
  font-weight: 700;
  color: #224263;
}

/* =============================
   LAYOUT CONTAINERS & SPACING
   ============================= */
.container {
  width: 100%;
  max-width: 1150px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

main {
  flex: 1 1 auto;
  min-height: 70vh;
}

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

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

.text-section {
  padding: 30px 0;
}

.centered {
  align-items: center;
  justify-content: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-grid, .products-grid, .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}

.product-category, .feature-item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0px 3px 16px rgba(34,66,99,0.06);
  flex: 1 1 220px;
  padding: 28px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.25s;
}
.feature-item:hover, .product-category:hover {
  box-shadow: 0px 6px 24px rgba(246,165,27,0.16);
  transform: translateY(-3px) scale(1.025);
}

/* =============================
   HERO SECTION (Index)
   ============================= */
.hero {
  background: #224263;
  color: #fff;
  padding: 64px 0;
  margin-bottom: 60px;
}
.hero .container {
  align-items: flex-start;
  gap: 0;
}
.hero .content-wrapper {
  max-width: 600px;
  color: #fff;
  gap: 24px;
}
.hero h1, .hero p {
  color: #fff;
}
.hero .cta.primary {
  background: #F6A51B;
  color: #224263;
}
.hero .cta.primary:hover {
  background: #fff;
  color: #224263;
  border-color: #F6A51B;
}

/* =============================
   HEADER & NAVIGATION
   ============================= */
header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 2px solid #E3EDF8;
  padding: 0 24px;
  height: 74px;
  box-sizing: border-box;
  position: relative;
  z-index: 102;
}
header img {
  max-height: 48px;
  margin: 8px 0;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.2px;
  padding: 10px 0;
  transition: color 0.2s;
  color: #224263;
  position: relative;
  border: none;
  background: none;
}
header nav a:hover {
  color: #F6A51B;
}
header nav a.cta.primary {
  background: #F6A51B;
  color: #224263;
  padding: 10px 22px;
  border-radius: 32px;
  font-weight: 800;
  font-size: 1.1rem;
  margin-left: 10px;
  box-shadow: 0 4px 12px rgba(34,66,99,0.12);
  border: 2px solid #F6A51B;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
header nav a.cta.primary:hover {
  background: #224263;
  color: #fff;
  border-color: #F6A51B;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: #224263;
  cursor: pointer;
  margin-left: 24px;
  z-index: 120;
  display: none;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
}

/* =============================
   MOBILE MENU
   ============================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #224263;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.7,0.3, 0.3, 1.4);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  justify-content: flex-start;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F6A51B;
  font-size: 2.4rem;
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 10009;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
  margin-top: 100px;
  padding: 24px 44px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 0;
  width: 100%;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover {
  background: #F6A51B;
  color: #224263;
}

@media (max-width: 1140px) {
  .container {
    max-width: 980px;
  }
}

@media (max-width: 900px) {
  .container {
    max-width: 94vw;
  }
}

@media (max-width: 900px) {
  header nav {
    gap: 16px;
  }
  .cta.primary {
    padding: 9px 18px;
    font-size: 1.02rem;
  }
}
@media (max-width: 780px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 781px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =============================
   CARDS, FEATURE, TESTIMONIALS
   ============================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0px 2px 10px rgba(34,66,99,0.07);
  padding: 28px 22px;
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0px 6px 24px rgba(246,165,27,0.11);
  transform: translateY(-2px) scale(1.02);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(34,66,99,0.07);
  color: #224263;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 520px;
  transition: box-shadow .17s, transform .18s;
}
.testimonial-card p {
  font-size: 1.0625rem;
  color: #224263;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
}
.testimonial-card strong {
  color: #224263;
}
.testimonial-card span:last-child {
  color: #F6A51B;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.testimonial-card:hover {
  box-shadow: 0 6px 20px rgba(246,165,27,0.14);
  transform: translateY(-2.5px) scale(1.025);
}

/* =============================
   FAQ, DETAILS ANIMATION
   ============================= */
details {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 1px 8px rgba(34,66,99,0.06);
  margin-bottom: 20px;
  padding: 16px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: box-shadow 0.18s, border 0.16s;
  border: 1.5px solid #E3EDF8;
}
details[open] {
  border-color: #F6A51B;
  box-shadow: 0px 6px 18px rgba(246,165,27,0.11);
}
details summary {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #224263;
  font-size: 1.1rem;
  margin-bottom: 8px;
  outline: none;
}
details p {
  margin-top: 10px;
  font-size: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* =============================
   TABLES & PRICE LISTS
   ============================= */
.price-list,
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(34,66,99,0.08);
}
table th,
table td {
  text-align: left;
  padding: 18px 16px;
}
table th {
  background: #224263;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}
table tr:nth-child(even) td {
  background: #f9fafc;
}

table td {
  border-bottom: 1px solid #e3edf8;
  font-size: 1rem;
  color: #224263;
}

/* =============================
   BUTTONS & CTA STYLES
   ============================= */
.cta, .button, button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  text-transform: none;
  letter-spacing: 0.03em;
  background: #224263;
  color: #fff;
  border: none;
  border-radius: 32px;
  padding: 11px 27px;
  cursor: pointer;
  display: inline-block;
  margin: 12px 4px 0 0;
  box-shadow: 0 2px 8px rgba(34,66,99,0.12);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.14s;
  outline: none;
}
.cta.primary, .button.primary {
  background: #F6A51B;
  color: #224263;
  border: 2px solid #F6A51B;
}
.cta.primary:hover, .button.primary:hover {
  background: #224263;
  color: #fff;
  border-color: #F6A51B;
}
.cta.secondary, .button.secondary {
  background: #fff;
  color: #224263;
  border: 2px solid #224263;
}
.cta.secondary:hover, .button.secondary:hover {
  background: #F6A51B;
  color: #224263;
  border-color: #F6A51B;
}

button:active {
  transform: scale(0.97);
}

/* =============================
   COOKIE CONSENT BANNER
   ============================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20000;
  width: 100vw;
  background: #224263;
  color: #fff;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 34px;
  box-shadow: 0 -4px 18px rgba(34, 66, 99, 0.13);
  transition: transform 0.36s cubic-bezier(.7,0,.7,1.6), opacity .18s;
  opacity: 1;
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner__text {
  font-size: 1.08rem;
  flex: 1 1 0;
  margin-right: 20px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-shrink: 0;
}
.cookie-banner .button,
.cookie-banner .cta {
  min-width: 130px;
  font-size: 1rem;
  padding: 9px 22px;
  border-radius: 20px;
  border: 2px solid transparent;
}
.cookie-banner .button.primary {
  background: #F6A51B;
  color: #224263;
  border: 2px solid #F6A51B;
}
.cookie-banner .button.primary:hover {
  background: #fff;
  color: #224263;
  border-color: #F6A51B;
}
.cookie-banner .button.secondary {
  background: #fff;
  color: #224263;
  border: 2px solid #F6A51B;
}
.cookie-banner .button.secondary:hover {
  background: #F6A51B;
  color: #fff;
}

/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,60%);
  opacity: 0;
  pointer-events: none;
  width: 90vw;
  max-width: 430px;
  background: #fff;
  color: #224263;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(34, 66, 99, .21);
  z-index: 30000;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform .34s cubic-bezier(.79,0,1,.87), opacity .18s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}
.cookie-modal__group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal__row {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cookie-toggle {
  appearance: none;
  width: 40px;
  height: 24px;
  background: #e3edf8;
  border-radius: 12px;
  position: relative;
  transition: background .22s;
  outline: none;
  cursor: pointer;
}
.cookie-toggle::after {
  content: '';
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(34,66,99,.10);
  transition: left .22s, background .22s;
}
.cookie-toggle:checked {
  background: #F6A51B;
}
.cookie-toggle:checked::after {
  left: 18px;
  background: #224263;
}
/* Essential cookies always enabled */
.cookie-modal__row.disabled .cookie-toggle {
  background: #c3c8d3 !important;
  cursor: not-allowed;
}
.cookie-modal__row.disabled label {
  opacity: 0.65;
}
.cookie-modal .button, .cookie-modal .cta {
  width: 100%;
  margin: 0;
  font-size: 1rem;
  padding: 9px 16px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: #F6A51B;
  font-size: 2rem;
  position: absolute;
  top: 18px;
  right: 20px;
  cursor: pointer;
  z-index: 30002;
}

/* =============================
   MISC. & VISUAL DECORATIONS
   ============================= */
div.social-links {
  display: flex;
  gap: 24px;
  margin-top: 7px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0.5px 4px 0 rgba(34,66,99,0.08);
  transition: background 0.16s, box-shadow 0.16s;
  border: 2px solid #F6A51B;
}
.social-links a:hover {
  background: #F6A51B;
  box-shadow: 0 1px 7px 0 rgba(246,165,27,.10);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0;
}
.contact-info img {
  vertical-align: middle;
  width: 22px;
  margin-right: 16px;
  display: inline-block;
}
.contact-info a {
  color: #F6A51B;
  text-decoration: underline;
}

.feature-item img, .product-category img {
  width: 44px;
  height: 44px;
}

/* =============================
   FOOTER
   ============================= */
footer {
  background: #224263;
  color: #fff;
  padding: 34px 0 0 0;
  margin-top: 70px;
  border-top: 4px solid #F6A51B;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 130px;
}
footer nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 15px;
}
footer nav a {
  color: #F6A51B;
  font-family: 'Montserrat',Arial,Helvetica,sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.18s;
}
footer nav a:hover {
  color: #fff;
  text-decoration: underline;
}
footer address {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  color: #fff;
  font-size: 1rem;
  font-style: normal;
  padding-top: 10px;
  opacity: 0.95;
  margin-bottom: 12px;
}
footer address a {
  color: #fff;
  text-decoration: underline;
}

/* =============================
   RESPONSIVE QUERIES (mobile-first)
   ============================= */
@media (max-width: 980px) {
  .container {
    max-width: 98vw;
  }
  .testimonial-card, .feature-item, .product-category {
    flex: 1 1 45%;
    min-width: 180px;
  }
}

@media (max-width: 780px) {
  .feature-grid, .products-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .feature-item, .product-category {
    min-width: 120px;
    width: 100%;
    padding: 18px 12px;
    border-radius: 14px;
  }
  .section {
    margin-bottom: 38px;
    padding: 26px 8px;
  }
  .content-wrapper, .centered {
    gap: 12px;
  }
  .hero {
    padding: 36px 0;
    margin-bottom: 38px;
  }
  .hero .content-wrapper {
    gap: 14px;
  }
  .products-grid {
    gap: 14px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 22px 10px;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    flex-direction: column;
    gap: 8px;
  }
  .price-list, table {
    font-size: 0.96rem;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 2.0rem;
    margin-bottom: 14px;
  }
  h2 {
    font-size: 1.32rem;
    margin-bottom: 12px;
  }
  h3 {
    font-size: 1rem;
    margin-bottom: 9px;
  }
  .testimonial-card, .feature-item, .product-category {
    padding: 13px 7px;
    min-width: unset;
  }
  .cookie-modal {
    padding: 18px 4px;
    max-width: 98vw;
  }
}

/* =============================
   FLEX PATTERNS FOR TEXT-IMAGE & CARDS
   ============================= */
.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: 780px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}

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

/* =============================
   FORM ELEMENTS
   ============================= */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border: 2px solid #E3EDF8;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 10px;
  transition: border-color .16s, box-shadow .13s;
  box-shadow: 0 1px 2px rgba(34,66,99,0.06);
}
input:focus, textarea:focus, select:focus {
  border-color: #F6A51B;
  outline: none;
  box-shadow: 0 2px 8px rgba(246,165,27,0.09);
}
label {
  font-weight: 500;
  margin-bottom: 3px;
  color: #224263;
}

/* =============================
   ANIMATIONS & MICROINTERACTIONS
   ============================= */
.cta, .button, a.cta, a.button, button {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.13s, transform 0.12s;
}
.details[open] summary:after {
  content: '▲';
  font-size: 0.79em;
  margin-left: 8px;
  color: #F6A51B;
}
details summary:after {
  content: '▼';
  font-size: 0.79em;
  margin-left: 7px;
  color: #F6A51B;
}

/* =============================
   GEOMETRIC DECORATIVE (SUBTLE)
   ============================= */
.hero::after {
  content: '';
  display: block;
  position: absolute;
  right: 0; left: 0; bottom: 0;
  height: 90px;
  background: linear-gradient(90deg, #F6A51B 13%, transparent 80%);
  opacity: 0.07;
  z-index: 1;
}
@media (max-width: 780px) {
  .hero::after { display: none; }
}

/* =============================
   Z-INDEX MANAGEMENT
   ============================= */
header { z-index: 1002; }
.mobile-menu { z-index: 9999; }
.cookie-banner, .cookie-modal { z-index: 20000; }

/* =============================
   MINIMUM SPACING ENFORCEMENT
   ============================= */
section, .section, .card, .feature-item, .testimonial-card, .product-category {
  margin-bottom: 20px;
}
.card-container, .feature-grid, .content-grid, .products-grid {
  gap: 20px;
}
/* Guarantee spacing between testimonials, cards, and feature grid */
.testimonial-card + .testimonial-card, .feature-item + .feature-item, .product-category + .product-category {
  margin-top: 20px;
}

@media (max-width: 1080px) {
  header {
    padding: 0 8px;
  }
}

/* =============================
   FIN: END OF CSS                
   ============================= */
