/* ===============================  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,
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;
  -webkit-font-smoothing: antialiased;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #21435B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style-position: inside;
  padding-left: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
}
button, .cta-button {
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* ===============================  TYPOGRAPHY  =============================== */
h1, .hero-section h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #A9441D;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #21435B;
  margin-bottom: 16px;
}
h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #A9441D;
  margin-bottom: 8px;
}
p, ul, ol, li, address {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #21435B;
  line-height: 1.7;
}
strong {
  font-weight: 600;
  color: #A9441D;
}
.subheadline, .blog-headline {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 22px;
}

/* ===============================  COLOR SYSTEM  =============================== */
:root {
  --primary: #A9441D;
  --secondary: #21435B;
  --accent: #F6EDED;
  --bg: #fff;
  --text: #21435B;
  --shadow: 0 2px 16px rgba(33,67,91,0.06), 0 1.5px 3px rgba(33,67,91,0.05);
  --card-radius: 16px;
  --transition: 0.18s cubic-bezier(.45,.34,.19,.98);
}

/* ===============================  LAYOUT ELEMENTS  =============================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}
.content-wrapper {
  background: transparent;
  box-shadow: none;
  border-radius: var(--card-radius);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===============================  HEADER & NAVIGATION  =============================== */
header {
  background: #fff;
  border-bottom: 1px solid #F6EDED;
  padding: 0 0 2px 0;
  position: relative;
  box-shadow: 0 1px 12px rgba(169,68,29,0.02);
  z-index: 200;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header nav a,
.footer-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  color: var(--secondary);
  position: relative;
  padding: 6px 2px;
  border-radius: 4px;
  transition: color 0.16s, background 0.16s;
}
header nav a:hover,
.footer-nav a:hover {
  color: var(--primary);
  background: var(--accent);
}
.cta-button {
  background: var(--primary);
  color: #fff;
  padding: 10px 26px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 48px;
  font-weight: 700;
  letter-spacing: 1.5px;
  box-shadow: var(--shadow);
  border: none;
  outline: none;
  min-width: 150px;
  text-align: center;
  margin-left: 24px;
  transition: background var(--transition), transform .13s;
  display: inline-block;
}
.cta-button:hover, .cta-button:focus {
  background: #8b3510;
  transform: translateY(-2px) scale(1.015);
}
header img {
  height: 44px;
  width: auto;
  margin-right: 16px;
}

/* ===============================  FLEXBOX PATTERNS  =============================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}

/* Custom FLEX LAYOUTS for this project */
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
  padding: 32px 0;
  border-top: 1px solid #F6EDED;
  margin-top: 50px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.96rem;
}
.brand-info {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  color: #71777c;
}
.brand-info img {
  width: 38px;
  height: 38px;
}

/* ===============================  HOMEPAGE HERO  =============================== */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 0 56px 0;
  gap: 24px;
  text-align: left;
}
.hero-section h1 {
  margin-bottom: 16px;
}

/* ===============================  FEATURES & CARDS  =============================== */
.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 8px 0;
}
.feature {
  flex: 1 1 220px;
  min-width: 200px;
  background: var(--accent);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  border: 1px solid #f3e3dd;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 8px 28px rgba(169,68,29,0.10), 0 2px 8px rgba(33,67,91,0.04);
}
.feature img {
  width: 46px;
  margin-bottom: 8px;
  filter: grayscale(0.1) brightness(0.92);
  transition: filter .18s;
}
.feature:hover img {
  filter: grayscale(0) brightness(1);
}
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--secondary);
}
.benefits-list li {
  padding-left: 0px;
  font-size: 1.05rem;
}
.benefits-excerpt {
  margin-top: 8px;
  color: #758090;
  font-size: 1.01rem;
}

/* ===============================  TESTIMONIALS  =============================== */
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: 0 2px 12px rgba(169,68,29,0.09);
  color: #1E1E21;
  border: 1px solid #f6eded;
  min-width: 240px;
  max-width: 410px;
  flex: 1 1 290px;
  padding: 32px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card p {
  color: #21435B;
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-size: 0.96rem;
  color: #A9441D;
  font-family: 'Montserrat', Arial, sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 7px 28px rgba(33,67,91,0.13);
  transform: translateY(-2px) scale(1.012);
}

/* ===============================  TIMELINE (About)  =============================== */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 16px;
}
.timeline li {
  position: relative;
  padding-left: 0;
  font-size: 1rem;
}
.timeline strong {
  background: var(--accent);
  border-radius: 6px;
  color: var(--primary);
  padding: 2px 7px;
  margin-right: 6px;
}

/* ===============================  LISTS / FAQ / GUIDE  =============================== */
.faq-list, .guide-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 16px;
}
.guide-list a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color 0.18s;
}
.guide-list a:hover {
  color: var(--secondary);
  text-decoration: underline dotted;
}

/* ===============================  CONTACT  =============================== */
.contact-information {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}
.contact-information p, .contact-details p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.01rem;
}
.contact-information img, .contact-details img {
  width: 18px;
  height: 18px;
  filter: grayscale(0.2);
}
address {
  font-style: normal;
  background: var(--accent);
  padding: 9px 17px;
  border-radius: 7px;
  color: #333;
  font-size: 1.06rem;
  margin-top: 10px;
  display: inline-block;
}

/* ===============================  FORMS (for future expandability)  =============================== */
input, textarea, select {
  border: 1px solid #E3E6EA;
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  padding: 10px 14px;
  margin-bottom: 12px;
  width: 100%;
  transition: border-color 0.13s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
}

/* ===============================  FOOTER  =============================== */
footer {
  background: #fff;
  font-size: 1rem;
  margin-top: 36px;
}
.footer-nav a {
  color: var(--secondary);
  font-size: 0.98rem;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 4px 2px;
}
.footer-nav a:hover {
  color: var(--primary);
  background: var(--accent);
}

/* ===============================  MOBILE MENU  =============================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #A9441D;
  font-size: 2.1rem;
  padding: 7px 12px;
  border-radius: 8px;
  position: absolute;
  right: 18px;
  top: 17px;
  z-index: 301;
  transition: background 0.1s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F6EDED;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px 0 0 0;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255, 0.97);
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.21,.93,.58,.96);
  z-index: 9990;
  box-shadow: 0 10px 40px rgba(33,67,91,0.09);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2rem;
  z-index: 10001;
  border-radius: 7px;
  padding: 4px 9px;
  transition: background 0.11s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 56px 0 0 34px;
  width: 80vw;
  max-width: 340px;
}
.mobile-nav a {
  font-size: 1.12rem;
  color: var(--secondary);
  font-weight: 500;
  padding: 9px 0;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
  letter-spacing: 0.03em;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--primary);
  background: var(--accent);
}

/* ===============================  COOKIE CONSENT BANNER  =============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 24px rgba(33,67,91,0.07);
  padding: 28px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  z-index: 11000;
  border-top: 1px solid #f6eded;
  opacity: 0;
  pointer-events: none;
  transform: translateY(42px);
  transition: opacity 0.23s ease, transform 0.28s cubic-bezier(.12,.69,.45,1.25);
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner .cookie-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.04rem;
  margin-bottom: 4px;
}
.cookie-banner .cookie-desc {
  color: var(--secondary);
  font-size: 0.98rem;
  margin-bottom: 7px;
}
.cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn-group button {
  padding: 8px 20px;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background var(--transition), color 0.13s, box-shadow 0.12s;
  outline: none;
}
.cookie-btn-accept {
  background: var(--primary);
  color: #fff;
  border: none;
  box-shadow: var(--shadow);
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #8b3510;
  color: #fff;
}
.cookie-btn-reject {
  background: #fff;
  color: var(--primary);
  border: 1.2px solid var(--primary);
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  color: #fff;
  background: var(--primary);
}
.cookie-btn-settings {
  background: var(--accent);
  color: var(--secondary);
  border: 1.1px solid #e5d9d9;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #f3e3dd;
  color: var(--primary);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(25,40,55,0.12);
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 40px rgba(33,67,91,0.13);
  padding: 36px 28px 28px 28px;
  max-width: 412px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: modalPop .37s cubic-bezier(.43,1.55,.49,1) 1;
}
@keyframes modalPop {
  0% { transform: scale(0.9) translateY(41px); opacity: 0; }
  96% { transform: scale(1.01); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal .modal-title {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.12rem;
  margin-bottom: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  gap: 13px;
  align-items: center;
  background: var(--accent);
  border-radius: 8px;
  padding: 7px 18px;
  font-size: 1.005rem;
}
.cookie-category input[type=checkbox] {
  width: 19px;
  height: 19px;
  accent-color: var(--primary);
}
.cookie-category.essential {
  opacity: 0.65;
  pointer-events: none;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 12px;
  background: none;
  border: none;
  color: #A9441D;
  font-size: 1.6rem;
  border-radius: 5px;
  padding: 3px 7px;
  transition: background 0.11s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover {
  background: var(--accent);
}

/* ===============================  THANK-YOU PAGE  =============================== */
.thank-you-message {
  margin-bottom: 15px;
  color: #427172;
  font-size: 1.10rem;
}

/* ==========================  RESPONSIVE STYLES (MOBILE-FIRST)  ========================== */
@media (max-width: 1080px) {
  .container { max-width: 100vw; }
}
@media (max-width: 960px) {
  .footer-wrapper {
    flex-direction: column;
    gap: 16px;
    padding: 32px 0 14px 0;
  }
}
@media (max-width: 820px) {
  .feature-grid, .testimonial-list, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature {
    min-width: 0;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 11px;
    padding-right: 11px;
  }
  .hero-section {
    padding: 40px 0 30px 0;
  }
  .section {
    margin-bottom: 38px;
    padding: 26px 6px;
  }
  header .container {
    gap: 10px;
    min-height: 56px;
    padding-right: 32px;
  }
  header nav, .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .footer-wrapper {
    flex-direction: column;
    gap: 12px;
    padding: 24px 0 12px 0;
  }
  .brand-info img {
    width: 32px;
    height: 32px;
  }
  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 11px;
    margin-bottom: 8px;
  }
}
@media (max-width: 520px) {
  .footer-nav {
    flex-direction: column;
    gap: 6px;
  }
  .brand-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  .cookie-modal {
    padding: 23px 7px 19px 13px;
    min-width: 0;
    max-width: 98vw;
  }
  .mobile-nav {
    margin-left: 17px;
    width: 92vw;
  }
}

/* =========================  MICRO-INTERACTIONS & TRANSITIONS  ========================= */
a, .cta-button, .feature, .testimonial-card, .cookie-btn-group button,
.mobile-nav a, .mobile-menu-toggle, .mobile-menu-close, .cookie-modal-close {
  transition: color 0.15s, background 0.18s, box-shadow 0.2s, transform 0.17s;
}
.feature:active, .testimonial-card:active {
  transform: scale(0.985);
}
.cta-button:active {
  transform: scale(0.98);
}

/* =========================  SCROLLBAR MINIMAL  ========================= */
body::-webkit-scrollbar {
  width: 8px; background: #f6eded; border-radius:8px;
}
body::-webkit-scrollbar-thumb {
  background: #f3e3dd; border-radius:8px;
}

/* =========================  VISUAL GLOBAL CLASSES (For future extensibility)  ========================= */
.card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 25px 21px 19px 21px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #f2ecec;
}
.card:last-child { margin-bottom: 0; }

.section:last-child { margin-bottom: 0; }

/* =========================  PRINT CLEANUP  ========================= */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body, .container, main { background: #fff !important; color: #000 !important; }
}

/* =====================  DEFAULT FOCUS STYLES FOR ACCESSIBILITY  ===================== */
:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ======================  END OF STYLE.CSS  ====================== */
