/* CSS RESET + BASIC NORMALIZATION */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #1a2330;
  background: linear-gradient(135deg, #f8fbfd 0%, #e9f1f8 100%);
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #16416C;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2B33D;
  outline: none;
}
ul, ol {
  margin-left: 1.2em;
}
main {
  width: 100%;
}

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap');

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  margin-bottom: 16px;
  font-weight: 700;
  color: #16416C;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: #16416C;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol {
  margin-bottom: 16px;
  font-size: 1.05rem;
}
strong {
  font-weight: 600;
}

/* LAYOUT HELPERS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(22,65,108,0.07);
  padding: 32px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
  position: relative;
}
.card:hover {
  box-shadow: 0 8px 24px rgba(22,65,108,0.13);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(22,65,108,0.08);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 425px;
  transition: box-shadow 0.16s;
  border-left: 6px solid #F2B33D;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(22,65,108,0.16);
  border-left-color: #16416C;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER + NAV */
header {
  background: linear-gradient(90deg,#16416C 0%, #1F5A99 100%);
  box-shadow: 0 2px 8px rgba(22,65,108,0.05);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
}
.logo img, .footer-logo {
  height: 46px;
  width: auto;
}
.main-menu {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}
.main-menu a {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.16s;
  padding: 9px 0;
  position: relative;
}
.main-menu a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #F2B33D;
  transition: width 0.18s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
.main-menu a:hover,.main-menu a:focus {
  color: #F2B33D;
}
.main-menu a:hover::after,.main-menu a:focus::after {
  width: 100%;
}
.cta-btn {
  background: linear-gradient(90deg,#F2B33D 0%, #F6C972 100%);
  color: #16416C;
  border-radius: 99px;
  padding: 11px 32px;
  font-weight: 700;
  font-family: 'Roboto Slab', serif;
  font-size: 1.1rem;
  box-shadow: 0 2px 12px rgba(242,179,61,0.11);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  border: none;
  outline: none;
  cursor: pointer;
  display: inline-block;
  margin-left: 16px;
  text-align: center;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg,#16416C 0%, #1F5A99 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(22,65,108,0.16);
}

/* BURGER MENU */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #F2B33D;
  display: none;
  cursor: pointer;
  z-index: 201;
  margin-left: 10px;
  padding: 4px 12px;
  border-radius: 4px;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,.mobile-menu-toggle:hover{
  background: rgba(242,179,61,0.16);
}
@media (max-width: 1024px) {
  .main-menu, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,38,60,0.87);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.77,0,.175,1);
  z-index: 1501;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #F2B33D;
  border: none;
  font-size: 2.3rem;
  margin: 24px 0 12px 24px;
  align-self: flex-start;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1502;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 36px 0 0 38px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 0 4px 0;
  transition: color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F2B33D;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(130deg,#16416C 65%, #F2B33D 100%);
  color: #fff;
  padding: 58px 0 54px 0;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 2.3rem;
}
.hero p {
  font-size: 1.18rem;
  margin-bottom: 24px;
  color: #f3f8fc;
  max-width: 540px;
}
.hero .cta-btn {
  margin-top: 6px;
  background: linear-gradient(90deg,#F2B33D 0%, #fff176 100%);
}
.hero .cta-btn:hover {
  background: #fff;
  color: #16416C;
}

/* FEATURES (ICON LIST) */
.features ul, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}
.features li, .service-list li, .values-list li {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(22,65,108,0.08);
  padding: 28px 20px 20px 20px;
  flex: 1 1 230px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.18s, border 0.18s;
  position: relative;
}
.features li img, .service-list li img, .values-list li img {
  height: 44px;
  width: 44px;
  margin-bottom: 10px;
}
.features li:hover,.service-list li:hover, .values-list li:hover{
  box-shadow: 0 8px 28px rgba(22,65,108,0.16);
  border-color: #F2B33D;
}
.features h3, .service-list strong, .values-list strong {
  color: #16416C;
  font-size: 1.18rem;
  font-family: 'Roboto Slab', serif;
  margin-bottom: 6px;
}

/* PROCESS (OL STEPS) */
.process ol {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-left: 0;
  margin-top: 14px;
  margin-bottom: 24px;
}
.process ol li {
  background: #fff;
  border-radius: 14px;
  padding: 24px 22px 18px 22px;
  flex: 1 1 220px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  box-shadow: 0 1px 12px rgba(22,65,108,0.07);
  gap: 6px;
  position: relative;
}
.process ol li span {
  background: #F2B33D;
  color: #16416C;
  font-weight: bold;
  font-family: 'Roboto Slab', serif;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 7px;
}
.process ol li h3 {
  margin-bottom: 8px;
  font-size: 1.07rem;
}
.process .cta-btn {
  margin-top: 20px;
}

/* VALUES LIST */
.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}
.values-list li {
  flex-basis: 205px;
  min-width: 180px;
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0 12px 0;
}
.faq-item {
  background: #f8fbfd;
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(22,65,108,0.04);
  color: #16365a;
  transition: box-shadow 0.12s;
}
.faq-item h3 {
  font-size: 1.08rem;
  color: #1F5A99;
  margin-bottom: 6px;
  cursor: pointer;
}
.faq-item p {
  color: #1a2330;
  font-size: 1rem;
  margin-bottom: 0;
}
.faq-item.open {
  background: #fffbe9;
  box-shadow: 0 6px 18px rgba(242,179,61,0.13);
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: 0 1px 10px rgba(22,65,108,0.07);
  margin-bottom: 24px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}
.pricing-table th,
.pricing-table td {
  padding: 15px 22px;
  text-align: left;
  font-size: 1.04rem;
}
.pricing-table th {
  background: #f2b33d;
  color: #16416C;
  font-weight: bold;
  font-family: 'Roboto Slab', serif;
}
.pricing-table tr {
  border-bottom: 1px solid #f2f2f2;
}
.pricing-table tr:last-child {
  border-bottom: none;
}
.pricing-features {
  margin: 12px 0 0 0;
  padding-left: 18px;
  color: #16416C;
  font-size: 1.06rem;
}

/* TESTIMONIAL STARS */
.stars {
  display: flex;
  align-items: center;
  gap: 3px;
}
.stars img {
  height: 22px;
  width: 22px;
  filter: drop-shadow(1px 1px 2px rgba(246,201,114,.2));
}

/* CONTACT LIST */
.text-section ul,
.content-wrapper > ul {
  list-style: none;
  padding-left: 0;
}
.text-section ul li, .content-wrapper > ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 1.06rem;
  color: #16416C;
  line-height: 1.8;
}
.text-section ul li img {
  height: 26px;
  width: 26px;
}

/* BUTTONS */
button,input[type="submit"] {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 600;
  font-size: 1.08rem;
}
button, .btn, input[type="submit"] {
  border-radius: 99px;
  border: none;
  background: #16416C;
  color: #fff;
  padding: 11px 26px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.16s;
  margin-right: 10px;
  box-shadow: 0 2px 8px rgba(22,65,108,0.08);
}
button:hover, .btn:hover, button:focus, .btn:focus, input[type="submit"]:hover {
  background: #F2B33D;
  color: #16416C;
  box-shadow: 0 6px 18px rgba(242,179,61, 0.12);
  outline: none;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #16416C 0%, #1F5A99 100%);
  color: #fff;
  padding: 46px 0 23px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 1rem;
  color: #fff;
}
.footer-nav a {
  color: #fff;
  font-weight: 500;
  padding: 0 5px;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F2B33D;
}
.footer-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  font-size: 1rem;
}
.footer-info .footer-logo {
  height: 34px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.footer-social img {
  width: 32px;
  height: 32px;
  transition: transform 0.14s, filter 0.14s;
  filter: grayscale(0.35) brightness(1.10);
}
.footer-social a:hover img, .footer-social a:focus img {
  transform: scale(1.08) rotate(-4deg);
  filter: none;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
}
@media (max-width: 900px) {
  .features ul,
  .content-grid,
  .service-list,
  .values-list {
    flex-direction: column;
    gap: 18px;
  }
  .footer-info, .footer-social, .footer-nav {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.31rem; }

  .content-wrapper, .card-container, .content-grid, .service-list, .features ul, .values-list {
    flex-direction: column;
    gap: 16px;
  }
  .process ol {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .footer-info {
    flex-direction: column;
    font-size: 0.95rem;
    gap: 10px;
  }
  .footer-social img {
    width: 28px;
    height: 28px;
  }
  .main-menu,.cta-btn {
    display:none !important;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 40px;
  }
}
@media (max-width: 540px) {
  .testimonial-card {
    padding: 16px 12px;
    max-width: 99vw;
  }
  .section {
    padding: 19px 2px;
  }
  .footer-logo {
    height: 22px;
  }
}

/* SPACING: MANDATORY MINIMUM GAPS */
.section:not(:last-child) { margin-bottom: 60px; }
.card-container > * { margin-bottom: 20px; }
.card:not(:last-child), .testimonial-card:not(:last-child), .feature-item:not(:last-child), .faq-item:not(:last-child) { margin-bottom: 20px; }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1600;
  background: linear-gradient(90deg,#fffbe9 60%, #f2e7bb 100%);
  color: #1a2330;
  box-shadow: 0 -2px 16px rgba(22,65,108,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 5% 22px 5%;
  font-size: 1rem;
  transition: transform 0.25s cubic-bezier(.77,0,.175,1);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-text {
  flex: 1;
  min-width: 140px;
  margin-right: 10px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  background: #16416C;
  color: #fff;
  font-size: 1.02rem;
  border-radius: 18px;
  padding: 9px 20px;
  border: none;
  cursor: pointer;
  font-family: 'Roboto Slab', serif;
  margin: 0 2px;
  transition: background 0.17s, color 0.17s;
  outline: none;
}
.cookie-banner button.accept {
  background: #F2B33D;
  color: #16416C;
}
.cookie-banner button.reject {
  background: #D1453B;
  color: #fff;
}
.cookie-banner button.settings {
  background: #1F5A99;
  color: #fff;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  opacity: .88;
  box-shadow: 0 2px 10px rgba(237,182,69,.09);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(22,65,108,0.26);
  z-index: 1630;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s;
}
.cookie-modal {
  background: linear-gradient(120deg,#fffbe9 70%, #f2e7bb 100%);
  border-radius: 22px;
  box-shadow: 0 10px 40px rgba(22,65,108,0.18);
  max-width: 370px;
  width: 94vw;
  padding: 38px 34px 28px 34px;
  color: #1a2330;
  display: flex;
  flex-direction: column;
  z-index: 1640;
  gap: 18px;
  font-size: 1.02rem;
  position: relative;
  animation: fadeIn 0.26s cubic-bezier(.8,0,.22,1);
}
.cookie-modal .close-modal {
  position: absolute;
  right: 18px;
  top: 14px;
  color: #F2B33D;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  color: #16416C;
}
.cookie-modal h3 {
  color: #16416C;
  font-size: 1.12rem;
  margin-bottom: 7px;
  font-family:'Roboto Slab',serif;
}
.cookie-modal .cookie-prefs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-family: 'Roboto Slab',serif;
}
.cookie-modal .cookie-toggle {
  margin-left: 12px;
}
.cookie-modal .cookie-toggle input[type=checkbox] {
  appearance: none;
  width: 34px;
  height: 18px;
  border-radius: 16px;
  background: #ddd;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background 0.13s;
}
.cookie-modal .cookie-toggle input[type=checkbox]:checked {
  background: #F2B33D;
}
.cookie-modal .cookie-toggle input[type=checkbox]::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
}
.cookie-modal .cookie-toggle input[type=checkbox]:checked::before {
  transform: translateX(16px);
}

.cookie-modal .cookie-desc {
  font-size: 0.94rem;
  color: #606060;
  margin-left: 2px;
  margin-bottom: 4px;
}
.cookie-modal .category-essential .cookie-toggle {
  pointer-events: none;
  opacity: .54;
}
.cookie-modal .modal-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal button {
  border-radius: 99px;
  padding: 8px 22px;
  font-size: 1.07rem;
  font-family: 'Roboto Slab',serif;
  border: none;
  cursor: pointer;
  background: #16416C;
  color: #fff;
  transition: background .13s;
}
.cookie-modal button.save {
  background: #F2B33D;
  color: #16416C;
}
.cookie-modal button.save:hover {
  background: #ffe896;
}
.cookie-modal button.cancel {
  background: #d0d3d8;
  color: #16416C;
}
.cookie-modal button.cancel:hover {
  background: #b9bac0;
}

@media (max-width: 600px) {
  .cookie-modal {
    padding: 18px 4vw 15px 4vw;
    max-width: 97vw;
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(.97); }
  to { opacity: 1; transform: scale(1); }
}

/* MISC: Utility - hide, show, etc.  */
.hide { display: none !important; }
.show { display: block !important; }

/* SELECTED GENERAL MICRO-INTERACTIONS */
.card, .testimonial-card, .faq-item, .features li, .service-list li, .values-list li {
  transition: box-shadow 0.17s, border-color 0.16s, background .17s;
}
.cta-btn, .btn, button {
  transition: background 0.15s,color 0.15s, box-shadow 0.15s;
}

/* PRINT */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  * { color: #000 !important; background: #fff !important; box-shadow: none !important; }
}
