/* CSS RESET & BASE ---------------------------------------------- */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  background: #FFFFFF;
  color: #224B73;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.18s ease;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}

/* BASE TYPOGRAPHY & PALETTE ----------------------------------- */
:root {
  --primary: #224B73;
  --secondary: #FFFFFF;
  --accent: #A3C259;
  --grey-bg: #F7FAFC;
  --text-main: #224B73;
  --text-muted: #7B8A9A;
  --border: #E0E7EF;
  --shadow: 0 2px 8px rgba(34,75,115,0.06);
  --radius: 10px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
h1 {font-size: 2.3rem; margin-bottom: 24px;}
h2 {font-size: 1.65rem; margin-bottom: 18px;}
h3 {font-size: 1.12rem; margin-bottom: 10px; font-weight: 500;}
h4, h5, h6 {font-size: 1rem;}
p, ul, ol, li, blockquote {
  font-family: var(--font-body);
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 10px;
  letter-spacing: -0.003em;
}
strong { font-weight: 600; }
blockquote {
  font-style: italic;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin: 16px 0 20px 0;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.subheadline {
  color: var(--text-muted);
  margin-bottom: 22px;
  font-size: 1.15rem;
}

/* BUTTONS & CTA ---------------------------------------------- */
.cta, .btn, button, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  border-radius: var(--radius);
  padding: 11px 32px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34,75,115,0.06);
  transition: background 0.19s cubic-bezier(.4,0,.2,1), box-shadow 0.18s, color 0.18s;
  outline: none;
}
.cta:hover, .cta:focus, .btn:hover, .btn:focus, .cookie-btn:hover, .cookie-btn:focus {
  background: var(--accent);
  color: #1f3229;
}
.cta:active {
  background: #8AAC43;
}
/* Secondary outlined button */
.cookie-btn.secondary {
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: var(--primary);
  color: var(--secondary);
}
.cookie-btn.settings {
  background: var(--grey-bg);
  color: var(--primary);
  border: 1px solid var(--border);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--accent);
  color: #1f3229;
}

/* LAYOUT CONTAINER & SPACING --------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 700px) {
  .section {padding: 56px 28px; margin-bottom: 80px;}
}

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

/* FLEXBOX-PATTERNED LAYOUTS ----------------------------------- */
.feature-grid, .services-list, .service-list, .steps-list, .faq-accordion,
.values-list, .usp-list, .testimonial-list, .testimonials-preview,
.inspiration-block, .team-brief, .review-submission, .product-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

@media (max-width: 768px) {
  .feature-grid, .services-list, .service-list, .steps-list, .faq-accordion,
  .values-list, .usp-list, .testimonial-list, .testimonials-preview,
  .inspiration-block, .team-brief, .review-submission, .product-overview {
    flex-direction: column;
    gap: 18px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 26px;
  transition: box-shadow 0.18s;
}
.card:hover {
  box-shadow: 0 4px 18px rgba(34,75,115,0.09);
}

.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F7FAFC;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 0;
  flex: 1 1 290px;
  margin-bottom: 20px;
  transition: box-shadow 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(34,75,115,0.10);
}
.testimonial-meta {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin-top: -6px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO & HEADERS ---------------------------------------------- */
.hero {
  background: var(--secondary);
  padding: 64px 0 46px 0;
  border-bottom: 1px solid var(--border);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  max-width: 660px;
  align-items: center;
  gap: 14px;
}
.hero h1 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 12px;
}
.hero .subheadline {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.hero .cta {
  margin-top: 16px;
}

@media (max-width: 600px) {
  .hero {
    padding: 36px 0 24px 0;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
}

/* HEADER NAVIGATION & MOBILE MENU ------------------------------ */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 30;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img {height: 34px; vertical-align: middle;}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
}
.main-nav a {
  color: var(--primary);
  font-size: 1.06rem;
  border-radius: 4px;
  padding: 7px 16px;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--secondary);
  color: var(--accent);
}
.main-nav .cta {
  margin-left: 8px;
  padding: 9px 22px;
}

.mobile-menu-toggle {
  font-size: 1.8rem;
  color: var(--primary);
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  padding: 5px 12px;
  border-radius: var(--radius);
  transition: background 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--grey-bg);
}

/* MOBILE NAV OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,75,115,0.98);
  z-index: 120;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  transform: translateX(100vw);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(.51,.77,.42,1.01), opacity 0.23s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 32px;
  font-size: 2.2rem;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 200;
  padding: 5px 14px;
  border-radius: var(--radius);
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: rgba(255,255,255,0.10);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 96px;
  margin-right: 40px;
  align-items: flex-end;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.33rem;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 11px 0;
  transition: color 0.17s;
  border-bottom: 1px solid transparent;
  width: 100%;
  text-align: right;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

@media (max-width: 1050px) {
  .main-nav {display: none;}
  .mobile-menu-toggle {display: block;}
}
@media (min-width: 1051px) {
  .mobile-menu {display: none!important;}
}

@media (max-width: 710px) {
  header .container {flex-direction: row;}
  .logo img {height: 28px;}
}

/* FOOTER ----------------------------------------------- */
footer {
  background: #F8FAFB;
  border-top: 1px solid var(--border);
  padding: 38px 0 14px 0;
  font-size: 0.99rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--text-muted);
  transition: color 0.17s;
  font-size: 0.98rem;
}
.footer-nav a:hover { color: var(--primary); }
.footer-info {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--text-main);
  margin-top: 16px;
}
.footer-info img {height: 34px;}
.footer-info p {
  color: var(--text-muted);
  margin-bottom: 6px;
  font-size: 0.98rem;
}
@media (max-width: 650px) {
  .footer-info {flex-direction: column; align-items: flex-start; gap: 14px;}
  .footer-nav {gap: 11px; font-size: 0.96rem;}
}

/* FEATURE/USP/VALUES/SECTION CARDS -------------------- */
.feature {
  background: var(--grey-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 20px 18px 20px;
  min-width: 175px;
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.feature img {height: 34px; width: 34px; opacity: 0.90; margin-bottom: 8px;}
.feature h3 {margin-bottom: 8px; font-size: 1.05rem; font-weight: 600;}
.feature p {font-size: 0.98rem; color: var(--text-muted); margin-bottom: 0;}
.feature:hover {
  box-shadow: 0 5px 21px rgba(34,75,115,0.11);
  transform: translateY(-2px) scale(1.01);
}

.services-list, .service-list {
  gap: 24px;
  justify-content: flex-start;
}
.service-item {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px 18px 22px;
  flex: 1 1 260px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: box-shadow 0.16s, border 0.14s;
  border: 1px solid var(--border);
}
.service-item h3, .service-item h2 {font-size: 1.13rem; margin-bottom: 6px;}
.service-item strong { color: var(--accent); font-size: 1.02em; }
.service-item:hover {
  box-shadow: 0 6px 22px rgba(34,75,115,0.14);
  border: 1px solid var(--primary);
}

/**** PRODUCT and USP section ******/
.product-overview ul, .usp-list ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}
.usp-list ul li, .product-overview ul li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--text-main);
}
.usp-list img, .product-overview img {
  height: 30px; width: 30px; margin-right: 6px; opacity: 0.86;
}
.brand-quality-note, .guarantee-note, .delivery-info {
  background: #F7FAFC;
  border-radius: var(--radius);
  padding: 16px 18px;
  color: var(--primary);
  box-shadow: var(--shadow);
  margin-bottom: 0;
  font-size: 1rem;
}

/* ACCORDION FAQ --------------------------------------------- */
.faq-accordion {
  flex-direction: column;
}
.faq-item {
  background: #F6F9FD;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 20px 14px 20px;
  margin-bottom: 10px;
}
.faq-item h3 {
  color: var(--primary);
  font-size: 1.05rem;
}
.faq-item p {
  color: var(--text-muted);
  font-size: 0.99rem;
}

/* STEPS/LIST/OL ----------------------------------------------- */
.steps-list ol {
  display: flex;
  flex-direction: column;
  gap: 18px;
  counter-reset: stepNum;
}
.steps-list ol li {
  position: relative;
  padding-left: 36px;
  font-size: 1.01rem;
  color: var(--primary);
}
.steps-list ol li::before {
  counter-increment: stepNum;
  content: counter(stepNum) ". ";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.09rem;
  text-align: right;
  width: 30px;
}

.what-expect {
  background: var(--grey-bg);
  border-radius: var(--radius);
  padding: 18px 14px;
  color: var(--text-main);
  margin-top: 12px;
}

/* VALUES/CARDS / LEGAL ----------------------------------------- */
.values-list ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 0;
}
.quality-commitment, .artisan-focus, .expertise-snippets {
  background: #F7FAFC;
  border-radius: var(--radius);
  padding: 14px 14px;
  box-shadow: var(--shadow);
  margin-bottom: 0;
  font-size: 0.99rem;
}
.legal-section {
  background: #F7FAFC;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  margin-bottom: 0;
  color: var(--text-main);
}
.legal-section ul { margin: 15px 0; }

/* TEAM/INSPIRATION BLOCKS ----------------------------------- */
.team-brief ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.inspiration-block {
  background: var(--grey-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 20px 18px 20px;
  gap: 20px;
  flex-wrap: wrap;
}
.project-description,.before-after,.innovation-highlights {
  flex: 1 1 220px;
}
@media (max-width: 900px) {
  .inspiration-block {flex-direction: column;}
  .project-description, .before-after, .innovation-highlights {flex: none;}
}

/* REVIEW & SUBMISSION ------------------------------------------ */
.review-submission {
  flex-direction: column;
  gap: 16px;
  background: #F7FAFC;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px 18px 22px;
}
.review-submission .cta {
  align-self: start;
}

/* MAP & CONTACT PAGE SECTIONS ---------------------------------- */
.map-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #F7FAFC;
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow);
}
.map-embed { background: var(--grey-bg); border-radius: 6px; padding: 10px 11px; font-size: 0.99rem; color: var(--primary); }

.text-section { gap: 10px; }

/* CTA BLOCK ---------------------------------------------------- */
.cta-block {
  background: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 22px 28px 22px;
  flex-direction: column;
  color: #fff;
  align-items: center;
  gap: 20px;
}
.cta-block h2 { color: #fff; }
.cta-block .cta {
  background: var(--accent);
  color: #1f3229;
  font-weight: 600;
  margin-top: 10px;
}
.cta-block .cta:hover, .cta-block .cta:focus {
  background: #8AAC43;
  color: #fff;
}

/* COOKIE CONSENT ================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #224B73;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2000;
  padding: 20px 18px;
  box-shadow: 0 -2px 18px rgba(34,75,115,0.22);
  font-size: 1rem;
  transition: transform .26s cubic-bezier(.62,.08,.38,1.24);
  transform: translateY(0);
}
.cookie-banner.hide { transform: translateY(100%); opacity: 0; pointer-events: none; }
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
}
.cookie-banner .cookie-btn {
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: 6px;
  font-weight: 500;
}
.cookie-banner .cookie-btn.settings {background: var(--secondary); color: var(--primary); border: 1px solid var(--primary);}
.cookie-banner .cookie-btn.settings:hover {background: var(--accent); color: #1f3229;}

/* COOKIE MODAL ------------------------------------------------- */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,75,115,0.45);
  z-index: 3000;
  opacity: 1;
  transition: opacity 0.22s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 32px rgba(34,75,115,.21);
  padding: 34px 26px 30px 26px;
  max-width: 380px;
  width: 99%;
  color: var(--text-main);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1rem;
  animation: modalIn .24s cubic-bezier(.66,1,.36,1.11);
}
@keyframes modalIn {
  from {transform: scale(0.88); opacity: 0;}
  to   {transform: scale(1);   opacity: 1;}
}
.cookie-modal h2 {
  font-size: 1.19rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 13px;
}
.cookie-modal label {
  flex: 1 1 0;
  color: #224B73;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.cookie-modal .cookie-btn {
  padding: 9px 22px;
  margin-top: 6px;
  font-size: 1rem;
  border-radius: 6px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #fff;
  border: none;
  font-size: 1.6rem;
  color: var(--text-main);
  cursor: pointer;
  padding: 2px 8px;
  transition: background .15s;
  border-radius: 10px;
}
.cookie-modal .close-modal:hover {
  background: #F7FAFC;
}

.cookie-category .category-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-left: 6px;
}

/* UTILITY & MICROINTERACTIONS ------------------------------ */
::-webkit-scrollbar {width: 8px; background: #F7FAFC;}
::-webkit-scrollbar-thumb {background: #E5F1FB; border-radius: 6px;}
@media (hover: hover) {
  a, button, .cta, .service-item, .feature, .card, .testimonial-card {
    transition: box-shadow .18s, color .18s, background .18s, border .17s;
  }
}

@media (max-width: 500px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .section { padding: 24px 6px; margin-bottom: 36px; }
  .service-item, .review-submission, .card, .testimonial-card, .legal-section, .feature, .inspiration-block, .brand-quality-note, .guarantee-note, .delivery-info {
    padding-left: 10px; padding-right: 10px;
  }
}

/* MINIMUM CARD SPACING -------------------------------------- */
.card-container > *,
.content-wrapper > *,
.feature-grid > *, .services-list > *,
.service-list > *, .testimonial-list > *,
.values-list > *, .product-overview > *, .usp-list > * {
  margin-bottom: 20px;
}

/* Typography scale for headings on small screens ------------- */
@media (max-width: 500px) {
  h1 {font-size: 1.35rem;}
  h2 {font-size: 1.10rem;}
  h3 {font-size: 1.01rem;}
}

/* Make images crisp even when downscaled (optional!) -------- */
img {image-rendering: -webkit-optimize-contrast;}

/* Prevent text selection highlighting for buttons ------------ */
button, .cta, .btn, .cookie-btn {
  user-select: none;
}

/* Remove webkit inner spin arrows etc for inputs ------------- */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide table borders for legal pages if any ------------------ */
table, th, td {border: none;}

/* Ensure high contrast for testimonial content ---------------- */
.testimonial-card, .testimonial-meta {
  background: #F7FAFC !important;
  color: #224B73 !important;
}

/* END OF CSS ------------------------------------------------- */
