/* =============================================================
   CSS RESET & NORMALIZE
   ============================================================= */
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; color: #2B3144; background: #F7FAFC;
  font-family: 'Georgia', 'Times New Roman', serif;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; transition: color 0.25s; }
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style-position: inside;
}
*:focus {
  outline: 2px solid #233157;
  outline-offset: 2px;
}

/* =============================================================
   BRAND COLORS & TYPOGRAPHY
   ============================================================= */
:root {
  --primary: #233157;
  --secondary: #55C1E5;
  --accent: #F3F7FB;
  --surface: #FFFFFF;
  --text-default: #253155;
  --text-strong: #1C2440;
  --muted: #8C96A6;
  --shadow: 0 2px 16px rgba(35,49,87,0.07);
  --radius: 10px;
  --font-family-display: 'Montserrat', 'Georgia', 'Times New Roman', serif;
  --font-family-body: 'Georgia', serif;
}

body {
  background: var(--accent);
  color: var(--text-default);
  font-family: var(--font-family-body);
  font-size: 16px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-display);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.5rem; margin-bottom: 16px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 12px; }
p, ul, ol, address, .text-section {
  font-size: 1rem;
  color: var(--text-default);
  margin-bottom: 20px;
  line-height: 1.7;
}
.highlight { font-style: italic; background: #ECEFF4; padding: 6px 12px; border-radius: 6px; }

/* -------------------------------------------------------------
   CONTAINER & LAYOUT HELPERS
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  min-width: 270px;
  flex: 1 1 290px;
  transition: box-shadow 0.3s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(35,49,87,0.15);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 6px solid var(--secondary);
  font-size: 1.15rem;
  color: var(--text-strong);
}
.testimonial-card p {
  color: var(--primary);
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-caption {
  color: var(--muted);
  font-size: 0.98em;
}

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

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding: 0;
}
.categories li {
  background: #E1E7F0;
  border-radius: 6px;
  padding: 4px 16px;
  font-size: 0.95rem;
  color: var(--primary);
  font-family: var(--font-family-display);
  letter-spacing: 0.2px;
}

/* -------------------------------------------------------------
   HEADER, NAVIGATION & LOGO
   ------------------------------------------------------------- */
header {
  background: #FFF;
  padding: 0;
  box-shadow: 0 2px 12px rgba(35,49,87,0.05);
  position: sticky;
  top: 0; left: 0; z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.logo img {
  height: 43px;
  width: auto;
  margin-right: 18px;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
nav a {
  font-family: var(--font-family-display);
  font-size: 1.05rem;
  color: var(--primary);
  padding: 6px 10px;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.2s, color 0.25s;
}
nav a:hover, nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
nav .cta-btn {
  background: var(--primary);
  color: #FFF;
  border: none;
  border-radius: 6px;
  padding: 9px 22px;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 1.07rem;
  box-shadow: 0 2px 4px rgba(35,49,87,0.12);
  margin-left: 10px;
  cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s;
}
nav .cta-btn:hover, nav .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 7px 10px rgba(35,49,87,.12);
}

/* -------------------------------------------------------------
   MOBILE BURGER MENU
   ------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 1000px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 2.1rem;
    cursor: pointer;
    padding: 8px 16px;
    z-index: 51;
    border-radius: 8px;
    transition: background 0.2s;
  }
  .mobile-menu-toggle:hover {
    background: #F3F7FB;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 440px;
  height: 100vh;
  background: #fff;
  box-shadow: -6px 0 32px rgba(35,49,87,0.14);
  transform: translateX(104%);
  transition: transform 0.4s cubic-bezier(0.6,0.04,0.23,0.94);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 2.2rem;
  background: none;
  color: var(--primary);
  border: none;
  z-index: 101;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 85px;
  align-items: flex-start;
  padding: 40px 38px 32px 32px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-family-display);
  font-size: 1.16rem;
  color: var(--primary);
  padding: 12px 0;
  font-weight: 600;
  border-radius: 6px;
  width: 100%;
  transition: background 0.17s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: #EFF3F9;
}

@media (max-width: 768px) {
  .mobile-menu {
    max-width: 100vw;
  }
  .mobile-nav {
    margin-top: 60px;
    padding: 28px 18px 42px 20px;
    gap: 14px;
  }
  header .container {
    min-height: 50px;
    padding: 0 11px;
  }
  .logo img {
    height: 35px;
  }
}

/* -------------------------------------------------------------
   HERO SECTION & CTA
   ------------------------------------------------------------- */
.hero {
  background: linear-gradient(110deg, #F7FAFC 80%, #D7E7F9 110%);
  padding: 48px 0 48px 0;
  margin-bottom: 60px;
  border-bottom: 1px solid #E6E8F3;
}
.hero h1 {
  color: var(--primary);
  font-family: var(--font-family-display);
  font-size: 2.6rem;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  text-shadow: 0px 2px 12px #eaecef8c;
}
.hero p {
  max-width: 500px;
  font-size: 1.18rem;
  color: var(--text-default);
  margin-bottom: 22px;
}
.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-family-display);
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  padding: 13px 38px;
  box-shadow: 0 4px 20px rgba(35,49,87,.08);
  cursor: pointer;
  letter-spacing: 0.25px;
  transition: background 0.17s, color 0.18s, box-shadow 0.18s, transform 0.16s;
  margin-top: 8px;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 7px 24px rgba(85,193,229,.15);
  transform: translateY(-2px) scale(1.03);
}

/* -------------------------------------------------------------
   TABLES & FAQ
   ------------------------------------------------------------- */
table {
  width: 100%;
  margin-bottom: 24px;
  border-spacing: 0;
  border-collapse: collapse;
  font-size: 1rem;
  background: #FFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
thead {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-family-display);
}
th, td {
  text-align: left;
  padding: 15px 20px;
  border-bottom: 1px solid #EFF2F9;
}
th {
  font-size: 1.09rem;
  letter-spacing: .03em;
  border-bottom: 2px solid #EFF2F9;
}
tbody tr:last-child td {
  border-bottom: none;
}
tr:nth-child(even) td {
  background: #F9FBFC;
}

/* -------------------------------------------------------------
   LINKS (non-nav)
   ------------------------------------------------------------- */
a:not(.cta-btn):not(nav a):not(.mobile-nav a) {
  color: var(--secondary);
  text-decoration: underline;
  transition: color 0.18s;
}
a:not(.cta-btn):not(nav a):not(.mobile-nav a):hover,
a:not(.cta-btn):not(nav a):not(.mobile-nav a):focus {
  color: var(--primary);
}

/* -------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 42px 0 18px 0;
  margin-top: 65px;
  font-size: 1rem;
  box-shadow: 0 -4px 24px rgba(35,49,87,.09);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
}
footer img {
  height: 32px;
  margin-bottom: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
footer nav a {
  color: #fff;
  font-family: var(--font-family-display);
  font-size: 1rem;
  font-weight: 400;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: none;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
}
footer address {
  font-style: normal;
  color: #e5eaf3;
  font-size: 0.97rem;
  line-height: 1.8;
}
footer a[href^="tel"], footer a[href^="mailto"] {
  color: var(--secondary);
  text-decoration: underline;
  font-weight: bold;
}

/* -------------------------------------------------------------
   SUPPORTIVE ELEMENTS
   ------------------------------------------------------------- */
.meta {
  color: var(--muted);
  font-size: 0.97em;
  margin-top: 4px;
  letter-spacing: 0.03em;
}

/* -------------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
   ------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -4px 32px rgba(35,49,87,0.13);
  border-radius: 14px 14px 0 0;
  z-index: 998;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 44px 22px 28px;
  animation: banner-slide-in 0.55s cubic-bezier(0.71,0.03,0.23,0.98);
  font-family: var(--font-family-body);
}
@keyframes banner-slide-in {
  from { transform: translateY(120%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.cookie-banner p {
  font-size: 1.04rem;
  max-width: 570px;
  margin-bottom: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-btn, .cookie-setting-btn {
  padding: 9px 22px;
  border-radius: 8px;
  border: none;
  font-size: 1.05rem;
  font-family: var(--font-family-display);
  font-weight: 600;
  cursor: pointer;
  background: var(--primary);
  color: #FFF;
  box-shadow: 0 2px 7px rgba(35,49,87,0.09);
  transition: background 0.14s, color 0.14s, box-shadow 0.16s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-btn.reject {
  background: #ECEFF4;
  color: var(--primary);
  border: 1px solid #D7E1EF;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #DEEEF9;
  color: var(--secondary);
  border-color: var(--secondary);
}
.cookie-setting-btn {
  background: var(--secondary);
  color: #222b44;
  border: none;
}
.cookie-setting-btn:hover, .cookie-setting-btn:focus {
  background: var(--primary);
  color: #FFF;
}

.cookie-modal-mask {
  position: fixed; inset: 0;
  background: rgba(35,49,87,.32);
  z-index: 1001;
  display: none;
  align-items: center; justify-content: center;
  min-height: 100vh;
}
.cookie-modal-mask.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  padding: 42px 36px 32px 36px;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(35,49,87,0.16);
  min-width: 330px;
  max-width: 91vw;
  animation: modal-fade-in .42s cubic-bezier(0.7,0.04,0.19,1.01);
  display: flex; flex-direction: column;
  gap: 22px;
}
@keyframes modal-fade-in {
  from { transform: scale(.93); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.cookie-modal h3 {
  font-size: 1.23rem;
  color: var(--primary);
  margin-bottom: 7px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 17px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--text-default);
  min-width: 160px;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 20px;
  background: #E5EAF0;
  position: relative;
  display: inline-block;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  position: absolute;
  left: -999em;
}
.cookie-toggle .slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #aaa;
  transition: left .17s, background .16s;
}
.cookie-toggle input:checked + .slider {
  background: var(--secondary);
  left: 22px;
}
.cookie-category.essential .cookie-toggle,
.cookie-category.essential .slider {
  opacity: 0.5;
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 11px;
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN
   ------------------------------------------------------------- */
@media (max-width: 1100px) {
  .container { max-width: 98vw; padding: 0 9vw; }
}
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.38rem; }
  .section { padding: 32px 12px; }
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .content-wrapper, .text-section { gap: 10px; }
  .section { margin-bottom: 40px; padding: 24px 5px; }
  .card-container, .content-grid, .categories {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .footer .container,
  footer .container {
    gap: 16px;
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    padding: 28px 0 28px 0;
    margin-bottom: 36px;
  }
}
@media (max-width:500px) {
  .hero h1 { font-size: 1.5rem; }
  .hero p  { font-size: 1rem; }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 20px 8px 20px 10px; gap: 13px; }
  .cookie-modal {
    min-width: 0; max-width: 99vw; padding: 18px 7vw 16px 8vw;
  }
  .footer { font-size: 0.89em; }
}

/* -------------------------------------------------------------
   SMALL SUPPORTIVE STYLES
   ------------------------------------------------------------- */
::-webkit-input-placeholder { color: #B6BED4; }
::-moz-placeholder { color: #B6BED4; }
:-ms-input-placeholder { color: #B6BED4; }
::placeholder { color: #B6BED4; }

/* Remove number spinners for inputs (for cleanliness in classic style) */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] { -moz-appearance: textfield; }

tbody tr:hover td { background: #F3F7FB; }

/* Decorative: subtle card shadow on hover */
.article:hover, article:hover, .card:hover {
  box-shadow: 0 8px 42px rgba(35,49,87,.16);
  transition: box-shadow .22s;
}

/***************************************************************
  Accessibility focus indicator and input states
***************************************************************/
input, textarea, button, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #D2D7E3;
  padding: 8px 13px;
  margin-bottom: 10px;
  box-shadow: none;
  transition: border-color 0.16s, box-shadow 0.17s;
  background: #FFF;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  box-shadow: 0 1px 8px #55C1E526;
}

/* Hide visually but remain accessible (for ARIA/cookie toggles) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
