/* ===============================
   RESET & BASE
   =============================== */
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%; background: #F7F6F3; }
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #303846;
  background: #F7F6F3;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
}

ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
strong { font-weight: 600; }

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}
button { cursor: pointer; }

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

:root {
  --color-primary: #303846;
  --color-secondary: #C2B280;
  --color-accent: #F2EFEA;
  --color-body-bg: #F7F6F3;
  --color-border: #E9E7E1;
  --color-card-bg: #fff;
  --color-text: #303846;
  --color-muted: #7A7D86;
  --radius-card: 20px;
  --shadow-card: 0 2px 12px 0 rgba(48, 56, 70, 0.07);
  --shadow-hover: 0 4px 18px 0 rgba(48,56,70,0.13);
  --shadow-light: 0 2px 8px 0 rgba(48,56,70,0.06);
  --spacing-xs: 8px;
  --spacing-s: 16px;
  --spacing-m: 24px;
  --spacing-l: 32px;
  --spacing-xl: 40px;
  --spacing-section: 60px;
  --transition-main: 0.28s cubic-bezier(.5,.15,.5,1.25);
   --font-display: 'Playfair Display', serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ===============================
   CONTAINER & SECTIONS
   =============================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-l);
}

section {
  background: none;
  margin-bottom: var(--spacing-section);
  padding: var(--spacing-xl) 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-l);
  justify-content: center;
}

.text-section {
  background: var(--color-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-light);
  padding: var(--spacing-l);
  gap: var(--spacing-m);
  margin-bottom: var(--spacing-l);
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
    gap: var(--spacing-m);
  }
  section {
    padding: var(--spacing-m) 0;
  }
}

/* ===============================
   HEADINGS & TYPOGRAPHY
   =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.17;
}
h1 {
  font-size: 2.7rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
}

.subheadline {
  font-size: 1.15rem;
  color: var(--color-muted);
  font-family: var(--font-body);
  margin-bottom: var(--spacing-m);
  font-weight: 400;
  line-height: 1.5;
}
p, ul, ol {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}
ul, ol {
  padding-left: 1em;
}
ul li {
  margin-bottom: var(--spacing-xs);
  color: var(--color-text);
}

@media (max-width: 480px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
  .subheadline { font-size: 1rem; }
}

/* ===============================
   NAVIGATION
   =============================== */
header {
  background: #fff;
  box-shadow: 0 1px 6px 0 rgba(32,33,37,.06);
  padding: 0;
  position: relative;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-s);
  padding: 0 20px;
  min-height: 64px;
}
header img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.main-nav a {
  padding: 3px 0;
  color: var(--color-primary);
  font-weight: 400;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.03em;
  transition: border-color var(--transition-main), color var(--transition-main);
}
.main-nav a:hover, .main-nav a:focus {
  border-bottom: 2px solid var(--color-secondary);
  color: var(--color-secondary);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-primary);
  margin-left: var(--spacing-m);
  padding: 2px 8px;
  border-radius: 8px;
  transition: background var(--transition-main);
  z-index: 102;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-accent);
  color: var(--color-secondary);
}

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

/* ===============
  MOBILE MENU
 =============== */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(48,56,70,0.94);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-100vw);
  transition: transform var(--transition-main);
  will-change: transform;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  color: #fff;
  border: none;
  margin: var(--spacing-l) var(--spacing-l) var(--spacing-xs) 0;
  z-index: 2100;
  padding: 2px 12px;
  border-radius: 8px;
  transition: background var(--transition-main);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-l);
  margin-top: 24px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: var(--font-body);
  padding: var(--spacing-xs) var(--spacing-m);
  border-radius: 6px;
  transition: background var(--transition-main), color var(--transition-main);
  letter-spacing: 0.02em;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

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

/* ===============================
   BUTTONS
   =============================== */
.btn-primary {
  display: inline-block;
  padding: 12px 34px;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1.1rem;
  border-radius: 100px;
  font-weight: 700;
  margin-top: var(--spacing-s);
  box-shadow: 0 2px 10px 0 rgba(194,178,128,0.08);
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main);
  border: 1.5px solid var(--color-secondary);
  cursor: pointer;
  text-align: center;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-hover);
  border: 1.5px solid var(--color-primary);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-card-bg);
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 1.03rem;
  border-radius: 100px;
  font-weight: 700;
  margin-top: var(--spacing-s);
  box-shadow: 0 2px 10px 0 rgba(194,178,128,0.06);
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main);
  text-align: center;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: var(--shadow-hover);
}

/* ===============================
   FLEX PATTERNS & CARDS
   =============================== */
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 240px;
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--spacing-m);
  margin-bottom: 20px;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
  border: 1px solid var(--color-border);
}
.feature-list li:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.016);
}
.feature-list img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--spacing-m);
  margin-bottom: 20px;
  transition: box-shadow var(--transition-main);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-hover);
}

.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) {
  .feature-list,
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: var(--spacing-m);
  }
}

.feature-item { /* For advanced page feature classes */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =====================
   TESTIMONIAL CARDS
   ===================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--color-border);
  margin-bottom: 20px;
  max-width: 600px;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 500;
}
.testimonial-card span {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-muted);
  font-style: italic;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  background: #F2EFEA;
  padding: var(--spacing-l) 0 var(--spacing-m) 0;
  box-shadow: 0 -1px 6px 0 rgba(32,33,37,.03);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-m);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: var(--color-primary);
  font-size: 1rem;
  opacity: 0.95;
  transition: color var(--transition-main);
}
.footer-nav a:hover {
  color: var(--color-secondary);
}
.footer-links {
  color: var(--color-muted);
  font-size: 0.92rem;
  text-align: center;
  margin-bottom: 5px;
}
.footer-links a {
  color: var(--color-muted);
  margin: 0 1px;
  transition: color var(--transition-main);
}
.footer-links a:hover {
  color: var(--color-secondary);
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a img {
  width: 28px; height: 28px;
  display: block;
  filter: grayscale(40%) brightness(0.93);
  transition: filter var(--transition-main), transform var(--transition-main);
}
.footer-social a:hover img {
  filter: grayscale(0%) brightness(1.05);
  transform: scale(1.12);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--color-muted);
  font-size: .97rem;
  font-family: var(--font-body);
}
.footer-brand img {
  height: 32px; width: auto;
}

/* ===============================
   COOKIES CONSENT BANNER & MODAL
   =============================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 13px 0 rgba(48, 56, 70, 0.13);
  border-top: 2.5px solid var(--color-secondary);
  padding: 22px 24px;
  z-index: 2500;
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  animation: fadeInUp 0.6s 0.15s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  flex: 2;
  color: var(--color-primary);
  font-size: 1rem;
  margin: 0;
}
.cookie-banner .cookie-actions {
  flex: 1;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-banner button {
  font-size: 0.99rem;
  border-radius: 22px;
  padding: 8px 20px;
  border: none;
  margin: 0;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 600;
  transition: background var(--transition-main), color var(--transition-main);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: var(--color-accent);
  color: var(--color-secondary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 18px 8px;
    font-size: 0.98rem;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 9px;
    justify-content: flex-start;
  }
}

/* Cookie MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(48,56,70,0.23);
  z-index: 2600;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition-main);
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-hover);
  padding: 38px 32px 28px 32px;
  color: var(--color-primary);
  min-width: 320px;
  max-width: 95vw;
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: flex-start;
  animation: fadeInModal 0.45s 0.03s both;
  position: relative;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(40px) scale(0.88); }
  to { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.cookie-modal ul {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
  list-style: none;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-modal label {
  font-size: 1rem;
  color: var(--color-primary);
}
.cookie-modal input[type="checkbox"] {
  appearance: none;
  background: var(--color-accent);
  width: 22px; height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--color-border);
  transition: background var(--transition-main);
  display: inline-block;
  position: relative;
  margin-right: 4px;
}
.cookie-modal input[type="checkbox"]:checked {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}
.cookie-modal input[type="checkbox"]:after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 3px;
  position: absolute;
  left: 5px;
  top: 5px;
  opacity: 0;
  transition: opacity .18s;
}
.cookie-modal input[type="checkbox"]:checked:after {
  opacity: 1;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 19px;
  align-items: center;
}
.cookie-modal button {
  font-size: 1rem;
  border-radius: 22px;
  padding: 8px 20px;
  border: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-weight: 600;
  transition: background var(--transition-main), color var(--transition-main);
}
.cookie-modal .cookie-modal-cancel {
  background: var(--color-accent);
  color: var(--color-secondary);
  border: 1.1px solid var(--color-secondary);
}
.cookie-modal .cookie-modal-cancel:hover,
.cookie-modal .cookie-modal-cancel:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-modal button:hover,
.cookie-modal button:focus {
  background: var(--color-primary);
  color: #fff;
}
.cookie-modal .modal-close-x {
  position: absolute;
  top: 19px; right: 17px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--color-secondary);
  cursor: pointer;
  transition: color var(--transition-main);
}
.cookie-modal .modal-close-x:hover {
  color: var(--color-primary);
}
.cookie-modal ul.essential {
  border: none;
  padding: 0;
}
.cookie-modal li.essential label {
  font-weight: 500;
  color: var(--color-primary);
}
.cookie-modal li.essential input[type="checkbox"] {
  pointer-events: none;
  background: #e2e1dc;
  border-color: #dfddcc;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 20px 8px 16px 8px;
    min-width: 220px;
    width: 95vw;
  }
}

/* ===============================
   FORM STYLES (for contact/inputs)
   =============================== */
input, textarea, select {
  border-radius: 9px;
  border: 1.5px solid var(--color-border);
  padding: 11px 14px;
  font-size: 1rem;
  background: var(--color-card-bg);
  color: var(--color-text);
  transition: border-color var(--transition-main);
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-secondary);
}

/* ===============================
   MISCELLANEOUS
   =============================== */
::-webkit-input-placeholder { color: #A1A7AE; }
::-moz-placeholder { color: #A1A7AE; }
:-ms-input-placeholder { color: #A1A7AE; }
::placeholder { color: #A1A7AE; }

hr {
  border: 0;
  border-top: 1.5px solid var(--color-border);
  margin: var(--spacing-m) 0;
}

/* For page icon bullets */
ul li img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 9px;
  width: 24px;
}

/* ===============================
   SCROLLBAR
   =============================== */
body {
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) #f8f7f4;
}
body::-webkit-scrollbar {
  width: 9px;
}
body::-webkit-scrollbar-thumb {
  background: var(--color-secondary);
  border-radius: 5px;
}
body::-webkit-scrollbar-track {
  background: #f8f7f4;
}

/* ===============================
   RESPONSIVE QUERIES
   =============================== */
@media (max-width: 1000px) {
  .container { max-width: 820px; }
  .feature-list li, .card {
    min-width: 180px;
    max-width: 370px;
  }
}
@media (max-width: 800px) {
  .container { max-width: 97vw; }
  .feature-list li, .card {
    min-width: 150px;
    max-width: 100%;
  }
  .testimonial-card {
    max-width: 90vw;
  }
}
@media (max-width: 700px) {
  .footer-nav { gap: 9px; font-size: 0.98rem; }
}
@media (max-width: 600px) {
  footer .container { gap: var(--spacing-s); }
  .feature-list, .card-container { gap: var(--spacing-s); }
}
@media (max-width: 480px) {
  .testimonial-card,
  .card, .feature-list li,
  .container { padding: 0 5px; max-width: 99vw; }
  .footer-nav { flex-wrap: wrap; gap: 5px; }
}

/* ===============================
   ACCESSIBILITY
   =============================== */
:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* ===============================
   MICRO-INTERACTIONS
   =============================== */
a, button {
  transition: color var(--transition-main), background var(--transition-main), border var(--transition-main), box-shadow var(--transition-main), transform var(--transition-main);
}
.btn-primary, .btn-secondary, .cookie-banner button, .cookie-modal button {
  transition: box-shadow var(--transition-main), background var(--transition-main), color var(--transition-main), border var(--transition-main), transform var(--transition-main);
}

/* ===============================
   PRINT (minimal)
   =============================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .container { box-shadow: none !important; background: #fff !important; }
  body { color: #111 !important; }
}


/* END OF STYLE.CSS */