/* ===========================
   CSS RESET & BASE STYLES
   =========================== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F6FA;
  color: #1D3557;
  line-height: 1.6;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #1D3557;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover, a:focus {
  color: #5994d6;
}
ul, ol {
  padding-left: 1.25em;
}
strong {
  font-weight: 700;
}
hr {
  border: none;
  border-top: 1px solid #e5e8ee;
  margin: 32px 0;
}

/* ===========================
   CREATIVE ARTISTIC VARIABLES
   =========================== */
:root {
  --primary: #1D3557;
  --secondary: #5783B2;
  --accent: #F5F6FA;
  --brand-yellow: #FAC62E;
  --brand-coral: #FF705B;
  --brand-green: #42C6B0;
  --text-dark: #1d3557;
  --text-light: #ffffff;
  --card-shadow: 0 8px 24px rgba(60,90,150,0.10);
  --border-radius: 16px;
  --gap: 24px;
  --transition: 0.25s cubic-bezier(.6,.2,.2,1);
}

/* ===========================
   TYPE SCALE (mobile first)
   =========================== */
h1, .h1 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 24px;
  color: var(--primary);
  letter-spacing: -0.02em;
}
h2, .h2 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--secondary);
}
h3, .h3 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--brand-coral);
}
blockquote {
  font-family: 'Montserrat', cursive, sans-serif;
  font-size: 1.125rem;
  color: var(--brand-coral);
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.4;
}
cite {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  color: var(--primary);
  font-style: normal;
  font-family: 'Roboto', Arial, sans-serif;
}
p, li {
  font-size: 1rem;
  margin-bottom: 12px;
}
.text-section h2, .text-section h3 {
  margin-top: 12px;
}

/* ===========================
   CONTAINER & LAYOUT
   =========================== */
.container {
  width: 96%;
  max-width: 1160px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  box-sizing: border-box;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  box-shadow: var(--card-shadow);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus {
  box-shadow: 0 16px 32px rgba(33, 64, 123, 0.18);
  transform: translateY(-6px) scale(1.02);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
  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;
  background: #fff;
  border-left: 6px solid var(--brand-coral);
  padding: 20px;
  box-shadow: var(--card-shadow);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  padding: 28px 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 265px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid > div:hover {
  box-shadow: 0 16px 36px rgba(255,112,91,0.13);
  transform: translateY(-7px) scale(1.01);
  z-index: 2;
}
.feature-grid img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 5px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 28px;
}

/* ===========================
   HEADER & NAV
   =========================== */
header {
  background: var(--primary);
  color: var(--text-light);
  width: 100%;
  padding: 0 0 0 0;
  z-index: 51;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 72px;
  gap: 16px;
}
header img {
  height: 42px;
  width: auto;
  margin-right: 16px;
  display: block;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  padding: 6px 0;
  position: relative;
}
.main-nav a:after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 1px;
  width: 0%;
  background: var(--brand-yellow);
  transition: width 0.25s;
  margin-top: 2px;
}
.main-nav a:hover:after, .main-nav a:focus:after {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand-coral) 0%, var(--brand-yellow) 100%);
  color: #fff;
  font-family: 'Montserrat', 'Arial', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.025em;
  border: none;
  border-radius: 28px;
  padding: 10px 30px;
  cursor: pointer;
  box-shadow: 0 3px 20px rgba(255,112,91,0.08);
  text-shadow: none;
  transition: background 0.3s, transform 0.23s, box-shadow 0.23s;
  margin-left: 24px;
  text-align: center;
  display: inline-block;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--brand-yellow) 0%, var(--brand-coral) 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 7px 28px rgba(255,112,91,0.13);
}

/* ===========================
   MOBILE MENU BURGER
   =========================== */
.mobile-menu-toggle {
  display: none;
  background: var(--brand-coral);
  color: #fff;
  border: none;
  font-size: 2rem;
  line-height: 1;
  padding: 6px 20px 4px 18px;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(255,112,91,0.08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  transition: background var(--transition), transform var(--transition);
  z-index: 102;
}
.mobile-menu-toggle:active {
  background: var(--brand-yellow);
  transform: scale(0.97);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(29,53,87,0.97);
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(.78,.09,.13,1), opacity 0.3s;
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  padding: 16px 22px 14px 6px;
  cursor: pointer;
  margin: 8px 4px 10px;
  z-index: 300;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 48px 0 0 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 12px 0;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  width: fit-content;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--brand-yellow);
  color: var(--primary);
}

/* Hide main nav and show burger on mobile */
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 1020px) {
  header .btn-primary {
    margin-left: 0;
    font-size: 1rem;
    padding: 8px 18px;
  }
}

/* ===========================
   HERO/SECTION DECORATIVE
   =========================== */
.hero {
  background: linear-gradient(110deg, var(--brand-yellow) 0%, var(--brand-coral) 78%, #fff 100%);
  border-radius: 0 0 64px 0;
  padding-top: 26px;
  padding-bottom: 60px;
  position: relative;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1, .hero .h1 {
  color: var(--primary);
  font-size: 2.3rem;
  background: linear-gradient(90deg,#1D3557 60%,#FF705B 120%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===========================
   LISTS
   =========================== */
ul, ol {
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
ul li strong, ol li strong {
  color: var(--primary);
  font-weight: 700;
}

/* ===========================
   FAQ DROPDOWN STYLE
   =========================== */
.faq-dropdown {
  background: #fff;
  border-left: 5px solid var(--brand-green);
  box-shadow: var(--card-shadow);
  border-radius: var(--border-radius);
  padding: 20px 18px 13px 18px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition);
}
.faq-dropdown:hover, .faq-dropdown:focus-within {
  box-shadow: 0 8px 32px rgba(66,198,176,0.14);
  z-index: 3;
}
.faq-dropdown h3 {
  font-family: 'Montserrat', 'Arial', sans-serif;
  color: var(--brand-green);
  font-size: 1.03rem;
  font-weight: 700;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.23s;
}
.faq-dropdown p {
  font-size: 1rem;
  color: var(--primary);
  margin-left: 5px;
}


/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--primary);
  color: #fff;
  border-radius: 48px 0 0 0;
  padding: 44px 0 28px 0;
  width: 100%;
  margin-top: 80px;
  z-index: 10;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--brand-yellow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--brand-coral);
}
.footer-address {
  font-size: 0.96rem;
  text-align: center;
  margin-bottom: 8px;
}
.footer-address a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
}
.brand-footer {
  margin-top: 6px;
}
.brand-footer img {
  height: 44px;
  width: auto;
  opacity: 0.93;
}

/* ===========================
   COOKIE CONSENT BANNER
   =========================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 9999;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 -2px 20px rgba(30,45,100,0.07);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 16px;
  gap: 18px;
  transition: transform 0.38s cubic-bezier(.23,.62,.36,1), opacity 0.18s;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
.cookie-banner.closed {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  font-size: 1rem;
  margin-bottom: 0;
  max-width: 400px;
}
.cookie-banner .cookie-btn {
  background: var(--brand-yellow);
  color: var(--text-dark);
  border: none;
  border-radius: 24px;
  font-size: 1rem;
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  margin-right: 10px;
  cursor: pointer;
  margin-bottom: 0;
  transition: background 0.19s, color 0.19s, box-shadow 0.16s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--brand-coral);
  color: #fff;
  box-shadow: 0 3px 14px rgba(255,112,91,0.14);
}
.cookie-banner .cookie-btn.settings {
  background: var(--brand-green);
  color: #fff;
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: var(--brand-yellow);
  color: var(--primary);
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -45%);
  z-index: 10001;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 14px 80px rgba(29,53,87,0.21);
  border-radius: 28px;
  max-width: 97vw;
  max-height: 94vh;
  width: 390px;
  padding: 36px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 1;
  transition: opacity 0.26s, transform 0.28s;
}
.cookie-modal.closed {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 40%);
}
.cookie-modal h3 {
  margin-bottom: 8px;
  color: var(--brand-yellow);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-modal .cookie-switch {
  position: relative;
  display: flex;
  width: 48px;
  height: 25px;
  align-items: center;
}
.cookie-modal .cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--accent);
  border-radius: 25px;
  transition: background 0.17s;
  border: 1px solid var(--secondary);
}
.cookie-modal .cookie-switch input:checked + .cookie-slider {
  background: var(--brand-yellow);
}
.cookie-modal .cookie-slider:before {
  content: "";
  position: absolute;
  height: 19px;
  width: 19px;
  border-radius: 50%;
  left: 3px;
  bottom: 3px;
  background: var(--primary);
  transition: transform 0.14s, background 0.14s;
}
.cookie-modal .cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(21px);
  background: var(--brand-coral);
}
.cookie-modal .cookie-buttons {
  display: flex;
  gap: 15px;
  margin-top: 14px;
}
.cookie-modal .cookie-btn {
  flex: 1 1 100px;
}
.cookie-modal .cookie-btn.reject {
  background: var(--brand-coral);
  color: #fff;
}
.cookie-modal .cookie-btn.accept, .cookie-modal .cookie-btn.close {
  background: var(--brand-yellow);
  color: var(--primary);
}
.cookie-modal .cookie-btn.close:hover, .cookie-modal .cookie-btn.close:focus {
  background: var(--brand-green);
  color: #fff;
}

/* ===========================
   MEDIA QUERIES & RESPONSIVE
   =========================== */
@media (max-width: 1020px) {
  .feature-grid {
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  .feature-grid > div {
    min-width: 160px;
    max-width: 100%;
    padding: 18px 10px;
    font-size: 0.99rem;
  }
  .section {
    padding: 30px 10px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .container {
    max-width: 99vw;
  }
  .content-wrapper {
    gap: 18px;
  }
  .section {
    margin-bottom: 36px;
    padding: 23px 5vw;
  }
  .card-container, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 120px;
    max-width: 99vw;
    flex: 1 1 100%;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .hero {
    border-radius: 0 0 26px 0;
    padding-top: 14px;
    padding-bottom: 24px;
  }
  h1, .h1 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
  h2, .h2 {
    font-size: 1.09rem;
    margin-bottom: 11px;
  }
  h3, .h3 {
    font-size: 1rem;
  }
}
@media (max-width: 560px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
    min-height: 60px;
  }
  .brand-footer img {
    height: 34px;
  }
  .footer-address {
    font-size: 0.92rem;
  }
  .cookie-modal {
    width: 97vw;
    padding: 16px 9px 10px 9px;
    min-width: 0;
    font-size: 0.97em;
  }
}

/* ===========================
   FINE-DETAILS & MICRO-INTERACTIONS
   =========================== */
button, .btn-primary {
  outline: none;
}
button:focus-visible, .btn-primary:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}
input, select, textarea {
  border-radius: 8px;
  border: 1px solid var(--secondary);
  font-size: inherit;
  padding: 9px 11px;
}

/* Icon alignment for text */
.text-section img, .feature-grid img, .content-wrapper img {
  vertical-align: text-bottom;
  margin-right: 7px;
  margin-left: 0;
  display: inline-block;
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 1px 1px rgba(33,64,123,0.08));
  opacity: 0.94;
}

/* ===========================
   VISUAL ARTISTIC FLAIR
   =========================== */
.section, .hero, .feature-grid > div, .card, .testimonial-card, .faq-dropdown {
  box-shadow: 0 3px 32px rgba(33,52,98,0.07);
  border-radius: var(--border-radius);
}
.hero {
  border: 3px dashed var(--brand-green);
  box-shadow: 0 16px 56px rgba(255,112,91,0.08);
  background-blend-mode: lighten;
}
.section {
  border-left: 6px solid var(--brand-yellow);
  background: #fff;
}
.feature-grid > div::before {
  content: "";
  position: absolute;
  top: 0; left:0;
  width: 100%;
  height: 9px;
  background: linear-gradient(90deg,var(--brand-yellow),var(--brand-coral));
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  opacity: 0.45;
}


/* ===========================
   MISC: OTHER LAYOUT UTILITIES
   =========================== */
.m-auto { margin: auto; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-20 { margin-bottom: 20px !important; }
.round { border-radius: 50% !important; }

/* Prevent content overlap on narrow screens */
* {
  min-width: 0;
}

/* ===========================
   PRINT & FINAL CONSTRAINTS
   =========================== */
@media print {
  nav, .main-nav, .mobile-menu, .btn-primary, footer, .cookie-banner, .cookie-modal { display: none !important; }
}
