/*-------------------------------------------------------------
  SovreConca style.css
  Warm Friendly Flexbox Design System
  Author: Website Developer for SovreConca
-------------------------------------------------------------*/
/* CSS Reset & Normalize */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
img, picture {
  max-width: 100%;
  display: block;
  border: 0;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, select, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
  background-color: transparent;
}
:focus {
  outline: 2px solid #1ABC5B;
  outline-offset: 2px;
}

/* Brand Colors & Custom Properties */
:root {
  --primary: #16405B;
  --secondary: #1ABC5B;
  --accent: #F9F7F1;
  --neutral: #fff;
  --warm1: #FFEADD;
  --warm2: #F7D6AD;
  --warm3: #FFD6A5;
  --warm4: #E96C3A;
  --gray1: #3A4750;
  --gray2: #8C99A4;
  --shadow: 0 2px 8px rgba(31,64,91,0.10), 0 1.5px 4px rgba(234,175,124,0.06);
}

/*-------------------
  Typography
-------------------*/
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--gray1);
  background: var(--accent);
  line-height: 1.6;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.15;
}
h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 20px; }
h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 18px; }
h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 10px; }
p, ul li, ol li { font-size: 1rem; margin-bottom: 8px; }
strong {
  font-weight: 700;
  color: var(--secondary);
}

/*-------------------
  Containers & Layout
-------------------*/
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 769px) {
  .section { padding: 50px 40px; }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Card layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 22px;
  flex: 1 1 300px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(22,64,91,0.15);
  transform: translateY(-3px) scale(1.015);
}

.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;
  color: var(--gray1);
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  max-width: 450px;
  min-width: 0;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card span {
  color: var(--secondary);
  font-weight: 500;
  font-size: 1.1em;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.testimonial-card h3 {
  margin-bottom: 4px;
}
.testimonial-card p {
  color: var(--gray1);
  font-size: 1.03rem;
  margin-bottom: 3px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(196,78,0,0.09);
  transform: translateY(-6px) scale(1.03);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--warm1);
  padding: 14px 18px;
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(234,175,124,0.10);
  margin-bottom: 20px;
}

.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-info ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--primary);
  font-size: 1.03rem;
}
.location-map {
  margin-top: 24px;
  border-radius: 16px;
  background: var(--warm2);
  padding: 16px 20px;
}

/* Responsive stacking for wrappers */
@media (max-width: 768px) {
  .section {
    margin-bottom: 45px;
    padding: 24px 8px;
  }
  .container { padding: 0 8px; }
  .testimonial-card { max-width: 100%; }
  .content-grid, .card-container, .content-wrapper,
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/*-------------------
  Header & Navigation
-------------------*/
header {
  background: var(--primary);
  padding: 0 0 4px 0;
  box-shadow: 0 5px 14px -8px rgba(22,64,91,0.07);
  position: sticky;
  top: 0;
  z-index: 1030;
  width: 100%;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 16px;
  min-height: 72px;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 12px;
  padding: 6px 15px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: #fff !important;
}
header img {
  max-height: 38px;
  min-width: 110px;
  margin-right: 12px;
}
.cta-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: var(--secondary);
  color: #fff;
  border-radius: 18px;
  padding: 10px 28px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(26,188,91,0.10);
  border: none;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  display: inline-block;
  margin-left: 10px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #169c47;
  box-shadow: 0 8px 18px -8px rgba(26,188,91,0.14);
  transform: translateY(-2px) scale(1.04);
  color: #fff;
}

/* Header Responsive */
@media (max-width: 992px) {
  header .container {
    flex-wrap: wrap;
    padding: 12px 10px;
  }
  header nav {
    gap: 7px;
  }
}
@media (max-width: 820px) {
  header nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: flex;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: 0 0.5px 3px rgba(26,188,91,0.09);
    position: absolute;
    right: 16px;
    top: 21px;
    z-index: 1210;
    transition: background 0.19s, color 0.19s;
  }
}
@media (min-width: 821px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
}

/*-------------------
  Mobile Menu Styles
-------------------*/
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,64,91,0.97);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.22s cubic-bezier(.84,-0.22,.72,1.47);
  padding-top: 55px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  color: #fff;
  background: var(--secondary);
  font-size: 2.1rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  margin: 16px 22px 30px 0;
  border: none;
  transition: background 0.18s, color 0.18s, transform 0.15s;
  box-shadow: 0 0.5px 4px rgba(26,188,91,0.09);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #169c47;
  transform: rotate(8deg) scale(1.04);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 6px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  padding: 12px 8px 10px 0;
  border-radius: 10px;
  transition: background 0.18s, color 0.16s;
  line-height: 1.3;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff !important;
}


/*-----------------------------------------------------
  Main Content: Sections, Lists, Buttons, Cards
-----------------------------------------------------*/
main {
  flex: 1 0 auto;
}
.section ul, .section ol {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 12px;
}
.section ul li, .section ol li {
  background: var(--warm1);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--primary);
  box-shadow: 0 2px 5px rgba(250,185,109,0.06);
  display: flex;
  align-items: center;
  gap: 14px;
}
.section ul li strong {
  color: var(--secondary);
}
@media (max-width: 680px) {
  .section ul li, .section ol li { font-size: 0.97rem; }
}

/*-------------------
  Footer
-------------------*/
footer {
  background: #fff;
  border-top: 1px solid #e6e6e6;
  box-shadow: 0 -4px 24px -14px rgba(234,145,80,0.04);
  padding-top: 20px;
  padding-bottom: 16px;
  margin-top: 30px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--primary);
  font-size: 1.08rem;
  padding: 4px 11px;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: background 0.13s, color 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-links a {
  display: flex;
  align-items: center;
  background: var(--warm2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(234,175,124,0.10);
  transition: box-shadow 0.13s, background 0.14s;
}
.social-links a:hover {
  background: var(--secondary);
  box-shadow: 0 8px 24px -7px rgba(26,188,91,0.11);
}
@media (min-width: 650px) {
  footer .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }
}

/*-------------------
  Misc Visual Elements
-------------------*/
img[alt^="icon-"] {
  width: 26px;
  height: 26px;
  margin-right: 7px;
  vertical-align: middle;
}

.location-map {
  font-size: 1.04rem;
  color: var(--primary);
}

/*-----------------------------------------------------
  Cookie Consent Banner & Modal
-----------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff8f3;
  color: var(--gray1);
  border-top: 2px solid var(--secondary);
  box-shadow: 0 -4px 20px -8px rgba(250,185,109,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2200;
  padding: 20px 16px 27px 16px;
  gap: 16px;
  transition: transform 0.2s;
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 7px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: var(--secondary);
  color: #fff;
  border-radius: 12px;
  padding: 9px 20px;
  font-weight: 600;
  border: none;
  margin: 0 2px;
  transition: background 0.17s, transform 0.13s;
}
.cookie-btn.reject {
  background: var(--primary);
}
.cookie-btn.settings {
  background: #fff;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #169c47;
  color: #fff;
  transform: translateY(-1px) scale(1.04);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #112e3f;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  border-color: var(--primary);
  color: var(--primary);
}

.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,46,57,0.74);
  z-index: 2300;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.18s;
}
.cookie-modal.hide {
  pointer-events: none;
  opacity: 0;
}
.cookie-modal-content {
  background: #fff;
  color: var(--gray1);
  border-radius: 18px;
  max-width: 360px;
  width: 100%;
  padding: 32px 22px 26px 22px;
  box-shadow: 0 10px 40px rgba(22,64,91,0.16);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2320;
}
.cookie-modal-content h2 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 7px;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--gray2);
  color: #fff;
  border-radius: 50%;
  font-size: 1.6rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.13s;
  z-index: 2322;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--secondary);
}
.cookie-modal-category {
  background: var(--warm1);
  border-radius: 12px;
  padding: 12px 10px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.cookie-modal-category .category-name {
  font-weight: 600;
  color: var(--primary);
}
.cookie-modal-category input[type="checkbox"] {
  width: 23px;
  height: 23px;
  accent-color: var(--secondary);
}
.cookie-modal-category input[type="checkbox"][disabled] {
  accent-color: var(--primary);
  opacity: 0.6;
}
@media (max-width: 420px) {
  .cookie-modal-content {
    max-width: 95vw;
    padding: 14px 4vw 16px 4vw;
  }
}

/*-----------------------------
  Transitions & Interactions
-----------------------------*/
a, button, .cta-btn, .cookie-btn {
  transition: background 0.16s, color 0.16s, box-shadow 0.16s, border 0.12s, transform 0.16s;
}

/* Subtle micro-interactions for links */
a:hover, a:focus {
  color: var(--secondary);
  text-decoration: underline dashed rgba(26,188,91,0.13);
}

/*-------------------
  Utilities (Spacing)
-------------------*/
.mt-0 { margin-top: 0 !important; }   .mt-1 { margin-top: 16px !important; } .mt-2 { margin-top: 24px !important; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 16px !important; } .mb-2 { margin-bottom: 24px !important; }
.p-1 { padding: 16px !important; }    .p-2 { padding: 24px !important; }
.gap-1 { gap: 12px !important; }      .gap-2 { gap: 24px !important; }

/* Responsive font scaling */
@media (max-width: 500px) {
  h1 { font-size: 1.48rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1rem; }
  .cta-btn, .cookie-btn { font-size: 0.98rem; }
}

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