/* === 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.5;
  background: #FAF7F1;
  color: #1B2E34;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
a {
  color: #1B2E34;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: #B8724A;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
::-webkit-input-placeholder { color: #797979; }
::-moz-placeholder { color: #797979; }
:-ms-input-placeholder { color: #797979; }
::placeholder { color: #797979; }

/* === BRAND CUSTOM PROPERTIES === */
:root {
  --primary: #1B2E34;
  --secondary: #EFD469;
  --accent: #B4D6C1;
  --neutral-light: #FAF7F1;
  --neutral-bg: #FFFDF8;
  --warning-orange: #FFA877;
  --brand-orange: #E2A169;
  --input-border: #DDD8CF;
  --white: #fff;
  --shadow: 0 2px 12px 0 rgba(220, 163, 120, 0.10);
  --radius-md: 18px;
  --radius-lg: 28px;
  --transition: 0.2s cubic-bezier(.52,.07,.52,1);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -1px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
}
p, li, blockquote, em {
  font-size: 1.08rem;
  color: var(--primary);
  font-family: 'Roboto', Arial, sans-serif;
}
p:not(:last-child){ margin-bottom: 14px; }
strong { font-weight: 600; }

blockquote {
  background: var(--accent);
  color: var(--primary);
  font-style: italic;
  border-left: 6px solid var(--secondary);
  margin-bottom: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  line-height: 1.7;
}

/* === GLOBAL SPACING === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

/* === HEADER/NAVIGATION === */
header {
  background: var(--white);
  border-bottom: 1px solid var(--input-border);
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  box-shadow: 0 3px 16px -8px rgba(220,163,120,0.08);
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}
header nav > a > img {
  height: 48px;
  width: auto;
  display: block;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
header nav ul li {
  margin-bottom: 0;
}
header nav ul li a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
  font-size: 1rem;
  border-radius: 10px;
  padding: 5px 13px;
  transition: background var(--transition), color var(--transition);
}
header nav ul li a:hover, header nav ul li a:focus {
  background: var(--accent);
  color: var(--brand-orange);
}
.cta-button {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px 0 rgba(239,212,105,0.12);
  cursor: pointer;
  margin-left: 12px;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  display: inline-block;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: var(--brand-orange);
  color: #fff;
  box-shadow: 0 6px 20px -6px #E2A16955;
}

/* === MOBILE MENU === */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 14px;
  padding: 6px 16px;
  margin-left: 12px;
  cursor: pointer;
  outline: none;
  transition: background var(--transition), color var(--transition);
  z-index: 101;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--brand-orange);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(250,247,241, 0.97);
  z-index: 100;
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(.53,.28,.17,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--primary);
  padding: 16px 24px 4px 4px;
  cursor: pointer;
  z-index: 102;
  transition: color var(--transition);
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--brand-orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 40px 0 0 32px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  padding: 10px 0;
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--accent);
  color: var(--brand-orange);
}

@media (max-width: 980px) {
  header nav ul {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}

/* === MAIN LAYOUT SPACING & SECTION STYLES === */
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--neutral-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 28px -7px #E2A16933;
  transform: translateY(-2px) scale(1.012);
}
.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) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 8px 20px -12px #B4D6C188;
  max-width: 600px;
}
.testimonial-name {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #523c18;
  font-weight: 600;
  margin-top: -6px;
  letter-spacing: 0.1px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 18px 16px 18px;
  box-shadow: 0 2px 8px 0 rgba(180, 214, 193, 0.15);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
}
.feature-grid li {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  background: var(--accent);
  border-radius: var(--radius-md);
  padding: 22px 18px 20px 18px;
  box-shadow: 0 4px 18px -7px #B4D6C133;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-grid li img {
  width: 38px;
  margin-bottom: 6px;
  filter: drop-shadow(0 3px 4px #EFD46999);
}
.feature-grid li:hover {
  box-shadow: 0 12px 32px -8px #B8724A44;
  transform: translateY(-2px) scale(1.01);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.service-list li {
  flex: 1 1 260px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 20px 16px 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(220,163,120, 0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-width: 220px;
  max-width: 340px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-list li:hover {
  box-shadow: 0 8px 24px -8px #B8724A55;
  transform: scale(1.01);
}
.price {
  display: inline-block;
  background: var(--secondary);
  color: #523c18;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 14px;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.text-section {
  background: var(--neutral-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 1.5px 8px -2px #E2A16922;
  padding: 22px 20px;
  margin-bottom: 20px;
}

.featured-article {
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  margin-top: 18px;
  box-shadow: 0 3px 8px -2px #EFD46943;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* === FOOTER === */
footer {
  background: #fff;
  border-top: 1px solid var(--input-border);
  margin-top: 60px;
}
footer .container {
  padding: 0 15px 10px 15px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 14px 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
footer nav a {
  font-size: 1rem;
  color: var(--brand-orange);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color var(--transition);
}
footer nav a:hover, footer nav a:focus {
  color: var(--primary);
}
.footer-contact{
  font-size: 0.97rem;
  color: #54626c;
  font-family: 'Roboto', Arial, sans-serif;
  max-width: 340px;
}
.footer-contact a {
  text-decoration: underline;
  color: var(--primary);
}
.footer-contact a:focus,
.footer-contact a:hover {
  color: var(--brand-orange);
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-social a img {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background: var(--accent);
  padding: 4px;
  transition: box-shadow var(--transition), background var(--transition);
}
.footer-social a:hover img,
.footer-social a:focus img {
  background: var(--secondary);
  box-shadow: 0 2px 18px -2px #EFD46944;
}

/* === BLOG POST LIST === */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.post-list li {
  background: var(--accent);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: 0 1.5px 8px -2px #B4D6C120;
}
.post-list li h3 {
  margin-bottom: 7px;
}

/* === BUTTONS & CTA INTERACTIONS === */
button, .cta-button {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  font-family: inherit;
}
button:active, .cta-button:active {
  transform: scale(0.97);
}

/* === GENERAL INTERACTIONS === */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  background: #fff;
  transition: border-color var(--transition);
  margin-bottom: 13px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: none;
}

/* === COOKIE CONSENT BANNER === */
#cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 -2px 18px 0 #EFD46944;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 22px 16px 18px 16px;
  z-index: 2000;
  font-size: 1.08rem;
  animation: slideup-in 0.45s cubic-bezier(.33,1.4,.33,1) forwards;
}
@keyframes slideup-in {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
#cookie-banner p {
  margin-right: 8px;
  font-size: 1rem;
}
#cookie-banner button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 7px 18px;
  margin-left: 8px;
  cursor: pointer;
  box-shadow: 0 1.5px 8px -2px #1B2E3422;
  outline: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
#cookie-banner .cookie-settings-btn {
  background: var(--accent);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  margin-left: 8px;
}
#cookie-banner button:hover, #cookie-banner button:focus {
  background: var(--brand-orange);
  color: #fff;
}
#cookie-banner .cookie-settings-btn:hover,
#cookie-banner .cookie-settings-btn:focus {
  background: var(--primary);
  color: #fff;
}

/* === COOKIE MODAL === */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(27,46,52,0.3);
  z-index: 2050;
  align-items: center;
  justify-content: center;
  animation: fadein-modal 0.21s cubic-bezier(.33,1.4,.33,1) forwards;
}
@keyframes fadein-modal {
  from { opacity: 0; }
  to { opacity: 1; }
}
#cookie-modal.active { display: flex; }
.cookie-modal-content {
  background: var(--neutral-bg);
  color: var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 64px -12px #B8724A55;
  padding: 32px 26px 24px 26px;
  min-width: 300px;
  max-width: 98vw;
  max-height: 94vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal-content h2 {
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  font-weight: 600;
  font-size: 1.08rem;
}
.cookie-category .toggle-switch {
  width: 38px;
  height: 22px;
  position: relative;
  display: inline-block;
}
.cookie-category .toggle-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-category .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e4e4e4;
  border-radius: 20px;
  transition: background 0.25s;
}
.cookie-category .slider:before {
  content: '';
  position: absolute;
  left: 4px; top: 3px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--primary);
  transition: 0.25s;
}
.cookie-category .toggle-switch input:checked + .slider {
  background: var(--accent);
}
.cookie-category .toggle-switch input:checked + .slider:before {
  transform: translateX(14px);
  background: var(--brand-orange);
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  padding: 7px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  margin-left: 6px;
}
.cookie-modal-actions button.secondary {
  background: var(--accent);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus {
  background: var(--brand-orange);
  color: #fff;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1120px) {
  .container { max-width: 94vw; }
}
@media (max-width: 890px) {
  .feature-grid, .service-list, .card-container, .post-list {
    flex-direction: column;
    gap: 20px;
  }
  .footer-contact, .footer-social, footer nav {
    margin-bottom: 8px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 780px) {
  section, .section {
    padding: 28px 8px;
  }
  .feature-grid li, .service-list li {
    min-width: 0; max-width: unset;
    width: 100%;
  }
  .testimonial-card {
    max-width: 97vw;
    padding: 17px 10px;
  }
}
@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .container {
    padding-left: 6px; padding-right: 6px;
    max-width: 99vw;
  }
  .footer-contact, .footer-social {
    font-size: 0.93rem;
  }
  .testimonial-card {
    padding: 14px 6px;
  }
  .featured-article {
    padding: 13px 9px;
  }
  .content-wrapper {
    gap: 18px;
  }
}

/* === MISCELLANEOUS === */
::-webkit-scrollbar { width: 11px; background: var(--neutral-bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 6px; }

hr {
  border: none;
  border-top: 1.5px solid var(--accent);
  margin: 20px 0;
}

/* === ACCESSIBLE FOCUS STATES === */
:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

/* Ensure minimum 20px margin between all major content cards/sections */
.section, .card-container, .card, .testimonial-card, .feature-grid li, .service-list li, .text-section, .featured-article, .post-list li {
  margin-bottom: 20px;
}

/* END OF FILE */
