/* =======================
   CSS RESET & NORMALIZATION
   ======================= */
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #F4F1EE;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Georgia, 'Times New Roman', Times, serif;
  background: #F4F1EE;
  color: #1B2A34;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
table {
  border-collapse: collapse;
  width: 100%;
}

/* =======================
   VARIABLE DEFINITIONS
   ======================= */
:root {
  --color-primary: #1B2A34;
  --color-secondary: #9D825A;
  --color-accent: #F4F1EE;
  --color-light: #FFFDFB;
  --color-dark: #1B2A34;
  --color-border: #dfd7ca;
  --color-muted: #ede7df;
  --font-display: 'Oswald', Georgia, 'Times New Roman', Times, serif;
  --font-body: 'Roboto', serif;
  --shadow-base: 0 2px 8px 0 rgb(32 32 32 / 8%);
  --radius-panel: 16px;
  --radius-btn: 8px;
  --section-spacing: 60px;
  --container-max: 1200px;
}

/* =======================
   TYPOGRAPHY
   ======================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
  line-height: 1.12;
}
h1 {
  font-size: 2.65rem;
  margin-bottom: 28px;
}
h2 {
  font-size: 1.85rem;
  margin-bottom: 22px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
p, ul, ol {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.subheadline {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
  color: var(--color-secondary);
}

/* =======================
   GENERAL LAYOUT
   ======================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}
header, main, footer {
  width: 100%;
  background: none;
}

.section {
  margin-bottom: var(--section-spacing);
  padding: 40px 20px;
}
@media (max-width: 900px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul, .text-section ol {
  margin-top: 4px;
}
.text-section li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 6px;
  font-size: 1.02rem;
}
.text-section li img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: text-bottom;
}

/* =======================
   MAIN NAVIGATION / HEADER
   ======================= */
header {
  background: var(--color-light);
  box-shadow: 0 4px 20px 0 rgb(20 20 24 / 4%);
  position: relative;
  z-index: 14;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  height: 50px;
  width: auto;
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-primary);
  padding: 5px 3px;
  border-radius: 3px;
  transition: color 0.25s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-secondary);
}
header .btn {
  margin-left: 16px;
}

/* =======================
   MOBILE NAVIGATION
   ======================= */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius-btn);
  font-size: 2rem;
  padding: 4px 13px 7px 13px;
  box-shadow: var(--shadow-base);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 99;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-primary);
  color: #fff6e2;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(27, 42, 52, 0.99);
  box-shadow: 0 0 32px 0 rgb(0 0 18 / 34%);
  transform: translateX(-110vw);
  transition: transform 0.45s cubic-bezier(0.66,0,0.19,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 38px;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  position: absolute;
  right: 20px;
  top: 25px;
  background: none;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  padding: 4px 11px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 210;
  border: 2px solid #fff;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 54px;
  width: 100vw;
  padding-left: 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: var(--font-display);
  padding: 8px 0;
  border-radius: 5px;
  transition: background 0.18s, color 0.18s;
  min-width: 180px;
  letter-spacing: 0.045em;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}

@media (max-width: 1050px) {
  .main-nav, header .btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    right: 24px;
    top: 19px;
  }
}

@media (min-width: 1051px) {
  .mobile-menu {
    display: none !important;
  }
}


/* =======================
   HERO SECTION
   ======================= */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(110deg, #f4f1ee 70%, #ede6de 98%);
  min-height: 340px;
  padding-bottom: 34px;
  border-bottom: 2px solid var(--color-border);
}
.hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 310px;
  gap: 32px;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 13px;
}
.hero-section .btn {
  margin-top: 18px;
}

/* =======================
   FEATURED SECTIONS
   ======================= */
.features-section,
.team-section,
.products-section,
.pricing-section,
.trend-section,
.location-section,
.consulting-section,
.thank-you-section {
  background: var(--color-light);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-base);
  margin-bottom: 50px;
}
.features-section {
  padding-top: 48px;
  padding-bottom: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  margin-top: 10px;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-accent);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-base);
  padding: 28px 22px 18px 22px;
  min-width: 230px;
  max-width: 330px;
  flex: 1 1 220px;
  gap: 12px;
  border: 1px solid var(--color-border);
  margin-bottom: 0 !important;
  transition: box-shadow 0.22s, transform 0.16s;
}
.feature-grid li:hover {
  box-shadow: 0 6px 28px 0 rgb(130 105 70 / 15%);
  transform: translateY(-3px) scale(1.019);
  z-index: 2;
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  filter: grayscale(20%) sepia(8%) contrast(110%);
}
.feature-grid h3 {
  font-size: 1.18rem;
  margin-bottom: 6px;
  color: var(--color-primary);
}
.feature-grid p {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0;
}

/* =======================
   CARDS, FLEXBOX CONTAINERS, LAYOUTS
   ======================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0 !important;
}
.card {
  background: var(--color-accent);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-base);
  padding: 22px 28px 18px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.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;
  }
}

/* =======================
   TESTIMONIALS
   ======================= */
.testimonials-section {
  background: var(--color-light);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-base);
}
.testimonials-section h2 {
  margin-bottom: 13px;
  color: var(--color-primary);
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  background: #fffdfb;
  color: #1B2A34;
  border-radius: var(--radius-panel);
  box-shadow: 0 2px 14px 0 rgb(32 32 32 / 10%);
  border: 1px solid var(--color-border);
  padding: 22px 32px;
  max-width: 680px;
  font-family: var(--font-body);
  font-size: 1.09rem;
  position: relative;
  transition: box-shadow 0.15s, transform 0.15s;
}
.testimonial-card p {
  color: var(--color-primary);
  margin-bottom: 0;
  flex: 1;
  line-height: 1.57;
}
.testimonial-card span {
  min-width: 160px;
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.07rem;
  text-align: right;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgb(84 66 28 / 15%);
  transform: translateY(-2px) scale(1.023);
  z-index: 2;
}
@media (max-width: 730px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px;
    gap: 10px;
  }
  .testimonial-card span {
    text-align: left;
  }
}

/* =======================
   FEATURES & LISTS
   ======================= */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.features-section ul {
  margin-bottom: 18px;
}
.features-section ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}
.features-section ul li:before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-secondary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 9px;
}

/* =======================
   BUTTONS
   ======================= */
.btn, a.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 11px 28px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--color-secondary);
  background: #fff;
  color: var(--color-secondary);
  cursor: pointer;
  transition: background 0.25s, color 0.18s, box-shadow 0.17s;
  box-shadow: 0 2px 7px 0 rgb(120 78 24 / 7%);
  margin-bottom: 0;
  outline: none;
}
.btn:focus, .btn:active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-secondary) inset;
}
.btn:hover {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 5px 14px 0 rgb(130 85 28 / 16%);
  border-color: var(--color-secondary);
}
.btn-primary {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
  box-shadow: 0 4px 16px 0 rgb(157 130 90 / 14%);
  transition: background 0.18s, color 0.19s, box-shadow 0.14s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary);
  color: #fff6e2;
  border-color: var(--color-primary);
}

/* =======================
   TABLES (Pricing Table)
   ======================= */
.pricing-section table {
  width: 100%;
  border-radius: 14px;
  background: var(--color-accent);
  margin: 18px 0 28px 0;
  box-shadow: var(--shadow-base);
  border: 1px solid var(--color-border);
}
.pricing-section td {
  padding: 17px 14px;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.08rem;
}
.pricing-section tr:last-child td {
  border-bottom: none;
}

/* =======================
   FOOTER
   ======================= */
footer {
  background: #ede7df;
  padding-top: 32px;
  padding-bottom: 24px;
  box-shadow: 0 0 36px 0 rgb(0 0 14 / 6%);
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 162px;
}
.footer-links.legal {
  margin-top: 14px;
}
.footer-links a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.01rem;
  letter-spacing: 0.02em;
  transition: color 0.22s;
}
.footer-links a:hover,
.footer-links a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
.brand-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  color: var(--color-primary);
  margin-top: 6px;
}
.logo-mark {
  width: 42px;
  height: auto;
  margin-bottom: 8px;
}
footer .btn,
footer a.btn {
  margin-top: 11px;
  font-size: 1rem;
}

@media (max-width: 990px) {
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
  .footer-links, .footer-links.legal {
    flex-direction: row;
    gap: 12px;
  }
  .brand-contact {
    margin-top: 16px;
  }
}
@media (max-width: 700px) {
  .footer-nav {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-links,
  .footer-links.legal {
    flex-direction: column;
    gap: 7px;
    min-width: 120px;
  }
}

/* =======================
   COOKIE CONSENT BANNER
   ======================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fffdfb;
  color: var(--color-primary);
  padding: 20px 18px 18px 18px;
  box-shadow: 0 -4px 24px 0 rgb(32 32 32 / 10%);
  display: flex;
  align-items: flex-start;
  gap: 26px;
  z-index: 3000;
  font-size: 1rem;
  flex-wrap: wrap;
  transition: transform 0.36s cubic-bezier(0.5,0,0.21,1), opacity 0.22s;
  border-top: 2px solid var(--color-border);
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-message {
  flex: 1 0 220px;
  min-width: 170px;
  max-width: 480px;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 8px 18px;
  background: #fff;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.14s, border 0.14s;
}
.cookie-btn.accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* =========================
   COOKIE PREFERENCES MODAL
   ========================= */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  z-index: 3200;
  background: #fffdfb;
  color: var(--color-primary);
  border-radius: 18px;
  box-shadow: 0 12px 52px 0 rgb(32 32 32 / 18%);
  padding: 34px 28px 24px;
  min-width: 280px;
  max-width: 94vw;
  width: 380px;
  opacity: 1;
  transition: opacity 0.24s, transform 0.24s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-46%) scale(0.94);
}
.cookie-modal h3 {
  font-size: 1.25rem;
  color: var(--color-secondary);
  margin-bottom: 18px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
}
.cookie-switch {
  min-width: 38px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.cookie-switch input {
  display: none;
}
.cookie-switch span {
  width: 38px;
  height: 22px;
  background: #e8dfd3;
  border-radius: 100px;
  position: relative;
  transition: background 0.16s;
  display: block;
}
.cookie-switch span:after {
  content: '';
  display: block;
  position: absolute;
  top: 2px;
  left: 4px;
  width: 16px;
  height: 16px;
  background: #c0ad87;
  border-radius: 50%;
  transition: left 0.16s, background 0.18s;
}
.cookie-switch input:checked + span {
  background: var(--color-secondary);
}
.cookie-switch input:checked + span:after {
  left: 18px;
  background: var(--color-primary);
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  padding: 8px 17px;
}
.cookie-modal-close {
  position: absolute;
  right: 15px;
  top: 12px;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 1.3rem;
  padding: 2px 8px;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.14s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #efe6da;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 6px 14px 8px;
    gap: 13px;
  }
  .cookie-btn {
    min-width: 90px;
    font-size: 0.99rem;
    padding: 7px 13px;
  }
  .cookie-modal {
    padding: 22px 7px 18px 7px;
    width: 97vw;
    min-width: 0;
    max-width: 100vw;
  }
}

/* =======================
   RESPONSIVE DESIGN
   ======================= */
@media (max-width: 900px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.31rem; }
}
@media (max-width: 700px) {
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
  h1, h2, h3 {
    margin-bottom: 16px;
  }
}

@media (max-width: 750px) {
  header .container {
    flex-direction: row;
    gap: 8px;
    padding-top: 11px; padding-bottom: 11px;
  }
  .logo {
    height: 36px;
  }
  .section {
    padding: 21px 1px;
    margin-bottom: 26px;
  }
}

/* =======================
   ANIMATIONS & MICROINTERACTIONS
   ======================= */
.btn, .btn-primary, .feature-grid li, .card, .testimonial-card, .main-nav a, .footer-links a, .mobile-nav a {
  transition: all 0.18s cubic-bezier(0.4,0,0.25,1);
}
.card:hover, .card:focus {
  box-shadow: 0 4px 22px 0 rgb(139 105 68 / 10%);
  transform: translateY(-2px) scale(1.016);
  z-index: 1;
}

/* =======================
   ACCESSIBILITY / FOCUS STYLES
   ======================= */
a:focus,
.btn:focus,
input:focus,
.cookie-btn:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* =======================
   MISC
   ======================= */
::-webkit-scrollbar {
  width: 9px;
  background: #eae6df;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #c6b49a;
  border-radius: 6px;
}

@media (max-width: 390px) {
  h1, h2 { font-size: 1.13rem; }
  .btn, .btn-primary { padding: 8px 8px; font-size: 0.99rem; }
}

/* --- END CSS --- */
