/* =================== 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 {
  height: 100%;
  /* Safe for smooth mobile scrolling */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #1A1B20;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #740018;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1A1B20;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font: inherit;
  border: none;
  outline: none;
  background: none;
  margin: 0;
  padding: 0;
  color: inherit;
}

/* =================== BRAND TYPOGRAPHY =================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1A1B20;
}
h1 {
  font-size: 48px;
  margin-bottom: 24px;
}
h2 {
  font-size: 32px;
  margin-bottom: 18px;
}
h3 {
  font-size: 24px;
  margin-bottom: 14px;
}
h4,h5,h6 {
  font-size: 18px;
  margin-bottom: 10px;
}

p, li, td, th {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
}
strong {
  font-weight: 700;
}
.section p, .section ul, .section ol {
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 18px; }
}

/* =================== BRAND COLORS =================== */
:root {
  --primary: #740018;
  --secondary: #1A1B20;
  --accent: #E7CFAF;
  --bg-light: #fff;
  --bg-hero: #F8F8F9;
  --grey: #e5e5ea;
  --soft-dark: #22232a;
  --card-shadow: 0 4px 20px 0 rgba(26,27,32,0.10);
  --card-radius: 20px;
}

/* =================== GENERAL LAYOUT =================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--bg-light);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

@media (max-width: 768px) {
  .section {
    padding: 24px 10px;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 10px;
  }
}

/* Modern geometric section accent (hero, major callouts) */
.hero {
  background: var(--bg-hero);
  border-radius: 0 0 40px 40px;
  padding-top: 64px;
  padding-bottom: 56px;
  margin-bottom: 60px;
  box-shadow: 0 2px 24px 0 rgba(116,0,24,0.09);
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 40px;
    padding-bottom: 30px;
    margin-bottom: 36px;
    border-radius: 0 0 22px 22px;
  }
}

/* =================== FLEX UTILITY RULES =================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 32px 24px 24px 24px;
  flex: 1 1 340px;
  min-width: 280px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(116,0,24,0.19);
}
.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;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  min-width: 240px;
  margin-bottom: 20px;
  flex: 1 1 320px;
  max-width: 560px;
}
.testimonial-card p {
  color: #22232A;
  font-size: 18px;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.45;
}
.testimonial-card > div {
  font-size: 15px;
  color: var(--primary);
  font-style: italic;
  font-family: 'Roboto', Arial, sans-serif;
  margin-left: auto;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* =================== HEADER & NAV =================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 20px rgba(26,27,32,0.07);
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 12px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
header nav a {
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-weight: 700;
  color: var(--secondary);
  font-size: 16px;
  padding: 4px 10px;
  letter-spacing: 0.5px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
header nav .cta-primary {
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  padding: 10px 22px;
  margin-left: 14px;
  font-size: 17px;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px 0 rgba(116,0,24,0.13);
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
header nav .cta-primary:hover, header nav .cta-primary:focus {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px) scale(1.04);
}

/* =================== MOBILE NAVIGATION =================== */
.mobile-menu-toggle {
  background: var(--primary);
  color: #fff;
  font-size: 28px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: none; /* will show on mobile */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  z-index: 15;
  transition: background 0.2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--accent);
  color: var(--primary);
}
@media (max-width: 1023px) {
  .mobile-menu-toggle {
    display: flex;
  }
  header nav {
    display: none; /* hide main nav on mobile */
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 2500;
  overflow-y: auto;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.39,.58,.57,1);
  box-shadow: 8px 0 32px 0 rgba(26,27,32,0.16);
  display: flex;
  flex-direction: column;
  padding: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--primary);
  font-size: 38px;
  width: 56px;
  height: 56px;
  border: none;
  align-self: flex-end;
  cursor: pointer;
  margin: 18px 18px 0 0;
  transition: color 0.15s;
  z-index: 2600;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--accent);
}
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 40px 28px;
}
.mobile-menu .mobile-nav a {
  font-size: 22px;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  padding: 10px 8px;
  border-radius: 6px;
  width: 100%;
  min-width: 200px;
  transition: background 0.18s, color 0.16s;
}
.mobile-menu .mobile-nav a:hover, .mobile-menu .mobile-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
@media (max-width: 500px) {
  .mobile-menu .mobile-nav a {
    font-size: 18px;
    min-width: 120px;
    padding: 10px 4px;
  }
  .mobile-menu .mobile-nav {
    padding: 34px 10px 18px 24px;
    gap: 16px;
  }
}

/* Prevent scrolling when menu is open */
.mobile-menu.active ~ main,
.mobile-menu.active ~ footer {
  filter: blur(2px) grayscale(0.08);
  pointer-events: none;
  user-select: none;
  transition: filter 0.18s;
}

/* =================== BUTTONS =================== */
.cta-primary, .cta-secondary {
  display: inline-block;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 20px;
  padding: 14px 38px;
  box-shadow: 0 6px 18px 0 rgba(116,0,24,0.09);
  margin-top: 12px;
  margin-bottom: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.2s;
  text-align: center;
  text-transform: uppercase;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px) scale(1.04);
}
.cta-secondary {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--primary);
  color: #fff;
}

/* =================== FORM CONTROLS (for forms / contact) =================== */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  background: #fff;
  border: 2px solid var(--grey);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 18px;
  transition: border 0.18s, box-shadow 0.18s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--primary);
  box-shadow: 0 2px 9px 0 rgba(116,0,24,0.07);
}

label {
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
  display: block;
}

/* =================== CARDS & TABLES =================== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
th, td {
  padding: 14px 8px;
  text-align: left;
  font-size: 16px;
}
th {
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
tbody tr {
  background: #faf9f8;
  border-bottom: 1px solid #ede5e7;
}
tbody tr:last-child {
  border-bottom: none;
}
td {
  color: var(--secondary);
}

/* =================== TESTIMONIAL, FEATURES, LISTS =================== */
.content-wrapper > ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.content-wrapper > ul > li {
  padding-left: 0.5em;
  font-size: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
}
.content-wrapper > ul > li:before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--primary);
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
}
.content-wrapper > ol {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style-type: decimal inside;
  margin-bottom: 16px;
}
.content-wrapper > ol > li {
  padding-left: 0.5em;
  font-size: 16px;
}

/* Distinctive features grid (use card-container/content-grid for flex) */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-item {
  background: #fff;
  border-radius: 16px;
  padding: 24px 18px;
  box-shadow: 0 2px 10px rgba(116,0,24,0.03);
  min-width: 220px;
}

/* =================== FOOTER =================== */
footer {
  width: 100%;
  background: var(--secondary);
  color: #fff;
  padding-top: 32px;
  padding-bottom: 24px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 12px;
}
footer nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  transition: color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
  display: inline-block;
}
.footer-copy {
  color: #b3b3b7;
  font-size: 13px;
  margin-top: 10px;
}
footer a img {
  height: 32px;
  width: auto;
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  footer .container {
    gap: 14px;
  }
  .footer-contact {
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =================== COOKIE CONSENT BANNER =================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  color: var(--secondary);
  box-shadow: 0 -4px 18px 0 rgba(26,27,32,0.13);
  width: 100%;
  z-index: 4000;
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.34s cubic-bezier(.5,.05,.47,1.3);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.cookie-banner button {
  border: none;
  border-radius: 8px;
  padding: 11px 24px;
  font-size: 15px;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-weight: 800;
  cursor: pointer;
  margin: 0 2px;
  transition: background 0.16s, color 0.13s;
  box-shadow: 0 1px 6px 0 rgba(26,27,32,0.12);
}
.cookie-accept {
  background: var(--primary);
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--accent);
  color: var(--primary);
}
.cookie-reject {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-settings {
  background: var(--accent);
  color: var(--secondary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--primary);
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    padding: 13px 6px 13px 6px;
    font-size: 15px;
  }
  .cookie-banner button {
    padding: 9px 10px;
    font-size: 14px;
  }
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 4200;
  background: rgba(26,27,32,0.55);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  animation: fade-in 0.29s;
}
.cookie-modal-overlay.active {
  display: flex;
}
@keyframes fade-in {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 40px rgba(26,27,32,0.22);
  max-width: 430px;
  width: calc(100vw - 40px);
  padding: 34px 34px 22px 34px;
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 4250;
  gap: 20px;
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 22px;
  margin-bottom: 4px;
  font-family: 'Montserrat', Arial Black, Arial, sans-serif;
  font-weight: 800;
}
.cookie-modal label, .cookie-modal .cookie-category {
  font-weight: 700;
  font-size: 17px;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.toggle-switch {
  width: 42px;
  height: 24px;
  background: #eee;
  border-radius: 50px;
  position: relative;
}
.toggle-switch input[type="checkbox"] {
  opacity: 0;
  width: 20px; height: 20px;
  position: absolute;
}
.toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: var(--secondary);
  border-radius: 50%;
  transition: left 0.16s, background 0.16s;
}
.toggle-switch input:checked + .toggle-slider {
  left: 20px;
  background: var(--primary);
}
.cookie-modal .cookie-categories {
  margin-top: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--grey);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px; right: 15px;
  background: transparent;
  border: none;
  font-size: 30px;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .cookie-modal-close:hover {
  color: var(--secondary);
}

/* =================== VISUALS / SHADOWS & GEOMETRY =================== */
.card, .section, .testimonial-card, .feature-item, .cookie-modal {
  box-shadow: var(--card-shadow);
}
.card, .section, .testimonial-card, .feature-item, .cookie-modal {
  border-radius: var(--card-radius);
}

/* BUTTON Micro-interaction */
button:not(.cookie-modal-close) {
  transition: transform 0.12s;
}
button:active {
  transform: scale(0.98);
}

/* Subtle section divider */
.section + .section {
  margin-top: 3px;
}

/* =================== RESPONSIVE FIXES =================== */
@media (max-width: 1200px) {
  .container {
    max-width: 94vw;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding: 0 8px;
  }
}

/* =================== UTILITY =================== */
.d-none { display: none !important; }
.text-center { text-align: center; }

/* =================== GEOMETRIC/DECORATIVE ELEMENTS =================== */
.hero:before {
  content: "";
  position: absolute;
  right: -60px;
  top: -32px;
  width: 130px;
  height: 130px;
  background: var(--primary);
  opacity: 0.06;
  border-radius: 42% 48% 39% 61%/67% 59% 38% 52%;
  z-index: 1;
}
.hero .container,
.hero .content-wrapper {
  position: relative;
  z-index: 2;
}

/* =================== ANIMATION UTILITIES =================== */
.fade-in {
  animation: fade-in 0.6s;
}

/* =================== END OF CSS =================== */

