/* ================== 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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #F2F6FB;
  color: #212630;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: #275286;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #C87513;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #1A293B;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
  margin-top: 0;
}
h3 {
  font-size: 1.35rem;
}
h4 {
  font-size: 1.12rem;
}
strong {
  font-weight: 700;
}

/* ========== LAYOUT & CONTAINER ========== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 24px 0 rgba(39, 82, 134, 0.05);
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: #fff;
  border-bottom: 3px solid #275286;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px 0 rgba(39,82,134,0.05);
}
.logo {
  margin-right: 32px;
  display: flex;
  align-items: center;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 12px 20px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  position: relative;
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F2F6FB;
  color: #C87513;
}
.main-nav .primary {
  background: #275286;
  color: #fff;
  border-radius: 12px 4px 12px 4px;
  padding: 10px 22px;
  margin-left: 12px;
  box-shadow: 0 2px 8px 0 rgba(39, 82, 134, 0.07);
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}
.main-nav .primary:hover,
.main-nav .primary:focus {
  background: #C87513;
  color: #fff;
  box-shadow: 0 4px 16px 0 rgba(244,158,63,0.10);
}

/* ========== MOBILE NAV ========== */
.mobile-menu-toggle {
  display: none;
  background: #F2F6FB;
  font-size: 2rem;
  color: #275286;
  border-radius: 8px;
  padding: 6px 10px;
  transition: background 0.18s;
  z-index: 201;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #C87513;
  color: #fff;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  background: #fff;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 200;
  transform: translateX(-110%);
  transition: transform 0.4s cubic-bezier(.8, .01, .22, 1);
  box-shadow: 2px 0 32px 0 rgba(39,82,134,0.11);
  width: 100vw;
  height: 100vh;
  overscroll-behavior: contain;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: #F2F6FB;
  color: #275286;
  border-radius: 8px;
  margin: 24px 24px 0 0;
  padding: 4px 14px;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 202;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #C87513;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 40px 0 0 40px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #275286;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 10px;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F2F6FB;
  color: #C87513;
}
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ========== HERO ========== */
.hero {
  padding: 60px 0 36px 0;
  background: linear-gradient(120deg, #F2F6FB 55%, #fff 100%);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 3px 24px 0 rgba(39, 82, 134, 0.07);
  margin-bottom: 60px;
}
.hero .container {
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  text-align: left;
  gap: 18px;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.4rem;
  color: #275286;
  letter-spacing: 0.025em;
}
.hero p {
  font-size: 1.18rem;
  color: #1A293B;
  margin-bottom: 10px;
}

/* ========== INTRO AND PREVIEWS ========== */
.intro, .about-preview, .contact-preview {
  background: #fff;
  border-radius: 24px;
  margin-bottom: 60px;
  box-shadow: 0 2px 18px 0 rgba(39,82,134,0.045);
  padding: 40px 20px;
}
.about-preview .content-wrapper,
.contact-preview .content-wrapper {
  gap: 18px;
}
.text-section {
  font-size: 1.1rem;
  color: #273B53;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}
.contact-details img {
  width: 22px;
  height: 22px;
}

/* ========== FEATURES SECTION ========== */
.features, .feature-overview, .feature-grid {
  width: 100%;
}
.features .container, .feature-overview .container {
  padding-left: 0;
  padding-right: 0;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 24px;
  justify-content: flex-start;
}
.feature {
  background: #F2F6FB;
  border-radius: 20px;
  flex: 1 0 230px;
  min-width: 210px;
  max-width: 320px;
  box-shadow: 0 1px 10px 0 rgba(39,82,134,0.075);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.22s;
  border: 2.5px solid transparent;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 36px 0 rgba(244,158,63,0.15);
  transform: translateY(-4px) scale(1.02);
  border-color: #C87513;
}
.feature img {
  height: 56px;
  width: 56px;
}
.feature h3 {
  margin: 0 0 8px 0;
  color: #275286;
  font-size: 1.18rem;
}
.feature p {
  font-size: 1rem;
  color: #1A293B;
  text-align: center;
}
.feature a {
  color: #275286;
  font-weight: bold;
  text-decoration: underline;
}

/* ========== GENERIC CONTENT SECTIONS ========== */
.deep-dive, .home-comfort, .organization, .repairs, .kitchen-organization, .newsletter-signup, .thankyou, .privacy-policy, .gdpr-policy, .cookie-policy, .terms {
  background: #fff;
  padding: 40px 20px;
  margin-bottom: 60px;
  border-radius: 24px;
  box-shadow: 0 1px 16px 0 rgba(39,82,134,0.045);
}
.deep-dive h3,
.home-comfort h2,
.kitchen-organization h2 {
  color: #275286;
}
.home-comfort ul,
.organization ul,
.repairs ul,
.kitchen-organization ul,
.newsletter-signup ul {
  margin-top: 0;
  margin-bottom: 14px;
  padding-left: 20px;
  color: #1A293B;
  font-size: 1.04rem;
  line-height: 1.7;
}
.home-comfort li,
.organization li,
.repairs li,
.kitchen-organization li,
.newsletter-signup li {
  margin-bottom: 6px;
  padding-left: 0.6em;
}

/* ========== BUTTONS & CTA ========== */
.cta {
  cursor: pointer;
  display: inline-block;
  border: none;
  border-radius: 12px 4px 12px 4px;
  padding: 12px 30px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  background: #275286;
  color: #fff;
  margin-top: 10px;
  transition: background 0.2s, color 0.19s, box-shadow 0.2s, transform 0.18s;
  box-shadow: 0 2px 8px 0 rgba(39, 82, 134, 0.09);
  letter-spacing: 0.01em;
}
.cta.primary {
  background: #275286;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #C87513;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
  box-shadow: 0 6px 16px 0 rgba(244, 158, 63, 0.17);
}

.cta.secondary {
  background: #F2F6FB;
  color: #275286;
  border: 2px solid #275286;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #C87513;
  color: #fff;
  border-color: #C87513;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: #F2F6FB;
  border-radius: 32px;
  margin-bottom: 60px;
  padding: 40px 20px;
  box-shadow: 0 1px 14px 0 rgba(39,82,134,0.05);
}
.testimonials .content-wrapper {
  gap: 32px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  padding: 20px 28px;
  margin-bottom: 20px;
  border-radius: 24px;
  box-shadow: 0 2px 10px 0 rgba(39,82,134,0.10);
  border-left: 8px solid #C87513;
  color: #21324B;
}
.testimonial-card p {
  color: #21324B;
  font-size: 1.08rem;
  margin-bottom: 2px;
  letter-spacing: 0.01em;
}
.testimonial-card span {
  font-size: 1rem;
  color: #275286;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
}

/* ========== FOOTER ========== */
footer {
  background: #275286;
  color: #fff;
  padding: 44px 0 20px 0;
  margin-top: 80px;
}
footer .container {
  flex-direction: column;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 8px;
  padding: 5px 10px;
  transition: background 0.18s, color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #fff;
  color: #C87513;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 1rem;
  align-items: center;
  margin-bottom: 10px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #F2F6FB;
}
.footer-contact img {
  width: 20px;
  height: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.14rem;
  font-weight: bold;
  color: #F49E3F;
}
.footer-brand img {
  width: 32px;
  height: 32px;
}

/* ========== CARD & FLEX UTILITIES ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 10px 0 rgba(39,82,134,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 992px) {
  .feature-grid {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.22rem;
  }
  .section,
  .intro,
  .about-preview,
  .contact-preview,
  .deep-dive,
  .feature-overview,
  .home-comfort,
  .kitchen-organization,
  .organization,
  .newsletter-signup,
  .repairs,
  .testimonials {
    padding: 22px 7px;
    border-radius: 10px;
    margin-bottom: 32px;
  }
  .feature-grid {
    flex-direction: column;
    gap: 15px;
    margin-left: 0;
    margin-right: 0;
    align-items: stretch;
  }
  .feature {
    max-width: 100%;
    min-width: 0;
    align-items: flex-start;
    padding: 21px 12px;
  }
  .main-nav {
    display: none !important;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-contact {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
  .footer-nav {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  footer {
    padding: 28px 0 10px 0;
  }
}
@media (max-width: 540px) {
  .container {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .hero .content-wrapper {
    padding: 0 2vw;
  }
}

/* ========== GEOMETRIC & STRUCTURED VISUALS ========== */
.section,
.intro,
.deep-dive,
.about-preview,
.contact-preview,
.feature-grid .feature,
.newsletter-signup,
.home-comfort,
.organization,
.repairs,
.thankyou,
.privacy-policy,
.gdpr-policy,
.cookie-policy,
.terms {
  border-radius: 20px 60px 20px 60px / 16px 40px 16px 40px;
  position: relative;
}

.section:before,
.feature:before {
  content: '';
  position: absolute;
  left: -18px;
  top: -18px;
  width: 40px;
  height: 40px;
  border-radius: 0 24px 0 24px;
  background: rgba(39,82,134,0.06);
  z-index: 0;
  pointer-events: none;
  display: block;
}
.feature:before {
  left: -13px;
  top: -13px;
  width: 28px;
  height: 28px;
  background: rgba(244,158,63,0.07);
  border-radius: 9px 30px 9px 30px;
  z-index: 0;
}

.feature, .section {
  overflow: hidden;
  z-index: 1;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1A293B;
  color: #fff;
  padding: 20px 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  z-index: 2999;
  gap: 20px;
  box-shadow: 0 -3px 12px 0 rgba(39,82,134,0.20);
  border-radius: 18px 18px 0 0;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s;
}
.cookie-banner.inactive {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-message {
  flex: 1 1 70%;
  font-size: 1.05rem;
  margin-right: 20px;
}
.cookie-banner-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: #275286;
  color: #fff;
  border-radius: 9px 25px 9px 25px;
  border: none;
  padding: 11px 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  transition: background 0.17s, color 0.17s, box-shadow 0.12s;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(39,82,134,0.11);
}
.cookie-btn.settings {
  background: #fff;
  color: #275286;
  border: 2px solid #275286;
}
.cookie-btn.reject {
  background: #F2F6FB;
  color: #275286;
  border: 2px solid #275286;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #C87513;
  color: #fff;
  border-color: #C87513;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 96vw;
  max-width: 430px;
  background: #fff;
  color: #202846;
  border-radius: 23px;
  transform: translate(-50%, -50%) scale(1);
  z-index: 4000;
  box-shadow: 0 12px 44px 0 rgba(39,82,134,0.23);
  padding: 34px 30px 26px 30px;
  display: none;
  flex-direction: column;
  gap: 24px;
  animation: cookieModalIn 0.47s cubic-bezier(.81,.01,.18,1);
}
.cookie-modal.active {
  display: flex;
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: translate(-50%, -60%) scale(0.90); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  color: #275286;
  font-weight: bold;
  margin-bottom: 6px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row;
  margin: 5px 0;
}
.cookie-option label {
  flex: 1;
  font-size: 1rem;
  color: #1A293B;
}
.cookie-toggle {
  width: 40px;
  height: 24px;
  background: #F2F6FB;
  border: 2px solid #275286;
  border-radius: 16px;
  cursor: pointer;
  position: relative;
  transition: background 0.18s;
}
.cookie-toggle input {
  appearance: none;
  width: 100%;
  height: 100%;
  outline: none;
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  background: #275286;
  border-radius: 50%;
  transition: left 0.2s, background 0.2s;
}
.cookie-toggle input:checked + .toggle-thumb {
  left: 20px;
  background: #C87513;
}
.toggle-thumb {
  content: '';
  display: block;
  position: absolute;
  left: 2px; top: 2px;
  width: 16px;
  height: 16px;
  background: #275286;
  border-radius: 50%;
  transition: left 0.18s, background 0.18s;
}
.cookie-toggle input:checked + .toggle-thumb {
  left: 20px;
  background: #C87513;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 6px;
  flex-direction: row-reverse;
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #C87513;
  position: absolute;
  top: 8px; right: 18px;
  cursor: pointer;
}

@media (max-width: 590px) {
  .cookie-modal {
    padding: 12px 5px 12px 5px;
    max-width: 97vw;
  }
  .cookie-banner-message {
    font-size: 0.99rem;
    margin-bottom: 12px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 14px 7px;
  }
  .cookie-banner-actions {
    gap: 7px;
  }
}

/* ========== MICRO INTERACTIONS ========== */
input[type="checkbox"],
input[type="radio"] {
  accent-color: #C87513;
}
input[type="text"], input[type="email"], textarea {
  border: 2px solid #F2F6FB;
  border-radius: 10px 4px 10px 4px;
  padding: 10px 12px;
  background: #F2F6FB;
  color: #275286;
  font-size: 1rem;
  margin-bottom: 10px;
  transition: border 0.16s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 2px solid #C87513;
}

/* ========== TYPOGRAPHY ===================== */
.font-display, h1, h2, h3, h4, h5, h6, .footer-brand {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
}

/* ========== VISUAL & DECORATIVE ELEMENTS ========== */
hr {
  border: none;
  height: 2px;
  margin: 38px 0;
  width: 70px;
  background: #C87513;
  border-radius: 12px;
}

/* ========== STRUCTURED GEOMETRIC BUTTON SHAPES ========== */
button, .cta, .cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-variation-settings: 'wdth' 100;
  letter-spacing: 0.01em;
  font-weight: 700;
}

/* ========== FORM UTILITIES ========== */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

/* ========== ACCESSIBILITY ========== */
:focus-visible {
  outline: 3px solid #C87513;
  outline-offset: 3px;
}

/* ========== HIDE FOR PRINT ========== */
@media print {
  .cookie-banner, .mobile-menu { display: none !important; }
}
