/* 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,
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, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F7F5F0;
  color: #27303B;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
a {
  color: #27303B;
  text-decoration: none;
  transition: color .2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
*:focus {
  outline: none;
}

/* BRAND FONTS (Webfonts should be loaded in HTML or via @import if available)*/
h1, h2, h3, h4, h5, h6, .logo {
  font-family: 'Oswald', 'Lato', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 700;
  text-transform: none;
}
p, ul, li, .btn, .subheadline {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
}

/* COLOR VARIABLES & FALLBACKS for solid color use */
:root {
  --primary: #27303B;
  --secondary: #D4AF68;
  --accent: #F7F5F0;
  --error: #e74c3c;
  --shadow: 0 6px 28px rgba(48,38,23,0.07),0 1.5px 3.5px rgba(39,48,59,0.11);
}

/* SHARED LAYOUTS ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEXBOX GENERIC LAYOUTS ---------------------------------------------------- */
.card-container, .feature-grid, .testimonial-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.card, .feature-block, .testimonial-card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION -------------------------------------------------------- */
header {
  position: relative;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 14px rgba(39, 48, 59, 0.06);
  z-index: 10;
}
.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0px 2px 2px #D4AF6822);
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color .17s;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: var(--secondary);
  margin-top: 2px;
  transition: width .2s cubic-bezier(.62,.02,.48,.97);
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}

/* HERO AREA --------------------------------------------------------- */
.hero {
  min-height: 380px;
  background: linear-gradient(90deg, #F7F5F0 60%, #D4AF68 100%);
  display: flex;
  align-items: center;
  box-shadow: 0px 4px 32px rgba(39,48,59,0.04);
  position: relative;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 260px;
}
.hero h1 {
  font-size: 48px;
  color: var(--primary);
  font-family: 'Oswald', Arial, sans-serif;
  margin-bottom: 8px;
  letter-spacing: .01em;
  text-shadow: 0 3px 0px #e9dec3;
}
.hero .subheadline {
  font-size: 20px;
  font-weight: 400;
  color: #4E535B;
  margin-bottom: 20px;
  font-style: italic;
  max-width: 640px;
}

/* BUTTONS & CTA ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 32px;
  border-radius: 32px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  box-shadow: 0 2px 14px rgba(212, 175, 104, .13);
  cursor: pointer;
  letter-spacing: .02em;
  position: relative;
  transition: background .17s, transform .15s, box-shadow .27s;
  margin-top: 12px;
  margin-bottom: 12px;
  outline: none;
}
.btn-primary {
  background: var(--secondary);
  color: var(--primary);
}
.btn:hover, .btn:focus {
  background: var(--primary);
  color: var(--accent);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px rgba(39,48,59,0.09), 0 0.5px 2px #D4AF6840;
}

/* FEATURE BLOCKS ------------------------------------------------------------ */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 24px;
}
.feature-block {
  flex: 1 1 180px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 #D4AF6822;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
  max-width: 260px;
  text-align: center;
  transition: transform .19s, box-shadow .22s;
  z-index: 1;
}
.feature-block img {
  height: 52px;
  margin-bottom: 18px;
  filter: drop-shadow(0 2px 2px #D4AF6830);
}
.feature-block h3 {
  font-size: 22px;
  color: var(--secondary);
  margin-bottom: 10px;
  font-family: 'Oswald', Arial, sans-serif;
}
.feature-block p {
  color: #444;
  font-size: 16px;
  margin-bottom: 2px;
}
.feature-block:hover, .feature-block:focus {
  transform: translateY(-7px) scale(1.04);
  box-shadow: 0 10px 32px #D4AF6850;
  background: #FFFBE7;
}

/* SECTION HEADINGS ---------------------------------------------------------- */
h2 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: .02em;
  text-shadow: 0 1.5px 0 #ece6d1;
}
h3 {
  font-size: 20px;
  color: var(--secondary);
  margin-bottom: 10px;
}

.text-section p, .text-section ul, .text-section li {
  font-size: 16px;
  color: #27303B;
  margin-bottom: 8px;
  line-height: 1.7;
}
.text-section ul {
  margin-left: 24px;
  margin-bottom: 12px;
}
.text-section ul li {
  list-style: disc inside;
}

/* USP and FEATURE LISTS ----------------------------------------------------- */
.usp-list, .feature-list, .contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0;
  color: #27303B;
}
.usp-list li, .feature-list li, .contact-list li {
  background: #F7F5F0;
  padding: 10px 16px 10px 36px;
  border-radius: 12px;
  position: relative;
  font-size: 16px;
}
.usp-list li::before, .feature-list li::before {
  content: '★';
  position: absolute;
  left: 12px;
  top: 11px;
  color: var(--secondary);
  font-family: inherit;
  font-size: 15px;
  font-weight: bold;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 16px;
  background: none;
}
.contact-list img {
  width: 22px;
  height: 22px;
  margin-right: 0;
}

/* TESTIMONIALS -------------------------------------------------------------- */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.testimonial-card {
  background: #FFFBEA;
  border-radius: 18px;
  box-shadow: 0 4px 24px #D4AF6811;
  padding: 24px 28px;
  max-width: 430px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  border-left: 8px solid var(--secondary);
  transition: box-shadow .19s, transform .19s;
  color: #27303B;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 6px 30px #D4AF6844;
  transform: translateY(-4px); 
}
.testimonial-card p {
  font-style: italic;
  color: #23252D;
  font-size: 17px;
  margin-bottom: 10px;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-meta strong {
  color: var(--primary);
  font-size: 15px;
  font-family: 'Oswald', Arial, sans-serif;
}
.stars {
  color: #D4AF68;
  letter-spacing: 1px;
  font-size: 17px;
  font-family: 'Oswald', Arial, sans-serif;
}

/* FOOTER -------------------------------------------------------------------- */
footer {
  background: #27303B;
  color: #FFFBE7;
  padding: 38px 0 16px 0;
  box-shadow: 0 -4px 18px #D4AF6815;
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.footer-bar > a img {
  height: 54px;
  filter: drop-shadow(0px 2px 2px #D4AF6833);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--secondary);
  font-size: 15px;
  font-family: 'Oswald', Arial, sans-serif;
  margin-bottom: 6px;
  transition: color .15s;
  letter-spacing: .01em;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
}
.footer-contact p {
  color: #FFFBE7;
  font-size: 15px;
  margin-bottom: 4px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-contact img {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

/* MOBILE NAVIGATION --------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 32px;
  width: 44px;
  height: 44px;
  transition: background .17s, color .09s;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 120;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--secondary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  width: 100vw;
  height: 100vh;
  box-shadow: 0 6px 36px #27303B25;
  z-index: 200;
  padding: 32px 26px 24px 26px;
  transform: translateX(-100vw);
  transition: transform .42s cubic-bezier(.68,-0.55,.27,1.55);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 34px;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  margin-bottom: 24px;
  margin-right: 6px;
  padding: 5px 14px;
  transition: color .12s;
  z-index: 201;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  font-size: 22px;
  color: var(--primary);
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 12px 0 12px 4px;
  border-radius: 6px;
  transition: background .15s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--accent);
}
/* Hide mobile-menu by default for accessibility. JS toggles .open. */
.mobile-menu {
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
}

/* Hide desktop nav in mobile, show burger ----------------------------------- */
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .btn-primary {
    min-width: 140px;
    font-size: 16px;
    padding: 11px 19px;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none!important;
  }
}

/* RESPONSIVE STYLES --------------------------------------------------------- */
@media (max-width: 1050px) {
  .footer-bar, .header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .feature-block {
    min-width: 160px;
    max-width: 210px;
    padding: 18px 12px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero .container {
    min-height: 180px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  h2 {
    font-size: 23px;
  }
  .feature-grid, .testimonial-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .feature-block, .card, .testimonial-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .footer-bar {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .footer-bar > a {
    margin-bottom: 10px;
  }
  .section, .content-wrapper {
    padding: 20px 0 8px 0;
    margin-bottom: 32px;
    gap: 18px;
  }
}
@media (max-width: 560px) {
  .hero h1 {
    font-size: 22px;
  }
  .btn {
    font-size: 15px;
    min-width: 108px;
    padding: 10px 16px;
  }
  .testimonial-card {
    padding: 14px 10px;
    font-size: 14px;
  }
  .feature-block {
    padding: 10px 6px;
    font-size: 15px;
  }
  .footer-contact p {
    font-size: 13px;
  }
}

/* TEXT-IMAGE FLEX SECTIONS -------------------------------------------------- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* CARD & CONTENT UTILITIES -------------------------------------------------- */
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 9px #D4AF6810;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 20px;
  min-width: 160px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* COOKIE CONSENT BANNER ----------------------------------------------------- */
.cookie-banner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #27303B;
  color: #fff;
  padding: 24px 10px 20px 10px;
  z-index: 5350;
  box-shadow: 0 0 28px #27303B33;
  animation: cookieSlideIn .69s cubic-bezier(.42,1.61,.57,.98);
  font-size: 17px;
}
@keyframes cookieSlideIn {
  from { transform: translateY(90px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 5px;
}
.cookie-banner .btn {
  min-width: 110px;
  padding: 10px 16px;
  font-size: 15px;
  border-radius: 12px;
  margin: 0;
}
.cookie-banner .btn-accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .btn-settings {
  background: #fff;
  color: var(--primary);
  border: 1px solid #D4AF68;
}
.cookie-banner .btn-reject {
  background: #B0ACA8;
  color: #fff;
}
.cookie-banner .btn-accept:hover,
.cookie-banner .btn-accept:focus {
  background: var(--primary);
  color: var(--secondary);
}
.cookie-banner .btn-reject:hover,
.cookie-banner .btn-reject:focus {
  background: #823717;
  color: #fff;
}
.cookie-banner .btn-settings:hover,
.cookie-banner .btn-settings:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 9px;
    font-size: 15px;
    padding: 14px 6px 13px 6px;
  }
  .cookie-banner .cookie-btns {
    gap: 10px;
  }
}

/* COOKIE CONSENT MODAL ----------------------------------------------------- */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top:0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(39,48,59,0.51);
  z-index: 6000;
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: 18px;
  box-shadow: 0 8px 30px #D4AF6820;
  min-width: 260px;
  max-width: 98vw;
  padding: 34px 28px 14px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalPop .42s cubic-bezier(.4,1.4,.76,1.01);
  position: relative;
}
@keyframes cookieModalPop {
  0% { transform: scale(.77) translateY(50px); opacity: 0.1; }
  90% { transform: scale(1.06) translateY(-4px); }
  100% { transform: scale(1.0) translateY(0); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: var(--secondary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #F7F5F0;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  font-size: 16px;
  font-weight: 500;
  color: #27303B;
  display: flex;
  align-items: center;
}
.cookie-category-toggle {
  margin-right: 12px;
}
.cookie-switch {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #D4AF686A;
  border-radius: 12px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background .16s;
}
.cookie-switch:checked {
  background: var(--secondary);
}
.cookie-switch:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform .17s;
}
.cookie-switch:checked:before {
  transform: translateX(16px);
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 10px;
  font-size: 26px;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 9px;
  transition: color .11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--secondary);
}
.cookie-modal .cookie-btns {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-modal .btn {
  border-radius: 10px;
}

/* CREATIVE / ARTISTIC TOUCHES & MICRO-ANIMATIONS --------------------------- */
.hero, .feature-block, .testimonial-card, .btn, .card {
  transition: box-shadow .18s, transform .18s, background .13s;
}
.btn:active {
  transform: scale(.98);
}
.feature-block h3, h1, h2 {
  text-shadow: 0 2.5px 0 #ffeece34, 0 0.5px 0px #FFFBE9;
}
.card {
  /* Decorative sketch border effect */
  border: 2px dashed #D4AF68;
}
.card:before {
  content: '';
  display: block;
  position: absolute;
  left: -6px; top: -6px; right: -6px; bottom: -6px;
  border-radius: 22px;
  border: 1.5px dotted #F7F5F0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
}
@media (max-width: 768px) {
  .card:before {
    left: -2px; top: -2px; right: -2px; bottom: -2px;
  }
}

/* LINKS -------------------------------------------------------------------- */
a {
  transition: color .17s, background .15s, border .15s;
}
a:hover, a:focus {
  color: #D4AF68;
  text-decoration: underline;
}
h1 a, h2 a, h3 a {
  text-decoration: none;
  color: inherit;
}
a:active {
  color: #823717;
}

/* FORMS / INPUTS ----------------------------------------------------------- */
input, textarea, select {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  border: 1px solid #27303B22;
  border-radius: 7px;
  padding: 13px 12px;
  background: #FFF;
  margin-bottom: 18px;
  width: 100%;
  transition: border-color .17s, box-shadow .17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #D4AF68;
  box-shadow: 0 1px 6px #D4AF6812;
}
label {
  font-size: 16px;
  color: #27303B;
  margin-bottom: 6px;
  display: block;
  font-weight: 500;
}

/* ERROR HINT --------------------------------------------------------------- */
.error-text {
  color: var(--error);
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: 700;
}

/* SUCCESS / THANK YOU SECTION ---------------------------------------------- */
.success-message, .thank-you-message, .card.success {
  background: #D4AF68;
  color: #fff;
  border-radius: 15px;
  padding: 32px 28px;
  font-size: 19px;
  box-shadow: 0 2px 16px #f6dac9;
  font-family: 'Oswald', Arial, sans-serif;
}

/* MISC: Hide file input ugly default */
input[type="file"] {
  border: none;
  padding: 0;
}

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