/* --------------------- 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F8FAFB;
  color: #253A3F;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1A3C48;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #D9A441;
  outline-offset: 2px;
}
ul, ol {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}
li {
  margin-bottom: 0.5rem;
}

/* -------------- COLOR VARIABLES (with FALLBACKS) ------------------ */
:root {
  --brand-primary: #1A3C48;
  --brand-secondary: #D9A441;
  --brand-accent: #F6F6F6;
  --pastel-blue: #C7E6F7;
  --pastel-pink: #FFE0EC;
  --pastel-yellow: #FFF7CF;
  --pastel-lavender: #EAE6F8;
  --pastel-mint: #DDF7EC;
  --pastel-green: #E0F6E2;
  --pastel-outline: #E2EFF6;
  --text-main: #253A3F;
  --text-dark: #162126;
  --white: #fff;
  --shadow-light: 0 2px 8px 0 rgba(190, 208, 255, 0.22);
}

/* -------------- TYPOGRAPHY ------------------ */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.22;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.85rem;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
h4 {
  font-size: 1.1rem;
}
p, ul, ol, li, blockquote {
  color: var(--text-main);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
p {
  margin-bottom: 1.2rem;
}
blockquote {
  font-style: italic;
  color: var(--brand-primary);
  background: var(--pastel-lavender);
  border-left: 4px solid var(--brand-secondary);
  padding: 1rem 1.5rem;
  margin: 0 0 1rem 0;
  border-radius: 12px 24px 24px 12px;
}
strong {
  font-weight: 700;
  color: var(--brand-primary);
}

/* -------------- CONTAINER ------------------ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  width: 100%;
  margin: 0 auto;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.text-section {
  background: var(--pastel-mint);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: var(--shadow-light);
  margin-bottom: 40px;
}

/* -------------- HEADER & NAV ------------------ */
header {
  background: linear-gradient(180deg, var(--pastel-blue) 0%, var(--white) 100%);
  border-bottom: 2px solid var(--pastel-outline);
  position: relative;
  z-index: 40;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 18px 20px 18px;
  gap: 24px;
}
header img {
  height: 42px;
  margin-right: 20px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.main-nav a {
  color: var(--brand-primary);
  font-weight: 500;
  padding: 8px 6px;
  border-radius: 7px;
  transition: background 0.2s, color 0.19s;
  font-size: 1rem;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-yellow);
  color: var(--brand-secondary);
}

.cta-btn {
  background: var(--brand-secondary);
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 24px;
  padding: 10px 28px;
  box-shadow: var(--shadow-light);
  font-size: 1.08rem;
  margin-left: 14px;
  cursor: pointer;
  letter-spacing: 0.016em;
  transition: background 0.23s, box-shadow 0.21s, color 0.15s, transform 0.15s;
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-primary);
  color: var(--brand-secondary);
  box-shadow: 0 2px 14px rgba(26, 60, 72, 0.12);
  transform: translateY(-1px) scale(1.03);
}

/* ---------------- MOBILE MENU ------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--brand-primary);
  cursor: pointer;
  margin-left: 10px;
  z-index: 120;
  padding: 7px 14px;
  border-radius: 14px;
  transition: background 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus{
  background: var(--pastel-yellow);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(198,230,247,0.95);
  box-shadow: 0 2px 26px 0 rgba(26,60,72,0.10);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  border: none;
  background: none;
  font-size: 2.1rem;
  color: var(--brand-primary);
  padding: 16px;
  align-self: flex-end;
  margin-top: 10px;
  margin-right: 5vw;
  cursor: pointer;
  transition: background 0.12s;
  border-radius: 12px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--pastel-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 60px auto 0 auto;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-primary);
  border-radius: 16px;
  padding: 12px 24px;
  transition: background 0.18s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-yellow);
  color: var(--brand-secondary);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
  .main-nav a {
    font-size: 0.94rem;
    padding: 7px 4px;
  }
  .cta-btn {
    margin-left: 7px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .main-nav,
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    gap: 6px;
    padding: 18px 8px 18px 8px;
  }
}

/* ------------ SECTIONS, FLEX LAYOUTS, SPACING ------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 24px;
  position: relative;
}

.hero {
  background: linear-gradient(120deg, var(--pastel-blue) 0%, var(--pastel-pink) 100%);
  box-shadow: 0 8px 20px -6px rgba(198,230,247,0.18);
  border-radius: 32px;
  min-height: 260px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  padding-top: 20px;
  padding-bottom: 33px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
  max-width: 600px;
}
.hero h1 {
  color: var(--brand-primary);
  font-size: 2.1rem;
  margin-bottom: 0.6rem;
}
.hero p {
  font-size: 1.12rem;
  color: var(--text-main);
}

.content-grid, .feature-grid, .testimonial-grid, .product-grid, .service-grid, .job-listings  {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: flex-stretch;
  margin-top: 24px;
  margin-bottom: 0;
}
.feature-grid, .product-grid, .service-grid {
  gap: 24px 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-lavender);
  margin-bottom: 20px;
  padding: 26px 22px;
  border-radius: 24px;
  box-shadow: var(--shadow-light);
  position: relative;
  flex: 1 1 300px;
  min-width: 260px;
  max-width: 410px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.text-image-section img {
  border-radius: 16px;
  max-width: 350px;
  box-shadow: 0 2px 12px 0 rgba(190,208,255,0.16);
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
  margin-top: 16px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 270px;
  flex: 1 1 280px;
  background: var(--pastel-yellow);
  border-radius: 20px;
  box-shadow: 0 2px 16px 0 rgba(236, 202, 250, 0.10);
  border: 1.5px solid var(--pastel-outline);
  transition: box-shadow 0.22s;
}
.testimonial-card strong {
  color: var(--brand-primary);
}
.testimonial-card p, .testimonial-card blockquote {
  color: var(--text-dark);
  font-size: 1rem;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(218,164,65, 0.14);
}

.feature-box, .product-box, .service-box, .job-card {
  background: var(--white);
  border-radius: 20px;
  padding: 22px 18px;
  box-shadow: 0 1.5px 6px -1px rgba(26,60,72,0.08);
  border: 1.5px solid var(--pastel-outline);
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow 0.18s, border-color 0.18s;
  margin-bottom: 20px;
}
.feature-box img, .service-box img, .product-box img {
  margin-bottom: 6px;
  height: 36px;
  width: 36px;
}
.feature-box:hover, .product-box:hover, .service-box:hover, .job-card:hover {
  box-shadow: 0 8px 30px 0 rgba(26,60,72,0.09);
  border-color: var(--brand-secondary);
  transform: translateY(-2px) scale(1.01);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.address-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  padding: 16px 0;
}
.address-block p {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--brand-primary);
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  align-items: center;
  background: transparent;
  padding: 8px 0;
}
.client-logos img {
  height: 37px;
  margin-right: 14px;
}

.cta {
  background: linear-gradient(100deg, var(--pastel-mint) 40%, var(--pastel-blue) 100%);
  border-radius: 32px;
  padding: 38px 20px 45px 20px;
  box-shadow: 0 12px 28px 0 rgba(207,227,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}
.cta .content-wrapper {
  align-items: center;
  gap: 22px;
}
.cta h2, .cta h1 {
  color: var(--brand-primary);
  margin-bottom: 0.65rem;
  font-size: 2rem;
  text-align: center;
}
.cta p {
  color: var(--brand-primary);
  font-size: 1.1rem;
  text-align: center;
}

/* --------- FOOTER --------- */
footer {
  background: linear-gradient(0deg, var(--pastel-pink) 0%, var(--pastel-lavender) 100%);
  border-top: 2px solid var(--pastel-outline);
  padding-top: 32px;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 17px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 6px;
}
.footer-nav a {
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.92;
  border-radius: 8px;
  padding: 3.5px 7px;
  transition: background 0.17s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-yellow);
  color: var(--brand-secondary);
}
.footer-contact {
  font-size: 1rem;
  color: var(--text-main);
  border-left: 2px solid var(--pastel-outline);
  padding-left: 20px;
  max-width: 330px;
}
.footer-contact a {
  color: var(--brand-primary);
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  font-size: 0.97rem;
  color: var(--brand-primary);
  background: transparent;
  margin-top: 12px;
  padding-bottom: 18px;
  width: 100%;
}
footer img {
  height: 38px;
  margin-bottom: 7px;
}

/* -------------- RESPONSIVE BREAKPOINTS --------------- */
@media (max-width: 1024px) {
  .container {
    max-width: 920px;
  }
  section, .cta {
    padding: 34px 8px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 700px; }
  section, .cta { padding: 28px 6px; }
  .content-grid, .feature-grid, .testimonial-grid, .product-grid, .service-grid, .job-listings {
    gap: 16px;
  }
  .feature-box, .product-box, .service-box, .job-card {
    min-width: 170px;
    max-width: 220px;
    padding: 14px 10px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 98vw;
    padding: 0 7px;
  }
  .content-wrapper, .text-section {
    padding: 0;
    max-width: 98vw;
  }
  section, .cta {
    margin-bottom: 36px;
    padding: 16px 0;
    border-radius: 8px;
  }
  .content-grid, .feature-grid, .testimonial-grid, .product-grid, .service-grid, .job-listings {
    flex-direction: column;
    gap: 14px;
  }
  .hero {
    min-height: 180px;
    padding-top: 6px;
    padding-bottom: 16px;
  }
  .footer-contact {
    padding-left: 0;
    border: none;
    margin-top: 18px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .testimonial-card,.feature-box,.product-box,.service-box,.job-card {
    min-width: 0;
    max-width: 99vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.14rem; }
  .container { padding: 0 4px; }
}

/* ------------- FORMS (if any) ----------- */
input, textarea, select, button {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--pastel-outline);
  background: var(--white);
  padding: 9px 14px;
  margin-bottom: 16px;
  transition: border 0.19s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--brand-secondary);
  outline: none;
}

button {
  cursor: pointer;
  transition: background 0.18s, color 0.14s;
}

/* ------------- MICRO-INTERACTIONS ------------- */
.card, .testimonial-card, .feature-box, .job-card, .product-box, .service-box {
  transition: box-shadow 0.23s, border-color 0.18s, transform 0.14s;
}
.card:hover, .feature-box:hover, .product-box:hover, .job-card:hover, .service-box:hover, .testimonial-card:hover {
  box-shadow: 0 8px 36px 0 rgba(218,164,65, 0.11);
  border-color: var(--brand-secondary);
  transform: translateY(-2px) scale(1.01);
}

.cta-btn:active {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  transform: scale(0.97);
}

.main-nav a:active, .footer-nav a:active, .mobile-nav a:active {
  color: var(--brand-secondary);
}

/* ------------- COOKIE CONSENT BANNER & MODAL --------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, var(--pastel-pink) 60%, var(--pastel-blue) 100%);
  border-top: 2px solid var(--pastel-outline);
  box-shadow: 0 -2px 24px 0 rgba(26,60,72,0.10);
  padding: 22px 24px 19px 24px;
  z-index: 11111;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  animation: cookie-slide-up 0.6s cubic-bezier(0.43,0,0.2,1);
  width: 100vw;
  max-width: 100vw;
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner .cookie-banner-msg {
  flex: 1 1 50%;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--brand-primary);
  font-size: 1.02rem;
  margin-right: 20px;
  min-width: 0;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn, .cookie-settings-btn {
  padding: 8px 21px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 4px 0 rgba(26,60,72,0.08);
  transition: background 0.19s, color 0.16s, transform 0.14s;
}
.cookie-btn.accept {
  background: var(--brand-secondary);
  color: var(--white);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--brand-primary);
  color: var(--brand-secondary);
}
.cookie-btn.reject {
  background: var(--pastel-blue);
  color: var(--brand-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--pastel-yellow);
  color: var(--brand-secondary);
}
.cookie-settings-btn {
  background: var(--white);
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-secondary);
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--pastel-lavender);
  color: var(--brand-secondary);
}

@media (max-width: 670px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 14px 6px 16px 6px;
  }
  .cookie-banner-actions {
    gap: 10px;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 12000;
  background: rgba(62,96,204,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fade-in-cookie-modal 0.33s cubic-bezier(0.44,0,0.22,1);
}
@keyframes fade-in-cookie-modal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: linear-gradient(120deg, var(--pastel-lavender) 80%, var(--pastel-blue) 100%);
  border-radius: 24px;
  padding: 38px 24px 28px 24px;
  box-shadow: 0 6px 48px 0 rgba(67,102,160,0.17);
  min-width: 300px;
  max-width: 98vw;
  width: 412px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brand-primary);
}
.cookie-modal-category {
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}
.cookie-modal-category label {
  font-weight: 600;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: var(--brand-secondary);
}
.cookie-modal-buttons {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 20px; right: 21px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--brand-primary);
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--pastel-yellow);
}
@media (max-width:450px) {
  .cookie-modal-content {
    padding: 18px 4px 12px 4px;
    min-width: 90vw;
    width: 98vw;
  }
}

/* ---------- UTILITY ----------- */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 20px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* ---------- A11Y Focus Styles ---------- */
:focus-visible {
  outline: 3px solid var(--brand-secondary);
  outline-offset: 2px;
}

/* ----------- SCROLLBAR PASTEL ----------- */
::-webkit-scrollbar {
  width: 9px;
  background: var(--pastel-lavender);
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-blue);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-secondary);
}

/* --------- END --------- */
