/* ================== 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;
}
html {
  line-height: 1.6;
  background: #FFFDF9;
  color: #25455A;
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FFFDF9;
  color: #25455A;
  min-height: 100vh;
}
*,*:before,*:after { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
strong { font-weight: 600; }

/* =============== BRAND FONTS & COLORS =================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans:wght@400;600&display=swap');
:root {
  --brand-primary: #25455A;
  --brand-secondary: #F0B429;
  --brand-accent: #FFFFFF;
  --brand-neutral-bg: #FFFDF9;
  --brand-card-bg: #FFFFFF;
  --brand-text: #25455A;
  --brand-heading: #25455A;
  --brand-link: #F0B429;
  --brand-link-hover: #DB9B18;
  --brand-shadow: rgba(36,34,25,0.07);
}

/* ================ TYPOGRAPHY ================== */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-heading);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
h2 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--brand-heading);
}
h3 {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 24px 0 8px 0;
  color: var(--brand-primary);
}
p, address, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--brand-text);
  margin-bottom: 12px;
  line-height: 1.7;
}
ul, ol {
  margin-bottom: 16px;
  padding-left: 0;
}
.text-section ul, .content-wrapper ul {
  list-style: disc inside;
}
.text-section li, .content-wrapper li {
  margin-bottom: 8px;
}
.text-section { margin-bottom: 16px; }

/* Responsive Heading Sizes */
@media (max-width: 768px) {
  h1, .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
}

/* =============== LAYOUT & CONTAINERS =============== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-card-bg);
  border-radius: 28px;
  box-shadow: 0 4px 32px var(--brand-shadow);
}

@media (max-width: 768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 40px;
    border-radius: 18px;
  }
  .container { padding: 0 8px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: var(--brand-card-bg);
  border-radius: 20px;
  box-shadow: 0 2px 12px var(--brand-shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 1.5rem 1.5rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(36,34,25,0.14);
}
.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: 18px;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FDF3DF;
  border-radius: 18px;
  box-shadow: 0 2px 8px var(--brand-shadow);
  color: #25455A;
  font-size: 1.05rem;
  transition: box-shadow 0.23s, background 0.23s;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #96720B;
  font-style: italic;
}
.testimonial-card p {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #25455A;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(36,34,25,0.13);
  background: #FBEAC2;
}

/* ============== HERO SECTION ================== */
.hero {
  background: linear-gradient(135deg, #FFE8AA 0%, #F3C869 100%);
  padding: 64px 0 48px 0;
  margin-bottom: 32px;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 6px 40px var(--brand-shadow);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  color: #25455A;
  font-size: 2.5rem;
}
.hero p {
  color: #4A3C26;
  font-size: 1.18rem;
  margin-bottom: 22px;
}
@media (max-width: 768px) {
  .hero {
    padding: 34px 0 22px 0;
    border-radius: 0 0 20px 20px;
  }
  .hero h1 { font-size: 1.45rem; }
}

/* ============== NAVIGATION & HEADER ============= */
header {
  width: 100%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 105;
  box-shadow: 0 4px 16px var(--brand-shadow);
}
header img {
  height: 44px;
  margin-right: 22px;
}
.main-navigation {
  display: flex;
  gap: 26px;
  align-items: center;
}
.main-navigation a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--brand-primary);
  padding: 8px 12px;
  border-radius: 7px;
  font-weight: 600;
  position: relative;
  transition: color 0.14s, background 0.19s;
  outline: none;
}
.main-navigation a:hover,
.main-navigation a:focus {
  background: #FCF4DE;
  color: #F0B429;
}
.cta.primary {
  background: var(--brand-secondary);
  color: #25455A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  padding: 11px 22px;
  cursor: pointer;
  margin-left: 28px;
  box-shadow: 0 2px 10px rgba(240,180,41,0.09);
  transition: background 0.18s, color 0.2s, box-shadow 0.19s;
  display: inline-block;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #DB9B18;
  color: #FFFDF9;
  box-shadow: 0 4px 18px rgba(240,180,41,0.12);
}
.mobile-menu-toggle {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: 26px;
  cursor: pointer;
  z-index: 111;
  transition: background 0.18s, color 0.17s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #DB9B18;
  color: #FFFDF9;
}
@media (max-width: 990px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header {
    padding: 10px 0;
  }
}

/* ============= MOBILE MENU ==================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37, 69, 90, 0.98);
  z-index: 2000;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.77,0.2,0.05,1.0);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  padding: 18px 18px 8px 18px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.2s;
  z-index: 2200;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #F0B429;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  padding: 32px 22px;
  margin-top: 22px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 700;
  font-size: 1.20rem;
  letter-spacing: 0.02em;
  padding: 14px 10px;
  border-radius: 9px;
  transition: background 0.15s, color 0.16s;
  outline: none;
  min-width: 120px;
  text-align: left;
  margin-right: auto;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #F0B429;
  color: #25455A;
}
@media (min-width: 991px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============== FOOTER =============== */
footer {
  background: #25455A;
  color: #fff;
  width: 100%;
  padding: 36px 0 20px 0;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -4px 16px var(--brand-shadow);
  margin-top: 54px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
footer .main-navigation,
footer .footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
}
footer .main-navigation a,
footer .footer-menu a {
  color: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 7px;
  transition: background 0.14s, color 0.16s;
}
footer .main-navigation a:hover,
footer .footer-menu a:hover,
footer .main-navigation a:focus,
footer .footer-menu a:focus {
  background: #F0B429;
  color: #25455A;
}
footer .text-section {
  font-size: 0.98rem;
  color: #fff6dd;
  margin-top: 12px;
}
footer .text-section img {
  height: 22px;
  width: 22px;
  vertical-align: middle;
  margin-left: 2px;
  margin-right: 4px;
}
@media (max-width: 768px) {
  footer { border-radius: 18px 18px 0 0; padding: 22px 0 16px 0; }
  footer .container { gap: 8px; }
}

/* ================ BUTTONS ================ */
button, .cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 26px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  box-shadow: 0 1px 6px rgba(240,180,41,0.11);
  letter-spacing: 0.005em;
  display: inline-block;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.16s;
}
.cta {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(240,180,41,0.09);
}
.cta.primary {
  background: var(--brand-secondary);
  color: #25455A;
}
.cta:hover,
.cta:focus {
  background: #DB9B18;
  color: #FFFDF9;
  box-shadow: 0 4px 18px rgba(240,180,41,0.13);
  transform: translateY(-2px) scale(1.025);
}

/* Button focus styles for accessibility */
button:focus, .cta:focus {
  outline: 3px solid #F0B429;
  outline-offset: 2px;
}

/* ============= ADDRESS & CONTACT ================= */
address {
  font-style: normal;
  line-height: 1.8;
  margin-bottom: 18px;
  color: #4A3C26;
  font-size: 1.03rem;
}
address a {
  color: #25455A;
  text-decoration: underline;
  transition: color 0.16s;
}
address a:hover,
address a:focus {
  color: #DB9B18;
}

/* ================ GENERAL INTERACTIVE ================ */
a, button {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border-color 0.17s;
}
a:focus {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}

/* ================ MICRO-INTERACTIONS ================= */
.section, .card, .testimonial-card, .cta, .mobile-menu-toggle, .main-navigation a, .mobile-nav a, .footer-menu a {
  transition: box-shadow 0.18s, background 0.19s, color 0.17s, transform 0.18s;
}

/* ============= SPACING UTILITIES (when needed) =============*/
.mb-20 { margin-bottom: 20px!important; }
.mb-32 { margin-bottom: 32px!important; }
.mb-40 { margin-bottom: 40px!important; }
.gap-24 { gap: 24px!important; }
.gap-30 { gap: 30px!important; }

/* ============= SCROLLBAR ============= */
::-webkit-scrollbar { width: 10px; background: #FFFDF9; }
::-webkit-scrollbar-thumb { background: #F3C869; border-radius: 10px; }

/* ================ COOKIE CONSENT BANNER ================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FFF5DC;
  color: #25455A;
  box-shadow: 0 -2px 10px rgba(36,34,25,0.10);
  width: 100%;
  padding: 28px 10px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  transition: transform 0.32s cubic-bezier(.77,.2,.6,1);
  transform: translateY(120%);
}
.cookie-banner.active {
  transform: translateY(0);
}
.cookie-banner-content {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-size: 1.06rem;
}
.cookie-banner .cta,
.cookie-banner button {
  margin-right: 14px;
  min-width: 120px;
  margin-top: 8px;
}
.cookie-banner .cta:last-child,
.cookie-banner button:last-child {
  margin-right: 0;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 16px 4px 12px 4px; }
  .cookie-banner-content { max-width: 99vw; font-size: 0.97rem; }
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(25, 28, 38, 0.48);
  z-index: 3200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.27s;
}
.cookie-modal.active {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #FFFDF9;
  border-radius: 15px;
  padding: 38px 30px 22px 30px;
  box-shadow: 0 8px 36px rgba(36,34,25,0.18);
  min-width: 290px;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--brand-secondary);
  border-radius: 4px;
  margin-bottom: 0;
}
.cookie-essential-label {
  color: #96720B;
  font-size: 0.98rem;
  font-weight: bold;
}
.cookie-modal-close {
  position: absolute;
  right: 14px; top: 12px;
  background: none;
  border: none;
  color: #25455A;
  font-size: 1.7rem;
  cursor: pointer;
  padding: 4px 7px;
  border-radius: 50%;
  transition: background 0.18s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #FFE8AA;
  color: #4A3C26;
}
.cookie-modal .cta {
  margin-top: 16px;
}
@media (max-width: 600px) {
  .cookie-modal-content { padding: 22px 7px 14px 7px; min-width: 0; font-size: 0.97rem; }
}

/* ============ RESPONSIVE & FLEXBOX RULES ============ */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 940px) {
  .container { max-width: 99vw; }
}
@media (max-width: 768px) {
  .content-wrapper { gap: 14px; }
  .footer .container,
  .footer-menu,
  .main-navigation {
    gap: 10px;
  }
  .footer-menu, .main-navigation {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ================ FORM STYLES (if needed later) ================ */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.5px solid #F0B429;
  background: #FCF9E9;
  color: #25455A;
  padding: 8px 13px;
  margin-bottom: 14px;
  transition: border 0.18s, background 0.18s;
  outline: none;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #DB9B18;
  background: #FFF5DC;
}

/* ================ Z-INDEX LAYERING ================ */
header { z-index: 110; }
.mobile-menu { z-index: 2000; }
.cookie-banner { z-index: 3000; }
.cookie-modal { z-index: 3200; }

/* ========== SECTIONS SPACING/ALIGNMENTS ========= */
section {
  margin-bottom: 60px;
  padding: 0;
}
@media (max-width: 768px) {
  section { margin-bottom: 40px; }
}

/* ========== LINKS & INTERACTION COLORS ========== */
a {
  color: var(--brand-link);
  transition: color 0.17s;
}
a:hover,
a:focus {
  color: #DB9B18;
}
address a { color: var(--brand-primary); }
address a:hover, address a:focus { color: #DB9B18; }

/* =========== CUSTOM CLASSES USED IN HTML ========== */
.main-navigation, .footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
@media (max-width: 768px) {
  .main-navigation, .footer-menu {
    gap: 12px;
  }
}

/* =========== CARD/LIST LAYOUTS (if any) ========== */
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.card {
  margin-bottom: 20px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

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

/* ============ UTILITIES (for visual hierarchy) ======= */
.rounded { border-radius: 24px; }
.shadow { box-shadow: 0 3px 20px rgba(36,34,25,0.10); }
.bg-warm { background: #FFF5DC; }

/* ================ PRINT OPTIMIZATION ================ */
@media print {
  header, nav, .cta, .cookie-banner, .mobile-menu, footer { display: none !important; }
  section, main, .container, .content-wrapper { all: unset; display: block; }
}
