/* ==== 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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #F7F5F2; color: #20232a; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; background: none; border: none; outline: none; }

/* ==== FONT IMPORTS ==== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900&display=swap');

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #F7F5F2;
  color: #20232a;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #20232a;
  margin-bottom: 18px;
}

h1 { font-size: 2.5rem; line-height: 1.13; }
h2 { font-size: 2rem;   line-height: 1.15; }
h3 { font-size: 1.2rem; letter-spacing:0.03em; text-transform: uppercase; margin-bottom: 12px; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; }
h4, h5, h6 { font-size: 1rem; font-family: 'Montserrat', Arial, sans-serif; }

p, li, span, a, label {
  font-size: 1rem;
  line-height: 1.7;
  font-family: 'Montserrat', Arial, sans-serif;
}

small { font-size: 0.95rem; }

/* === GEOMETRIC & STRUCTURED GENERAL LAYOUT === */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-section {
  gap: 18px;
}

.card-container,
.card-grid,
.features,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.card, .feature-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 24px rgba(32,35,42,0.07), 0 1.5px 4px rgba(32,35,42,0.09);
  border: 2.5px solid #E6E3DE;
  padding: 28px 20px 24px 20px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover, .feature-item:hover {
  border-color: #CBA135;
  box-shadow: 0 3px 32px rgba(203,161,53,0.09);
  z-index: 1;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px 22px 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 24px rgba(32,35,42,0.10), 0 1.5px 4px rgba(32,35,42,0.06);
  border: 2px solid #E6E3DE;
  margin-bottom: 20px;
  max-width: 455px;
  min-width: 220px;
  transition: border-color 0.2s;
}
.testimonial-card:hover {
  border-color: #CBA135;
}
.testimonial-card p {
  color: #20232a;
  font-weight: 600;
  font-size: 1.09rem;
}
.testimonial-card span {
  color: #CBA135;
  font-size: 1rem;
  font-weight: 500;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 240px;
  flex: 1 1 240px;
}

/* === HEADER === */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(32,35,42,0.05);
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  padding: 0 0 0 0;
  min-height: 68px;
}
header > a > img { height: 38px; margin-left: 24px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 36px;
}
.main-nav a {
  font-weight: 600;
  font-size: 1.05rem;
  color: #20232a;
  letter-spacing: 0.03em;
  padding: 7px 0;
  border-bottom: 2.5px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #CBA135;
  border-bottom: 2.5px solid #CBA135;
}

.cta-btn {
  margin-left: auto;
  background: #CBA135;
  color: #20232a;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 13px 32px;
  border: none;
  border-radius: 80px;
  font-size: 1.07rem;
  box-shadow: 0 2px 10px rgba(203, 161, 53, 0.12);
  transition: background 0.2s, color 0.2s, box-shadow 0.17s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #AC8200;
  color: #fff;
  box-shadow: 0 4px 18px rgba(203,161,53,0.21);
}

.mobile-menu-toggle {
  margin-left: 18px;
  font-size: 2.1rem;
  color: #20232a;
  background: none;
  border: none;
  display: none;
  z-index: 100;
  padding: 7px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #E6E3DE;
}

/* === MOBILE NAVIGATION === */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(32, 35, 42, 0.84);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.52,.68,.32,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu > .mobile-menu-close {
  margin: 24px 0 0 32px;
  align-self: flex-end;
  font-size: 2.1rem;
  color: #fff;
  background: none;
  border: none;
  transition: color 0.2s;
  z-index: 102;
}
.mobile-menu > .mobile-menu-close:hover, .mobile-menu > .mobile-menu-close:focus {
  color: #CBA135;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 50px 20px 16px 38px;
  gap: 22px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.27rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.013em;
  padding: 11px 0;
  border-bottom: 2.7px solid transparent;
  border-radius: 0;
  transition: border-color 0.2s, background 0.15s, color 0.15s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #CBA135;
  border-bottom: 2.7px solid #CBA135;
  background: rgba(255,255,255,.07);
}

/* ==== HERO SECTION & CTA FINAL ==== */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 0 0 58px 0;
  position: relative;
}
section:first-child {
  margin-top: 10px;
}
section .cta-btn {
  margin-top: 12px;
}

/* ==== GEOMETRIC LISTS AND ICON FEATURES ==== */
.content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.content-wrapper ul li {
  min-width: 220px;
  flex: 1 1 230px;
  background: #fff;
  box-shadow: 0 1.5px 8px rgba(32,35,42,0.07);
  border-radius: 18px;
  border: 2px solid #E6E3DE;
  padding: 24px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.12s;
}
.content-wrapper ul li:hover {
  border-color: #CBA135;
  box-shadow: 0 2.5px 18px rgba(203,161,53,0.10);
  z-index: 1;
}
.content-wrapper ul li img {
  width: 48px;
  height: 48px;
  margin-bottom: 9px;
}

/* ==== THANK YOU PAGE ==== */
.thank-you-message {
  font-size: 1.17rem;
  font-weight: 600;
  margin-bottom: 16px;
}

/* ==== FOOTER ==== */
footer {
  background: #20232a;
  padding: 0 0 14px 0;
  color: #F7F5F2;
  width: 100%;
  margin-top: 70px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 34px 16px 0 16px;
  max-width: 1160px;
  margin: 0 auto;
}
footer a img { height: 38px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-nav a {
  color: #CBA135;
  letter-spacing: 0.01em;
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 3px;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #F7F5F2; text-decoration: underline; }

.footer-contacts p {
  color: #F7F5F2;
  font-size: 0.97rem;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1.5px solid #454545;
  padding: 15px 16px 0 16px;
  text-align: center;
}
.footer-bottom small {
  color: #ccc;
  font-size: 0.98rem;
}

/* ==== BUTTONS & FORMS ==== */
button, .cta-btn {
  transition: all 0.18s cubic-bezier(.42,.72,.52,1);
}
button:focus, .cta-btn:focus {
  outline: 2px solid #CBA135;
  outline-offset: 2px;
}

/* === FORM PLACEHOLDER/FIELDS (for future compatibility) === */
input, select, textarea {
  border: 2px solid #E6E3DE;
  border-radius: 10px;
  padding: 12px 15px;
  margin-bottom: 14px;
  background: #fff;
  color: #20232a;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: border-color 0.17s;
}
input:focus, select:focus, textarea:focus {
  border-color: #CBA135;
}

/* ==== COOKIES BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: #fff;
  color: #20232a;
  box-shadow: 0 -2px 24px rgba(32,35,42,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 22px 32px;
  gap: 24px;
  justify-content: space-between;
  min-height: 82px;
  font-size: 1rem;
  border-top: 2.5px solid #CBA135;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(.65,.12,.8,1), transform 0.32s cubic-bezier(.65,.12,.8,1);
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 10px 25px;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  background: #CBA135;
  color: #20232a;
  border: none;
  transition: background 0.19s, color 0.14s;
  outline: none;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #20232a;
  color: #FFF;
}
.cookie-banner .cookie-settings-btn {
  background: #F7F5F2;
  color: #20232a;
  border: 2px solid #CBA135;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: #CBA135;
  color: #fff;
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(32,35,42,0.75);
  z-index: 1201;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.cookie-modal-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,110%) scale(0.98);
  background: #fff;
  z-index: 1202;
  padding: 44px 36px 28px 36px;
  border-radius: 24px;
  box-shadow: 0 6px 38px rgba(0,0,0,0.17), 0 3px 8px rgba(32,35,42,0.09);
  min-width: 324px;
  max-width: 98vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(.57,1.01,.89,.97), opacity 0.24s;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  color: #20232a;
  font-family: 'Playfair Display',serif;
  font-size: 1.4rem;
  margin-bottom: 7px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 19px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-category label {
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: .01em;
}
.cookie-category input[type=checkbox][disabled] {
  accent-color: #CBA135;
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal .cookie-modal-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: none;
  font-size: 1.7rem;
  color: #20232a;
  border: none;
}
.cookie-modal .cookie-modal-close:hover {
  color: #CBA135;
}
.cookie-modal button {
  padding: 9px 23px;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #CBA135;
  color: #20232a;
  border: none;
  font-weight: 600;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal button:hover, .cookie-modal button:focus {
  background: #20232a;
  color: #fff;
}

/* ==== HOVER & MICROINTERACTIONS ==== */
a, button, .cta-btn, .main-nav a, .mobile-nav a, .feature-item, .card {
  transition: background 0.17s, color 0.15s, border-color 0.15s, box-shadow 0.13s;
}

/* ==== SELECTION HIGHLIGHT ==== */
::selection {
  background: #CBA135;
  color: #fff;
}

/* ==== GENERAL GEOMETRIC/STRUCTURED VISUAL TOUCHES ==== */
.card, .feature-item, .content-wrapper ul li, .testimonial-card {
  border-radius: 24px;
  box-shadow: 0 1.5px 7px rgba(32,35,42,0.10);
}

hr {
  border: none;
  border-top: 2.5px solid #E6E3DE;
  margin: 24px 0;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 1020px) {
  .container { max-width: 99vw; }
  .content-wrapper, .content-wrapper ul {
    flex-direction: column;
    gap: 18px;
  }
  .main-nav { gap: 18px; margin-left: 12px; }
  .footer-nav { flex-direction: column; gap: 10px; }
  footer .content-wrapper { gap: 14px; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .cta-btn { margin-right: 12px; }
  .mobile-menu-toggle { display: inline-block; }
  .container { padding: 0 10px; }
}
@media (max-width: 768px) {
  .container, section { padding-left: 8px; padding-right: 8px; }
  .section { margin-bottom: 36px; padding: 27px 6px; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.22rem; }
  .content-wrapper { gap: 13px; }
  .content-wrapper ul { gap: 14px; }
  .content-wrapper ul li { padding: 16px 10px 12px 10px; }
  .testimonial-card { padding: 14px 10px 12px 10px; }
  .footer-bottom { padding: 7px 3px 0 3px; }
  .thank-you-message { font-size: 1rem; }
  .card, .feature-item { padding: 15px 10px 12px 10px; min-width: unset; }
}
@media (max-width: 640px) {
  header { padding: 11px 0; }
  header > a > img, footer a img { height: 32px; margin-left: 5px; }
  .cta-btn, .main-nav a, .footer-nav a { font-size: 0.99rem; }
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 7px;
    font-size: 0.96rem;
    gap: 8px;
  }
  .cookie-banner .cookie-buttons { gap: 7px; }
  .cookie-modal { padding: 24px 7px 15px 12px; min-width: 150px; }
}
@media (max-width: 500px) {
  .testimonial-card, .card, .feature-item, .content-wrapper ul li { padding: 12px 6px 8px 6px; }
  .footer-contacts p { font-size: 0.93rem; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 13px; }
}

/* ==== UTILITY & ACCESSIBILITY ==== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

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