/* --- 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;}
ol,ul {list-style:none;}
a {text-decoration:none;color:inherit;}
img {border-style:none;max-width:100%;height:auto;display:block;}
*, *::before, *::after {box-sizing:border-box;}

/* --- CUSTOM PROPERTIES --- */
:root {
  --color-primary: #23313B;
  --color-secondary: #EFEFEF;
  --color-accent: #A68064;
  --color-header-bg: #1b2530;
  --color-footer-bg: #222931;
  --color-bg-default: #171b21;
  --color-bg-light: #f7f9fa;
  --color-bg-section: #212832;
  --color-text-main: #F6F8FB;
  --color-text-invert: #23313B;
  --color-title: #A68064;
  --color-card: #202834;
  --color-card-light: #fff;
  --color-card-border: rgba(166, 128, 100, 0.13);
  --color-outline: #A68064;
  --color-focus-neon: #8cf9e7;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --transition-main: 0.2s cubic-bezier(.48,.12,.36,1.41);
  --shadow-main: 0 4px 16px rgba(22,40,74,0.08), 0 1.5px 5px rgba(166,128,100,0.07);
  --shadow-neon: 0 0 8px #A68064,0 0 20px #A6806444;
  --radius-main: 15px;
  --radius-tiny: 8px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-bg-default);
  color: var(--color-text-main);
  min-height: 100vh;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-title);
  letter-spacing: 0.01em;
}
h1 {font-size: 2.75rem; margin-bottom: 18px; line-height: 1.15;}
h2 {font-size: 2rem; margin-bottom: 14px; line-height: 1.17;}
h3 {font-size: 1.25rem; margin-bottom: 11px;}
h4 {font-size: 1.0rem; margin-bottom: 7px;}
p,li,span,ul,ol {
  font-family: var(--font-body);
  color: var(--color-text-main);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.005em;
}
.subtitle {
  font-family: var(--font-display); 
  font-size: 1.24rem; 
  color: #D4C9BB;
  margin-bottom: 30px;
  letter-spacing: 0.02em;
}
strong {
  color: var(--color-accent);
  font-weight: 600;
}
blockquote {
  background: #20222b;
  color: #e6e9ee;
  border-left: 4px solid var(--color-accent);
  padding: 22px 25px;
  margin: 18px 0;
  border-radius: var(--radius-main);
  font-style: italic;
  box-shadow: var(--shadow-main);
}

/* --- HEADER --- */
header {
  background: var(--color-header-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 16px 24px;
  box-shadow: 0 2px 16px 0 rgba(80,85,100,0.06);
  position: relative;
  z-index: 21;
}
.logo {
  display: flex;
  align-items: center;
  height: 58px;
}
.logo img {
  display: block;
  height: 45px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-main);
  padding: 4px 8px;
  position: relative;
  transition: color var(--transition-main);
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--color-accent);
}
.cta-header {
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-tiny);
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  padding: 11px 25px;
  box-shadow: var(--shadow-main);
  margin-left: 14px;
  transition: background var(--transition-main), box-shadow var(--transition-main), color var(--transition-main);
  border: none;
  outline: none;
  cursor: pointer;
  border-bottom: 2.5px solid #7e5938;
  position: relative;
}
.cta-header:hover, .cta-header:focus {
  background: #856136;
  color: #FFF1E0;
  box-shadow: var(--shadow-neon);
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-bg-section);
  color: var(--color-accent);
  border: none;
  font-size: 2.3rem;
  border-radius: 50%;
  padding: 7px 15px 5px 15px;
  margin: 0 0 0 6px;
  box-shadow: var(--shadow-main);
  z-index: 60;
  position: fixed; /* always on top */
  top: 16px; right: 17px;
  cursor: pointer;
  transition: background var(--transition-main), box-shadow var(--transition-main);
}
.mobile-menu-toggle:focus {
  box-shadow: 0 0 0 3px var(--color-outline);
  outline: none;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,38,46,0.98);
  backdrop-filter: blur(2.7px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.46,.03,.52,.96);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  color: #d3b28e;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  position: absolute;
  top: 24px; right: 27px;
  z-index: 1001;
  transition: color var(--transition-main);
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  color: var(--color-accent);
}
nav.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: flex-start;
  margin-left: 46px;
  margin-top: 110px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: #fff;
  padding: 8px 0 5px 0;
  border-radius: var(--radius-tiny);
  transition: color var(--transition-main), background var(--transition-main);
  min-width: 50vw;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--color-accent);
  background: #1f252b;
}

/* --- CONTAINERS & SECTIONS --- */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  border-radius: var(--radius-main);
  display: flex;
  flex-direction: column;
}
/* For text-image-section, not in provided HTML but for completeness */
.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;
  }
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 35px 26px 41px 26px;
  background: var(--color-bg-section);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  margin-bottom:32px;
}
.content-wrapper:last-child {
  margin-bottom:0;
}
.text-section {
  background: #212129;
  border-left: 3.5px solid var(--color-accent);
  box-shadow: var(--shadow-main);
}

/* Card containers (not in provided HTML but defined in requirements) */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  background: var(--color-card);
  padding: 26px 22px;
  transition: box-shadow var(--transition-main), border-color var(--transition-main), transform var(--transition-main);
  border: 1.5px solid var(--color-card-border);
  display: flex;
  flex-direction: column;
}
.card:hover, .card:focus-within {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px) scale(1.015);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/* --- LISTS & UL/OL --- */
ul, ol {
  margin-left: 0;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 13px;
  line-height: 1.77;
  font-size: 1rem;
  position: relative;
  padding-left: 0.87em;
}
ul li strong {
  color: var(--color-accent);
}
ul li::before {
  content: '\2022';
  color: var(--color-accent);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  opacity: 0.7;
  font-size: 1.10em;
}
ol li {
  padding-left: 0.1em;
  counter-increment: numberedLi;
}
ol {
  counter-reset: numberedLi;
}
ol li::before {
  content: counter(numberedLi) '.';
  color: var(--color-accent);
  display: inline-block;
  width: 1.25em;
  margin-left: -1.4em;
  font-feature-settings: 'tnum';
}

/* --- CTA BUTTONS --- */
.cta-main, .cta-secondary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-main);
  padding: 14px 36px;
  margin-top: 6px;
  letter-spacing: 0.025em;
  transition: background var(--transition-main), color var(--transition-main), box-shadow var(--transition-main), transform var(--transition-main);
  border: none;
  cursor: pointer;
  text-align: center;
  position: relative;
}
.cta-main {
  background: var(--color-accent);
  color: #fff;
  border-bottom: 3.2px solid #7e5938;
  box-shadow: var(--shadow-main);
}
.cta-main:hover, .cta-main:focus {
  background: #856136;
  color: #FFF1E0;
  box-shadow: var(--shadow-neon);
  transform: translateY(-2px) scale(1.03);
}
.cta-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2.2px solid var(--color-accent);
  box-shadow: var(--shadow-main);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-neon);
  transform: translateY(-2.5px) scale(1.04);
}

/* --- TESTIMONIAL CARDS --- */
.testimonial-card {
  background: var(--color-card-light);
  color: #2C353E;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-main);
  margin-bottom: 24px;
  margin-top: 6px;
  border: 1.5px solid #e2e2e2;
}
.testimonial-card p {
  font-size: 1.14rem;
  color: #21313b;
  text-align: center;
  line-height: 1.67;
}
.testimonial-card span {
  color: var(--color-accent);
  font-size: 1.0rem;
  font-family: var(--font-display);
}
.testimonial-card:last-child {
  margin-bottom: 0;
}

/* --- CONTACT + ICONS --- */
.content-wrapper ul li img {
  width: 26px;
  height: 26px;
  margin-right: 12px;
  margin-bottom:-7px; /* Aligns with text */
  vertical-align: middle;
  filter: brightness(0.9) contrast(1.3);
}
.map-placeholder {
  background: #1d232a;
  color: #BBB2A1;
  font-family: var(--font-body);
  font-size: 1.1rem;
  padding: 26px 16px;
  border-radius: var(--radius-main);
  text-align: center;
  margin-top:29px;
  letter-spacing: 0.04em;
}

/* --- FOOTER --- */
footer {
  background: var(--color-footer-bg);
  padding: 32px 18px 23px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align:center;
  margin-top:54px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: #BBB2A1;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: color var(--transition-main);
}
.footer-nav a:hover,.footer-nav a:focus {
  color: var(--color-accent);
}
.footer-logo img {
  margin: 19px auto;
  width: 66px;
  height: 66px;
}
.footer-contact {
  color: #A7B0BE;
  font-size: 1.01rem;
  font-family: var(--font-body);
}
.footer-contact span {
  margin: 0 7px;
}

/* --- PRICING --- */
.pricing {
  font-size: 1.19rem;
  color: var(--color-accent);
  margin-top: 9px;
  font-weight: 700;
}

/* --- CARD/GRID CLASSES --- */
.card-grid,
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #262f38;
  color: #FFF;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 17px 20px 17px;
  box-shadow: 0 -2px 18px 0 rgba(55,68,90,0.13);
  border-top: 2.3px solid var(--color-accent);
  z-index: 9999;
  font-size: 1.035rem;
  animation: fadeInCookie 0.42s cubic-bezier(.64,.14,.27,1.45);
}
@keyframes fadeInCookie { from { opacity: 0; transform: translateY(30px);} to {opacity: 1; transform: none;} }
.cookie-banner .cookie-btns {
  display: flex;
  gap: 18px;
  margin-top: 2px;
}
.cookie-banner button {
  font-family: var(--font-display);
  padding: 9px 22px;
  border-radius: var(--radius-tiny);
  border: none;
  font-size: 1rem;
  margin-right: 3px;
  margin-bottom: 2px;
  font-weight: 600;
  cursor: pointer;
  background: var(--color-accent);
  color: #fff;
  transition: background var(--transition-main), box-shadow var(--transition-main);
}
.cookie-banner button.reject {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.cookie-banner button.settings {
  background: #1c2129;
  color: #ffe7d4;
  border: 2px solid #443528;
}
.cookie-banner button:hover,.cookie-banner button:focus {
  background: #856136;
  color: #fff;
  box-shadow: var(--shadow-neon);
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(27,32,48,0.86);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .cookie-modal-box {
  background: #262f38;
  border-radius: var(--radius-main);
  box-shadow: 0 4px 32px 0 rgba(20,30,40,0.22);
  padding: 38px 32px 32px 32px;
  max-width: 460px;
  width: 90%;
  color: #FFF;
}
.cookie-modal .cookie-modal-box h2 {
  margin-top: 0; margin-bottom: 15px;
  color: #ffebdc;
  font-size: 1.45rem;
}
.cookie-modal .cookie-category {
  margin: 13px 0 20px 0;
  display: flex; flex-direction: column;
  gap: 13px;
}
.cookie-modal .category-option {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.08rem;
}
.cookie-modal .category-option input[type=checkbox] {
  accent-color: var(--color-accent);
  width: 21px;
  height: 21px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 18px; right: 24px;
  background: transparent;
  border: none;
  color: #ffe7d4;
  font-size: 2.1rem;
  cursor: pointer;
  transition: color var(--transition-main);
}
.cookie-modal .close-cookie-modal:hover,.cookie-modal .close-cookie-modal:focus {
  color: var(--color-accent);
}

/* --- MEDIA QUERIES --- */
@media (max-width: 1200px) {
  .container { max-width: 98vw; padding: 0 8px; }
}
@media (max-width: 950px) {
  .main-nav { gap: 16px; }
  .footer-nav { gap: 14px; }
}
@media (max-width: 900px) {
  .content-wrapper { padding:18px 7px 25px 7px; }
}
@media (max-width: 768px) {
  header {
    flex-direction: row;
    padding: 13px 13px 10px 11px;
  }
  .main-nav {
    display: none;
  }
  .cta-header {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 2vw;
  }
  .content-wrapper {
    padding: 13px 6px 19px 8px;
  }
  .section {
    margin-bottom: 40px;
    padding: 25px 7px;
  }
  .footer-contact {font-size:0.92rem;}
  h1 {font-size:2.02rem;}
  h2 {font-size:1.32rem;}
}
@media (max-width:550px) {
  .footer-nav {gap:7px;}
  .footer-logo img {width:45px;height:45px;}
  .footer-contact {font-size:0.81rem;}
  .mobile-nav a {font-size:1.07rem;}  
}

@media (max-width: 480px) {
  .cookie-banner, .cookie-modal .cookie-modal-box { padding-left: 7px; padding-right: 7px;}
  .cookie-modal .cookie-modal-box { max-width:96vw; }
}

/* --- ACCESSIBILITY FOCUS --- */
a:focus, .cta-main:focus, .cta-secondary:focus, .mobile-nav a:focus, .main-nav a:focus, .cookie-banner button:focus, .cookie-modal .close-cookie-modal:focus {
  outline: 2px solid var(--color-focus-neon);
  outline-offset: 3px;
  box-shadow: 0 0 6px var(--color-focus-neon);
  z-index:3;
}

/* --- ANIMATIONS --- */
.cta-main,.cta-secondary, .main-nav a, .mobile-nav a { transition: all 0.16s cubic-bezier(.55,.13,.34,1.15); }
.card, .testimonial-card {transition:box-shadow 0.18s,transform 0.17s;}
.card:hover, .testimonial-card:hover {box-shadow:var(--shadow-neon); transform:scale(1.018);}

/* --- GENERAL SPACING (OVERRIDE MARGIN SMALLS) --- */
section, .section {margin-bottom: 60px;}
.card, .content-wrapper, .testimonial-card {margin-bottom: 24px;}
.card:last-child,.content-wrapper:last-child,.testimonial-card:last-child {margin-bottom:0;}

/* --- COLORED TEXT/BG FOR HIERARCHY --- */
h1,h2,h3,h4,.pricing {color:var(--color-title);}

/* --- UTILITY --- */
.hide {display:none!important;}
.flex {display:flex;}
.flex-col {flex-direction:column;}
.flex-row {flex-direction:row;}
.w-100 {width:100%;}
.gap-20 {gap:20px;}
.mt-16 {margin-top:16px;}

/* END OF CSS */
