/* 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;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1;
  background: #FDF6F0;
  color: #2d3a47;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  scroll-behavior: smooth;
}
ol, ul {
  list-style: none;
}
a {
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  border: 0;
  max-width: 100%;
  display: inline-block;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --color-primary: #315A77;
  --color-secondary: #88A79B;
  --color-accent: #FDF6F0;
  --color-text: #2d3a47;
  --color-bg: #FDF6F0;
  --color-btn: #FFBA81;
  --color-btn-hover: #ffa657;
  --color-card: #fffaf7;
  --color-shadow: rgba(57, 73, 102, 0.07);
  --color-neutral-100: #fff;
  --color-neutral-900: #222;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ======= LAYOUT & CONTAINER ======= */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card);
  border-radius: 20px;
  box-shadow: 0 2px 12px var(--color-shadow);
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 250px;
  flex: 1 1 250px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.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: var(--color-neutral-100);
  border-radius: 20px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 240px;
  color: #26344b;
  max-width: 410px;
  flex: 1 1 300px;
}


/* ======= HEADER & NAVIGATION ======= */
header {
  background: var(--color-neutral-100);
  box-shadow: 0 4px 18px var(--color-shadow);
  padding: 0;
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 18px 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 8px 10px;
  border-radius: 14px;
  color: var(--color-primary);
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #fdf3e8;
  color: #E27514;
  outline: none;
}
.btn-primary {
  font-family: var(--font-display);
  font-size: 18px;
  padding: 12px 32px;
  border-radius: 22px;
  background: var(--color-btn);
  color: var(--color-neutral-900);
  border: none;
  box-shadow: 0 1px 6px rgba(68,59,40,0.07);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-left: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-btn-hover);
  transform: translateY(-2px) scale(1.03);
  color: #104c6b;
}
.btn-secondary {
  font-family: var(--font-body);
  color: var(--color-primary);
  background: transparent;
  padding: 12px 28px;
  border: 2px solid var(--color-btn);
  border-radius: 20px;
  transition: background 0.18s, border 0.18s, color 0.18s;
  font-size: 16px;
  font-weight: 700;
  margin-top: 16px;
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-btn);
  color: #243953;
  border: 2px solid var(--color-primary);
}

/* ======= MOBILE MENU ======= */
.mobile-menu-toggle {
  background: var(--color-btn);
  color: var(--color-primary);
  font-size: 32px;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  cursor: pointer;
  display: none;
  position: absolute;
  right: 20px;
  top: 12px;
  justify-content: center;
  align-items: center;
  z-index: 100;
  transition: background 0.17s;
  box-shadow: 0 2px 6px var(--color-shadow);
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--color-btn-hover);
  outline: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  padding: 40px 0 0 0;
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 300px;
  background: var(--color-accent);
  box-shadow: -4px 0 24px var(--color-shadow);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.69,0,.49,1);
  z-index: 998;
  opacity: 1;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 30px;
  background: var(--color-btn);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  z-index: 1003;
}
.mobile-menu-close:active,
.mobile-menu-close:focus {
  background: var(--color-btn-hover);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 36px 0 36px;
  margin-top: 30px;
}
.mobile-nav a {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--color-primary);
  padding: 12px 0;
  border-radius: 17px;
  transition: background 0.16s, color 0.16s;
  text-align: left;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #fff5e3;
  color: #E27514;
}

@media (max-width: 1050px) {
  header .container, footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  header nav {
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  header .container {
    padding: 14px 10px;
  }
  .container {
    padding: 0 8px;
  }
}
@media (max-width: 768px) {
  header .container nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0 !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .btn-primary {
    display: none;
  }
}

/* ======= HERO & HEADINGS ======= */
.hero {
  background: linear-gradient(112deg, #FDF6F0 60%, #ffe5ca 100%);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 4px 30px var(--color-shadow);
  margin-bottom: 30px;
  padding: 40px 0 50px 0;
}
.hero .container {
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 32px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.3rem;
  color: var(--color-primary);
  line-height: 1.14;
  font-weight: 700;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.25rem;
  color: #594c40;
  max-width: 560px;
  margin: 0 auto 16px auto;
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 12px;
}
h1 {
  font-size: 2rem;
  line-height: 1.15;
  margin-top: 16px;
  margin-bottom: 18px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--color-secondary);
}

p, li, ul, ol {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #433928;
}
strong {
  font-weight: 700;
}

/* ======= FEATURES, SERVICES, CONTENT ======= */
.features, .services, .contact, .section {
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 2px 18px var(--color-shadow);
  margin-bottom: 40px;
  padding: 38px 0;
}
.features .content-wrapper,
.services .content-wrapper,
.contact .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.features ul, .services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features ul li,
.services ul li, 
.contact ul li {
  background: var(--color-card);
  border-radius: 16px;
  box-shadow: 0 1px 5px var(--color-shadow);
  padding: 18px 20px;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  font-family: var(--font-body);
}
.features ul li img,
.services ul li img, 
.contact ul li img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.text-section {
  background: var(--color-card);
  border-radius: 16px;
  box-shadow: 0 1px 6px var(--color-shadow);
  padding: 24px 18px;
  margin-bottom: 20px;
  color: #2b383c;
}

.map {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f9f5ec;
  border-radius: 17px;
  padding: 16px 18px;
  margin: 24px 0 0;
}
.map img {
  width: 44px;
  height: 44px;
}

/* ----- Testimonial Section ----- */
.testimonials, .testimonial-card {
  margin-bottom: 30px;
}
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  color: #2c3746;
  font-size: 1.05rem;
  line-height: 1.55;
  box-shadow: 0 2px 14px var(--color-shadow);
  border: 1px solid #f4e5d6;
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #26344b;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-size: 0.93rem;
  font-weight: 700;
  margin-top: 3px;
}

/* Card content supports */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* ----- Brand Statement/Footer ----- */
footer {
  background: #f4e6d6;
  padding: 36px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  gap: 20px;
}
footer nav a {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-primary);
  border-radius: 14px;
  padding: 7px 11px;
  transition: background 0.12s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #fdf3e8;
  color: #E27514;
}
.brand-statement {
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 17px;
  letter-spacing: 0.03em;
  opacity: 0.93;
  margin-right: 14px;
  line-height: 1.37;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social a {
  width: 30px;
  height: 30px;
  background: #fff6ef;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 1px 5px var(--color-shadow);
  transition: background 0.13s, box-shadow 0.13s;
}
.footer-social a:hover {
  background: #ffe9c7;
  box-shadow: 0 3px 11px var(--color-shadow);
}

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

/* =====  UTILITY & SHADOWS ===== */
.shadow-soft {
  box-shadow: 0 2px 12px var(--color-shadow);
}
.rounded-20 {
  border-radius: 20px;
}
.gap-20 {
  gap: 20px;
}
.mr-10 {
  margin-right: 10px;
}

/* ======= RESPONSIVE/FLEX ======= */
@media (max-width: 1024px) {
  .features ul, .services ul {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .features ul, .services ul {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 95vw;
    min-width: 0;
    padding: 0 5px;
  }

  .section, .features, .services, .contact {
    padding: 30px 0;
    margin-bottom: 28px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .features ul, .services ul {
    flex-direction: column;
    gap: 0;
  }
  .features ul li, .services ul li, .contact ul li {
    min-width: 0;
    width: 100%;
    gap: 13px;
    margin-bottom: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .testimonial-card, .testimonials .content-wrapper {
    width: 100%;
    min-width: 0;
    max-width: unset;
    flex-direction: column;
    gap: 10px;
  }
  .footer-social {
    gap: 12px;
  }
}
@media (max-width: 525px) {
  .hero {
    border-radius: 0 0 18px 18px;
    padding: 24px 0 26px 0;
  }
  .section {
    margin-bottom: 18px;
    padding: 17px 0;
  }
  h1 {
    font-size: 1.35rem;
    margin-top: 8px;
  }
  h2 {
    font-size: 1.02rem;
  }
}

/* ===== HOVER EFFECTS / MICRO-INTERACTIONS ===== */
.card, .testimonial-card, .features ul li, .services ul li, .contact ul li, .text-section {
  transition: box-shadow 0.18s, transform 0.12s;
}
.card:hover, .card:focus,
.features ul li:hover, .services ul li:hover, .contact ul li:hover,
.testimonial-card:hover, .testimonial-card:focus,
.text-section:hover, .text-section:focus {
  box-shadow: 0 5px 24px var(--color-shadow);
  transform: translateY(-2px) scale(1.01);
}

/* ====== COOKIES BANNER ======= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff3e4;
  color: #202e3c;
  box-shadow: 0 -3px 15px var(--color-shadow);
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  z-index: 2130;
  border-radius: 18px 18px 0 0;
  flex-wrap: wrap;
  opacity: 1;
  transition: opacity 0.28s;
  font-size: 17px;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-text {
  flex: 1;
  min-width: 180px;
  font-size: 16px;
  color: #3d464c;
}

.cookie-btns {
  display: flex;
  gap: 14px;
}
.cookie-btn, .cookie-settings-btn {
  background: var(--color-btn);
  color: #144060;
  border: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  border-radius: 17px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
  box-shadow: 0 2px 7px var(--color-shadow);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-btn-hover);
  color: #0c253c;
}
.cookie-settings-btn {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-btn);
  padding: 10px 18px;
  margin-left: 8px;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--color-btn);
  color: var(--color-primary);
}

@media (max-width: 670px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 8px 11px 8px;
    font-size: 15px;
  }
  .cookie-btns {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(49, 90, 119, 0.13);
  z-index: 2150;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.24s;
}
.cookie-modal-bg.open {
  visibility: visible;
  opacity: 1;
}
.cookie-modal {
  background: #fffaf7;
  border-radius: 22px;
  padding: 36px 28px 32px 28px;
  box-shadow: 0 3px 26px var(--color-shadow);
  max-width: 380px;
  width: 92vw;
  position: relative;
}
.cookie-modal-title {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: 17px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #2d3a47;
}
.cookie-cat label {
  font-family: var(--font-body);
  font-weight: 500;
}
.cookie-cat input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-btn);
  border-radius: 5px;
  margin-right: 3px;
}
.cookie-cat input[disabled] {
  opacity: 0.5;
}
.cookie-modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: var(--color-btn);
  color: var(--color-primary);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--color-btn-hover);
}
@media (max-width: 480px) {
  .cookie-modal {
    padding: 20px 6px 18px 11px;
    min-width: 0;
    width: 99vw;
  }
}

/* ===== ACCESSIBILITY FOCUS ===== */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-btn:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===== MISC ===== */
dialog {
  border: none;
  border-radius: 17px;
  box-shadow: 0 2px 19px var(--color-shadow);
}

::-webkit-scrollbar {
  width: 10px;
  background: #ffeede;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: #e8cabb;
  border-radius: 7px;
}

/* ===== TYPOGRAPHY SCALE ===== */
@media (max-width: 1200px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.2rem; }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.38rem;
    margin-bottom: 11px;
  }
  .hero p { font-size: 1.08rem; }
}

/* ===== PREVENT OVERLAPPING/GAPS ===== */
section, .section, .hero, .features, .services, .testimonials, .contact {
  margin-bottom: 44px;
}
.features ul, .services ul, .contact ul {
  gap: 20px;
}
.card-container, .content-grid, .testimonials .content-wrapper {
  gap: 20px;
}
.testimonial-card, .card {
  margin-bottom: 20px;
}

/* ====== PRINT OVERRIDE ====== */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; color: #202e3c; }
}
