/* 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;
}
/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F7FF;
  color: #33260b;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img,svg {
  max-width: 100%;
  display: block;
}
ul,ol {
  padding-left: 24px;
}
a {
  color: #1B263B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,a:focus {
  color: #CA8240;
  text-decoration: underline;
}
strong, b {
  font-weight: 700;
}

/* ---- TYPOGRAPHY ---- */
h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #1B263B;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #CA8240;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.32rem;
  font-weight: 600;
  color: #1B263B;
  margin-bottom: 10px;
}
p, ul, ol, li {
  font-size: 1rem;
  color: #33260b;
  margin-bottom: 12px;
}
p:last-child, ul:last-child, ol:last-child {
  margin-bottom: 0;
}

@media (min-width: 580px) {
  h1, .hero h1 { font-size: 3.2rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.44rem; }
  body { font-size: 17px; }
}
@media (min-width: 900px) {
  h1, .hero h1 { font-size: 4rem; }
  h2 { font-size: 2.8rem; }
  h3 { font-size: 1.65rem; }
}

/* --- UTILITY & CONTAINERS --- */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  max-width: 1180px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ---- HEADER & NAVIGATION ---- */
header {
  background: #fbeee0;
  border-bottom: 1px solid #F2DBAF;
  position: sticky;
  top: 0; z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding: 15px 0;
}
.main-nav img {
  height: 48px;
  border-radius: 12px;
}
.main-nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  align-items: center;
  margin-bottom: 0;
}
.main-nav ul li a {
  padding: 8px 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #1B263B;
  border-radius: 20px;
  transition: background .2s, color .2s;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: #FFE6C7;
  color: #CA8240;
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: #CA8240;
  color: #fff !important;
  border: none;
  border-radius: 99px;
  padding: 11px 30px;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(202,130,64,.08);
  cursor: pointer;
  transition: background .18s, box-shadow .2s, color .18s;
  margin-left: 14px;
  letter-spacing: .2px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #a86828;
  color: #FFF;
  box-shadow: 0 6px 18px rgba(202,130,64,0.22);
}

@media (max-width: 850px) {
  .main-nav ul { display: none; }
  .cta-btn { display: none; }
}

.mobile-menu-toggle {
  display: inline-flex;
  background: #CA8240;
  border: none;
  color: #fff;
  font-size: 2rem;
  border-radius: 16px;
  padding: 8px 14px;
  margin-right: 5px;
  cursor: pointer;
  align-items: center;
  transition: background 0.2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #a86828;
}

@media (min-width: 851px) {
  .mobile-menu-toggle { display: none; }
  .mobile-menu { display: none !important;  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fbeee0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform .36s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 6px 22px rgba(202, 130, 64, 0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #CA8240;
  font-size: 2.3rem;
  align-self: flex-end;
  margin: 18px 20px 4px 0;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #1B263B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px 32px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: #1B263B;
  padding: 11px 5px 11px 18px;
  border-radius: 15px;
  transition: background .17s, color .16s;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFE6C7;
  color: #CA8240;
}

/* --- HERO SECTION --- */
.hero {
  background: #FFE6C7;
  border-bottom: 1.5px solid #F2DBAF;
  padding: 50px 0 36px 0;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  gap: 20px;
  text-align: center;
}
.hero .cta-btn {
  margin-top: 16px;
}

/* --- GENERAL SECTIONS & SPACING --- */
.section,
.features, .about, .services, .cta, .testimonials, .contact, .thank-you, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.features, .about, .services, .testimonials, .cta, .contact, .thank-you, .legal {
  border-radius: 38px;
  background: #FFF9F2;
  box-shadow: 0 6px 24px rgba(202, 130, 64, 0.089);
}

.section:last-child,
.features:last-child, .about:last-child, .cta:last-child, .legal:last-child {
  margin-bottom: 0;
}

/* --- FLEX LAYOUTS PATTERNS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 24px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 2px 16px rgba(202, 130, 64, 0.08);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.14s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(202, 130, 64, 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: 22px;
  box-shadow: 0 2px 12px rgba(202, 130, 64, 0.13);
  margin-bottom: 20px;
  border-left: 9px solid #CA8240;
  font-size: 1.1rem;
  color: #1B263B;
}
.testimonial-card p {
  color: #1B263B;
  font-size: 1rem;
  margin-bottom: 6px;
  font-style: italic;
}
.testimonial-card span {
  color: #684813;
  font-size: 0.97rem;
  margin-left: 14px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div {
  background: #fbeee0;
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(202, 130, 64, 0.08);
  flex: 1 1 260px;
  min-width: 254px;
  max-width: 370px;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .16s, background .14s;
  align-items: flex-start;
}
.feature-grid > div img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(202, 130, 64, 0.10);
}
.feature-grid > div:hover {
  background: #fff3e6;
  box-shadow: 0 6px 24px rgba(202, 130, 64, 0.16);
}

/* --- TEAM LIST --- */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 34px;
}
.team-list > div {
  background: #fbeee0;
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 320px;
  border-radius: 16px;
  padding: 22px 15px;
  box-shadow: 0 1px 8px rgba(202,130,64,0.10);
  transition: box-shadow .16s, background .16s;
}
.team-list > div:hover {
  background: #FFE6C7;
  box-shadow: 0 5px 22px rgba(202,130,64,0.19);
}

/* --- ABOUT & LEGAL --- */
.legal {
  background: #FFF9F2;
  border-radius: 30px;
  box-shadow: 0 0 18px rgba(202, 130, 64, 0.07);
}
.legal h1, .legal h2 { color: #1B263B; }
.legal h2 { margin-top: 24px; }

/* --- CONTACT --- */
.contact ul {
  list-style: none;
  margin-bottom: 0;
}
.contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.contact ul li img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  margin-right: 4px;
}
.contact .text-section {
  margin-top: 20px;
  background: #fff3e6;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: 0 2px 8px rgba(202,130,64,0.07);
}

/* --- CTA SECTION --- */
.cta {
  background: #CA8240;
  color: #fff;
  text-align: center;
  border-radius: 38px;
  box-shadow: 0 10px 42px rgba(202,130,64,0.13);
}
.cta .content-wrapper {
  align-items: center;
  gap: 25px;
  color: #fff;
}
.cta h2 {
  color: #fff;
  margin-bottom: 14px;
}
.cta .cta-btn {
  margin-top: 10px;
  background: #fff;
  color: #CA8240 !important;
  border: 2px solid #CA8240;
  box-shadow: none;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #FFE6C7;
  color: #1B263B !important;
  border-color: #B36C24;
}

/* --- THANK YOU PAGE --- */
.thank-you .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 28px;
}
.thank-you .cta-btn {
  margin-top: 18px;
}

/* --- FOOTER --- */
footer {
  background: #1B263B;
  color: #F7F7FF;
  border-top: 2px solid #FFE6C7;
  padding: 40px 0 22px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 38px;
}
.footer-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}
.footer-main img {
  height: 41px;
  margin-bottom: 6px;
  border-radius: 10px;
}
.footer-main ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
}
.footer-main ul li a {
  color: #FFE6C7;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 16px;
  padding: 6px 10px;
  transition: color .2s, background .21s;
}
.footer-main ul li a:hover,
.footer-main ul li a:focus {
  color: #CA8240;
  background: #fff;
}
.footer-legal {
  gap: 6px;
  margin-top: 0 !important;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #2b364a;
  border-radius: 20px;
  padding: 18px 25px;
  color: #ffe6c7;
  font-size: 1rem;
  box-shadow: 0 2px 12px rgba(27,38,59,0.15);
}
.footer-contact a {
  color: #ffe6c7;
  text-decoration: underline;
}
.footer-contact a:hover {
  color: #CA8240;
}

@media (min-width: 750px) {
  footer .container {
    flex-direction: row;
    gap: 62px;
    align-items: flex-start;
    justify-content: space-between;
  }
  .footer-main {
    flex-direction: row;
    align-items: flex-start;
    gap: 50px;
  }
}

/* --- BUTTONS & INTERACTIVES --- */
button, .cta-btn, .mobile-menu-toggle, .mobile-menu-close {
  outline: none;
  transition: background .14s, color .14s, box-shadow .19s, border .17s;
}
button:focus {
  box-shadow: 0 0 0 3px #CA824042;
}

/* --- FORM ELEMENTS BASE (if any in future) --- */
input,textarea,select {
  border-radius: 12px;
  padding: 11px 14px;
  border: 1px solid #CA824035;
  background: #fff4e8;
  font-size: 1rem;
  transition: border .14s;
}
input:focus,textarea:focus,select:focus {
  border: 1.5px solid #CA8240;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1100px) {
  .container { max-width: 92vw; }
  .feature-grid > div { min-width: 199px; }
  .team-list > div { min-width: 150px; }
}
@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 25px;
  }
  .feature-grid > div { max-width: 100%; }
  .team-list { flex-direction: column; gap: 16px; }
  .team-list > div { max-width: 100%; }
}
@media (max-width: 800px) {
  .footer-main { flex-direction: column; gap: 18px; }
  footer .container { gap: 28px; flex-direction: column; }
}
@media (max-width: 768px) {
  .container { padding: 0 6vw; }
  .hero, .features, .about, .cta, .testimonials, .services, .contact, .thank-you, .legal {
    padding: 35px 8px;
    margin-bottom: 30px;
    border-radius: 17px;
  }
  .content-grid, .feature-grid, .team-list, .card-container, .text-image-section {
    flex-direction: column !important;
    gap: 18px;
    align-items: stretch !important;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    font-size: 1rem;
  }
  .hero .container { padding: 0 3vw; }
}
@media (max-width: 480px) {
  h1, .hero h1 { font-size: 2.1rem; }
  h2 { font-size: 1.29rem; }
  .container { padding: 0 4vw; }
}

/* --- TRANSITIONS & MICRO-ANIMATIONS --- */
.card, .feature-grid > div, .team-list > div, .testimonial-card, .cta-btn, .mobile-menu, .mobile-menu-toggle {
  transition: box-shadow .14s, background .14s, color .16s, border .13s;
}

/* HOVER AND FOCUS */
.card:focus-within, .feature-grid > div:focus-within {
  box-shadow: 0 0 0 3px #ca824040;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #FFE6C7;
  color: #1B263B;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: center;
  padding: 22px 14px 20px 14px;
  z-index: 2000;
  box-shadow: 0 -4px 30px rgba(202,130,64,0.13);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  transition: bottom 0.28s;
}
.cookie-banner .cookie-message {
  font-size: 1rem;
  max-width: 410px;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border-radius: 20px;
  padding: 9px 21px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  margin: 0;
  margin-top: 0;
}
.cookie-banner .accept {
  background: #CA8240;
  color: #fff;
  transition: background .17s;
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: #a86828;
}
.cookie-banner .reject {
  background: #fbeee0;
  color: #CA8240;
  border: 1.2px solid #CA8240;
  transition: border .15s, background .17s, color .14s;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #fff3e6;
  color: #a86828;
  border: 1.2px solid #a86828;
}
.cookie-banner .settings {
  background: #FFE6C7;
  color: #1B263B;
  border: 1.1px solid #CA8240;
  transition: border .14s, background .16s, color .14s;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: #fff3e6;
  color: #CA8240;
  border: 1.1px solid #CA8240;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cookie-banner .cookie-message {
    max-width: 100%;
  }
}

.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 2001;
  background: rgba(27, 38, 59, .34);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: all;
  transition: background .21s;
}
.cookie-modal {
  background: #FFF9F2;
  color: #1B263B;
  border-radius: 33px 33px 0 0;
  box-shadow: 0 -10px 38px rgba(202,130,64,0.19);
  padding: 36px 24px 30px 24px;
  max-width: 465px;
  width: 100%;
  margin-bottom: 0;
  position: relative;
  animation: cookieModalSlideIn .43s cubic-bezier(.77,0,.18,1);
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #CA8240;
  font-size: 1.6rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #CA8240;
  width: 18px; height: 18px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  margin-right: 6px;
}
.cookie-modal .cookie-actions {
  margin-top: 20px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-actions button {
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  padding: 9px 21px;
}
.cookie-modal .accept {
  background: #CA8240;
  color: #fff;
}
.cookie-modal .accept:hover,
.cookie-modal .accept:focus {
  background: #a86828;
}
.cookie-modal .reject {
  background: #FFE6C7;
  color: #CA8240;
  border: 1.2px solid #CA8240;
}
.cookie-modal .reject:hover,
.cookie-modal .reject:focus {
  background: #fff3e6;
  border: 1.2px solid #a86828;
  color: #a86828;
}
.cookie-modal .close {
  position: absolute;
  top: 22px;  right: 22px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #CA8240;
  cursor: pointer;
  padding: 0;
}
.cookie-modal .close:hover,
.cookie-modal .close:focus {
  color: #a86828;
}

@keyframes cookieModalSlideIn {
  0% { transform: translateY(90px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Hide banner if .cookie-banner.hide */
.cookie-banner.hide {
  display: none !important;
}
.cookie-modal-overlay.hide {
  display: none !important;
}

/* --- PRINT --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
}
