/* ===================================================
   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, menu, 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, 
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F5F9FA;
  color: #1a2536;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  border: 0;
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
}

/* ===================================================
   BASE TYPOGRAPHY -- Elegant Classic Aesthetic
=================================================== */
:root {
  --primary: #214265;
  --primary-darker: #193552;
  --secondary: #79A8C7;
  --accent: #F5F9FA;
  --neutral: #E8EFF2;
  --text-main: #1a2536;
  --text-muted: #5C6E7B;
  --border-light: #d7dee5;
  --shadow: 0 2px 16px 0 rgba(33,66,101,0.08);
  --radius: 10px;
  --font-display: 'Georgia', 'Times New Roman', Times, serif;
  --font-body: 'Georgia', 'Times New Roman', Times, serif;
}

body {
  background: var(--accent);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 500;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 24px;
  line-height: 1.14;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}
p, ul, ol {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text-main);
}
strong {
  color: var(--primary);
  font-weight: bold;
}
.text-muted {
  color: var(--text-muted);
}
.text-section p:last-child, .text-section div:last-child {
  margin-bottom: 0;
}

/* ===================================================
   CONTAINER, CONTENT LAYOUTS
=================================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.text-section {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================================
   HEADER & MAIN NAVIGATION
=================================================== */
header {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 8px 0 rgba(20, 36, 56, 0.04);
  position: relative;
  z-index: 1010;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 0;
  height: 72px;
  min-height: 72px;
}
.logo {
  flex: 0 0 auto;
  margin-right: 32px;
  display: flex;
  align-items: center;
}
.logo img {
  height: 46px;
  width: auto;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  gap: 24px;
  align-items: center;
  margin-right: 30px;
}
.main-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.15s;
  position: relative;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  background: var(--secondary);
  transition: width 0.2s;
  border-radius: 2px;
  margin-top: 4px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}

.cta-primary {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 13px 32px;
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-left: 14px;
  box-shadow: var(--shadow);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  border: none;
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 24px 0 rgba(33, 66, 101, 0.13);
}
.cta-secondary {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius);
  padding: 12px 30px;
  font-size: 1.09rem;
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: 14px;
  box-shadow: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.mobile-menu-toggle {
  display: none;
  flex: 0 0 auto;
  margin-left: 20px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.15s;
  z-index: 1020;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
}

/* ===================================================
   MOBILE MENU
=================================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 24px rgba(33,66,101,0.18);
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.76,.13,.27,.87);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  align-self: flex-end;
  font-size: 2rem;
  color: var(--primary);
  padding: 18px 26px 10px 0;
  margin-bottom: 8px;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 28px;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1.29rem;
  padding: 12px 0;
  font-weight: 500;
  border-radius: 4px;
  margin-right: 18px;
  margin-bottom: 4px;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--neutral);
  color: var(--secondary);
}

/* Hide full navigation bar on mobile */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===================================================
   SECTION & FLEX CONTAINER SPACING (MANDATORY)
=================================================== */
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
  position: relative;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, border-color 0.18s;
  border: 1px solid var(--border-light);
  min-width: 260px;
  max-width: 100%;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px rgba(33,66,101,0.22);
  border-color: var(--secondary);
}
.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;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(33,66,101,0.08);
  padding: 28px 28px 18px 28px;
  margin-bottom: 20px;
  margin-top: 14px;
  min-width: 220px;
  border-left: 4px solid var(--secondary);
  color: var(--text-main);
}
.testimonial-card .testimonial-meta {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 4px;
}
.star-rating {
  color: #FFC600;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 0;
  min-width: 180px;
}
.features-icons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin: 18px 0 10px 0;
}

/* List & Features Styling */
ul {
  margin-left: 0;
}
ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-direction: column;
  margin-bottom: 16px;
  font-size: 1.06rem;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
}
ul li img, .feature-item img {
  flex: 0 0 auto;
  height: 30px;
  width: auto;
  margin-right: 8px;
}
.service-price {
  display: inline-block;
  background: var(--neutral);
  color: var(--primary);
  border-radius: 6px;
  padding: 4px 12px;
  margin-left: 12px;
  font-size: 1rem;
  font-weight: 500;
}

ol {
  list-style: decimal inside;
  margin-left: 16px;
  font-size: 1.05rem;
}
ol li {
  margin-bottom: 12px;
  padding-left: 0px;
  color: var(--text-main);
  font-family: var(--font-body);
}

/* ===================================================
   TESTIMONIAL LIST, SLIDER (Horizontal on Desktop)
=================================================== */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: stretch;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 20px;
  }
}

/* ===================================================
   FOOTER
=================================================== */
footer {
  background: #fff;
  border-top: 1px solid var(--border-light);
  margin-top: 50px;
  padding: 44px 0 36px 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 34px 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1rem;
  opacity: 0.91;
  transition: color 0.18s, opacity 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  opacity: 1;
}
.brand-info {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 1rem;
  max-width: 320px;
}
.brand-info img {
  height: 38px;
  width: auto;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  color: var(--text-main);
}
.contact-info a {
  text-decoration: underline;
  color: var(--secondary);
  transition: color 0.15s;
}
.contact-info a:hover, .contact-info a:focus {
  color: var(--primary);
}
.social-links {
  display: flex;
  gap: 13px;
  margin-top: 10px;
  align-items: center;
}
.social-links a {
  display: flex;
  align-items: center;
  height: 32px;
  width: 32px;
  background: var(--neutral);
  border-radius: 50%;
  justify-content: center;
  transition: background 0.17s, box-shadow 0.18s;
}
.social-links a:hover, .social-links a:focus {
  background: var(--secondary);
  box-shadow: 0 2px 8px rgba(33,66,101,0.10);
}

/* ===================================================
   LOCATION MAP, ICONS, ETC.
=================================================== */
.location-map {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 1rem;
}
.location-map img {
  height: 32px;
  width: auto;
}

/* ===================================================
   RESPONSIVE -- MOBILE FIRST
=================================================== */
@media (max-width: 992px) {
  header .container { flex-direction: row; justify-content: space-between; min-height: 62px; }
  .footer-nav { flex-wrap: wrap; gap: 12px 10px; }
}
@media (max-width: 900px) {
  footer .container { flex-direction: column; align-items: flex-start; gap: 22px; }
  .brand-info { margin-bottom: 8px; }
}
@media (max-width: 768px) {
  .container {
    max-width: 96vw;
    padding-left: 7vw;
    padding-right: 7vw;
  }
  section, .section {
    padding: 32px 0 32px 0;
  }
  .testimonial-card, .card {
    padding: 22px 10px 15px 14px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
  .main-nav { gap: 18px; }
  .footer-nav { font-size: 0.93rem; }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .features-icons { gap: 12px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.08rem; }
  footer .container { padding-right: 0; padding-left: 0; }
}


/* ===================================================
   BUTTONS, FORMS, INPUTS, ETC.
=================================================== */
input, select, textarea {
  font-family: var(--font-body);
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 18px;
  font-size: 1rem;
}
button {
  font-family: var(--font-display);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}

/* ===================================================
   COOKIE BANNER & COOKIE PREFERENCES MODAL
=================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: var(--primary);
  border-top: 2px solid var(--secondary);
  box-shadow: 0 -2px 16px 0 rgba(33,66,101,0.10);
  padding: 24px 16px 22px 16px;
  z-index: 9999;
  display: flex;
  gap: 34px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  animation: fadebannerin 0.7s cubic-bezier(.8,.1,.3,1);
}
@keyframes fadebannerin {
  from { opacity: 0; transform: translateY(56px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner-message {
  font-size: 1.05rem;
  flex: 1 1 340px;
  font-family: var(--font-body);
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 11px;
}
.cookie-banner button {
  padding: 8px 22px;
  margin: 0;
  border-radius: 7px;
  border: 1.5px solid var(--secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  background: none;
  color: var(--primary);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.cookie-banner .cookie-accept {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: var(--primary);
  border-color: var(--secondary);
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .cookie-settings {
  background: #fff;
  color: var(--secondary);
  border-color: var(--secondary);
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: var(--neutral);
  color: var(--primary);
}
/* Cookie preferences modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,66,101,0.18);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(33,66,101,0.13);
  padding: 38px 34px 30px 34px;
  min-width: 320px;
  max-width: 95vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadetip 0.4s cubic-bezier(.6,.2,.1,1);
}
@keyframes fadetip {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 9px;
}
.cookie-modal label {
  font-size: 1.05rem;
  color: var(--text-main);
  cursor: pointer;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 20px; height: 20px;
}
.cookie-modal .cookie-actions {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal .cookie-save {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  padding: 9px 26px;
  border-radius: 8px;
}
.cookie-modal .cookie-save:hover, .cookie-modal .cookie-save:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}
.cookie-modal .cookie-cancel {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--secondary);
  padding: 9px 18px;
  border-radius: 8px;
}
.cookie-modal .cookie-cancel:hover, .cookie-modal .cookie-cancel:focus {
  background: var(--neutral);
  color: var(--primary);
  border-color: var(--secondary);
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.38rem;
  color: var(--secondary);
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: var(--primary);
}
/* Responsive Cookie Banner & Modal */
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 14px 6vw 12px 6vw;
  }
  .cookie-modal {
    padding: 24px 7vw 22px 7vw;
    min-width: unset;
  }
}

/* ===================================================
   ANI, TRANSITIONS, MICRO-INTERACTIONS
=================================================== */
a, button, .cta-primary, .cta-secondary, .card, .testimonial-card {
  transition: all 0.18s cubic-bezier(.76,.14,.32,1);
}
.card:active {
  box-shadow: 0 1px 3px rgba(33,66,101,0.13);
}
.testimonial-card:hover {
  box-shadow: 0 5px 24px rgba(33,66,101,0.18);
  border-left: 4px solid var(--primary);
}

/* ===================================================
   VISIBILITY UTILS
=================================================== */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
}

/* ===================================================
   EXTRA: THANK YOU PAGE & SYSTEM MESSAGES
=================================================== */
.system-message {
  background: var(--neutral);
  color: var(--primary);
  border-radius: var(--radius);
  padding: 26px 20px 22px 20px;
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 36px;
  box-shadow: 0 2px 8px #e3eafd9e;
  font-family: var(--font-display);
}

/* ===================================================
   END OF STYLE.CSS
=================================================== */
