/* ========================================================
   Zephyr Interiors Style.css - Warm Friendly Design System
   Layout: FLEXBOX ONLY (No CSS grid or columns)
   ======================================================== */

/*---------------------------------
   CSS RESET & BASE 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;
}
html {
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body {
  line-height: 1.6;
  background: #FAF8F4;
  color: #233041;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  border-radius: 12px;
}
a {
  color: #233041;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #B87632;
  outline: none;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 24px;
}
li {
  margin-bottom: 10px;
}
strong, b {
  font-weight: 700;
}

/*---------------------------------
   BRAND FONTS
----------------------------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #233041;
  font-weight: 800;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.24rem;
  margin-bottom: 14px;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.35rem; }
}

p {
  font-size: 1rem;
  color: #233041;
  margin-bottom: 14px;
  font-family: 'Lato', Arial, sans-serif;
}

/*---------------------------------
   LAYOUT UTILITY
----------------------------------*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff8ea;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(176,150,71,0.07);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(176,150,71,0.17);
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(62,24,0,0.09);
  margin-bottom: 24px;
  min-width: 0;
}
.testimonial-card blockquote {
  font-size: 1.06rem;
  font-style: italic;
  color: #233041;
  margin-bottom: 6px;
  line-height: 1.5;
}
.testimonial-card p {
  color: #8B753F;
  margin-bottom: 0;
  font-size: 1rem;
}
@media (max-width: 900px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff8ea;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(210,168,81,0.07);
  padding: 22px 20px 17px 20px;
  min-width: 220px;
  flex: 1 1 270px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.feature-item:hover {
  box-shadow: 0 6px 26px 0 rgba(210,168,81,0.17);
  transform: translateY(-3px) scale(1.017);
}
.feature-item img {
  height: 48px;
  width: 48px;
  margin-bottom: 8px;
  border-radius: 10px;
}

.feature-grid, .article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.article-teaser {
  background: #fff8ea;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(210,168,81,0.09);
  padding: 22px 20px 22px 20px;
  min-width: 230px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-teaser h2 {
  font-size: 1.16rem;
  margin-bottom: 8px;
  font-weight: 700;
}

/*---------------------------------
   HEADER / NAVIGATION
----------------------------------*/
header {
  position: sticky;
  top: 0;
  background: #fbf9f4cc;
  z-index: 1400;
  box-shadow: 0 2px 6px 0 rgba(210,168,81,0.04);
  padding: 0 0 0 0;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 22px 20px 18px 20px;
  justify-content: flex-start;
}
.desktop-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  color: #233041;
  padding: 7px 14px;
  border-radius: 8px;
  letter-spacing: 0.01em;
  transition: background 0.20s, color 0.20s;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: #E5DAAB;
  color: #B87632;
}
.desktop-nav a img {
  height: 38px;
  width:auto;
  margin-right:10px;
  vertical-align: middle;
}
/* Hide menu toggle by default */
.mobile-menu-toggle {
  display: none;
  background: none;
  font-size: 2.1rem;
  color: #B87632;
  border: none;
  cursor: pointer;
  margin-left: auto;
  margin-right: 18px;
  z-index: 1501;
  padding: 2px 12px;
  border-radius: 10px;
  transition: background 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #E5DAAB;
  color: #233041;
}

/*---------------------------------
   MOBILE NAVIGATION
----------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #fff9f2ee;
  box-shadow: 0 8px 24px 0 rgba(62,24,0,0.15);
  z-index: 1700;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.55,.06,.68,.19);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.36s cubic-bezier(.27,.97,.41,1), opacity 0.3s;
}
.mobile-menu-close {
  margin: 20px 18px 0 0;
  background: #E5DAAB;
  color: #B87632;
  border: none;
  font-size: 2.3rem;
  padding: 4px 16px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1701;
  transition: background 0.17s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #B2AAA3;
  color: #233041;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 44px 0 34px;
  gap: 22px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #233041;
  padding: 14px 8px;
  border-radius: 10px;
  width: 100%;
  transition: background 0.20s, color 0.14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #E5DAAB;
  color: #B87632;
}
@media (max-width: 1024px) {
  .desktop-nav {
    gap: 12px;
    padding: 14px 10px 12px 12px;
  }
  .desktop-nav a {
    font-size: 1rem;
    padding: 6px 8px;
  }
}
@media (max-width: 900px) {
  .desktop-nav {
    gap: 8px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 16px;
    right: 6px;
  }
}

/*---------------------------------
   MAIN CTAS & BUTTONS
----------------------------------*/
.cta-btn, .article-teaser .cta-btn {
  display: inline-block;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: #233041;
  background: #E5DAAB;
  border: none;
  border-radius: 36px;
  cursor: pointer;
  box-shadow: 0 1px 4px 0 rgba(210,168,81,0.08);
  letter-spacing: 0.01em;
  margin-top: 12px;
  margin-right: 8px;
  transition: background 0.22s, box-shadow 0.22s, color 0.15s, transform 0.1s;
  outline: none;
  text-align: center;
  text-decoration: none;
}
.cta-btn:focus, .cta-btn:hover {
  background: #B2AAA3;
  color: #233041;
  box-shadow: 0 2px 12px 0 rgba(233,189,105,0.17);
  transform: translateY(-1px) scale(1.027);
}

/*---------------------------------
   PRICE EMPHASIS
----------------------------------*/
.service-price {
  background: #fff3ca;
  padding: 4px 13px;
  border-radius: 14px;
  color: #B87632;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  display: inline-block;
}

/*---------------------------------
   FOOTER
----------------------------------*/
footer {
  background: #233041;
  color: #fff;
  padding: 38px 20px 18px 20px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
  align-items: center;
}
footer nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing:0.01em;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background 0.18s, color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  background: #E5DAAB;
  color: #233041;
  text-decoration: none;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}
.footer-brand img {
  width: 46px;
  border-radius: 8px;
  background: #fff8ea;
  padding: 7px;
}
.footer-brand p {
  color: #fff;
  font-size: 0.96rem;
  margin-bottom: 0;
}
@media (max-width: 650px) {
  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }
  footer nav {
    gap: 12px;
  }
}

/*---------------------------------
   MISCELLANEOUS ELEMENTS & SPACING
----------------------------------*/
.contact-info p {
  margin-bottom: 8px;
  font-size: 1rem;
  color: #233041;
}
.contact-info a {
  color: #B87632;
  text-decoration: underline;
  transition: color 0.17s;
}
.contact-info a:hover {
  color: #8B753F;
}

/* White card look for policy pages & plain content */
.text-section, .content-wrapper > .text-section, .content-wrapper > .card, .content-wrapper > .feature-item {
  background: none;
  box-shadow: none;
  border-radius: 0;
}

/*---------------------------------
   RESPONSIVE DESIGN/MOBILE FIRST
----------------------------------*/
@media (max-width: 900px) {
  .feature-grid, .article-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  .feature-item, .article-teaser {
    width:auto;
    min-width: 0;
    flex: 1 1 100%;
  }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 42px;
    padding: 20px 6px;
  }
  .content-wrapper {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.27rem; }
}
@media (max-width: 520px) {
  .section { padding: 10px 3vw; }
  .container { padding: 0 2vw; }
}

/* ============ COOKIE CONSENT BANNER ============= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff8ea;
  box-shadow: 0 -2px 16px 0 rgba(176,150,71,0.12);
  z-index: 2000;
  padding: 22px 12px 16px 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  transition: transform 0.34s;
}
.cookie-banner.hide {
  transform: translateY(130%);
}
.cookie-banner p {
  color: #233041;
  font-size: 1.02rem;
  margin-right: 18px;
  flex: 1;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-right: 12px;
}
.cookie-btn {
  padding: 9px 22px;
  border: none;
  border-radius: 22px;
  background: #B87632;
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.18s;
  outline: none;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: #233041;
  color: #fff8ea;
}
.cookie-settings-btn {
  background: #E5DAAB;
  color: #233041;
  font-weight: 600;
  border: none;
}
.cookie-settings-btn:focus, .cookie-settings-btn:hover {
  background: #B2AAA3;
  color: #233041;
}


/* COOKIE PREFERENCES MODAL */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2400;
  background: rgba(62, 24, 0, 0.32);
  top: 0; right: 0; left: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.2s;
}
.cookie-modal {
  background: #fff8ea;
  border-radius: 20px;
  box-shadow: 0 2px 20px 0 rgba(210,168,81,0.11);
  padding: 32px 28px 22px 28px;
  min-width: 320px;
  max-width: 97vw;
  color: #233041;
  font-family: 'Lato', Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2410;
  animation: popInModal 0.32s cubic-bezier(.22,1.02,.19,1.23);
}
@keyframes popInModal {
  0% { opacity: 0; transform: scale(.91); }
  70% { opacity: 1; transform: scale(1.04); }
  100% { transform: scale(1); }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #B87632;
  font-size: 1.2rem;
}
.cookie-modal .cookie-categories {
  margin: 14px 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal .category {
  background: #fff;
  border-radius: 12px;
  padding: 14px 12px 9px 12px;
  box-shadow: 0 1px 6px 0 rgba(210,168,81,0.06);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}
.cookie-modal .category label {
  font-size: 1rem;
  font-weight: 600;
}
.cookie-modal .switch {
  position: relative;
  width: 46px;
  height: 24px;
  display: inline-block;
}
.cookie-modal .switch input[type="checkbox"] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #E5DAAB;
  border-radius: 12px;
  transition: .3s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 5px;
  bottom: 3.5px;
  background: #B87632;
  border-radius: 50%;
  transition: .3s;
}
.cookie-modal .switch input:checked + .slider {
  background: #B87632;
}
.cookie-modal .switch input:checked + .slider:before {
  background: #fff;
  left: 24px;
}
.cookie-modal .switch input:disabled + .slider {
  opacity: 0.68;
  background: #E5DAAB;
}
.cookie-modal .switch input:disabled + .slider:before {
  background: #B2AAA3;
}
.cookie-modal .category-desc {
  font-size: 0.96rem;
  color: #937110;
  margin-left: 10px;
}
.cookie-modal .modal-footer {
  display: flex;
  flex-direction: row;
  gap: 18px;
  justify-content: flex-end;
  margin-top: 6px;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  padding: 10px 28px;
}
.cookie-modal .modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.7rem;
  color: #B2AAA3;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.1s, background 0.15s;
  z-index: 2500;
}
.cookie-modal .modal-close-btn:hover, .cookie-modal .modal-close-btn:focus {
  color: #B87632;
  background: #fff3ca;
}
@media(max-width:520px) {
  .cookie-modal {
    min-width: 99vw;
    padding: 19px 5vw 18px 5vw;
  }
}

/*---------------------------------
   FOCUS STATES & ACCESSIBILITY
----------------------------------*/
a:focus, button:focus, .cta-btn:focus, .mobile-menu-close:focus,
.mobile-menu-toggle:focus, .cookie-btn:focus, .modal-close-btn:focus {
  outline: 2px solid #B87632;
  outline-offset: 2px;
}
::selection {
  background: #fff3ca;
  color: #233041;
}

/*---------------------------------
   MISC: Card-style Contact/Thank You
----------------------------------*/
.text-section .cta-btn {
  margin-top: 24px;
}

/*----------------------------------
   TABLES (for possible blog/FAQ)
----------------------------------*/
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}
th {
  background: #E5DAAB;
  color: #233041;
  font-family: 'Montserrat', Arial, sans-serif;
}
td {
  border-top: 1px solid #eee4c0;
}

/*---------------------------------
   MISC. UTILITY
----------------------------------*/
.d-none { display: none !important; }

/*---------------------------------
   PRINT STYLES (minimal)
----------------------------------*/
@media print {
  header, .mobile-menu, .cookie-banner, .cookie-modal-backdrop, footer { display: none !important; }
  main { padding: 0; }
}
