/* --- CSS RESET & VARIABLES --- */
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;
}
body {
  line-height: 1.6;
  background: #F5F9FD;
  color: #172034;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

:root {
  --primary: #183153;
  --secondary: #D9E6F2;
  --accent: #FFAA2C;
  --muted: #f7f1e2;
  --card-bg: #fff;
  --testimonial-bg: #fefdfe;
  --danger: #ef4c3e;
  --success: #2ab04b;
  --shadow-md: 0 7px 24px rgba(24,49,83,0.08),0 1.5px 6px rgba(24,49,83,0.14);
  --shadow-sm: 0 2px 8px rgba(24,49,83,0.08);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

::-webkit-scrollbar {
  width: 12px;
  background: var(--secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--accent);
}

/* HEADERS & TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
h1 { font-size: 2.4rem; line-height: 1.15; margin-bottom: 20px; }
h2 { font-size: 1.75rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; font-weight: 600; }
h4 { font-size: 1.075rem; font-weight: 600; }

p, li, table, ul, ol, .lead {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #222943;
  font-size: 1rem;
}
.lead { font-size: 1.2rem; font-weight: 500; margin-bottom: 20px; }
strong { font-weight: 600; }

ul, ol {
  padding-left: 28px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 10px;
  position: relative;
}
ul li img {
  margin-right: 10px;
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

hr {
  margin: 36px 0;
  border: none;
  border-bottom: 1px solid #e1e8f0;
}

/* CONTAINERS & LAYOUTS */
.container {
  width: 100%;
  max-width: 1140px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

main {
  min-height: 60vh;
  flex: 1;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--radius-lg);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--card-bg);
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px 26px;
  position: relative;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  transition: transform 0.23s, box-shadow 0.23s;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 34px rgba(24,49,83,.11),0 2.5px 12px rgba(24,49,83,0.16);
}

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

.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--testimonial-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  min-width: 250px;
  max-width: 460px;
  margin-bottom: 20px;
  border-left: 5px solid var(--accent);
}
.testimonial-card p {
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.testimonial-card strong {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}

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

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 20px 18px 18px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.faq-item:hover {
  box-shadow: 0 8px 24px rgba(24,49,83,0.07);
}
.faq-item h3 {
  font-size: 1.12rem;
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* TABLES */
table {
  width: 100%;
  margin-bottom: 18px;
  border-collapse: collapse;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
th, td {
  padding: 12px 14px;
  text-align: left;
  font-size: 1rem;
}
th {
  background-color: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
}
tr:nth-child(even) {
  background-color: var(--secondary);
}
td {
  vertical-align: top;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 30px rgba(24,49,83,0.05);
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
  color: var(--primary);
  position: relative;
  z-index: 2;
}
header nav a.cta {
  background: var(--accent);
  color: #fff;
  padding: 9px 24px;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 2px 3px 8px rgba(255,170,44,0.07);
  margin-left: 12px;
  letter-spacing: 0.01em;
}
header nav a.cta:hover, header nav a.cta:focus {
  background: #f77f00;
  color: #fff;
}
header nav a:hover, header nav a.active {
  background: var(--secondary);
  color: var(--accent);
}
header img {
  height: 44px;
  margin-right: 14px;
  vertical-align: middle;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: var(--radius-md);
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  box-shadow: 1px 2px 8px rgba(24,49,83,.13);
  margin-left: 14px;
  transition: background 0.15s, color 0.15s;
  z-index: 120;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--accent);
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,49,83,0.96);
  z-index: 300;
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 45px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  position: absolute;
  top: 18px;
  right: 26px;
  z-index: 301;
  cursor: pointer;
  transition: color 0.22s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: 18px;
  width: 100%;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  padding: 10px 0 10px 6px;
  border-radius: var(--radius-sm);
  transition: background 0.16s, color 0.15s;
  width: fit-content;
  min-width: 120px;
  letter-spacing: 0.015em;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--accent);
  background: rgba(255,170,44,0.09);
}

@media (max-width: 1122px) {
  .container { max-width: 98vw; }
}

@media (max-width: 990px) {
  .container { max-width: 98vw; }
  .content-wrapper, .card-container, .content-grid, .text-image-section {
    gap: 18px;
  }
  .section { padding: 32px 6vw; }
}
@media (max-width: 820px) {
  .card-container, .content-grid { gap: 14px; }
  .container { padding: 0 10px; }
}
@media (max-width: 900px) {
  header nav { gap: 16px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.32rem; }
  .section { padding: 25px 6vw; }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    padding-right: 4px;
    padding-left: 5px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .section {
    margin-bottom: 38px;
    padding: 20px 2vw;
  }
  .testimonial-card {
    min-width: 180px;
    max-width: 100vw;
    padding: 17px 10px;
  }
  .content-wrapper, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 520px) {
  .section { padding: 12px 0; }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.13rem; }
  .card { padding: 18px 7px; }
  .footer-address {
    font-size: 0.87rem;
    line-height: 1.3;
  }
}

/* BUTTONS & INTERACTIVE */
button, .cta {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background 0.23s, color 0.18s, transform 0.16s, box-shadow 0.11s;
  border: none;
  outline: none;
  cursor: pointer;
}
.cta {
  background: var(--accent);
  color: #fff;
  padding: 12px 32px;
  box-shadow: 2px 6px 18px rgba(255,170,44,0.08);
  display: inline-block;
  letter-spacing: 0.04em;
  margin-top: 12px;
  margin-bottom: 12px;
  text-align: center;
  text-shadow: 0 2px 6px rgba(24,49,83,0.07);
  position: relative;
}
.cta:hover, .cta:focus {
  background: #f77f00;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 32px rgba(255,170,44,0.13);
}

/* SECTIONS, CARDS */
section {
  width: 100%;
  background: none;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  padding: 34px 0 14px 0;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  max-width: 100vw;
}
footer nav {
  display: flex;
  gap: 18px;
  margin-bottom: 10px;
}
footer nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  text-decoration: underline;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.17s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--accent);
  color: var(--primary);
  text-decoration: none;
}
.footer-address {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #e3ebf8;
  opacity: 0.97;
}
.footer-address img {
  height: 26px;
  margin-right: 8px;
}

/* COOKIE CONSENT */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--primary);
  color: #fff;
  padding: 22px 18px;
  z-index: 5000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 22px;
  box-shadow: 0 -4px 16px rgba(24,49,83,0.12);
  animation: bannerIn 0.5s cubic-bezier(.5,1.5,.3,1);
}
@keyframes bannerIn {
  from { transform: translateY(110%); opacity:0;}
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner p {
  color: #fff;
  margin: 0;
  font-size: 1.02rem;
}
.cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-md);
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 18px;
  margin: 0;
  box-shadow: 0 2px 10px rgba(255,170,44,0.13);
  transition: background 0.18s, color 0.19s, box-shadow 0.13s, transform 0.13s;
  cursor: pointer;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: var(--success);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}
.cookie-btn.reject {
  background: var(--danger);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #b72818;
  color: #fff;
}
.cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
  font-weight: 500;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: #fff;
  color: var(--primary);
  outline: 1px solid var(--primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 15px 8px;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 5999;
  left: 0; top: 0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(24,49,83,0.75);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.28s cubic-bezier(.49,1.1,.63,1.13);
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius-lg);
  min-width: 320px;
  max-width: 95vw;
  padding: 34px 24px 22px 28px;
  box-shadow: 0 12px 48px rgba(24,49,83,0.16), 0 1.5px 12px rgba(24,49,83,0.09);
  position: relative;
}
.cookie-modal h2 {
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.38rem;
}
.cookie-modal .cookie-switches {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 20px;
}
.cookie-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.cookie-switch input[type="checkbox"] {
  width: 29px;
  height: 19px;
  accent-color: var(--accent);
}
.cookie-switch.essential label {
  color: var(--success);
  font-weight: bold;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  position: absolute;
  top: 10px; right: 18px;
  cursor: pointer;
  z-index: 7101;
  transition: color 0.16s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--accent);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}
@media (max-width: 520px) {
  .cookie-modal {
    padding: 18px 7px 18px 14px;
    min-width: 95vw;
    font-size: 0.95rem;
  }
  .cookie-modal h2 { font-size: 1.11rem; }
}

/* ARTISTIC STYLE ACCENTS */
h1, h2 {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.section {
  background: linear-gradient(135deg, #fff 80%, rgba(255,170,44,0.18));
  box-shadow: 0 4px 32px rgba(24,49,83,0.06);
}
.card {
  border-left: 7px solid var(--accent);
  background: linear-gradient(99deg, #fff 70%, var(--secondary) 100%);
}
.card:after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 32px; height: 32px;
  background: url('/assets/icons/icon-speed.svg') no-repeat center center;
  background-size: 28px 28px;
  opacity: 0.13;
  pointer-events: none;
}

.testimonial-card {
  background: var(--secondary);
  border-left: 8px solid var(--accent);
}
.testimonial-card p {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  color: var(--primary);
}
.testimonial-card strong {
  color: var(--accent);
}

/* ARTISTIC BUTTON ANIMATION */
.cta {
  box-shadow: 0 4px 20px rgba(255,170,44,0.15);
  animation: waveBtn 2s infinite alternate cubic-bezier(.36,.07,.19,.97);
}
@keyframes waveBtn {
  0% {transform:scale(1) rotate(-1deg);}
  80%{transform:scale(1.03) rotate(2.5deg);}
  100% {transform:scale(1.06) rotate(-4deg);}
}
.cta:active { animation: none; }

/* DECORATIVE ELEMENTS */
.section::before {
  content: "";
  display: block;
  position: absolute;
  left: -30px; top: -25px;
  width: 64px; height: 64px;
  background: url('/assets/icons/icon-tools.svg') no-repeat center center;
  background-size: 60%;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 700px) {
  .section::before { display: none; }
}

/* ARTISTIC FONTS (GOOGLE FONTS) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');

/* FORMS, INPUTS (future use) */
input, textarea, select {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--secondary);
  font-size: 1rem;
  margin-bottom: 12px;
  background: #fafaff;
  outline: none;
  transition: border-color 0.21s;
}
input:focus, textarea:focus {
  border-color: var(--accent);
}
label {
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
}

/* GENERAL SPACING UTILITIES */
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 22px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 14px; }
.mb-4 { margin-bottom: 22px; }
.pt-2 { padding-top: 8px; }
.pb-2 { padding-bottom: 8px; }
.pt-4 { padding-top: 24px; }
.pb-4 { padding-bottom: 24px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ARTICLE IMAGES/PICTURES */
.picture {
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 22px rgba(24,49,83,0.08);
  margin-bottom: 20px;
  display: block;
}

/* Z-INDEX STACKING */
.mobile-menu,
.cookie-banner,
.cookie-modal-overlay { z-index: 5000 !important; }

/* ACCESSIBILITY */
:focus {
  outline: 2.5px solid var(--accent);
  outline-offset: 1.5px;
}

/* Prevent Overlap */
.card, .testimonial-card, .faq-item, .section, .content-wrapper, .container {
  margin-bottom: 20px;
}

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