/* =============================
   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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100svh;
  background: linear-gradient(135deg, #FFFFFF 60%, #EEF2FC 100%);
  color: #364A76;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-repeat: no-repeat;
}
ol, ul {
  list-style: none;
}
a {
  background: none;
  text-decoration: none;
  color: inherit;
}
button, input, select, textarea {
  font-family: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* ==========================
   VARIABLES (with fallback)
   ========================== */
:root {
  --primary: #364A76;
  --secondary: #FFFFFF;
  --accent: #F7931E;
  --card-bg: #FFF;
  --card-shadow: 0 2px 16px rgba(54,74,118,0.07);
  --radius: 18px;
}

/* =============================
   GLOBAL TYPOGRAPHY
   ============================= */
body {
  font-size: 16px;
  color: var(--primary);
  background-color: #FFFFFF;
  font-family: 'Roboto', Arial, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.14;
  color: #364A76;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol, li, table, blockquote, cite {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.67;
  color: #46536E;
  margin-bottom: 16px;
}
blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 18px;
  color: #1A2543;
  font-size: 1.15rem;
  font-style: italic;
  margin: 0 0 10px 0;
}
cite {
  display: block;
  color: #364A76;
  opacity: 0.85;
  font-size: 0.95em;
  margin-top: 2px;
  font-style: normal;
}
table {
  width: 100%;
  background-color: #FFF;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: 24px;
  border-collapse: collapse;
}
th, td {
  padding: 13px 10px;
  border-bottom: 1px solid #EEF2FC;
  text-align: left;
}
th {
  color: #364A76;
  font-weight: 700;
  background: #F6F8FB;
  font-size: 1.08em;
}
tr:last-child td {
  border-bottom: none;
}

/* ==========================
   CONTAINER & LAYOUT
   ========================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(120deg, #F5F7FA 70%, #EEF2FC 100%);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px 0 rgba(54,74,118,0.05);
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 40px;
    border-radius: 13px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.45rem;
  }
}

/* =========================
   FLEX PATTERN LAYOUTS
   ========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 32px 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 260px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(54,74,118,0.13);
  transform: translateY(-5px);
}
.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: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column !important;
    gap: 18px;
  }
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  max-width: 670px;
  color: #232B3E;
}
.testimonial-card blockquote {
  color: #232B3E;
}
.testimonial-card cite {
  color: #364A76;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ====== SPACING & GAP ENFORCEMENT ====== */
.section>*+*,
.container>*+*,
.content-wrapper>*+* {
  margin-top: 18px;
}
.card+ .card,
.testimonial-card+ .testimonial-card {
  margin-top: 20px;
}

/* ========================
   NAVIGATION & HEADER
   ======================== */
header {
  background: linear-gradient(90deg, #364A76 55%, #55649a 100%);
  color: var(--secondary);
  padding: 0;
  margin: 0 0 8px 0;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 13px 0;
}
header nav a img {
  height: 42px;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
header nav ul li {
  list-style: none;
}
header nav ul li a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  opacity: 0.94;
  padding: 7px 10px;
  border-radius: 5px;
  transition: background 0.18s;
}
header nav ul li a:hover,
header nav ul li a:focus {
  background: rgba(244,230,204,0.09);
  text-decoration: underline;
  outline: none;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(90deg, #F7931E 80%, #FFE7CB 200%);
  color: #222C46;
  padding: 12px 32px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  margin-left: 24px;
  box-shadow: 0 2px 10px 0 rgba(247, 147, 30, 0.07);
  transition: background 0.15s, transform 0.12s, box-shadow 0.12s;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #FFD48F 66%, #F7931E 100%);
  color: #364A76;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 18px 0 rgba(247, 147, 30, 0.17);
}
.cta-btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  background: #364A76;
  color: #FFF;
  padding: 11px 28px;
  border-radius: 100px;
  border: 2px solid #F7931E;
  transition: background 0.17s, color 0.15s, border 0.14s;
  margin-top: 28px;
}
.cta-btn-secondary:hover, .cta-btn-secondary:focus {
  background: #F7931E;
  color: #364A76;
  border-color: #FFD48F;
}
@media (max-width: 1020px) {
  header nav ul {
    gap: 13px;
  }
  .cta-btn {
    margin-left: 8px;
    font-size: 1rem;
    padding: 10px 20px;
  }
}
@media (max-width: 900px) {
  header nav {
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 9px;
  }
  .cta-btn {
    margin-left: 3px;
    padding: 9px 12px;
  }
}
@media (max-width: 768px) {
  header nav ul,
  header .cta-btn {
    display: none;
  }
}

/* =============================
   MOBILE MENU
   ============================= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 101;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #FFF;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #F7931E;
}
.mobile-menu {
  display: none;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: 0;
    width: 92vw;
    max-width: 370px;
    height: 100svh;
    background: linear-gradient(120deg, #364A76 90%, #F7931E 250%) no-repeat;
    z-index: 120;
    box-shadow: -8px 0 28px 0 rgba(54,74,118,0.27);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.7,.3,.23,.86);
    padding: 34px 0 0 0;
  }
  .mobile-menu.open {
    transform: translateX(0%);
  }
  .mobile-menu-close {
    background: none;
    border: none;
    color: #FFF;
    font-size: 2.1rem;
    align-self: flex-end;
    margin-right: 30px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: color 0.14s;
    z-index: 121;
  }
  .mobile-menu-close:focus {
    outline: 2px solid #F7931E;
  }
  .mobile-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    padding: 13px 36px 28px 38px;
  }
  .mobile-nav a {
    color: #FFF;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.21rem;
    font-weight: 700;
    padding: 11px 3px;
    border-radius: 7px;
    transition: background 0.18s, color 0.13s;
  }
  .mobile-nav a:active,
  .mobile-nav a:focus,
  .mobile-nav a:hover {
    background: rgba(255,255,255,0.13);
    color: #FFD48F;
    text-decoration: underline;
    outline: none;
  }
  body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100vw;
  }
}

/* =====================
   HERO and GENERAL SECTIONS
   ===================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  margin-top: 5px;
}
.service-list > div {
  background: linear-gradient(90deg, #FFF 70%, #F9F3E7 130%);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 26px 18px;
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 380px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 0;
}
.service-list > div:hover {
  box-shadow: 0 6px 20px 2px rgba(54,74,118,0.16);
  transform: translateY(-4px) scale(1.02);
}
.service-list > div h3 {
  font-size: 1.15rem;
  color: #F7931E;
  margin-bottom: 2px;
}
.service-list > div strong {
  color: var(--primary);
}
@media (max-width: 900px) {
  .service-list {
    flex-direction: column;
    gap: 16px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.address-block {
  background: #F7F9FC;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  padding: 26px 20px;
  margin-bottom: 25px;
}
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 10px;
}
.map-placeholder img {
  width: 48px;
  height: 48px;
}

.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 24px;
}
.pricing-table > div {
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  flex: 1 1 220px;
  min-width: 195px;
  padding: 18px 14px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pricing-table > div strong {
  font-size: 1em;
  color: var(--primary);
}
.pricing-table > div span {
  color: #F7931E;
  font-weight: 700;
  font-size: 1.12em;
  margin-top: 7px;
}
@media (max-width: 600px) {
  .pricing-table {
    flex-direction: column;
    gap: 13px;
  }
}

.plan-highlights ul,
.text-section ul {
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 1em;
}
.plan-highlights li,
.text-section li {
  list-style: disc;
  margin-left: 0;
  margin-bottom: 4px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-accordion > div {
  background: #FFF;
  border-left: 4px solid #F7931E;
  border-radius: 10px;
  box-shadow: 0 2px 7px 1px rgba(54,74,118,0.05);
  padding: 14px 16px 12px 20px;
  margin-bottom: 0;
  transition: box-shadow 0.21s;
}
.faq-accordion > div:hover {
  box-shadow: 0 5px 16px rgba(54,74,118,0.10);
}
.faq-accordion h2, .faq-accordion h3 {
  margin-bottom: 4px;
  font-size: 1rem;
  color: #364A76;
}
.faq-accordion p {
  font-size: 0.98em;
}

/* =====================
   FOOTER
   ===================== */
footer {
  background: linear-gradient(90deg, #364A76 65%, #55649A 100%);
  color: #FFF;
  font-size: 1rem;
  margin-top: 60px;
  padding-top: 28px;
  padding-bottom: 18px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #FFD48F;
  font-size: 0.96em;
  opacity: 0.89;
  margin-bottom: 0;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #FFF;
  text-decoration: underline;
  outline: none;
}
.footer-info {
  color: #FFF;
  opacity: 0.92;
  font-size: 0.96em;
}
.footer-logo {
  align-self: flex-end;
}
.footer-logo img {
  height: 44px;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-logo {
    align-self: flex-start;
  }
}

/* ===================
   COOKIE CONSENT BANNER
   =================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  gap: 26px;
  background: linear-gradient(90deg, #364A76 70%, #F7931E 180%);
  color: #FFF;
  padding: 25px 10vw 18px 8vw;
  box-shadow: 0 -3px 16px rgba(54,74,118,0.18);
  border-radius: 14px 14px 0 0;
  animation: banner-slideup 0.63s cubic-bezier(.71,.06,.36,1) 0s 1;
  font-size: 1rem;
}
@keyframes banner-slideup {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 2 1 280px;
  color: #FFF;
  margin: 0 0 7px 0;
  font-size: 1.02em;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
  margin-top: 2px;
}
.cookie-banner button {
  border: none;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, box-shadow 0.11s;
}
.cookie-banner .cookie-accept {
  background: #F7931E;
  color: #232B43;
  box-shadow: 0 1px 8px rgba(247,147,30,0.09);
}
.cookie-banner .cookie-accept:hover {
  background: #FFD48F;
  color: #364A76;
}
.cookie-banner .cookie-reject {
  background: #FFF;
  color: #364A76;
  border: 1.5px solid #F7931E;
}
.cookie-banner .cookie-reject:hover {
  background: #F7931E;
  color: #FFF;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #FFD48F;
  border: 1px solid #FFD48F;
}
.cookie-banner .cookie-settings:hover {
  background: #FFD48F;
  color: #364A76;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 13px 3vw 13px 3vw;
    font-size: 0.97em;
    border-radius: 7px 7px 0 0;
  }
  .cookie-banner .cookie-btn-group {
    gap: 7px;
  }
}

/* Cookie Modal Styles */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36, 44, 70, 0.64);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: overlayfade .3s;
}
@keyframes overlayfade {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 8px 48px rgba(54,74,118,0.24);
  padding: 34px 28px 23px 28px;
  min-width: 310px;
  max-width: 95vw;
  color: #232B3E;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: appear .28s;
  position: relative;
}
@keyframes appear {
  from { opacity: 0; transform: scale(.97) translateY(30px);} 
  to {opacity: 1;  transform: scale(1) translateY(0);}
}
.cookie-modal h2 {
  color: #364A76;
  font-size: 1.28rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #F6F8FB;
  border-radius: 11px;
  padding: 12px 12px 12px 18px;
}
.cookie-modal .cookie-category strong {
  color: #364A76;
  font-size: 1.03em;
}
.cookie-modal .cookie-switch {
  margin-left: auto;
}
.cookie-modal .switch {
  display: inline-block;
  position: relative;
  width: 37px;
  height: 22px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #CED9F2;
  border-radius: 22px;
  transition: background 0.2s;
}
.cookie-modal .switch input:checked + .slider {
  background: #F7931E;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 17px; width: 17px;
  left: 3px; bottom: 2.5px;
  background-color: #FFF;
  border-radius: 50%;
  transition: transform 0.22s cubic-bezier(.7,.21,.38,.98);
  box-shadow: 0 1px 4px 0 rgba(54,74,118,0.17);
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(14px);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .cookie-accept {
  background: #F7931E;
  color: #232B43;
  border: none;
}
.cookie-modal .cookie-accept:hover {
  background: #FFD48F;
  color: #364A76;
}
.cookie-modal .cookie-save {
  background: #FFF;
  color: #364A76;
  border: 1.5px solid #F7931E;
  padding: 8px 19px;
}
.cookie-modal .cookie-save:hover {
  background: #F7931E;
  color: #FFF;
}
.cookie-modal .cookie-cancel {
  background: transparent;
  color: #364A76;
  padding: 8px 15px;
  border: none;
}
.cookie-modal .cookie-cancel:hover {
  text-decoration: underline;
}

/* ======================
   ANIMATIONS
   ====================== */
a, .cta-btn, .cta-btn-secondary, button, .card, .service-list > div, .faq-accordion > div, .testimonial-card {
  transition: box-shadow 0.17s, background 0.13s, color 0.13s, border 0.13s, transform 0.13s;
}

/* ==============================
   MISC: Utility Classes
   ============================== */
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.mb-24 {
  margin-bottom: 24px !important;
}
.mb-40 {
  margin-bottom: 40px !important;
}
/* Hide visually but keep accessible */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* ===================
   RESPONSIVE REFINEMENTS
   =================== */
@media (max-width: 530px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.09rem; }
  .section { padding: 16px 2px; }
  .address-block { padding: 15px 7px; }
  .service-list > div, .pricing-table > div, .testimonial-card, .faq-accordion > div { padding-left: 8px; padding-right: 8px; }
  .cookie-modal { padding: 17px 8px 11px 8px; }
}

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