/* --- RESET & BASIC 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,
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, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  box-sizing: border-box;
  vertical-align: baseline;
}

html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  color: #2D2D2D;
  background: #F3F5F9;
  line-height: 1.75;
  min-height: 100vh;
  transition: background 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #175694;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #C55300;
}
ul, ol {
  list-style-position: inside;
  margin-left: 1em;
}
section {
  background: #FFF;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(23,86,148,0.08);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 20px;
  color: #175694;
  font-weight: 700;
  line-height: 1.14;
}
h1 {
  font-size: 2.5rem;
  margin-top: 8px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.4rem;
}
h4 {
  font-size: 1.1rem;
}
p, li {
  font-size: 1rem;
  margin-bottom: 12px;
}
strong {
  color: #C55300;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #FFF7F2;
  box-shadow: 0 2px 10px rgba(197,83,0,.05);
  padding: 0;
  margin-bottom: 32px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 12px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #175694;
  padding: 7px 12px;
  border-radius: 18px;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #EF7F25;
  color: #FFF;
  outline: 0;
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  background: #EF7F25;
  color: #FFF;
  border-radius: 20px;
  padding: 12px 32px;
  box-shadow: 0 2px 10px rgba(197,83,0,0.10);
  border: 0;
  cursor: pointer;
  text-align: center;
  transition: background .23s, box-shadow .23s, transform .13s;
  margin-left: 14px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #C55300;
  color: #FFF;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 14px rgba(197,83,0,0.15);
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: relative;
  z-index: 1102;
  background: #EF7F25;
  border: none;
  border-radius: 14px;
  padding: 8px 14px;
  color: #FFF;
  font-size: 1.7rem;
  cursor: pointer;
  margin-left: 16px;
  transition: background .18s, box-shadow .21s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #C55300;
  box-shadow: 0 2px 8px rgba(197,83,0,.13);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: #FFF7F2;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.77,.07,.38,.89);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 32px;
  box-shadow: 3px 0 32px 0 rgba(23,86,148,0.11);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #EF7F25;
  align-self: flex-end;
  margin-right: 26px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #C55300;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  padding-left: 28px;
  padding-bottom: 24px;
}
.mobile-nav a {
  font-size: 1.18rem;
  color: #175694;
  padding: 10px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  border-radius: 14px;
  transition: background 0.17s, color 0.17s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EF7F25;
  color: #FFF;
  outline: none;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 6px;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- FOOTER --- */
footer {
  background: #F3F5F9;
  border-top: 1px solid #E6E6E6;
  padding: 32px 0 20px 0;
  font-size: 1rem;
  margin-top: 30px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer .logo-mark img {
  height: 40px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.footer-nav a {
  color: #175694;
  padding: 4px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  border-radius: 10px;
  transition: background .14s, color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #EF7F25;
  color: #FFF;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #58413F;
  font-size: .98rem;
}
.contact-info img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* --- HERO & SECTION CONTAINERS --- */
section .container {
  flex-direction: column;
  gap: 22px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* --- CARD & GRID STRUCTURES --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(23,86,148,0.06);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 340px;
  transition: box-shadow .18s, transform .14s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 34px rgba(197,83,0,0.13);
  transform: translateY(-4px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* --- FEATURE ITEMS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  width: 100%;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF7F2;
  border-radius: 18px;
  box-shadow: 0 1px 8px rgba(255,191,136,0.1);
  padding: 26px 18px 18px 18px;
  flex: 1 1 270px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow .2s, transform .14s;
}
.feature-grid li img {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 10px 26px rgba(197,83,0,0.10);
  transform: translateY(-2px) scale(1.042);
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  background: #FFF7F2;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(197,83,0,0.04);
  padding: 20px 26px;
  min-width: 280px;
  margin-bottom: 20px;
  flex: 1 1 330px;
  color: #2D2D2D;
  position: relative;
  transition: box-shadow .18s, transform .14s;
}
.testimonial-card p {
  color: #2D2D2D;
  font-size: 1.08rem;
  margin-bottom: 14px;
}
.testimonial-card strong {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #C55300;
}
.testimonial-card img {
  width: 22px; height: 22px;
  margin-right: 1px;
  display: inline-block;
  vertical-align: middle;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 8px 24px rgba(197,83,0,0.10);
  transform: translateY(-2px) scale(1.017);
}

/* --- PRICING TABLE --- */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 14px;
  background: #FFF;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 10px rgba(23,86,148,0.05);
  margin-bottom: 20px;
}
.pricing-table th,
.pricing-table td {
  padding: 16px 12px;
  text-align: left;
}
.pricing-table thead th {
  background: #EF7F25;
  color: #FFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-bottom: none;
}
.pricing-table tbody tr {
  background: #FFF7F2;
  border-bottom: 8px solid #F3F5F9;
  border-radius: 14px;
}
.pricing-table tbody tr:last-child {
  border-bottom: none;
}
.pricing-table td {
  border-right: 1px solid #F3F5F9;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
}
.pricing-table td:last-child {
  border-right: none;
}
.savings-highlight {
  background: #EF7F25;
  color: #FFF;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  margin-bottom: 0;
  margin-top: 16px;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
}

/* --- BUTTONS & UI --- */
button, .cta-btn {
  outline: none;
  border: none;
}
button:focus-visible, .cta-btn:focus-visible {
  outline: 3px solid #EF7F25;
  outline-offset: 1px;
}

/* --- FORMS, TABLES, ETC. --- */
input, textarea, select {
  border-radius: 14px;
  border: 1px solid #C8D5EC;
  padding: 10px 14px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  background: #FFF;
  transition: border-color .18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #EF7F25;
}

/* --- ALIGNMENT PATTERNS & SPACING--- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1100px) {
  .feature-grid, .card-container, .content-grid {
    gap: 18px;
  }
  .container {
    max-width: 95vw;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  header .container {
    flex-direction: row;
    gap: 5px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  section, .section {
    padding: 28px 6vw;
    margin-bottom: 36px;
    border-radius: 16px;
  }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 18px;
  }
  .feature-grid li, .testimonial-card, .card {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  .contact-info {
    gap: 7px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}

/* --- MICRO-INTERACTIONS --- */
.cta-btn, .feature-grid li, .card, .testimonial-card {
  transition: box-shadow .20s, background .15s, transform .14s;
}
.cta-btn:active {
  transform: scale(0.98);
}
button:active {
  transform: scale(0.98);
}
a:active {
  color: #C55300;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #FFF7F2;
  color: #2D2D2D;
  border-top: 1px solid #EF7F25;
  box-shadow: 0 -4px 22px rgba(23,86,148,0.10);
  padding: 22px 10vw 20px 10vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  z-index: 1400;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  animation: cookie-in 0.5s cubic-bezier(.44,1,.44,1.2);
}
@keyframes cookie-in {
  from { transform: translateY(70px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 50vw;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.cookie-btn, .cookie-btn-accept, .cookie-btn-reject, .cookie-settings-btn {
  border-radius: 14px;
  background: #EF7F25;
  color: #FFF;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 10px 22px;
  border: 0;
  margin: 0;
  cursor: pointer;
  transition: background .18s, transform .13s;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #C55300;
}
.cookie-btn-reject {
  background: #C8D5EC;
  color: #175694;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #175694;
  color: #FFF;
}
.cookie-settings-btn {
  background: #FFF;
  color: #EF7F25;
  border: 1px solid #EF7F25;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #EF7F25;
  color: #FFF;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 8px 15px 8px;
    gap: 10px;
    font-size: .98rem;
  }
  .cookie-banner__actions {
    gap: 11px;
  }
}

/* --- COOKIE PREFERENCES MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(42,33,17,0.50);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in .37s cubic-bezier(.44,1,.44,1.18);
}
@keyframes cookie-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #FFF7F2;
  border-radius: 22px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 12px 64px rgba(23,86,148,0.15);
  padding: 38px 32px 25px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #2D2D2D;
  font-family: 'Lato', Arial, sans-serif;
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: #175694;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  background: #FFF;
  border-radius: 14px;
  padding: 12px 14px 12px 16px;
  box-shadow: 0 1px 8px rgba(197,83,0, 0.08);
  width: 100%;
}
.cookie-category label {
  flex: 1;
}
.cookie-modal .cookie-btn-accept, .cookie-modal .cookie-btn-reject, .cookie-modal .cookie-settings-btn {
  margin: 0 0 0 0;
  min-width: 110px;
}
.cookie-modal-close {
  align-self: flex-end;
  background: transparent;
  font-size: 1.9rem;
  color: #EF7F25;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: -14px;
  margin-right: -10px;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #C55300;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 20px 8px 18px 8px;
    min-width: 0;
  }
  .cookie-category {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* --- UTILITIES --- */
.text-center { text-align: center; }
.mr-16 { margin-right: 16px; }
.mt-24 { margin-top: 24px; }
.d-flex { display: flex; }
.gap-24 { gap: 24px; }

/* --- END OF CSS --- */
