/* 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 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
}
body {
  height: 100%;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #fff;
  color: #384259;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
}

/* CUSTOM FONTS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Roboto:wght@400;700&display=swap');

:root {
  --color-primary: #384259;
  --color-secondary: #D8B4A0;
  --color-accent: #FFFFFF;
  --color-dark: #232939;
  --color-grey: #f7f7fa;
  --color-contrast: #111324;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 {
  font-size: 2.2rem;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1.1rem;
}
p, ul, ol, li, address, blockquote, cite {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
blockquote {
  font-style: italic;
  font-weight: bold;
  color: var(--color-dark);
  border-left: 6px solid var(--color-secondary);
  padding-left: 16px;
  margin-bottom: 10px;
  background: var(--color-grey);
  border-radius: 8px;
}
cite {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  font-style: normal;
  color: var(--color-secondary);
}
dt {
  font-weight: bold;
}
strong, b {
  font-weight: 700;
  color: var(--color-secondary);
}

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* HERO SECTION */
.hero {
  background: var(--color-secondary);
  padding: 60px 0 40px 0;
  width: 100%;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.5rem;
}
.hero .subheadline {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-top: 8px;
  font-weight: 500;
}

/* CTA BUTTON */
.cta-btn {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-display);
  padding: 14px 40px;
  font-size: 1.1rem;
  font-weight: 900;
  border-radius: 28px;
  box-shadow: 0 3px 14px rgba(56,66,89,0.11);
  letter-spacing: 0.5px;
  margin-top: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.2s cubic-bezier(.4,0,.2,1), color 0.2s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 5px 16px var(--color-secondary), 0 1.5px 30px rgba(56,66,89,0.05);
  transition: all 0.28s cubic-bezier(.4,0,.2,1);
}

/* FLEXBOX FEATURES */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 8px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-grey);
  border-radius: 18px;
  padding: 26px 20px 22px 20px;
  min-width: 230px;
  flex: 1 1 220px;
  box-shadow: 0 1.5px 9px rgba(56,66,89,0.055);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.23s, transform 0.17s;
}
.feature-item img {
  width: 36px; height: 36px; object-fit: contain; flex-shrink: 0;
}
.feature-item h3, .feature-item h2 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 0px;
  margin-top: 4px;
}
.feature-item p, .feature-item ul, .feature-item li {
  color: var(--color-dark);
  font-size: 0.96rem;
}
.feature-item:hover {
  box-shadow: 0 8px 38px rgba(56,66,89,0.16);
  transform: translateY(-3px) scale(1.025);
  background: var(--color-accent);
  z-index: 2;
}

/* TESTIMONIAL CARD */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 9px rgba(56,66,89,0.08);
  border: 2.5px solid var(--color-secondary);
  transition: box-shadow 0.22s, border 0.22s;
  max-width: 740px;
}
.testimonial-card:hover {
  box-shadow: 0 5px 26px rgba(56,66,89,0.16);
  border-color: var(--color-primary);
}
.testimonial-card blockquote {
  color: #232939;
  font-size: 1.02rem;
  background: none;
  border-left: none;
  padding-left: 0;
  font-style: italic;
}
.testimonial-card cite {
  color: var(--color-secondary);
  font-size: 0.97rem;
  font-style: normal;
}

/* CARD CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-grey);
  border-radius: 16px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 3px 16px rgba(56,66,89,0.06);
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 22px rgba(56,66,89,0.13);
  transform: translateY(-2px) scale(1.018);
}
.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;
}

/* TABLES */
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  background: var(--color-grey);
  border-radius: 12px;
  overflow: hidden;
  font-size: 1rem;
  margin-bottom: 24px;
}
thead tr {
  background: var(--color-primary);
  color: #fff;
}
th, td {
  text-align: left;
  padding: 16px 20px;
}
th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}
tbody tr {
  border-bottom: 1px solid #e5e5e5;
}
tbody tr:last-child {
  border-bottom: none;
}
tbody td {
  color: var(--color-dark);
}

/* HEADER */
header {
  width: 100%;
  position: relative;
  background: var(--color-accent);
  min-height: 64px;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 16px;
  padding: 10px 0 10px 0;
  z-index: 30;
  box-shadow: 0 2px 6px rgba(56,66,89,0.045);
}
header .logo-link {
  flex-shrink: 0;
}
header img {
  max-height: 46px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex: 1 1 auto;
  align-items: center;
  margin-left: 28px;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--color-primary);
  font-weight: 700;
  background: none;
  border-radius: 8px;
  padding: 8px 10px;
  position: relative;
  transition: color 0.12s, background 0.14s;
}
header nav a:hover, header nav a:focus {
  color: var(--color-secondary);
  background: #f7f7fa;
}
header .cta-btn {
  margin-left: 18px;
  margin-right: 14px;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  margin-left: auto;
  z-index: 101;
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 87vw;
  max-width: 360px;
  background: var(--color-primary);
  box-shadow: -2px 0 24px rgba(0,0,0,0.13);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.39s cubic-bezier(0.56, 0.04, 0.39, 1.06);
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  padding-right: 0;
  padding-left: 0;
  min-height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  display: block;
  background: none;
  color: var(--color-secondary);
  border: none;
  font-size: 2.2rem;
  font-weight: bold;
  align-self: flex-end;
  margin-right: 28px;
  margin-bottom: 22px;
  cursor: pointer;
  transition: color .15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 32px;
  margin-right: 20px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.18rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 6px;
  border-radius: 8px;
  transition: background 0.14s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 1rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  box-shadow: 0 -2px 19px rgba(56,66,89,0.11);
  padding: 20px 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.56, 0.04, 0.39, 1.06), opacity 0.4s;
  gap: 24px;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.cookie-banner__text {
  flex: 1 1 auto;
  font-size: 1rem;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 6px;
  padding: 8px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.19s, color 0.19s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-dark);
  color: var(--color-secondary);
}
.cookie-btn.alt {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.cookie-btn.alt:hover, .cookie-btn.alt:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
  border-color: var(--color-dark);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-60%) scale(0.96);
  background: var(--color-accent);
  color: var(--color-primary);
  z-index: 1202;
  width: 98vw;
  max-width: 410px;
  border-radius: 18px;
  box-shadow: 0 6px 40px rgba(56,66,89,0.23);
  display: flex;
  flex-direction: column;
  padding: 30px 24px 22px 24px;
  transition: all 0.34s cubic-bezier(0.56, 0.04, 0.39, 1.06);
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.35rem;
  color: var(--color-primary);
}
.cookie-modal__close {
  position: absolute;
  right: 30px;
  top: 20px;
  background: none;
  color: var(--color-secondary);
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 18px 0 20px 0;
}
.cookie-modal-categories label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 500;
  user-select: none;
}
.cookie-toggle {
  accent-color: var(--color-secondary);
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-btn {
  margin-top: 5px;
}
.cookie-modal-category-essential {
  color: var(--color-primary);
  font-weight: bold;
  opacity: 0.94;
}

/* ABOUT & MAIN CONTENT */
.content-wrapper ul, .content-wrapper ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
.content-wrapper li {
  font-size: 1.03rem;
  line-height: 1.7;
  margin-bottom: 8px;
  position: relative;
}
.content-wrapper li img {
  width: 20px; height: 20px; vertical-align: middle; margin-right: 7px; display: inline;
}
.content-wrapper address {
  font-style: normal;
  line-height: 1.6;
  font-size: 0.96rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

/* CTA SECTION */
.cta {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 48px 0 32px 0;
}
.cta h2, .cta p {
  color: var(--color-accent);
}
.cta .cta-btn {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 900;
  margin-top: 16px;
  transition: background 0.21s;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #fff;
  color: var(--color-primary);
}

/* FOOTER */
footer {
  background: var(--color-dark);
  color: #fff;
  padding: 32px 0 16px 0;
  margin-top: 70px;
}
.footer-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 22px;
  padding: 0 16px;
}
.footer-main nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.footer-main nav a {
  font-size: 1rem;
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-weight: bold;
  transition: color 0.13s;
}
.footer-main nav a:hover, .footer-main nav a:focus {
  color: #fff;
}
.footer-main img {
  max-height: 36px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 16px;
  font-size: 1rem;
}
.footer-contact a {
  color: var(--color-secondary);
  text-decoration: underline;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: #fff;
  text-decoration: underline;
}
footer .copyright {
  text-align: center;
  font-size: 0.96rem;
  margin-top: 12px;
  opacity: 0.83;
  color: #fafbfc;
  padding-bottom: 8px;
}

/* THANK YOU HERO */
.hero h1 {
  color: var(--color-primary);
  font-size: 2.8rem;
}

/* SPACING RULES: ENSURE ADEQUATE GAPS */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}
.features-grid, .card-container, .content-grid {
  gap: 24px;
  margin-bottom: 12px;
}

/* ACCESSIBILITY & UTILITY */
:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #bbb; }
::-moz-placeholder { color: #bbb; }
:-ms-input-placeholder { color: #bbb; }
::placeholder { color: #bbb; }

/* RESPONSIVE DESIGN */
@media (max-width: 1140px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 900px) {
  .features-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item {
    min-width: unset;
    width: 100%;
    max-width: 100%;
  }
  .footer-main { flex-direction: column; gap: 16px; }
  header .logo-link {
    margin-right: auto;
  }
  .cta .container, .hero .container { padding: 0 10px; }
}
@media (max-width: 768px) {
  .hero {
    padding-top: 32px;
    padding-bottom: 28px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .section, section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
  .features-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .testimonial-card, .card {
    min-width: unset;
    width: 100%;
    max-width: 100%;
    padding: 18px 12px 14px 12px;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  header {
    padding: 10px 0 10px 0;
    gap: 6px;
  }
  .cta {
    padding: 36px 0 22px 0;
  }
}
@media (max-width: 520px) {
  .hero, .cta, section {
    padding: 18px 2px !important;
  }
  .container {
    padding-left: 2px;
    padding-right: 2px;
  }
  .footer-main, .footer-contact {
    padding-left: 2px; padding-right: 2px;
  }
  .cookie-modal {
    padding: 20px 5vw 18px 5vw;
  }
}

/* MICRO-INTERACTIONS */
.cta-btn, .feature-item, .card, .testimonial-card, .cookie-btn {
  transition: box-shadow 0.18s cubic-bezier(.53,.27,.36,.99), color 0.18s, background 0.17s, transform 0.17s;
}
.cta-btn:active {
  transform: scale(0.96);
}
.feature-item:active, .testimonial-card:active, .card:active {
  transform: scale(0.984);
}

/* VISUAL EFFECTS */
.feature-item::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: rgba(216,180,160,0.055);
  z-index: 0;
  pointer-events: none;
}

/****** END STYLES ******/
