/* --- CSS RESET & BASE TYPOGRAPHY --- */
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;
}
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
article, aside, details, figcaption, figure,  footer, header, hgroup, main, menu, nav, section { display: block; }
body { line-height: 1.5; background: #F7F7F7; color: #243445; min-height: 100vh; font-family: 'Open Sans', Arial, sans-serif; }
a { color: #668299; text-decoration: none; transition: color 0.3s; }
a:hover, a:focus { color: #b26621; }
img { max-width: 100%; border-radius: 12px; display: block; }
ul, ol { list-style: none; padding: 0; margin: 0; }
strong, b { font-weight: 700; }

/* --- BRAND TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #243445; 
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
.lead { font-size: 1.15rem; margin-bottom: 24px; font-family: 'Open Sans', Arial, sans-serif; }
p, li, blockquote { font-size: 1rem; }

@media (max-width: 600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
}

/* --- VISUAL STYLES: WARM FRIENDLY --- */
:root {
  --brand-primary: #243445;
  --brand-secondary: #668299;
  --brand-accent: #F7F7F7;
  --warm-yellow: #FFF6E5;
  --warm-orange: #FFD8B1;
  --warm-beige: #FBEDE2;
  --warm-shadow: rgba(210,170,119,0.04);
  --shadow-soft: 0 2px 12px 0 var(--warm-shadow);
  --card-radius: 18px;
  --btn-radius: 24px;
}

body { background: var(--brand-accent); }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
    width: 100%;
}

.content-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: #FFF6E5;
  box-shadow: 0 2px 7px 0 var(--warm-shadow);
  position: relative;
  z-index: 10;
  border-bottom: 1.5px solid #FBEDE2;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
}
.logo img { height: 48px; }

.main-nav { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #243445;
  padding: 8px 0;
  position: relative;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--warm-beige);
  color: #b26621;
}
header .cta.primary {
  margin-left: 20px;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #b26621;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 50%;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--warm-orange);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #FFF6E5;
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.6,.05,.2,1);
  box-shadow: 0 6px 24px 0 var(--warm-shadow);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 26px 18px 10px auto;
  background: var(--warm-orange);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  color: #243445;
  width: 44px;
  height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover { background: #FFD8B1; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  padding: 0 32px;
  margin-top: 32px;
}
.mobile-nav a {
  font-family: 'Roboto Slab', Georgia, serif;
  color: #243445;
  font-size: 1.2rem;
  padding: 12px 0;
  border-radius: 10px;
  width: 100%;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFD8B1;
  color: #b26621;
}
@media (max-width: 960px) {
  .main-nav, header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 961px) {
  .mobile-menu { display: none; }
}

/* --- SECTIONS, CARDS, LAYOUTS --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width:700px) {
  section { padding: 26px 0 32px 0; margin-bottom: 44px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #FFF6E5;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 22px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 400px;
  transition: transform 0.15s, box-shadow 0.23s;
  border: 1px solid #FBEDE2;
}
.card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 18px 0 var(--warm-shadow);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.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;
  }  
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FFFAF5;
  border-radius: var(--card-radius);
  box-shadow: 0 2px 8px 0 var(--warm-shadow);
  padding: 24px 20px;
  width: 100%;
  margin-bottom: 20px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
  width:100%;
  padding: 0;
  margin: 0 -6px;
}
.feature-grid li {
  background: #FFF6E5;
  box-shadow: var(--shadow-soft);
  border-radius: var(--card-radius);
  padding: 22px 20px;
  flex: 1 1 210px;
  min-width: 180px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  margin-bottom: 0;
  transition: box-shadow 0.2s, transform 0.18s;
  border: 1px solid #FBEDE2;
}
.feature-grid li:hover {
  box-shadow: 0 3px 14px 0 var(--warm-shadow);
  transform: translateY(-2px);
}
.feature-grid img {
  width: 38px; height:38px;
  border-radius: 12px;
  background: #FFD8B1;
  padding: 5px;
}

.values-list, .project-highlights, .design-tips-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0 19px 0;
}

.values-list li, .project-highlights li, .design-tips-list li {
  background: #FFF6E5;
  padding: 16px 18px;
  border-radius: 12px;
  box-shadow: 0 1px 6px 0 var(--warm-shadow);
  font-size: 1rem;
  color: #243445;
}

.text-section {
  margin-bottom: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  background: #FFF6E5;
  box-shadow: 0 2px 10px 0 var(--warm-shadow);
  border-radius: 16px;
  padding: 30px 22px;
  margin-bottom: 24px;
}
.faq-list h2 { margin-bottom: 10px; font-size: 1.1rem; color: #668299; }
.faq-list p { margin-bottom: 0; color: #243445; }

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  margin-bottom: 20px;
  background: #FFF6E5;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 var(--warm-shadow);
  border: 1px solid #FBEDE2;
  max-width: 640px;
  color: #243445;
  transition: box-shadow 0.2s, transform 0.17s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 22px 0 var(--warm-shadow);
  transform: translateY(-2px) scale(1.01);
}
.testimonial-card blockquote {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.12rem;
  color: #243445;
  font-style: italic;
  line-height: 1.62;
  margin-bottom: 4px;
}
.testimonial-card p { text-align: center; font-size: 1rem; color: #755032; }

/* --- FOOTER --- */
footer {
  background: #FFD8B1;
  border-top: 2px solid #FBEDE2;
  padding: 28px 0 18px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
}
.footer-nav a {
  font-size: 1rem;
  color: #243445;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #b26621;
}
footer p {
  text-align: center;
  color: #243445;
  font-size: 0.99rem;
}

/* --- BUTTONS, CALL-TO-ACTIONS --- */
.cta {
  display: inline-block;
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--btn-radius);
  padding: 12px 28px;
  margin-top: 14px;
  transition: background 0.15s, color 0.16s, box-shadow 0.16s, transform 0.13s;
  cursor: pointer;
  outline: none;
  text-align: center;
}
.cta.primary {
  background: #b26621;
  color: #FFF6E5;
  box-shadow: 0 2px 8px 0 var(--warm-shadow);
}
.cta.primary:hover, .cta.primary:focus {
  background: #a04c00;
  color: #fff; 
  box-shadow: 0 4px 15px 0 var(--warm-shadow);
  transform: translateY(-2px);
}
.cta.secondary {
  background: #FFF6E5;
  color: #b26621;
  border: 1px solid #FFD8B1;
  box-shadow: 0 1px 6px 0 var(--warm-shadow);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #FFD8B1;
  color: #755032;
  border: 1px solid #b26621;
  box-shadow: 0 2px 13px 0 var(--warm-shadow);
  transform: translateY(-2px) scale(1.02);
}

/* --- FORM ELEMENTS (future proofing) --- */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #FBEDE2;
  background: #FFF6E5;
  padding: 10px 14px;
  margin-bottom: 18px;
  transition: border 0.2s, box-shadow 0.2s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #b26621;
  box-shadow: 0 2px 8px 0 var(--warm-shadow);
}

/* --- PRICING INLINE --- */
.price {
  display: inline-block;
  background: #FFD8B1;
  color: #b26621;
  border-radius: 10px;
  padding: 2px 10px;
  margin-left: 10px;
  font-size: 0.96rem;
  font-weight: 700;
}

/* --- MISC -------------------------- */
blockquote { font-style: italic; color: #243445; }

/* --- SPACING & RESPONSIVE PATTERNS --- */
@media (max-width: 900px) {
  .feature-grid {
    gap:18px;
  }
  .footer-nav { gap: 12px; }
}
@media (max-width: 700px) {
  .container { padding: 0 8px; }
  .feature-grid li,
  .card, .feature-item {
    min-width: 90vw;
    max-width: 98vw;
  }
}
@media (max-width:600px) {
  .card-container, .content-grid, .feature-grid {
    flex-direction: column;
    gap: 16px !important;
  }
  .testimonial-card {
    padding: 16px 10px;
  }
}

/* --- COOKIE BANNER & COOKIE MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 99999;
  background: #FFF6E5;
  color: #243445;
  box-shadow: 0 -2px 14px 0 var(--warm-shadow);
  padding: 22px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  animation: cookieSlideIn 0.38s cubic-bezier(.62,.01,.61,.99);
}
@keyframes cookieSlideIn {
  from { transform: translateY(100%); opacity: 0.1; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
  font-size: 1rem;
  line-height: 1.5;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-btn {
  padding: 10px 22px;
  background: #FFD8B1;
  color: #243445;
  border: none;
  border-radius: 20px;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-weight: 600;
}
.cookie-btn:focus, .cookie-btn:hover { background: #b26621; color: #fff; }
.cookie-btn.cookie-accept {
  background: #b26621;
  color: #fff;
}
.cookie-btn.cookie-accept:hover,
.cookie-btn.cookie-accept:focus { background: #a04c00; }
.cookie-btn.cookie-settings {
  background: #FFF6E5;
  color: #b26621;
  border: 1px solid #FFD8B1;
}
.cookie-btn.cookie-settings:hover { background: #FFD8B1; color: #755032; }

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(65,34,7,0.22);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #FFF6E5;
  padding: 34px 24px 20px 24px;
  border-radius: 18px;
  box-shadow: 0 7px 32px 0 var(--warm-shadow);
  max-width: 410px;
  width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalPopIn 0.26s cubic-bezier(.66,.02,.67,1.01);
}
@keyframes modalPopIn {
  from { transform: translateY(30px) scale(0.9); opacity:0; }
  to   { transform: translateY(0) scale(1); opacity:1; }
}
.cookie-modal h2 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}
.cookie-category {
  display: flex; align-items: center; gap: 12px; margin-bottom: 9px;
}
.cookie-toggle {
  width: 38px; height: 22px;
  border-radius: 14px;
  background: #FBEDE2;
  border: 1px solid #FFD8B1;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.19s;
  margin-left:8px;
}
.cookie-toggle .circle {
  position: absolute;
  top: 2.5px; left: 3px;
  width: 17px; height: 17px;
  background: #FFD8B1;
  border-radius: 50%;
  transition: left 0.19s, background 0.18s;
}
.cookie-toggle.active {
  background: #FFDEB1;
  border-color: #b26621;
}
.cookie-toggle.active .circle {
  left: 17px;
  background: #b26621 !important;
}
.cookie-category[aria-disabled="true"], .cookie-toggle[aria-disabled="true"]{
  opacity: 0.54;
  pointer-events: none;
  background: #FFE8B1;
  border: 1px solid #FFD8B1;
}
.cookie-modal-footer {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}

@media (max-width:500px) {
  .cookie-modal { max-width: 99vw; padding: 14px 6vw 14px 6vw; }
}

/* --- MEDIA QUERIES (FOR FLEX DIRECTIONS) --- */
@media (max-width:768px){
  .content-grid, .card-container, .feature-grid {
    flex-direction: column !important;
    gap: 18px !important;
    align-items: stretch;
  }
  .footer-nav {
    flex-direction: column;
    gap:8px;
  }
}

/* --- ACCESSIBILITY: FOCUS STATES --- */
a:focus, button:focus, .cta:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2.5px solid #b26621;
  outline-offset: 2px;
}

/* Ensure no card/text overlaps */
.card, .feature-grid li, .testimonial-card, .feature-item {
  margin-bottom: 20px;
}

/* --- SPECIAL CLASSES AND UTILITIES --- */
[hidden] { display: none !important; }
