/* --- CSS RESET & NORMALIZE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #24364D;
  background: #F4F6F8;
  min-height: 100vh;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

a {
  text-decoration: none;
  color: #2447e1;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #709255;
}

ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
li + li {
  margin-top: 0.4em;
}

address {
  font-style: normal;
  margin-bottom: 1em;
  color: #24364D;
}

/* --- BRAND FONTS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #24364D;
  font-weight: 700;
  margin-bottom: 0.6em;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; margin-top: 1.2em; }
h3 { font-size: 1.3rem; margin-top: 0.8em; }
h4 { font-size: 1.1rem; }

p, ul, ol {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

strong, b {
  font-weight: 700;
  color: #24364D;
}

small { font-size: 0.9em; color: #709255; }

/* -- LAYOUT CONTAINER -- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 8px 32px rgba(36,54,77,0.09);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- HEADER & NAV --- */
header {
  background: #fff;
  box-shadow: 0 3px 16px rgba(36,54,77,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: space-between;
  min-height: 80px;
}
.logo img {
  height: 48px;
  display: block;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #24364D;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.18s;
}
.main-nav a::after {
  content: '';
  display: block;
  height: 3px;
  width: 0;
  background: #FF5F15;
  border-radius: 2px;
  transition: width 0.22s cubic-bezier(.4,1.3,.4,1), background 0.22s;
  margin-top: 4px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FF5F15;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
  background: #709255;
}

.cta-button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  font-weight: bold;
  padding: 14px 32px;
  color: #fff;
  background-color: #FF5F15;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,95,21,0.17);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.16s, transform 0.16s, box-shadow 0.16s;
  margin-left: 24px;
  position: relative;
  z-index: 3;
}
.cta-button:hover, .cta-button:focus {
  background: #24364D;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 7px 24px rgba(36,54,77,0.11);
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  background: #FF5F15;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 18px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  transition: background 0.18s, box-shadow 0.18s;
  line-height: 1;
  z-index: 110;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #24364D;
  color: #fff;
  box-shadow: 0 2px 17px rgba(255,95,21,0.17);
}
@media (max-width: 1024px) {
  .main-nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #24364D;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.42,1.62,.2,0.86);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.38s cubic-bezier(.42,1.62,.2,0.86), opacity 0.22s;
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.4rem;
  border: none;
  padding: 27px 22px 10px 22px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 2;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #FF5F15;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 18px 28px 28px 40px;
  gap: 22px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  padding: 10px 0;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #FF5F15;
  background: rgba(255,95,21,0.09);
}
@media (max-width: 640px) {
  .mobile-nav {
    padding: 16px 12px 18px 22px;
    gap: 16px;
  }
}

/* --- HERO SECTION (Energetic) --- */
.hero-section {
  background: linear-gradient(112deg, #FF5F15 13%, #709255 75%, #24364D 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
  padding: 0;
}
.hero-section .container {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .content-wrapper {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: 65px 10px 65px 10px;
}
.hero-section h1 {
  color: #fff;
  font-size: 2.7rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 0.7em;
  text-shadow: 0px 6px 36px rgba(36,54,77,0.05);
}
.hero-section p {
  font-size: 1.18rem;
  color: #fff;
  font-weight: 500;
  margin-bottom: 1.3em;
}
.hero-section .cta-button {
  background: #24364D;
  color: #fff;
  margin-top: 14px;
  box-shadow: 0 3px 22px rgba(36,54,77,0.13);
}
.hero-section .cta-button:hover {
  background: #FF5F15;
  color: #fff;
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin: 23px 0 11px 0;
}
.feature-grid > div {
  flex: 1 1 230px;
  background: #F4F6F8;
  border-radius: 1em;
  padding: 32px 22px 24px 22px;
  box-shadow: 0 3px 21px rgba(112,146,85,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
  max-width: 340px;
  min-height: 287px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.feature-grid > div:hover {
  box-shadow: 0 9px 30px rgba(255,95,21,0.18);
  transform: translateY(-4px) scale(1.035);
}
.feature-grid img {
  height: 58px;
  margin-bottom: 16px;
}
.feature-grid h3 {
  font-size: 1.13rem;
  color: #24364D;
  margin-bottom: 7px;
  font-weight: 700;
  text-align: center;
}
.feature-grid p {
  color: #24405A;
  font-size: 1rem;
  text-align: center;
}

/* --- TESTIMONIAL CARDS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  padding: 24px 28px;
  border-radius: 1.1em;
  box-shadow: 0 4px 18px rgba(36,54,77,0.11);
  margin-bottom: 20px;
  margin-top: 0;
  border-left: 7px solid #FF5F15;
  transition: box-shadow 0.2s, border-color 0.18s;
}
.testimonial-card p {
  color: #24364D;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.67;
  margin-bottom: 8px;
}
.testimonial-card strong {
  color: #24364D;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 9px 30px rgba(255,95,21,0.18), 0 1.5px 7px rgba(36,54,77,0.08);
  border-color: #709255;
  transform: scale(1.025) translateY(-2px);
}

/* --- CARDS & SECTIONS (pattern) --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 1em;
  box-shadow: 0 4px 16px rgba(36,54,77,0.09);
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(255,95,21,0.18);
  transform: scale(1.027);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 12px 14px 17px 14px;
  background: #F4F6F8;
  border-radius: 14px;
  box-shadow: 0 4px 11px rgba(112,146,85,0.09);
  margin-bottom: 20px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.service-item {
  background: #fff;
  border-radius: 1em;
  box-shadow: 0 4px 18px rgba(255,95,21,0.09);
  padding: 30px 26px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.17s, border-left 0.2s;
  border-left: 5px solid #709255;
}
.service-item:hover {
  box-shadow: 0 8px 24px rgba(112,146,85,0.17);
  border-left: 5px solid #FF5F15;
}
.service-item h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #24364D;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
}
.service-item p {
  color: #24405A;
}

/* --- INFO BOX, CTA SECTION --- */
.info-box {
  background: #709255;
  color: #fff;
  padding: 20px 23px;
  border-radius: 1em;
  margin-top: 22px;
  margin-bottom: 26px;
  box-shadow: 0 2px 18px rgba(112,146,85,0.07);
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.cta-section .cta-button {
  background: #FF5F15;
  color: #fff;
}
.cta-section .cta-button:hover {
  background: #709255;
}

/* --- CONTACT SECTION --- */
.contact-section {
  background: #24364D;
  color: #fff;
  border-radius: 1.1em;
  padding: 48px 20px 44px 20px;
  margin-bottom: 56px;
  box-shadow: 0 4px 24px rgba(36,54,77,0.09);
}
.contact-section h2, .contact-section strong, .contact-section address {
  color: #fff;
}
.contact-section a {
  color: #FF5F15;
  text-decoration: underline;
  font-weight: 600;
}
.contact-section .cta-button {
  background: #FF5F15;
  color: #fff;
  margin-top: 20px;
}
.contact-section .cta-button:hover {
  background: #fff;
  color: #24364D;
}

/* --- FOOTER --- */
footer {
  background: #24364D;
  color: #fff;
  padding: 32px 0 22px 0;
  margin-top: 70px;
  box-shadow: 0 -3px 14px rgba(36,54,77,0.06);
  border-radius: 2em 2em 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.footer-menu {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}
.footer-menu a {
  color: #FF5F15;
  font-weight: 700;
  margin: 0 5px;
  transition: color 0.18s;
}
.footer-menu a:hover {
  color: #709255;
}
.company-info {
  color: #D5DCEA;
  font-size: 0.98rem;
  margin-bottom: 0;
}
.company-info a {
  color: #FF5F15;
  font-weight: 600;
  text-decoration: underline;
}
.company-info a:hover {
  color: #709255;
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1100px) {
  .hero-section h1 { font-size: 2.1rem; }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div {
    flex: 1 1 170px;
    min-width: 130px;
    max-width: 400px;
    min-height: 180px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .section, .contact-section {
    padding: 27px 5px;
    margin-bottom: 36px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .testimonial-card {
    padding: 18px 13px;
    margin-bottom: 18px;
  }
  .footer-menu {
    font-size: 0.96rem;
  }
}
@media (max-width: 650px) {
  .header .container, header .container { gap: 8px; }
  .footer-menu { font-size: 0.93rem; }
  .company-info { font-size: 0.93rem; }
  .service-item { padding: 15px 10px; }
  .feature-grid > div { padding: 19px 7px 14px 7px; }
}
@media (max-width: 640px) {
  .hero-section .content-wrapper {
    padding: 38px 0;
    text-align: left;
  }
  .hero-section h1 { font-size: 1.37rem; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 1rem; }
  .footer-menu { font-size: 0.9rem; }
  .testimonial-card { padding: 14px 6px; }
  .feature-grid > div { padding: 12px 2px 8px 2px; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; 
  width: 100vw;
  background: #fff;
  color: #24364D;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -2px 15px rgba(36,54,77,0.09);
  padding: 22px 19px;
  z-index: 4050;
  gap: 26px;
  animation: cookie-slide-in 0.45s cubic-bezier(.42,1.34,.3,1.11);
}
@keyframes cookie-slide-in {
  from {
    transform: translateY(100%);
    opacity: 0;
  } to {
    transform: translateY(0);
    opacity: 1;
  }
}
.cookie-banner-text {
  flex: 3;
  font-size: 1.03rem;
  line-height: 1.5;
}
.cookie-banner-actions {
  flex: 2;
  display: flex;
  flex-direction: row;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-btn {
  padding: 9px 21px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  border-radius: 30px;
  border: none;
  margin-right: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.17s, color 0.15s, box-shadow 0.14s;
}
.cookie-btn.accept {
  background: #FF5F15;
  color: #fff;
}
.cookie-btn.accept:hover {
  background: #709255;
  color: #fff;
  box-shadow: 0 6px 15px rgba(255,95,21,0.13);
}
.cookie-btn.reject {
  background: #fff;
  color: #FF5F15;
  border: 2px solid #FF5F15;
}
.cookie-btn.reject:hover {
  background: #FF5F15;
  color: #fff;
}
.cookie-btn.settings {
  background: #709255;
  color: #fff;
}
.cookie-btn.settings:hover {
  background: #fff;
  color: #709255;
  border: 2px solid #709255;
}
@media (max-width: 760px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
    padding: 16px 8px;
  }
  .cookie-banner-actions {
    flex-direction: column;
    gap: 9px;
    align-items: stretch;
  }
}

/* -- COOKIE MODAL -- */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(36,54,77,.63);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #24364D;
  padding: 36px 34px;
  border-radius: 1.3em;
  max-width: 95vw;
  width: 410px;
  box-shadow: 0 8px 40px rgba(36,54,77,0.22);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookie-modal-pop .33s cubic-bezier(.52,1.17,.31,1.09);
}
@keyframes cookie-modal-pop {
  from { transform: scale(0.89) translateY(18px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.27rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: #FF5F15;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 1.1em;
}
.cookie-option-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  font-size: 1.05rem;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #F3F0E6;
  border-radius: 22px;
  position: relative;
  outline: none;
  box-shadow: 0 3px 10px rgba(112,146,85,0.10);
  cursor: pointer;
  transition: background 0.18s;
  margin-right: 2px;
}
.cookie-toggle:checked {
  background: #709255;
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 15px rgba(36,54,77,0.08);
  position: absolute; left: 1px; top: 1px;
  transition: left 0.19s;
}
.cookie-toggle:checked::before {
  left: 21px;
}
.cookie-toggle[disabled], .cookie-toggle:disabled {
  opacity: 0.57;
  background: #e1e6de;
  pointer-events: none;
}
.cookie-modal .cookie-btn-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  padding: 8px 16px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 13px; right: 17px;
  background: transparent;
  color: #24364D;
  font-size: 1.44rem;
  border: none;
  cursor: pointer;
}
.cookie-modal .close-modal:hover { color: #FF5F15; }
@media (max-width: 520px) {
  .cookie-modal {
    padding: 16px 7px;
    width: 98vw;
  }
}

/* --- UTILITIES --- */
.gap-8   { gap: 8px !important;   }
.gap-16  { gap: 16px !important;  }
.gap-20  { gap: 20px !important;  }
.gap-24  { gap: 24px !important;  }
.gap-32  { gap: 32px !important;  }
.rounded { border-radius: 1.1em !important; }
.text-center  { text-align: center !important; }
.text-left    { text-align: left !important;   }
.text-right   { text-align: right !important;  }
.no-shadow    { box-shadow: none !important;   }

/* --- SEPARATORS & HIGHLIGHTS --- */
hr {
  border: none;
  border-bottom: 2px solid #FF5F15;
  width: 30%;
  margin: 28px auto;
  opacity: 0.33;
}

/* --- ENERGY & VIBRANCE SHAPES --- */
.section, .hero-section, .feature-grid > div, .testimonial-card, .service-item, .info-box, .contact-section {
  transition: box-shadow 0.19s, background 0.13s, transform 0.21s;
}

/* --- FOCUS STATES FOR ACCESSIBILITY --- */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .close-modal:focus {
  outline: 3px solid #FF5F15;
  outline-offset: 3px;
  z-index: 11;
}

/* --- MISCELLANEOUS --- */
::-webkit-scrollbar {
  width: 9px;
  background: #F4F6F8;
}
::-webkit-scrollbar-thumb {
  background: #709255;
  border-radius: 8px;
}

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