/* ---------------------------- 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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F6F2;
  color: #1A1D23;
  font-family: 'Roboto', Georgia, serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  color: inherit;
}
button { cursor: pointer; }

/* --------------------- TYPOGRAPHY & COLORS (Elegant Classic) --------------------- */
:root {
  --primary: #1A1D23;
  --secondary: #A3987B;
  --accent: #E5C086;
  --muted: #ECE8DF;
  --bg: #F7F6F2;
  --white: #fff;
  --border: #e0ded6;
  --shadow: 0 4px 24px rgba(30,24,12, 0.07);
  --card-radius: 14px;
  --transition: 0.28s cubic-bezier(.4,.01,.17,1);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Times New Roman, Times, serif;
  color: var(--primary);
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
h1 { font-size: 2.4rem; line-height: 1.17; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.35rem; line-height: 1.23; }
h4 { font-size: 1.13rem; line-height: 1.25; }
p, li, span, label {
  font-family: 'Roboto', Georgia, serif;
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.7;
}
@media (max-width: 768px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
}

strong, b {
  font-weight: 700;
  letter-spacing: 0.1px;
  color: var(--secondary);
}

/* --------------------------- GLOBAL CONTAINER & LAYOUT --------------------------- */
.container {
  width: 100%;
  max-width: 1072px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .section {
    padding: 26px 8px;
    margin-bottom: 32px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  min-width: 260px;
  max-width: 420px;
  padding: 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(30,24,12,0.13);
  transform: translateY(-4px) scale(1.014);
}

.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) {
  .content-grid  { flex-direction: column; }
  .text-image-section { flex-direction: column; gap: 16px; }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--muted);
  border-radius: 11px;
  padding: 20px 18px;
  min-width: 220px;
  box-shadow: 0 1.5px 4px 0 rgba(30,24,12,.03);
}

/* -------------------------------- HEADER/NAVIGATION ---------------------------------- */
header {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--border);
  position: sticky;
  top: 0;
  z-index: 1010;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 17px;
  padding-bottom: 17px;
}
header img {
  max-height: 48px;
  width: auto;
  margin-right: 16px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
nav a {
  font-family: 'Roboto', Georgia, serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
nav a:hover:not(.cta-button), nav a:focus:not(.cta-button) {
  background: var(--muted);
  color: var(--secondary);
}
nav a.cta-button {
  margin-left: 20px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 24px;
  font-family: 'Playfair Display', Times, serif;
  font-size: 1.05rem;
  box-shadow: 0 1.5px 7px rgba(229,192,134,0.07);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
nav a.cta-button:hover, nav a.cta-button:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 6px 18px rgba(26,29,35,0.13);
}

/* --------------------- MOBILE NAVIGATION ---------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--primary);
  font-size: 2.1rem;
  padding: 7px 20px;
  border-radius: 14px;
  border: none;
  z-index: 1120;
  transition: background var(--transition);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--secondary);
  color: var(--white);
}
@media (max-width: 992px) {
  nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform var(--transition);
  box-shadow: 4px 0 22px -7px rgba(26,29,35,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 8px 0 36px 0 rgba(26,29,35, 0.07);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--accent);
  color: var(--primary);
  font-size: 2rem;
  padding: 12px 16px;
  margin: 18px 18px 5px 0;
  border-radius: 9px;
  transition: background var(--transition);
  border: none;
  z-index: 1220;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  padding: 24px 32px;
  margin-top: 10px;
}
.mobile-nav a {
  font-family: 'Playfair Display', Times, serif;
  font-size: 1.18rem;
  color: var(--primary);
  padding: 12px 0 8px 0;
  border-radius: 6px;
  width: 100%;
  transition: background 0.2s, color 0.2s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--bg);
  color: var(--secondary);
}
@media (min-width: 993px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ---------------- APPLICATION SECTIONS LAYOUT & SPACING ----------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (max-width: 768px) {
  section {
    padding: 26px 7px;
    margin-bottom: 30px;
    gap: 18px;
  }
}
section ul, section ol {
  margin: 19px 0 0 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
section ul li, section ol li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  padding: 0 0 0 2px;
}
section ul li img, section ol li img {
  flex: none;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  margin-top: 1px;
}

.text-section {
  margin: 20px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ----------------- BUTTONS, LINKS, CTAs ----------------- */
.cta-button {
  background: var(--accent);
  color: var(--primary);
  font-family: 'Playfair Display', Times, serif;
  font-weight: 700;
  font-size: 1.09rem;
  border-radius: 24px;
  padding: 10px 32px;
  display: inline-block;
  margin-top: 18px;
  box-shadow: 0 1.5px 7px rgba(229,192,134,0.09);
  border: none;
  transition: background var(--transition), color var(--transition), transform 0.18s cubic-bezier(.47,1.64,.41,.8);
  letter-spacing: 0.4px;
}
.cta-button:hover, .cta-button:focus {
  background: var(--primary);
  color: var(--accent);
  transform: scale(1.033) translateY(-2px);
  box-shadow: 0 7px 24px rgba(26,29,35,0.16);
}
@media (max-width: 420px) { .cta-button { width: 100%; padding: 14px 0; } }

/* --------------- TESTIMONIALS ---------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--muted);
  border-radius: 13px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(30,24,12,0.06);
  color: var(--primary);
  font-size: 1.13rem;
  font-family: 'Playfair Display', Times, serif;
  line-height: 1.6;
  min-width: 200px;
  max-width: 760px;
  transition: box-shadow var(--transition), background var(--transition);
}
.testimonial-card img {
  width: 38px;
  height: 38px;
  flex: none;
  margin-bottom: auto;
}
.testimonial-card span {
  margin-left: auto;
  color: var(--secondary);
  font-size: 1.03rem;
  font-family: 'Roboto', Georgia, serif;
  font-style: italic;
  opacity: 0.84;
}
.testimonial-card:hover {
  background: #f1ede3;
  box-shadow: 0 4px 28px rgba(229,192,134,0.10);
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 16px 8px;
  }
  .testimonial-card img {
    margin-left: 0;
  }
}

/* --------------------- FOOTER -------------------- */
footer {
  background: var(--primary);
  color: var(--muted);
  padding: 52px 0 24px 0;
  font-size: 0.97rem;
  font-family: 'Roboto', Georgia, serif;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.footer-nav, .footer-links {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  font-size: 1.07rem;
  color: var(--muted);
  margin-bottom: 5px;
  line-height: 2;
}
.footer-nav a, .footer-links a {
  color: var(--muted);
  opacity: 0.83;
  transition: color 0.22s, opacity 0.18s;
}
.footer-nav a:hover, .footer-links a:hover {
  color: var(--accent);
  opacity: 1.0;
}
.brand-info {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.06rem;
}
.brand-info img {
  width: 32px;
  height: auto;
  margin-right: 10px;
}
@media (max-width: 600px) {
  footer .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .footer-nav, .footer-links {
    font-size: 0.98rem;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 1px;
  }
  .brand-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* -------------- COOKIE BANNER & MODAL -------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 -2px 20px rgba(26,29,35,0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 22px 36px;
  z-index: 5000;
  font-size: 1rem;
  font-family: 'Roboto', Georgia, serif;
  transition: transform var(--transition), opacity var(--transition);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 18px 10px;
    font-size: 0.98rem;
  }
}
.cookie-banner.hide {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  background: var(--accent);
  color: var(--primary);
  border-radius: 17px;
  font-size: 1rem;
  font-family: 'Playfair Display', Times, serif;
  font-weight: 700;
  padding: 8px 19px;
  border: none;
  margin-left: 2.5px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 1.5px 7px rgba(229,192,134,0.09);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--secondary);
  color: var(--white);
}
.cookie-btn-reject {
  background: var(--muted);
  color: var(--primary);
  border: 1px solid var(--border);
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: var(--primary);
  color: var(--muted);
}
.cookie-btn-settings {
  background: var(--white);
  color: var(--secondary);
  border: 1px solid var(--secondary);
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: var(--secondary);
  color: var(--white);
}
/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(25,25,28, .48);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition);
  opacity: 1;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--white);
  color: var(--primary);
  border-radius: 18px;
  max-width: 440px;
  width: 94vw;
  box-shadow: var(--shadow);
  padding: 28px 30px 22px 30px;
  font-family: 'Roboto', Georgia, serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 8100;
  position: relative;
  animation: cookieModalIn 0.36s cubic-bezier(.43,.72,.26,.98);
}
@media (max-width: 500px) {
  .cookie-modal { padding: 14px 7px; }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-family: 'Playfair Display', Times, serif;
}
.cookie-modal .category {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-modal .category input[type="checkbox"] {
  width: 16px;
  height: 16px;
}
.cookie-modal .category label {
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Roboto', Georgia, serif;
}
.cookie-modal .category .always {
  font-size: 0.97rem;
  color: var(--secondary);
  margin-left: 3px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--accent);
  color: var(--primary);
  font-size: 1.45rem;
  padding: 2px 10px 3px 10px;
  border-radius: 9px;
  border: none;
  z-index: 8110;
  transition: background var(--transition);
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: var(--secondary);
  color: var(--white);
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: translateY(32px) scale(.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ----------------- UTILITIES & HELPER CLASSES ----------------- */
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mt-4 { margin-top: 24px !important; }
.text-center { text-align: center !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* --------------- RESPONSIVE FIXES - PADDING, GAPS --------------- */
@media (max-width: 992px) {
  header .container {
    flex-direction: row;
    padding-top: 13px;
    padding-bottom: 10px;
    gap: 11px;
  }
  .container { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 600px) {
  .container { padding-left: 4px; padding-right: 4px; }
}

/* ------- FOCUS OUTLINES for accessibility ----------- */
a:focus, button:focus, .cta-button:focus, .cookie-btn:focus, .footer-nav a:focus, .footer-links a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  z-index: 100;
}

/* ----------- FORM STYLES FOR contact page --------------- */
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: 'Roboto', Georgia, serif;
}
input[type="text"], input[type="email"], textarea {
  background: var(--muted);
  border-radius: 6px;
  border: 1px solid var(--border);
  padding: 12px 15px;
  font-size: 1rem;
  margin-bottom: 4px;
  transition: border 0.18s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.6px solid var(--accent);
}
textarea { min-height: 110px; }

/* ----------- ANIMATION MICRO-INTERACTIONS ------------- */
.cta-button, .cookie-btn {
  transition: background var(--transition), color var(--transition), transform 0.19s cubic-bezier(.44,0,.32,1.71), box-shadow var(--transition);
}
nav a, .mobile-nav a {
  transition: background 0.18s, color 0.18s;
}
.card {
  transition: box-shadow 0.24s cubic-bezier(.41,0,.39,1.11), transform 0.24s;
}

/* ---------- PRINT STYLES ------------ */
@media print {
  * {
    background: #fff !important;
    color: #000 !important;
    text-shadow: none !important;
    box-shadow: none !important;
  }
  .mobile-menu, .cookie-banner, .cookie-modal-overlay, header, footer { display: none !important; }
}
