/* === 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: #F2F2F5;
  color: #27324B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: #27324B;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:focus,
a:hover {
  color: #D4885D;
  outline: none;
}

/* =============== BRAND COLORS =============== */
:root {
  --color-primary: #27324B;
  --color-secondary: #F2F2F5;
  --color-accent: #D4885D;
  --color-dark: #162034;
  --color-light: #FFFFFF;
  --color-bg-card: #FFF;
  --color-shadow: rgba(39,50,75,0.08);
  --radius-main: 18px;
  --radius-btn: 12px;
}

/* === TYPOGRAPHY (modern bold) === */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.75rem;
  color: var(--color-primary);
  margin-bottom: 18px;
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
p, li, label, span, input, textarea {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
.subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 32px;
  letter-spacing: 0.06rem;
}
strong {
  font-weight: 700;
}

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

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========== NAVIGATION ========== */
header {
  background-color: var(--color-light);
  box-shadow: 0 2px 18px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}
.main-nav {
  display: flex;
  align-items: center;
  padding: 16px 0;
  gap: 28px;
  justify-content: space-between;
  max-width: 1220px;
  margin: 0 auto;
}
.main-nav > a img {
  height: 44px;
  width: auto;
}
.main-nav ul {
  display: flex;
  gap: 16px;
  align-items: center;
}
.main-nav ul li {
  display: flex;
  align-items: center;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.025em;
  padding: 8px 14px;
  border-radius: 7px;
  transition: background 0.2s cubic-bezier(.4,0,.2,1), color 0.2s;
}
.main-nav ul li a:hover, .main-nav ul li a:focus {
  background: var(--color-accent);
  color: var(--color-light);
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  background: var(--color-accent);
  color: var(--color-light);
  padding: 10px 28px;
  border-radius: var(--radius-btn);
  box-shadow: 0 2px 16px var(--color-shadow);
  transition: background 0.17s, transform 0.17s, box-shadow 0.34s;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  letter-spacing: 0.05em;
}
.cta-btn:focus, .cta-btn:hover {
  background: #bb6b38;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 24px rgba(39,50,75,0.12);
}

/* === BURGER MENU === */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-light);
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 6px var(--color-shadow);
  transition: background 0.15s;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 120;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #bb6b38;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-secondary);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  z-index: 190;
  box-shadow: -8px 0 32px rgba(39,50,75,0.10);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-primary);
  align-self: flex-end;
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color 0.17s;
  z-index: 200;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
  margin-top: 60px;
  padding: 20px 36px;
  flex: 1;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
  padding: 14px 10px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
  text-align: left;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-light);
}

/* =============== HERO / HEADLINES =============== */
main > section:first-of-type {
  background: var(--color-secondary);
  border-radius: var(--radius-main);
  margin-top: 28px;
  margin-bottom: 60px;
}
main > section:first-of-type .content-wrapper {
  align-items: flex-start;
  padding-top: 32px;
  padding-bottom: 32px;
}

/* =============== FEATURE-LIST =============== */
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 32px;
}
.feature-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-bg-card);
  border-radius: var(--radius-main);
  box-shadow: 0 4px 20px var(--color-shadow);
  padding: 28px 24px;
  min-width: 220px;
  flex: 1 1 250px;
  transition: box-shadow 0.18s, transform 0.17s;
  margin-bottom: 20px;
}
.feature-list li img {
  width: 44px;
  height: 44px;
}
.feature-list li h3 {
  font-size: 1.18rem;
  color: var(--color-accent);
}
.feature-list li p {
  font-size: 1rem;
  color: var(--color-dark);
}
.feature-list li:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 40px rgba(39,50,75,0.16);
  z-index: 2;
}

/* =============== SERVICES GRID =============== */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 32px;
}
.services-grid > div {
  background: var(--color-light);
  border-radius: var(--radius-main);
  box-shadow: 0 4px 20px var(--color-shadow);
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 340px;
  padding: 24px 22px 20px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.18s;
  border: 2px solid transparent;
}
.services-grid > div:hover {
  box-shadow: 0 8px 48px rgba(212,136,93,0.09);
  border: 2px solid var(--color-accent);
  transform: translateY(-3px) scale(1.03);
}
.services-grid h3 {
  font-size: 1.20rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}
.services-grid p {
  color: #27324B;
  font-size: 1rem;
  margin-bottom: 16px;
}
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-accent);
  background: var(--color-secondary);
  border-radius: 8px;
  padding: 5.5px 14px;
}

/* =============== TESTIMONIALS =============== */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fffbe9;
  border-radius: var(--radius-main);
  box-shadow: 0 2px 18px var(--color-shadow);
  padding: 20px 24px;
  min-width: 210px;
  max-width: 370px;
  margin-bottom: 20px;
  color: var(--color-primary);
}
.testimonial-card p {
  color: #27324B;
  font-size: 1.07rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card .customer {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-dark);
}
.testimonial-card .rating {
  font-size: 1.25rem;
  color: var(--color-accent);
}

/* =============== TEXT SECTIONS & LISTS =============== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.core-values, .facts-and-figures {
  background: var(--color-secondary);
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: 22px;
}
.core-values h4 {
  margin-bottom: 14px;
}
.facts-and-figures p strong {
  font-size: 2rem;
  color: var(--color-accent);
}

/* Steps / Directions/ Next Steps */
.steps-list, .directions-list, .next-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
  margin-left: 18px;
  color: var(--color-primary);
  font-size: 1rem;
}
.steps-list li, .directions-list li, .next-steps-list li {
  margin-bottom: 6px;
  padding-left: 0.8em;
  position: relative;
}
.steps-list li:before {
  content: '✔';
  color: var(--color-accent);
  font-weight: bold;
  position: absolute;
  left: -24px;
}

/* =============== CONTENT CARDS/SECTION FLEX =============== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-main);
  box-shadow: 0 3px 16px var(--color-shadow);
  background: var(--color-light);
  padding: 24px 24px 18px 24px;
  display: flex;
  flex-direction: column;
}
.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;
}

/* =============== CONTACT BLOCKS =============== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 1rem;
  margin-bottom: 18px;
}
.contact-info img {
  width: 21px;
  height: 21px;
  margin-right: 10px;
  vertical-align: middle;
  display: inline-block;
}
.contact-info a {
  color: var(--color-accent);
  font-weight: 600;
}
.contact-info a:hover {
  text-decoration: underline;
  color: #bb6b38;
}

.support-info {
  background: var(--color-secondary);
  border-radius: 12px;
  padding: 14px 20px;
  margin: 16px 0 8px 0;
  font-size: 1rem;
}

.map-embed {
  background: #eaeaea;
  border-radius: 10px;
  padding: 22px;
  min-height: 90px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =============== FOOTER =============== */
footer {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 55px 0 18px;
  margin-top: 70px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  justify-content: space-between;
}
.brand-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 220px;
  max-width: 320px;
  gap: 12px;
}
.brand-details img {
  height: 36px;
  margin-bottom: 6px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}
.footer-nav nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav nav ul li a {
  color: #f4ecdf;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 0;
  font-weight: 600;
  opacity: .96;
  border-radius: 8px;
  transition: background .17s, color .17s;
}
.footer-nav nav ul li a:hover, .footer-nav nav ul li a:focus {
  color: var(--color-accent);
  background: rgba(212,136,93,0.12);
}
footer .contact-info {
  color: #fff;
  font-size: 1rem;
  gap: 8px;
}
footer .contact-info img {
  filter: brightness(0) invert(1);
}

/* =============== BUTTONS =============== */
button, .cta-btn {
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, box-shadow 0.18s, color 0.15s;
}
button:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* =============== FORMS (if any) =============== */
input[type="text"], input[type="email"], textarea {
  padding: 11px 14px;
  border-radius: var(--radius-btn);
  border: 2px solid #dedede;
  font-size: 1rem;
  margin-bottom: 16px;
  width: 100%;
  transition: border-color 0.18s;
  background: #fff;
}
input:focus, textarea:focus {
  border-color: var(--color-accent);
}


/* =============== COOKIE CONSENT BANNER =============== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: #fffbe9;
  color: var(--color-primary);
  box-shadow: 0 -2px 36px rgba(39,50,75,0.14);
  padding: 22px 30px 18px 30px;
  border-radius: 18px 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 540px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .38s cubic-bezier(.4,0,.2,1), opacity .16s;
}
.cookie-banner.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
  animation: slideUpCookie 0.73s cubic-bezier(.44,.04,.36,1.08) 0s 1;
}
@keyframes slideUpCookie {
  0% { transform: translateX(-50%) translateY(120%); opacity: 0; }
  80% { transform: translateX(-50%) translateY(-7px); opacity: 1; }
  100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}
.cookie-banner .cookie-banner-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 2px;
}
.cookie-banner .cookie-banner-text {
  font-size: 1rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner-btn {
  border: none;
  border-radius: var(--radius-btn);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 9px 22px;
  background: var(--color-accent);
  color: var(--color-light);
  transition: background 0.18s, box-shadow 0.19s;
  box-shadow: 0 1px 6px var(--color-shadow);
}
.cookie-banner-btn:focus, .cookie-banner-btn:hover {
  background: #bb6b38;
}
.cookie-banner-btn.reject {
  background: #848484;
  color: #fff;
}
.cookie-banner-btn.reject:focus, .cookie-banner-btn.reject:hover {
  background: #212121;
}
.cookie-banner-btn.settings {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner-btn.settings:focus, .cookie-banner-btn.settings:hover {
  background: #1a2236;
}

/* === COOKIE PREFERENCE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2001;
  left: 0; top: 0; right:0; bottom:0;
  background: rgba(39, 50, 75, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
  animation: fadeInCookieModal 0.25s cubic-bezier(.4,.1,.35,1.14);
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--color-light);
  border-radius: 22px;
  max-width: 420px;
  width: 100%;
  padding: 38px 32px 26px 32px;
  box-shadow: 0 14px 66px rgba(39,50,75,0.26);
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.cookie-modal-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.cookie-modal-section label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.cookie-modal-section input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 20px; height: 20px;
}
.cookie-modal-section .cookie-essential {
  color: #868686;
  font-size: 0.97rem;
  font-weight: 400;
  margin-left: 28px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 17px;
  right: 18px;
  border: none;
  background: none;
  font-size: 1.65rem;
  color: #888;
  cursor: pointer;
  transition: color 0.18s;
  font-weight: bold;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--color-accent);
}

/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 1024px) {
  .services-grid {
    gap: 16px;
  }
  .feature-list {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .footer-wrapper, .footer-nav, .services-grid, .testimonials {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .feature-list {
    flex-direction: column;
    gap: 22px;
  }
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .main-nav ul,
  .main-nav .cta-btn {
    display: none;
  }
  .main-nav {
    position: relative;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .services-grid > div,
  .feature-list li,
  .card {
    min-width: unset;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .container {
    padding: 0 8px;
  }
  .section {
    padding: 32px 8px;
  }
  .content-grid, .text-image-section, .footer-nav {
    flex-direction: column;
    gap: 18px !important;
  }
  .feature-list {
    gap: 12px;
  }
}
@media (max-width:500px) {
  h1, .h1 { font-size: 2.0rem; }
  h2, .h2 { font-size: 1.36rem; }
  .services-grid > div, .feature-list li, .card, .testimonial-card {
    padding: 14px 7px 13px 13px;
  }
  .cookie-banner {
    padding: 14px 8px 8px 8px;
    border-radius: 12px 12px 0 0;
  }
  .cookie-modal {
    padding: 18px 9px 10px 9px;
    border-radius: 11px;
  }
}

/* =============== MICRO INTERACTIONS/ANIMATION =============== */
.cta-btn,
.card,
.feature-list li,
.services-grid > div,
.testimonial-card {
  transition: box-shadow 0.16s cubic-bezier(.4,0,.2,1), transform 0.19s;
}
.cta-btn:active {
  transform: scale(0.98);
  box-shadow: 0 0px 0px rgba(0,0,0,0.05);
}
.card:active, .feature-list li:active, .services-grid > div:active {
  transform: scale(0.98);
}

input:focus,
textarea:focus {
  box-shadow: 0 0 0 2px var(--color-accent);
}

/* =================== UTILITY CLASSES =================== */
.hide {
  display: none !important;
}
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/* =================== COLORED GEOMETRIC ELEMENTS (MODERN BOLD) =================== */
.geometric-shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.10;
  border-radius: 16px;
}

/* ==== HIGH CONTRAST IN TESTIMONIALS AND CARDS ==== */
.testimonial-card, .card, .feature-list li, .services-grid > div {
  background: #fff;
  color: #27324B;
}

/* ==== CARD/SECTION SPACING RULES (min 20px gap) ==== */
.section > *,
.content-wrapper > *,
.card-container > *,
.services-grid > *,
.feature-list > *,
.testimonials > *,
.content-grid > *,
.text-image-section > *,
.footer-wrapper > * {
  margin-bottom: 20px;
}
.section > *:last-child,
.content-wrapper > *:last-child,
.card-container > *:last-child,
.services-grid > *:last-child,
.feature-list > *:last-child,
.testimonials > *:last-child,
.content-grid > *:last-child,
.text-image-section > *:last-child,
.footer-wrapper > *:last-child {
  margin-bottom: 0;
}
