/* ==== CSS RESET & BASE ==== */
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  background: #E8EDF3;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #29336D;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4, h5, h6 { font-size: 1.075rem; }
p, li, ul, ol {
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 0.75em;
  color: #222;
}
ul, ol { padding-left: 1.25em; }
strong { font-weight: 700; }
img { display: block; max-width: 100%; height: auto; border: none; }
a {
  color: #29336D;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.4,0,0.2,1);
  font-weight: 600;
}
a:hover, a:focus {
  color: #F29E4C;
  outline: none;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(41, 51, 109, 0.07);
}

/* ==== FLEXSPACING - MANDATORY ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 20px 0 rgba(41, 51, 109, 0.10);
  padding: 28px 22px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px 0 rgba(242, 158, 76, 0.14), 0 2px 10px 0 rgba(41, 51, 109, 0.08);
  transform: translateY(-3px) scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.feature-grid,
.facts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.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;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(41,51,109,0.09);
  margin-bottom: 20px;
  border-left: 6px solid #F29E4C;
  min-width: 220px;
  max-width: 500px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(41, 51, 109, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  padding-bottom: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 14px 20px 12px 20px;
}
header img {
  height: 46px;
  width: auto;
}
nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-direction: row;
}
.cta-btn {
  background: #F29E4C;
  color: #29336D;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border: none;
  border-radius: 32px;
  box-shadow: 0 2px 16px 0 rgba(242, 158, 76, 0.20);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.2s, transform 0.13s;
  margin-left: 28px;
  display: inline-block;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.cta-btn:hover, .cta-btn:focus {
  background: #29336D;
  color: #fff;
  box-shadow: 0 4px 30px 0 rgba(41, 51, 109, 0.11);
  outline: none;
  transform: translateY(-2px) scale(1.045);
}
header .mobile-menu-toggle {
  display: none;
  background: #F29E4C;
  color: #29336D;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin-left: 24px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.18s, background 0.18s;
}
header .mobile-menu-toggle:hover, header .mobile-menu-toggle:focus {
  background: #29336D;
  color: #fff;
  box-shadow: 0 2px 12px 0 rgba(242, 158, 76, 0.27);
  outline: 2px solid #F29E4C;
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #29336D;
  color: #fff;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 30px 0 28px;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(0.58,0.09,0.37,1), visibility 0.11s;
  visibility: hidden;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #F29E4C;
  font-size: 2.3rem;
  align-self: flex-end;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  outline: none;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px 0 0 0;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(242, 158, 76, 0.08);
  transition: color 0.14s, background 0.14s;
  border-radius: 0;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #F29E4C;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

/* ==== HERO ==== */
.hero {
  background: linear-gradient(90deg,#E8EDF3 55%,#F29E4C 110%);
  min-height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 44px 44px;
  box-shadow: 0 7px 40px 0 rgba(41, 51, 109, 0.07);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
  max-width: 630px;
}
.hero h1 {
  color: #29336D;
  font-size: 2.2rem;
  margin-bottom: 6px;
}
.hero p {
  color: #29336D;
  font-size: 1.17rem;
  margin-bottom: 12px;
  font-weight: 500;
}
.hero .cta-btn {
  margin-top: 12px;
}

/* ==== FEATURES/FACTS GRID ==== */
.feature-grid > div, .facts-grid > div {
  background: #fff;
  border-radius: 20px;
  padding: 26px 18px;
  box-shadow: 0 2px 18px 0 rgba(41, 51, 109, 0.08);
  min-width: 210px;
  flex: 1 0 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.16s;
}
.feature-grid > div:hover, .facts-grid > div:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px 0 rgba(242, 158, 76, 0.15);
}
.feature-grid img, .facts-grid img {
  height: 48px;
  margin-bottom: 12px;
}
.feature-grid h3, .facts-grid h3 {
  color: #F29E4C;
  font-size: 1.18rem;
  margin-bottom: 6px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
}

/* ==== BUTTONS ==== */
button, input[type=submit], input[type=button] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 10px 24px;
  border-radius: 30px;
  border: none;
  background: #F29E4C;
  color: #29336D;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, box-shadow 0.16s, transform 0.12s;
  box-shadow: 0 2px 10px 0 rgba(242, 158, 76, 0.11);
}
button:hover, button:focus, input[type=submit]:hover, input[type=submit]:focus {
  background: #29336D;
  color: #fff;
  box-shadow: 0 4px 22px 0 rgba(242, 158, 76, 0.13);
  transform: translateY(-2px) scale(1.03);
  outline: none;
}

/* ==== TESTIMONIALS ==== */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.testimonial-card p {
  color: #29336D;
  font-size: 1.09rem;
  margin-bottom: 5px;
}
.testimonial-card strong {
  color: #F29E4C;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ==== CTA & ACCENTS ==== */
.cta {
  background: #F29E4C;
  border-radius: 30px;
  box-shadow: 0 4px 34px 0 rgba(242, 158, 76, 0.13);
  margin-bottom: 44px;
  padding: 44px 20px;
}
.cta .content-wrapper h2, .cta .content-wrapper p {
  color: #29336D;
}
.cta .cta-btn {
  background: #29336D;
  color: #fff;
  border: 2px solid #fff;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #fff;
  color: #F29E4C;
  border: 2px solid #29336D;
}

/* ==== FOOTER ==== */
footer {
  width: 100%;
  background: #29336D;
  color: #fff;
  padding: 38px 0 0 0;
  font-size: 0.97rem;
  border-radius: 34px 34px 0 0;
  box-shadow: 0 -2px 26px 0 rgba(41, 51, 109, 0.08);
  margin-top: 48px;
}
footer .container {
  flex-direction: column;
  gap: 20px;
  padding: 0 20px 12px 20px;
}
footer nav {
  gap: 28px;
  margin-bottom: 12px;
}
footer nav a {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #F29E4C;
}
.footer-contact p {
  color: #fff;
  font-size: 0.96rem;
  margin-bottom: 4px;
}

/* ==== FORMS (if any added later) ==== */
input, textarea, select {
  border: 2px solid #F29E4C;
  border-radius: 14px;
  padding: 10px;
  font-size: 1rem;
  margin-bottom: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #29336D;
  background: #fff;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  border-color: #29336D;
  outline: none;
}
label {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #29336D;
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

/* ==== SECTION SPACING FOR FAQ/LEGAL ==== */
.legal {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(41,51,109,0.06);
}
.faq .content-wrapper {
  gap: 24px;
}

/* ==== ACCOLADES & VALUES SECTIONS ==== */
.values .content-wrapper,
.accolades .content-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(41,51,109,0.06);
  padding: 28px 18px;
  margin-bottom: 24px;
  gap: 16px;
}
.values ul li, .accolades ul li {
  color: #29336D;
  margin-bottom: 10px;
  font-weight: 500;
}

/* ==== LOCATION / CONTACT ICONS ==== */
.contact-info ul,
.location .content-wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-info ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  color: #29336D;
  font-weight: 600;
  font-size: 1.06rem;
}
.contact-info ul img {
  width: 22px;
}

/* ==== THANK YOU PAGE ==== */
.thank-you .content-wrapper {
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 50px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 24px 0 rgba(41, 51, 109, 0.10);
}
.thank-you h1, .thank-you p {
  color: #29336D;
}
.thank-you .cta-btn { margin-top: 16px; }

/* ==== COOKIE BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #29336D;
  color: #fff;
  z-index: 9999;
  padding: 24px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 -2px 18px 0 rgba(41,51,109,0.18);
  gap: 15px;
  animation: cookie-banner-slideup 0.48s cubic-bezier(0.44,0.11,0.42,1);
}
@keyframes cookie-banner-slideup {
  from { transform: translateY(140px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 6px;
  font-size: 1.01rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btns button {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 24px;
  font-weight: 800;
  padding: 10px 22px;
  border: none;
  cursor: pointer;
  transition: background 0.17s, color 0.17s, transform 0.10s;
}
.cookie-btns .accept-btn {
  background: #F29E4C;
  color: #29336D;
}
.cookie-btns .accept-btn:hover, .cookie-btns .accept-btn:focus {
  background: #fff;
  color: #29336D;
}
.cookie-btns .reject-btn {
  background: #fff;
  color: #29336D;
  border: 2px solid #F29E4C;
}
.cookie-btns .reject-btn:hover, .cookie-btns .reject-btn:focus {
  background: #F29E4C;
  color: #fff;
  border: 2px solid #fff;
}
.cookie-btns .settings-btn {
  background: transparent;
  color: #F29E4C;
  border: 1.4px solid #F29E4C;
}
.cookie-btns .settings-btn:hover, .cookie-btns .settings-btn:focus {
  background: #F29E4C;
  color: #29336D;
}

/* ==== COOKIE MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(41,51,109, 0.74);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.46,0,0.41,1);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 6px 36px 0 rgba(41,51,109,0.21);
  min-width: 320px;
  max-width: 98vw;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: cookie-modal-pop 0.41s cubic-bezier(0.66,0,0.33,1);
}
@keyframes cookie-modal-pop {
  0% { transform: scale(0.93); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.22rem;
  color: #29336D;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal label {
  font-size: 1.07rem;
  color: #29336D;
}
.cookie-categories {
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-category input[type=checkbox] {
  width: 24px; height: 24px;
  accent-color: #F29E4C;
}
.cookie-category input[disabled] {
  opacity: 0.5;
  accent-color: #bbb;
}
.cookie-modal-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.cookie-modal-btns button {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  border-radius: 24px;
  padding: 10px 24px;
  border: none;
  background: #F29E4C;
  color: #29336D;
  transition: background 0.17s, color 0.17s;
  cursor: pointer;
}
.cookie-modal-btns button:hover, .cookie-modal-btns button:focus {
  background: #29336D;
  color: #fff;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
    padding: 0 8px;
  }
  .feature-grid, .facts-grid, .content-grid {
    gap: 16px;
  }
}
@media (max-width: 850px) {
  nav {
    gap: 14px;
  }
  .cta-btn { margin-left: 14px; }
  .feature-grid, .facts-grid {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .section, .legal, .cta {
    padding: 32px 8px;
    border-radius: 18px;
  }
  .feature-grid, .facts-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .facts-grid > div {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    border-radius: 15px;
    padding: 18px 10px;
  }
  .testimonials .content-wrapper {
    gap: 16px;
    flex-direction: column;
  }
  header .container {
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 10px 8px 8px 8px;
  }
  header nav, footer nav {
    display: none;
  }
  header .mobile-menu-toggle {
    display: flex;
  }
  .cta {
    border-radius: 16px;
    padding: 30px 10px;
  }
  .testimonial-card, .about-snippet .content-wrapper, .location .content-wrapper, .thank-you .content-wrapper {
    padding: 20px 8px;
    border-radius: 15px;
  }
  .hero {
    min-height: 260px;
    border-radius: 0 0 30px 30px;
  }
  .hero .content-wrapper {
    padding: 0;
  }
  .about-snippet .content-wrapper, .portfolio-intro .content-wrapper {
    padding: 12px 4px;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.27rem; }
  .hero h1 { font-size: 1.28rem; }
  .cta-btn, .cookie-banner .cookie-btns button { font-size: 1rem; padding: 11px 18px; }
  .feature-grid > div, .facts-grid > div, .cta .content-wrapper, .thank-you .content-wrapper {
    padding: 13px 5px;
  }
  .cookie-modal { padding: 16px 7px 23px 7px; min-width: 0; }
}
/* === TEXT-IMAGE SECTION RESPONSIVE === */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ==== MICRO-INTERACTIONS ==== */
.card, .feature-grid > div, .facts-grid > div, .testimonial-card, .cta-btn, .cookie-btns button, .cookie-modal-btns button {
  transition: box-shadow 0.18s, background 0.17s, color 0.17s, transform 0.13s;
}
.card:active, .feature-grid > div:active, .facts-grid > div:active, .testimonial-card:active, .cta-btn:active {
  transform: scale(0.98);
}

/* ==== GENERAL SHADOW/ROUNDING POLISH ==== */
.section, .legal, .about-snippet .content-wrapper, .portfolio-intro .content-wrapper {
  box-shadow: 0 2px 24px 0 rgba(41,51,109,0.08);
  border-radius: 20px;
}

/* ==== OVERRIDES: NO GRID/COLUMN PROPERTIES ==== */
/* All layout is flexbox, no usage of grid, columns, or clamp(). */

/* ==== Z-INDEX MANAGEMENT ==== */
header { z-index: 100; }
.mobile-menu { z-index: 9998; }
.cookie-banner { z-index: 9999; }
.cookie-modal-overlay { z-index: 10000; }

/* ==== HELPER CLASSES ==== */
.nowrap { white-space: nowrap; }
.d-flex { display: flex !important; }
.align-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.gap-20 { gap: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.pt-20 { padding-top: 20px !important; }
.pb-20 { padding-bottom: 20px !important; }

/* ==== END ==== */
