/*--- 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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: linear-gradient(135deg,#e9eef4 0%, #D9D9D2 100%);
  color: #2A3953;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #39537A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E88C1A;
}
/*--- TYPOGRAPHY ---*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #2A3953;
  margin-bottom: 12px;
}
h1 {font-size: 2.5rem; margin-bottom: 24px;}
h2 {font-size: 2rem; margin-bottom: 18px;}
h3 {font-size: 1.25rem; margin-bottom: 10px;}
h4 {font-size: 1.1rem; margin-bottom: 8px;}

p, li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #343434;
  font-size: 1rem;
}
ul, ol {
  margin: 0 0 20px 24px;
}
strong {font-weight: 700;}

/*--- GENERAL LAYOUT STRUCTURE ---*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(57,83,122,0.10);
}

/*--- HEADER & NAV ---*/
header {
  background: linear-gradient(90deg,#39537A 0%, #E88C1A 100%);
  color: #fff;
  box-shadow: 0 6px 32px -13px rgba(57,83,122,0.14);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 0;
  justify-content: flex-start;
}
.main-menu > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #fff;
  opacity: 0.88;
  transition: color 0.2s, opacity 0.2s;
  padding: 8px 10px;
  border-radius: 8px;
}
.main-menu a.cta-primary {
  background: #E88C1A;
  color: #fff;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 32px;
  margin-left: 18px;
  box-shadow: 0 2px 8px 0 rgba(232,140,26,0.14);
  transition: background 0.18s;
}
.main-menu a.cta-primary:hover,
.main-menu a.cta-primary:focus {
  background: #c26c00;
}
.main-menu a:hover,
.main-menu a:focus {
  opacity: 1;
  background: rgba(232,140,26, 0.13);
  color: #fff;
}
.main-menu img {
  width: 46px; height: 46px;
  margin-right: 18px;
}

/* Burger button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  margin-left: auto;
  padding: 8px 14px;
  z-index: 401;
  transition: color 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #E88C1A;
}
/* Mobile Menu Styles */
.mobile-menu {
  display: none;
  position: fixed;
  background: #2A3953;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 400;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.8,.8,0,1);
  box-shadow: 0 0 32px 4px rgba(42,57,83, .22);
  padding: 0 0 0 0;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 60px 24px 24px 32px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 9px;
  opacity: 0.92;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #E88C1A;
  color: #fff;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  margin: 24px 0 0 24px;
  align-self: flex-start;
  cursor: pointer;
  position: absolute;
  top: 8px;
  left: 0px;
  z-index: 402;
  transition: color 0.2s;
  padding: 8px 16px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #E88C1A;
}

@media (max-width: 1020px) {
  .main-menu {
    gap: 14px;
  }
  .container {padding: 0 8px;}
}
@media (max-width: 900px) {
  .main-menu {gap: 6px;}
  .main-menu img {margin-right: 5px;}
}
/*--- MOBILE NAV ACTIVE ---*/
@media (max-width: 820px) {
  .main-menu {
    display: none;
  }
  .mobile-menu-toggle {display: block;}
}

/*--- HERO SECTION ---*/
.hero {
  background: linear-gradient(120deg,#39537A 0%, #E88C1A 100%);
  color: #fff;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 12px 40px -16px rgba(57,83,122,0.14);
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
  padding: 56px 10px 46px 10px;
}
.hero h1 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 18px;
}
.hero p {
  color: #F9F9F5;
  font-size: 1.17rem;
  margin-bottom: 26px;
}

/*--- BUTTONS ---*/
.cta-primary {
  display: inline-block;
  background: #E88C1A;
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 30px;
  padding: 12px 32px;
  margin-top: 20px;
  box-shadow: 0 2px 12px 0 rgba(232,140,26,0.11);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.22s, color 0.2s;
  letter-spacing: .03rem;
}
.cta-primary:hover, 
.cta-primary:focus {
  background: #C26C00;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(57,83,122,.13);
}

.cta-secondary {
  display: inline-block;
  background: #fff;
  color: #39537A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: 2px solid #E88C1A;
  border-radius: 28px;
  padding: 10px 28px;
  margin-top: 20px;
  text-align: center;
  transition: background 0.16s, color 0.16s, border 0.15s, box-shadow 0.18s;
  box-shadow: 0 0.5px 4px rgba(42,57,83,0.07);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #E88C1A;
  color: #fff;
  border-color: #E88C1A;
}

button, input[type='submit'] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  outline: none;
  transition: background .18s, color .18s;
  cursor: pointer;
}

/*--- FLEX LAYOUT PATTERNS ---*/
/* Cards, Grids, Features, etc. Only flex - never grid */
.card-container, .services-grid, .features-grid, .product-grid, .advice-list, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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: 10px;
  padding: 24px 24px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px 0 rgba(57,83,122,0.08);
  min-width: 284px;
  max-width: 520px;
  border-left: 6px solid #E88C1A;
  color: #2A3953;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #222;
}
.testimonial-name {
  font-weight: 700;
  color: #39537A;
  font-size: 1rem;
}
.testimonial-rating {
  color: #E88C1A;
  font-weight: 800;
  letter-spacing: 1px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Service/Product/Advice Cards Patterns */
.service-card, .product-card, .advice-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 26px 22px 22px 22px;
  border-radius: 17px;
  box-shadow: 0 2px 24px 0 rgba(57,83,122,0.09);
  min-width: 220px;
  max-width: 355px;
  margin-bottom: 20px;
  flex: 1 1 260px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.15s;
}
.service-card:hover, .product-card:hover, .advice-card:hover {
  box-shadow: 0 6px 36px 0 rgba(232,140,26,0.12),0 2px 24px 0 rgba(42,57,83,0.11);
  transform: translateY(-4px) scale(1.02);
}
.service-price, .product-price {
  color: #E88C1A;
  font-weight: 700;
  font-size: 1.09rem;
  margin-top: 16px;
}
.advice-card {
  border-left: 4px solid #E88C1A;
  min-width: 220px;
  max-width: 360px;
  flex: 1 1 220px;
}
.service-card h3, .product-card h4, .advice-card h3 {
  color: #39537A;
}

.map-placeholder {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  background: #f3f4f8;
  padding: 18px 20px;
  border-radius: 13px;
}
.map-placeholder p {
  font-size: 1.01rem;
  color: #2A3953;
}

/* Newsletter Signup */
.newsletter-signup {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.newsletter-signup label {
  font-size: 1rem;
  color: #2A3953;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
.newsletter-signup input[type='email'] {
  padding: 10px 18px;
  min-width: 180px;
  border: 1.5px solid #39537A;
  border-radius: 21px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  transition: border 0.15s;
  outline: none;
  margin-right: 4px;
}
.newsletter-signup input[type='email']:focus {
  border: 2px solid #E88C1A;
}
.newsletter-signup button {
  background: #E88C1A;
  color: #fff;
  padding: 10px 18px;
  border-radius: 21px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.12s;
}
.newsletter-signup button:hover, .newsletter-signup button:focus{
  background: #C26C00;
}

/*--- FEATURES, CARDS, ETC ---*/
.features-grid > div, .features-grid .feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #f8fafb;
  border-radius: 13px;
  padding: 22px 18px;
  min-width: 210px;
  flex: 1 1 240px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(57,83,122,0.06);
}
.features-grid img {
  width: 42px;
  margin-bottom: 6px;
}
.features-grid p {
  color: #2A3953;
  font-size: 1.06rem;
}

/*--- RESPONSIVENESS ---*/
@media (max-width: 1100px) {
  .card-container, .services-grid, .features-grid, .product-grid, .advice-list, .service-list {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .content-wrapper, .section, .hero .container {
    padding: 24px 4px 26px 4px;
    gap: 18px;
  }
  .hero h1 {font-size: 1.35rem;}
  .hero p {font-size: 1rem;}
  .card-container, .services-grid, .features-grid, .product-grid, .advice-list, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .service-card, .product-card, .advice-card {
    min-width: 100%; max-width: 100%;
  }
  .newsletter-signup {flex-direction: column; align-items: flex-start; gap: 8px;}
  .text-image-section {flex-direction: column; gap: 18px;}
}
/* Text-image-section mobile flex changes */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 550px) {
  h1 { font-size: 1.09rem; }
  h2 { font-size: 1.03rem; }
  .section, .hero .container{padding: 14px 2px 18px 2px;}
}

/*--- FOOTER ---*/
footer {
  margin-top: 65px;
  padding: 0;
  background: linear-gradient(95deg, #39537A 0%, #E88C1A 130%);
  color: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -6px 34px -10px rgba(42,57,83,0.15);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 44px 0 20px 0;
  border-bottom: 1px solid #E88C1A55;
}
.footer-top img {
  width: 50px; height: 50px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-menu a {
  color: #fff;
  font-weight: 600;
  opacity: 0.86;
  transition: color .18s, opacity .16s;
  font-size: 1rem;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #E88C1A;
  opacity: 1;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}
.social-links {
  display: flex;
  gap: 13px;
}
.social-links a img {
  width: 30px; height: 30px;
  filter: brightness(1.13);
  transition: filter 0.16s;
}
.social-links a:hover img, .social-links a:focus img {
  filter: brightness(1.77);
}
.footer-copy {
  text-align: center;
  color: #fff;
  font-size: 0.92rem;
  padding: 10px 0 20px 0;
  opacity: 0.8;
}
@media (max-width: 768px) {
  .footer-top, .footer-bottom {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding-left: 12px;
    padding-right: 12px;
  }
  footer { margin-top: 46px;}
}

/*--- COOKIE BANNER ---*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #fff;
  border-top: 3px solid #E88C1A;
  box-shadow: 0 -2px 22px 0 rgba(57,83,122,0.09);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  animation: banner-slidein .53s cubic-bezier(.7,0,.2,1);
}
@keyframes banner-slidein {
  from {transform: translateY(100%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner p {
  color: #2A3953;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-banner button {
  border-radius: 20px;
  font-size: 0.98rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 22px;
  border: none;
  margin-left: 0;
}
.cookie-banner .cookie-accept {
  background: #E88C1A;
  color: #fff;
  font-weight: 700;
  transition: background 0.13s;
}
.cookie-banner .cookie-accept:hover, .cookie-banner .cookie-accept:focus {
  background: #C26C00;
}
.cookie-banner .cookie-reject {
  background: #fff;
  color: #39537A;
  font-weight: 600;
  border: 1.2px solid #E88C1A;
  transition: background 0.12s;
}
.cookie-banner .cookie-reject:hover, .cookie-banner .cookie-reject:focus {
  background: #eee2ca;
  color: #C26C00;
}
.cookie-banner .cookie-settings {
  background: #39537A;
  color: #fff;
  font-weight: 600;
  transition: background 0.12s;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #2A3953;
}
@media (max-width: 670px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 2vw 15px 2vw;
  }
  .cookie-banner p { font-size: .95rem;}
}

/*--- COOKIE MODAL ---*/
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 11000;
  background: rgba(42,57,83,0.34);
  align-items: center;
  justify-content: center;
  animation: modal-fadein .28s linear;
}
@keyframes modal-fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-dialog {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 32px 0 rgba(57,83,122,0.17);
  padding: 38px 32px 26px 32px;
  max-width: 95vw;
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: dialog-slidein .24s cubic-bezier(.7,0,.2,1);
}
@keyframes dialog-slidein {
  from {transform: translateY(120px) scale(0.97); opacity: 0;}
  to {transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-modal-dialog h2 {
  font-size: 1.28rem;
  color: #2A3953;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 0;
}
.cookie-category label {
  font-size: 1.03rem;
  font-weight: 500;
  color: #39537A;
}
.cookie-category input[type=checkbox],
.cookie-category input[type=radio] {
  accent-color: #E88C1A;
  width: 20px; height: 20px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.cookie-modal-actions button {
  border-radius: 20px;
  font-size: 0.98rem;
  padding: 10px 26px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
}
.cookie-modal-actions .cookie-accept {
  background: #E88C1A;
  color: #fff;
}
.cookie-modal-actions .cookie-accept:hover, .cookie-modal-actions .cookie-accept:focus {
  background: #C26C00;
}
.cookie-modal-actions .cookie-save {
  background: #39537A;
  color: #fff;
}
.cookie-modal-actions .cookie-save:hover, .cookie-modal-actions .cookie-save:focus {
  background: #2A3953;
}
.cookie-modal-actions .cookie-cancel {
  background: #fff;
  color: #39537A;
  border: 1.2px solid #E88C1A;
}
.cookie-modal-actions .cookie-cancel:hover, .cookie-modal-actions .cookie-cancel:focus {
  background: #eee2ca;
  color: #C26C00;
}
@media (max-width: 600px) {
  .cookie-modal-dialog {
    padding: 18px 8px 16px 8px;
    border-radius: 13px;
    gap: 12px;
    width: 96vw;
  }
  .cookie-modal-dialog h2 {font-size: 1.09rem;}
}

/*--- UTILITY & MISC ---*/
.text-section {
  max-width: 760px;
  margin-bottom: 26px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.text-section ul {
  margin-bottom: 15px;
}
.text-section li {
  margin-bottom: 7px;
}
ul {
  list-style: disc inside;
}

.map-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .footer-top img, .main-menu img { width: 42px; height: 42px;}
}
::-webkit-scrollbar {
  width: 11px;
  background: #D9D9D2;
}
::-webkit-scrollbar-thumb {
  background: #39537A;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E88C1A;
}

/*--- TRANSITIONS, EFFECTS ---*/
section, .section, .card, .service-card, .product-card, .testimonial-card, .advice-card {
  transition: box-shadow 0.14s, background 0.17s;
}
input, textarea, select {
  transition: border 0.14s;
}

/*--- MISC: ENSURE SPACING ---*/
.card-container > *:not(:last-child), .services-grid > *:not(:last-child), .features-grid > *:not(:last-child), .product-grid > *:not(:last-child), .advice-list > *:not(:last-child), .service-list > *:not(:last-child) {
  margin-right: 0;
}

/*--- OVERLAY / LOADING / Z-INDEXes for UI elements ---*/
[aria-modal="true"], .mobile-menu.open, .cookie-modal.open {
  z-index: 2000 !important;
}

/*--- Accessibility Focus Style ---*/
:focus {
  outline: 2px solid #E88C1A;
  outline-offset: 2px;
}

/*--- PRINT ---*/
@media print {
  .cookie-banner, .cookie-modal, .mobile-menu, .mobile-menu-toggle, footer, header {display:none!important;}
  body {background: #fff !important;}
}
