/* ===== 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, main,
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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FFF8F3;
  color: #2C2321;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ===== BRAND COLORS ===== */
:root {
  --color-primary: #19202B;
  --color-secondary: #CBA135;
  --color-accent: #ECECEC;
  --color-bg: #FFF8F3;
  --color-warm1: #F7E8D1;
  --color-warm2: #FFEDD6;
  --color-warm3: #FBECD7;
  --color-on-primary: #FFF8F3;
  --color-on-secondary: #2C2321;
  --color-testimonial: #FFF9F6;
  --color-error: #B03C3C;
  --color-success: #2FA36B;
}

/* ===== TYPOGRAPHY ===== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Roboto:400,500,700&display=swap');
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-weight: 500;
}
p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: #2C2321;
}
strong {
  font-weight: 700;
}

/* ===== CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== HEADER ===== */
header {
  padding: 0;
  background: var(--color-primary);
  box-shadow: 0 2px 20px 0 rgba(25,32,43,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}
.header-bar img {
  height: 48px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  color: var(--color-on-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 18px;
  padding: 8px 18px;
  transition: background .15s, color .15s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-on-secondary);
}
.cta-btn {
  background: var(--color-secondary);
  color: var(--color-on-secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.015em;
  border-radius: 24px;
  padding: 10px 32px;
  font-size: 1rem;
  box-shadow: 0 2px 8px 0 rgba(203,161,53,0.10);
  border: none;
  appearance: none;
  transition: background .2s, color .2s, box-shadow .15s;
  display: inline-block;
  margin-left: 8px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: 0 4px 16px 0 rgba(25,32,43,0.10);
}
.mobile-menu-toggle {
  background: var(--color-warm1);
  color: var(--color-primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  z-index: 200;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: var(--color-on-secondary);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,32,43, 0.96);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--color-secondary);
  color: var(--color-on-secondary);
  border-radius: 50%;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  position: absolute;
  top: 16px;
  right: 24px;
  z-index: 10001;
  transition: background .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-primary);
  color: var(--color-on-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 56px 0 0 0;
  padding: 0 32px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--color-on-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  background: none;
  padding: 14px 0;
  border-radius: 14px;
  width: 100%;
  transition: background .17s, color .17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-on-secondary);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(140deg, var(--color-warm3) 75%, var(--color-secondary) 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 6px 36px 0 rgba(203,161,53,.13);
  margin-bottom: 60px;
  padding: 40px 0 60px 0;
}
@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 26px 26px;
    padding: 26px 0 40px 0;
  }
}

/* ===== REPEATABLE SPACING PATTERNS ===== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: 28px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-warm2);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 0 4px 24px 0 rgba(203,161,53,0.08);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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: var(--color-testimonial);
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px 0 rgba(203,161,53,0.09);
  color: #2C2321;
  font-size: 1rem;
  min-width: 240px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-radius: 18px;
  background: var(--color-warm2);
  padding: 20px 18px;
  box-shadow: 0 2px 14px 0 rgba(203,161,53,0.07);
  min-width: 220px;
}

/* ===== UTILITIES ===== */
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.text-section p {
  margin-bottom: 14px;
}
.text-section a.cta-btn {
  margin-top: 18px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.features-grid > div {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  background: var(--color-warm1);
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(203,161,53,0.06);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow .2s, transform .17s;
}
.features-grid > div:hover, .features-grid > div:focus {
  box-shadow: 0 8px 30px 0 rgba(203,161,53,0.14);
  transform: translateY(-3px) scale(1.03);
}
.features-grid img {
  width: 42px; height: 42px; margin-bottom: 8px;
}

.map-placeholder {
  background: var(--color-warm2);
  border-radius: 18px;
  padding: 18px 14px;
  margin: 10px 0 14px 0;
  box-shadow: 0 2px 12px 0 rgba(203,161,53,0.11);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.team-member {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  background: var(--color-warm2);
  border-radius: 20px;
  box-shadow: 0 2px 14px 0 rgba(203,161,53,0.08);
  padding: 22px 16px;
  text-align: left;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== LISTS, UL, LI, ETC. ===== */
ul li,
ol li {
  margin-bottom: 6px;
  padding-left: 0;
  position: relative;
  line-height: 1.6;
}
ul li img, ol li img {
  display: inline-block;
  margin-right: 8px;
}

/* ==== FOOTER ===== */
footer {
  background: var(--color-primary);
  color: var(--color-on-primary);
  box-shadow: 0 -2px 18px 0 rgba(25,32,43,0.10);
  margin-top: 60px;
  border-radius: 24px 24px 0 0;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 34px 20px 16px 20px;
}
.footer-menu img {
  height: 44px;
  margin-bottom: 10px;
}
.footer-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu nav a {
  color: var(--color-on-primary);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.85;
  padding: 4px 0;
  transition: color .13s, opacity .13s;
}
.footer-menu nav a:hover,
.footer-menu nav a:focus {
  color: var(--color-secondary);
  opacity: 1;
  text-decoration: underline;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 4px;
  font-size: 0.97rem;
}
footer p {
  font-size: .95rem;
  opacity: .90;
  margin-top: 12px;
}

/* ===== BUTTONS & INTERACTIVE STATE ===== */
button,
.cta-btn,
input[type="submit"] {
  outline: none;
  transition: box-shadow .15s, background .15s, color .15s;
}
button:active, .cta-btn:active {
  transform: scale(.98);
}

/* ===== SCROLLBAR ===== */
body {
  scrollbar-color: var(--color-secondary) var(--color-warm1);
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 8px;
  background: var(--color-warm1);
}
::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 8px;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff9f4;
  color: #2C2321;
  box-shadow: 0 -2px 30px 0 rgba(203,161,53,0.11);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 24px;
  z-index: 20000;
  transition: transform .27s;
  font-size: 1rem;
}
.cookie-banner .cookie-text {
  flex: 1 1 300px;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  border-radius: 16px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 8px 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: background .13s, color .13s, box-shadow .1s;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: var(--color-on-secondary);
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--color-primary);
  color: var(--color-on-primary);
}
.cookie-banner .reject {
  background: #ffe2c1;
  color: var(--color-primary);
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: var(--color-error);
  color: #fff;
}
.cookie-banner .settings {
  background: #ffe2c1;
  color: var(--color-primary);
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: var(--color-secondary);
  color: var(--color-on-secondary);
}
@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 14px;
  }
}

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal-bg {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(25,32,43,0.38);
  z-index: 20002;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-bg.open {
  display: flex;
}
.cookie-modal {
  background: #fff9f4;
  border-radius: 28px;
  width: 96vw;
  max-width: 430px;
  padding: 38px 28px 26px 28px;
  box-shadow: 0 8px 32px 0 rgba(203,161,53,0.22);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 20003;
  animation: cookieModalIn .28s cubic-bezier(.42,.04,.62,1.72);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translateY(60px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 9px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-warm1);
  border-radius: 14px;
  padding: 10px 14px;
  margin-bottom: 6px;
}
.cookie-modal .category .category-title {
  font-size: 1.03rem;
  font-weight: 500;
}
.cookie-modal .category .cookie-toggle {
  margin-left: 16px;
  font-size: 1.1rem;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 11px;
  margin-top: 5px;
  justify-content: flex-end;
}
.cookie-modal .accept,
.cookie-modal .reject {
  padding: 7px 20px;
}
.cookie-modal .cookie-close {
  position: absolute;
  right: 24px;
  top: 14px;
  color: var(--color-error);
  background: transparent;
  font-size: 1.6rem;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal .cookie-close:hover,
.cookie-modal .cookie-close:focus {
  background: var(--color-warm1);
  color: var(--color-secondary);
}

/* === CUSTOM TOGGLE SWITCH FOR COOKIES ==== */
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #ffe2c1;
  border-radius: 20px;
  transition: background .2s;
}
.cookie-toggle input:checked + .slider {
  background: var(--color-secondary);
}
.cookie-toggle .slider:before {
  position: absolute;
  content: '';
  height: 18px; width: 18px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
  box-shadow: 0 2px 6px 0 rgba(203,161,53,0.09);
}
.cookie-toggle input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-toggle .slider {
  cursor: pointer;
}

/* ======= RESPONSIVE BREAKPOINTS ======= */
@media (max-width: 1170px) {
  .container {
    max-width: 96vw;
    padding: 0 12px;
  }
  .footer-menu, .header-bar {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 900px) {
  .footer-menu {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 840px) {
  .features-grid,
  .card-container,
  .team-list,
  .content-grid {
    gap: 18px;
    justify-content: flex-start;
  }
  .features-grid > div,
  .team-member,
  .card {
    max-width: 100%;
    min-width: 70vw;
  }
  .footer-menu,
  .header-bar {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper,
  .text-section,
  .features-grid,
  .card-container,
  .card-content,
  .team-list,
  .content-grid {
    flex-direction: column !important;
    gap: 18px !important;
  }
  .features-grid > div,
  .team-member,
  .card {
    min-width: 90vw;
    max-width: 98vw;
  }
  .footer-menu {
    flex-direction: column;
    gap: 18px;
    padding: 24px 8px 12px 8px;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 38px;
  }
  .hero {
    box-shadow: 0 5px 18px 0 rgba(203,161,53,0.12);
    border-radius: 0 0 18px 18px;
    padding: 14px 0 32px 0;
    margin-bottom: 40px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 14px;
  }
  .map-placeholder {
    font-size: .99rem;
    padding: 8px 7px;
    gap: 6px;
  }
  .header-bar {
    flex-direction: row;
    gap: 12px;
    padding: 8px 0;
  }
  .footer-contact p {
    font-size: .96rem;
  }
}

/* ===== TEXT-IMAGE SECTION FLEX ADJUST ===== */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ========== ACCESSIBILITY ========== */
:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}
a:focus {
  outline: 2px dashed var(--color-secondary);
}

/* ====== MINIMUM SPACINGS, CARD RULES =====*/
section, .section {
  margin-bottom: 60px;
}
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}
.card-container, .features-grid, .team-list, .content-grid {
  gap: 20px;
}

/* ======= ANIMATIONS & MICRO-INTERACTIONS ======= */
.cta-btn, .main-nav a, .mobile-nav a, button {
  transition: background .15s, color .15s, box-shadow .15s, transform .12s;
}

.card, .feature-item, .testimonial-card, .team-member {
  transition: box-shadow .18s, transform .13s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover, .team-member:hover, .card:focus, .feature-item:focus {
  box-shadow: 0 8px 28px 0 rgba(203,161,53,0.17);
  transform: translateY(-3px) scale(1.01);
}


/* ======= MISC SPECIAL ELEMENTS ======= */
.map-placeholder p {
  color: var(--color-primary);
  font-weight: 500;
}

/* ======= FORMS (future proof) ======= */
input[type="text"],
input[type="email"],
textarea, select {
  background: #fff;
  border: 1.5px solid var(--color-warm1);
  border-radius: 11px;
  padding: 11px 16px;
  font-size: 1rem;
  color: #333;
  margin-bottom: 14px;
  transition: border .14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
}

/* ====== PRINT PREVENT ====== */
@media print {
  header, nav, footer, .mobile-menu, .cookie-banner, .cookie-modal-bg {
    display: none !important;
  }
  body, .container, .content-wrapper {
    background: #fff !important;
    color: #000 !important;
  }
}

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