/* --- 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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #161616;
  background: #FFFFFF;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #174B4C;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus {
  color: #C47D35;
  outline: none;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
  padding: 0;
}
button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid #C47D35;
  outline-offset: 2px;
}

/* --- COLOR VARIABLES (WITH FALLBACKS) --- */
:root {
  --color-primary: #174B4C;
  --color-primary-darker: #133C3D;
  --color-primary-lighter: #308E9B;
  --color-secondary: #F8F5F2;
  --color-white: #FFFFFF;
  --color-accent: #C47D35;
  --color-accent-dark: #9B5700;
  --color-electric1: #18A0FB;
  --color-electric2: #F85F36;
  --color-electric3: #33E18D;
  --color-dark: #161616;
  --color-danger: #F32F2F;
  --color-success: #31C375;
  --color-bg-card: #FFFFFF;
  --color-bg-section: #F8F5F2;
  --color-grey-light: #EEEEEE;
}

/* --- TYPOGRAPHY (VIBRANT ENERGETIC) --- */
h1, .h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 2.75rem;
  color: var(--color-primary);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary-darker);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
p, li, address {
  font-size: 1rem;
  color: var(--color-dark);
}
p {
  margin-bottom: 1.1em;
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
.section-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-electric2);
  margin-bottom: 24px;
}

/* --- CONTAINERS AND LAYOUT --- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: 18px;
  box-shadow: 0 2px 18px rgba(24,160,251,0.07);
  position: relative;
}

/* --- HERO --- */
.hero {
  background: linear-gradient(90deg, #F8F5F2 60%, #18A0FB 100%);
  padding-top: 36px;
  padding-bottom: 36px;
  margin-bottom: 48px;
  border-radius: 0 0 32px 32px;
  position: relative;
}
.hero .content-wrapper {
  gap: 22px;
  align-items: flex-start;
}
.hero h1, .hero .h1 {
  color: var(--color-primary);
  background-image: linear-gradient(90deg, #C47D35 30%, #18A0FB 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero p {
  color: var(--color-dark);
  font-size: 1.15rem;
  font-weight: 500;
}

/* --- MAIN NAVIGATION --- */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 2px 18px rgba(24,160,251,0.07);
  position: relative;
  z-index: 100;
}
.main-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 14px 20px;
  gap: 22px;
  background: var(--color-white);
  position: relative;
}
.main-nav .logo img {
  height: 42px;
  width: auto;
  display: block;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav li {
  margin: 0;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-electric1);
  color: #fff;
}
.main-nav .cta-btn {
  background: var(--color-accent);
  color: var(--color-white);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 7px;
  padding: 10px 28px;
  margin-left: 12px;
  transition: background 0.2s, box-shadow 0.22s;
  box-shadow: 0 3px 14px rgba(24,160,251,0.14);
  border: none;
  cursor: pointer;
  outline: none;
  letter-spacing: 0.01em;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: var(--color-electric2);
  color: var(--color-white);
  box-shadow: 0 5px 15px rgba(248,95,54,0.18);
}

.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  z-index: 900;
  background: var(--color-accent);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 16px rgba(195, 125, 53, .11);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-electric2);
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  z-index: 1002;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,75,76,0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  margin-top: 32px;
  margin-bottom: 28px;
  padding: 8px 14px;
  background: var(--color-accent);
  color: #fff;
  font-size: 2rem;
  border-radius: 8px;
  align-self: flex-end;
  margin-right: 36px;
  cursor: pointer;
  transition: background 0.1s;
  border: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-electric2);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.28rem;
  color: var(--color-white);
  background: none;
  padding: 12px 0;
  border-radius: 10px;
  transition: background 0.18s, color 0.14s;
  width: 200px;
  text-align: center;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #FFF;
}

/* --- SECTIONS & FLEX LAYOUTS --- */
.features, .about, .services, .benefits, .cta-final, .cta-choice, .cta-inspire, .contact, .legal, .thank-you, .team, .testimonials, .about-trends {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(24,160,251,0.05);
  position: relative;
}

.section:last-child, .features:last-child, .about:last-child, .services:last-child, .benefits:last-child {
  margin-bottom: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  flex: 1 1 260px;
  background: var(--color-bg-card);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(24,160,251,0.10);
  transition: box-shadow 0.22s, transform 0.18s;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 26px 24px 20px 24px;
}
.card:hover {
  box-shadow: 0 6px 22px 0 rgba(248,95,54,0.11);
  transform: translateY(-7px) scale(1.02);
  z-index: 2;
}
.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: #174B4C;
  box-shadow: 0 2px 18px rgba(24,160,251,0.07);
  border-radius: 14px;
  margin-bottom: 24px;
  border-left: 4px solid var(--color-electric1);
  transition: box-shadow 0.21s, border-color 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(21, 158, 181, 0.13);
  border-left: 4px solid var(--color-accent);
}
.testimonial-card p {
  color: #161616;
  margin-bottom: 0;
}
.testimonial-card strong {
  color: var(--color-primary);
}
.testimonial-card span {
  color: var(--color-electric2);
  font-size: 1.2rem;
  letter-spacing: 0.07em;
  font-weight: bold;
  vertical-align: middle;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFF;
  border-radius: 12px;
  padding: 16px 20px;
}

/* --- FEATURE/GRID CARDS IN DESIGN --- */
.feature-grid, .category-grid, .service-list, .blog-post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid li, .category-grid li {
  background: #fff;
  border-radius: 14px;
  flex: 1 1 230px;
  min-width: 180px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(24,160,251,0.05);
  padding: 18px 20px;
  color: var(--color-primary);
  font-weight: 600;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 0;
}
.feature-grid li img, .category-grid li img {
  width: 36px;
  height: 36px;
}
.feature-grid li:hover, .category-grid li:hover {
  box-shadow: 0 4px 18px rgba(248,95,54,0.09);
  transform: translateY(-4px) scale(1.03);
}
.service-list {
  gap: 24px;
  flex-wrap: wrap;
  flex-direction: row;
}
.service-list li {
  background: #fff;
  padding: 20px 24px 18px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(51,225,141,0.06);
  transition: box-shadow 0.18s, border-color 0.15s;
  flex: 1 1 260px;
  margin-bottom: 20px;
  border-left: 4px solid var(--color-electric3);
}
.service-list li:hover {
  box-shadow: 0 4px 22px rgba(51,225,141,0.14);
  border-left: 4px solid var(--color-accent);
}
.blog-post-grid li {
  background: #FFF;
  border-radius: 10px;
  margin-bottom: 0;
  padding: 14px 18px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.10rem;
  color: var(--color-electric2);
  font-weight: 600;
  box-shadow: 0 1px 8px rgba(248,95,54,0.10);
  transition: box-shadow 0.17s;
}
.blog-post-grid li:hover{
  box-shadow: 0 4px 22px rgba(24,160,251,0.10);
}

/* --- BUTTONS --- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--color-white);
  background: linear-gradient(90deg, var(--color-accent) 65%, var(--color-electric2) 95%);
  border: none;
  border-radius: 28px;
  padding: 13px 36px;
  margin-top: 4px;
  margin-bottom: 4px;
  box-shadow: 0 2px 14px rgba(197, 125, 53, 0.15);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.17s, box-shadow 0.22s, transform 0.15s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--color-electric2) 50%, var(--color-accent) 90%);
  color: #FFF;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 7px 24px rgba(248,95,54,0.14);
  outline: none;
}
.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: #fff;
  margin-top: 28px;
  padding-top: 34px;
  padding-bottom: 22px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-logo img {
  height: 50px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--color-accent);
  color: #FFF;
}
.footer-contact {
  font-size: 0.99rem;
  background-color: #F8F5F2;
  line-height: 1.7;
  margin-bottom: 8px;
}
.footer-contact a {
  color: #35744b;
  text-decoration: underline;
}
.footer-copy {
  font-size: 0.93rem;
  color: #A5C4C2;
  margin-top: 12px;
}

/* --- COOKIE CONSENT BANNER --- */
#cookie-consent-banner {
  position: fixed;
  z-index: 3100;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-white);
  color: var(--color-dark);
  box-shadow: 0 0 18px 0 rgba(23,75,76,0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  gap: 22px;
  font-size: 1rem;
  border-top: 4px solid var(--color-accent);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.33s, transform 0.33s;
}
#cookie-consent-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#cookie-consent-banner .cookie-text {
  flex: 1;
  min-width: 180px;
  color: #174B4C;
}
#cookie-consent-banner .button-group {
  gap: 12px;
}
#cookie-consent-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.19s;
  margin-left: 0;
}
#cookie-consent-banner .accept {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(195, 125, 53, 0.11);
}
#cookie-consent-banner .accept:hover, #cookie-consent-banner .accept:focus {
  background: var(--color-electric2);
}
#cookie-consent-banner .reject {
  background: var(--color-electric1);
  color: #fff;
}
#cookie-consent-banner .reject:hover, #cookie-consent-banner .reject:focus {
  background: var(--color-danger);
}
#cookie-consent-banner .settings {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
}
#cookie-consent-banner .settings:hover, #cookie-consent-banner .settings:focus {
  background: var(--color-accent);
  color: #fff;
}

/* --- COOKIE PREFERENCE MODAL --- */
#cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3200;
  background: rgba(0,0,0,0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
#cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
}
#cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 410px;
  padding: 36px 30px 22px 30px;
  box-shadow: 0 8px 34px rgba(197,125,53,0.21);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: popupIn 0.3s cubic-bezier(.77,0,.18,1);
}
@keyframes popupIn {
  0% { transform: scale(0.87) translateY(50px); opacity: 0; }
  90% { transform: scale(1.01); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 700;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cookie-category strong {
  color: var(--color-accent);
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  background: var(--color-grey-light);
  border-radius: 24px;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  border: 2px solid var(--color-accent);
  transition: background 0.12s;
}
.cookie-toggle[data-checked="true"] {
  background: var(--color-success);
  border-color: var(--color-success);
}
.cookie-toggle .slider {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  top: 1px;
  transition: left 0.13s;
}
.cookie-toggle[data-checked="true"] .slider {
  left: 20px;
  background: #fff;
}
.cookie-modal-btn-group {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  width: 100%;
  justify-content: flex-end;
}
#cookie-modal .accept, #cookie-modal .reject {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 18px;
  border: none;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, box-shadow 0.18s;
}
#cookie-modal .accept {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(195, 125, 53, 0.13);
}
#cookie-modal .accept:hover, #cookie-modal .accept:focus {
  background: var(--color-electric2);
}
#cookie-modal .reject {
  background: var(--color-electric1);
  color: #fff;
}
#cookie-modal .reject:hover, #cookie-modal .reject:focus {
  background: var(--color-danger);
}

/* --- RESPONSIVE DESIGN (MOBILE-FIRST) --- */
@media (max-width: 1140px) {
  .container {
    max-width: 100vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 14px;
  }
  .card-container, .feature-grid, .category-grid, .service-list, .blog-post-grid, .content-grid {
    gap: 14px;
  }
  .features, .about, .benefits, .cta-final, .cta-choice, .cta-inspire, .contact, .legal, .thank-you, .team, .testimonials, .about-trends {
    padding: 28px 7px;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; margin-bottom: 13px; }
  h2, .h2, .section-title { font-size: 1.45rem; margin-bottom: 12px; }
  h3, .h3 { font-size: 1.11rem; }
  .main-nav ul {
    display: none;
  }
  .main-nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 4px;
  }
  .section, .features, .about, .services, .benefits, .cta-final, .cta-choice, .cta-inspire, .contact, .legal, .thank-you, .team, .testimonials, .about-trends {
    padding: 18px 2px;
  }
  .feature-grid, .category-grid, .service-list, .blog-post-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid li, .category-grid li, .service-list li, .card {
    min-width: 0;
    width: 98%;
    flex: 1 1 100%;
  }
  .testimonial-card {
    padding: 14px 9px;
    margin-bottom: 18px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* --- FINE TUNING FOR TOUCH DEVICES --- */
@media (max-width: 600px) {
  .hero {
    padding-top: 13px;
    padding-bottom: 13px;
    margin-bottom: 15px;
    border-radius: 0 0 16px 16px;
  }
  .footer-logo img {
    height: 42px;
  }
  footer {
    padding-top: 17px;
    padding-bottom: 17px;
  }
  .footer-contact {
    font-size: 0.92rem;
  }
  #cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 11px;
    font-size: 0.97rem;
  }
}

/* --- MISC & ACCESSIBILITY --- */
::-webkit-scrollbar { width: 10px; background: #F0F0F0; }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 8px; }

:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

/* Hide visually (for accessibility) */
.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  width: 1px; height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* --- SPECIALS --- */
.thank-you .container, .legal .container {
  align-items: center;
}

/* --- END --- */
