/* CSS RESET & BASELINE | Modern 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7F3EB;
  color: #141414;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  min-height: 100vh;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: #3A274A;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #AF995C;
  outline: none;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: bold;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: "Cinzel", serif;
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
  color: #3A274A;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #3A274A;
}
.subheadline, .confirmation-message {
  font-size: 1.15rem;
  color: #474747;
  line-height: 1.5;
  margin-bottom: 16px;
}

p, li, td, th {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #181818;
  margin-bottom: 12px;
}

/* CONTAINERS & LAYOUT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 22px 0 rgba(58, 39, 74, 0.07);
}
@media (max-width: 900px) {
  .section {
    margin-bottom: 42px;
    padding: 26px 8px;
  }
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(58, 39, 74, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  min-height: 82px;
  position: relative;
  z-index: 10;
}
header>img {
  height: 48px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  gap: 24px;
  flex: 1 1 auto;
  align-items: center;
}
.main-nav a {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #282828;
  font-size: 1rem;
  padding: 4px 7px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #AF995C;
  background: #edeaea;
}
.cta-btn {
  background: #3A274A;
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 11px 30px;
  border: none;
  border-radius: 25px;
  margin-left: 15px;
  cursor: pointer;
  box-shadow: 0 3px 13px 0 rgba(58, 39, 74, 0.07);
  transition: background 0.23s, color 0.23s, transform 0.12s;
  display: inline-block;
  text-align: center;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #AF995C;
  color: #181818;
  transform: translateY(-1.5px) scale(1.022);
}

.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  color: #3A274A;
  font-size: 2.05rem;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 110;
  border-radius: 11px;
  transition: background 0.2s;
  margin-left: 16px;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #edeaea;
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(30, 24, 29, 0.95);
  color: #fff;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.31s cubic-bezier(0.88, 0.1, 0.28, 1.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2rem;
  align-self: flex-end;
  margin: 25px 25px 10px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #AF995C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 32px;
  margin-top: 8px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.13rem;
  font-family: "Cinzel", serif;
  font-weight: 500;
  padding: 12px 8px;
  border-radius: 7px;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #AF995C;
  color: #232323;
}
@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
}

/* HERO SECTION */
.hero {
  background: #3A274A;
  color: #fff;
  padding: 60px 0 50px 0;
  display: flex;
  align-items: center;
  min-height: 350px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.hero h1,
.hero h2 {
  color: #fff;
}
.hero .subheadline {
  color: #e2dede;
}
.hero .cta-btn {
  background: #AF995C;
  color: #232323;
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #fff;
  color: #3A274A;
}
@media (max-width: 768px) {
  .hero {
    padding: 40px 0 28px 0;
    min-height: 180px;
  }
}

/* CARD/CONTENT GRID FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 13px 0 rgba(58, 39, 74, 0.055);
  padding: 32px 22px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.22s, transform 0.14s;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(24,24,24,0.10);
  transform: translateY(-4px) scale(1.012);
}

.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;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 10px 0 rgba(31, 29, 32, 0.08);
  padding: 28px 22px;
  margin-bottom: 20px;
  border-left: 5px solid #3A274A;
  transition: border-left-color 0.23s, box-shadow 0.21s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-left-color: #AF995C;
  box-shadow: 0 5px 18px 0 rgba(58,39,74,0.09);
}
.testimonial-card p {
  color: #181818;
  font-style: italic;
  font-size: 1.07rem;
  margin-bottom: 0px;
}
.testimonial-meta span {
  color: #3A274A;
  font-family: "Lato", Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fafafa;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 15px;
  border-left: 4px solid #AF995C;
  min-width: 160px;
}

/* SERVICE LIST (used as cards) */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-list > div {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(58,39,74,0.06);
  padding: 30px 22px 22px 22px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 370px;
  margin-bottom: 21px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.service-list > div:hover, .service-list > div:focus-within {
  box-shadow: 0 7px 26px 0 rgba(58,39,74,0.11);
  transform: translateY(-2px) scale(1.011);
}

/* LISTS & ICONS */
ul li, ol li {
  position: relative;
  padding-left: 42px;
  margin-bottom: 16px;
  color: #181818;
  min-height: 32px;
  display: flex;
  align-items: center;
  font-size: 1.01rem;
}
ul li img, ol li img {
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-right: 10px;
}
ul li strong {
  color: #3A274A;
}

ol {
  counter-reset: item;
  list-style: none;
  margin-bottom: 16px;
}
ol li {
  padding-left: 34px;
  margin-bottom: 14px;
}
ol li:before {
  content: counter(item) ". ";
  counter-increment: item;
  position: absolute;
  left: 0;
  top: 0;
  color: #AF995C;
  font-family: "Cinzel", serif;
  font-size: 1.08em;
  font-weight: 700;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-bottom: 24px;
  border-radius: 10px;
  box-shadow: 0 1px 5px 0 rgba(58,39,74,0.03);
  overflow: hidden;
  font-size: 1rem;
}
th, td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid #edeaea;
}
th {
  color: #3A274A;
  font-family: "Cinzel", serif;
  font-weight: 700;
  background: #F7F3EB;
}
tr:last-child td {
  border-bottom: 0;
}

/* CONTACT INFO */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 12px;
  font-size: 1.05rem;
}
.contact-info div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #474747;
}
.contact-info img {
  width: 23px;
  height: 23px;
}

.contact-short {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}
.contact-short div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #595959;
  font-size: 0.97rem;
}
.contact-short img {
  width: 21px;
  height: 21px;
}

/* FOOTER */
footer {
  width: 100%;
  background: #232025;
  color: #edeaea;
  margin-top: 68px;
  padding: 46px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.footer-nav {
  display: flex;
  gap: 20px;
}
.footer-nav a {
  color: #AF995C;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.92;
  letter-spacing: 0.04em;
  transition: color 0.16s, opacity 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  opacity: 1;
}
footer .cta-btn {
  background: #AF995C;
  color: #232323;
}
footer .cta-btn:hover {
  background: #fff;
  color: #3A274A;
}
footer img {
  height: 36px;
  margin: 12px 0 0 0;
}
footer p {
  color: #B8B8B8;
  font-size: 0.98rem;
  margin: 0;
  text-align: center;
  letter-spacing: 0.01em;
}
.social-links {
  display: flex;
  gap: 17px;
  align-items: center;
}
.social-links a img {
  height: 28px;
  width: 28px;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.78;
  transition: filter 0.2s, opacity 0.18s;
}
.social-links a:hover img,
.social-links a:focus img {
  filter: grayscale(0) contrast(1.28) brightness(1.2);
  opacity: 1;
}

/* Section Spacing Adjustments for Mobile */
@media (max-width: 768px) {
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  footer .cta-btn {
    margin: 0 auto;
  }
  .hero h1, .hero h2 {
    font-size: 1.65rem;
  }
  h1 {
    font-size: 1.7rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .content-wrapper {
    gap: 15px;
  }
  .service-list, .card-container, .contact-info, .contact-short {
    flex-direction: column;
    gap: 12px;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #232025;
  color: #edeaea;
  z-index: 9999;
  box-shadow: 0 -4px 20px 0 rgba(58,39,74,0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 26px 18px;
  gap: 18px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.38s, transform 0.31s;
  font-size: 1rem;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-banner p {
  color: #edeaea;
  margin-right: 10px;
  margin-bottom: 0;
}
.cookie-banner .cookie-btn {
  background: #AF995C;
  color: #232323;
  font-size: 1rem;
  font-family: "Lato", Arial, sans-serif;
  border: none;
  border-radius: 23px;
  padding: 9px 28px;
  margin: 0 6px;
  font-weight: 500;
  box-shadow: 0 2px 13px 0 rgba(175, 153, 92, 0.09);
  cursor: pointer;
  transition: background 0.2s, color 0.19s, transform 0.10s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #fff;
  color: #3A274A;
  transform: translateY(-2px) scale(1.04);
}
.cookie-banner .cookie-btn.cookie-settings {
  background: transparent;
  color: #AF995C;
  border: 1.5px solid #AF995C;
  margin-left: 8px;
}
.cookie-banner .cookie-btn.cookie-settings:hover, .cookie-banner .cookie-btn.cookie-settings:focus {
  background: #AF995C;
  color: #232323;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right:0; bottom:0;
  z-index: 10010;
  background: rgba(40, 30, 25, 0.67);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #232323;
  border-radius: 14px;
  box-shadow: 0 8px 28px 0 rgba(58,39,74,0.19);
  padding: 36px 28px 28px 28px;
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modalIn 0.33s cubic-bezier(.83,-0.02,.23,1.09);
}
@keyframes modalIn {
  from { transform: translateY(30px) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.cookie-modal h3 {
  color: #3A274A;
  margin-bottom: 12px;
  font-family: "Cinzel", serif;
  font-size: 1.24rem;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.55rem;
  color: #3A274A;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #AF995C;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  flex: 1;
  color: #141414;
  font-family: "Lato", Arial, sans-serif;
  font-size: 1.03rem;
}
.cookie-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #AF995C;
}
.cookie-category .essentials {
  color: #b8b8b8;
  font-style: italic;
}
.cookie-modal .cookie-btn, .cookie-modal .cookie-btn.cookie-settings {
  width: 100%;
  margin: 4px 0 0 0;
  font-size: 0.99rem;
}
@media (max-width: 480px) {
  .cookie-modal{
    max-width: 95vw;
    padding: 21px 6vw 21px 6vw;
  }
}

/* MISC */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.confirmation-message {
  color: #181818;
  background: #f1efe8;
  border-left: 4px solid #AF995C;
  padding: 19px 15px;
  border-radius: 9px;
  margin-bottom: 18px;
}

/* Monochrome Accents */
body, .section, .card, .service-list > div, .testimonial-card, .feature-item, table, .cookie-modal {
  background: #fff;
  color: #181818;
}
.hero, header, .mobile-menu {
  background: #3A274A;
  color: #fff;
}

/* Focus States */
a:focus, button:focus, input:focus, .cta-btn:focus{
  outline: 2px solid #AF995C;
  outline-offset: 1px;
  box-shadow: 0 0 0 3px #F7F3EB;
}

/* Utilities (gap + flex spacing)*/
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-30 { gap: 30px; }

/* Hide elements visually only */
.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Animations for micro-interactions */
.card, .service-list > div, .cta-btn,
.testimonial-card, .feature-item {
  transition: box-shadow 0.21s, border-left 0.21s, transform 0.16s, background 0.19s, color 0.2s;
}
.card:active, .service-list > div:active {
  transform: scale(0.98);
}

/* Responsive Adjustments */
@media (max-width: 760px) {
  header, footer {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .cta-btn {
    font-size: 0.99rem;
    padding: 10px 18px;
  }
  .hero {
    padding: 22px 0 22px 0;
    min-height: 90px;
  }
  .testimonial-card, .card, .service-list > div {
    padding: 17px 10px;
  }
}
