/* CSS RESET & NORMALIZE */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { width: 100%; height: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #23313B;
  background: #F5F7FA;
  line-height: 1.6;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: #23313B; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }
button, input, textarea { font-family: inherit; font-size: 15px; }
:focus { outline: 2px solid #DEB992; outline-offset: 2px; }

/* VARIABLES (with fallbacks) */
:root {
  --primary: #23313B;
  --secondary: #DEB992;
  --accent: #F5F7FA;
  --action: #FC6A38;
  --header-height: 68px;
}

/* CORE CONTAINERS & LAYOUTS */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

main {
  margin-bottom: 90px;
  min-height: 50vh;
}

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

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

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #23313B;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 8px;
  background: linear-gradient(91deg,#23313B 40%,#DEB992 70%,#FC6A38 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #DEB992;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
h3 {
  font-size: 1.2rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  color: #23313B;
  margin-bottom: 6px;
}
.text-section, p, li {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.7;
}
.text-section {
  margin-bottom: 20px;
  color: #23313B;
  max-width: 900px;
}
strong {
  font-weight: 700;
  color: #23313B;
}

/* NAVIGATION */
header {
  background: #F5F7FA;
  padding: 0;
  width: 100%;
  border-bottom: 2px solid #DEB99222;
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 28px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
header nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 5px 8px;
  position: relative;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #DEB99233;
  color: #FC6A38;
}

header img { height: 34px; width: auto; margin-right: 16px; }

.cta {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  padding: 11px 28px;
  background: #DEB992;
  color: #23313B;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 16px 0 #deb99233;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
  margin-left: 16px;
  letter-spacing: 0.02em;
}
.cta.secondary {
  background: #23313B;
  color: #DEB992;
  border: 1.5px solid #DEB992;
  box-shadow: none;
}
.cta:hover, .cta:focus {
  background: #FC6A38;
  color: #fff;
  box-shadow: 0 4px 24px 0 #deb99266;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #DEB992;
  color: #23313B;
}

/* MOBILE NAV - HAMBURGER MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 102;
  width: 44px;
  height: 44px;
  background: #DEB992;
  color: #23313B;
  border-radius: 100px;
  border: none;
  font-size: 2rem;
  padding: 0;
  box-shadow: 0 3px 12px #deb99244;
  cursor: pointer;
  transition: background 0.2s, color 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover { 
  background: #FC6A38;
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #F5F7FA;
  z-index: 120;
  display: flex;
  flex-direction: column;
  transform: translateX(100vw);
  transition: transform 0.38s cubic-bezier(0.72,0.09,0.28,1);
  will-change: transform;
  box-shadow: -6px 0 28px #23313B12;
  overflow-y: auto;
  padding-top: 36px; /* for close btn space */
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 14px; right: 17px;
  background: #DEB992;
  color: #23313B;
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.9rem;
  cursor: pointer;
  z-index: 130;
  transition: background 0.2s, color 0.13s;
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FC6A38;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 24px 16px 38px;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  color: #23313B;
  padding: 13px 0 13px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #DEB99299;
  color: #FC6A38;
}

/* Hide nav/show burger on mobile */
@media (max-width: 990px) {
  header .container nav, .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 990px) {
  .mobile-menu {
    display: flex;
  }
}

/*-------------- FLEXBOX MANDATORY PATTERNS --------------*/

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #fff;
  padding: 28px 22px 18px 22px;
  box-shadow: 0 3px 18px #23313B14, 0 0px 1px #23313B04;
  min-width: 270px;
  min-height: 180px;
}
.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;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px #DEB99240, 0 0.5px 0 #DEB99222;
  position: relative;
  min-width: 320px;
  font-size: 1.08rem;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 500;
  margin-right: 16px;
  color: #23313B;
  border-left: 3.5px solid #DEB992;
  padding-left: 12px;
  line-height: 1.7;
}
.testimonial-card p {
  margin-left: 8px;
  margin-bottom: 2px;
  color: #23313B;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BLOG, CATEGORY, TAGS */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-list li {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px #23313B11;
  padding: 24px 22px 18px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.blog-list li:hover {
  box-shadow: 0 4px 18px #FC6A3866;
  cursor: pointer;
}
.read-more {
  color: #FC6A38;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.16s;
}
.read-more:hover, .read-more:focus {
  color: #DEB992;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
.category-list li {
  color: #23313B;
  background: #DEB99233;
  border-radius: 6px;
  font-size: 1.02rem;
  padding: 7px 14px;
  font-weight: 500;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
.tag-cloud span {
  background: #FC6A38;
  color: #fff;
  border-radius: 22px;
  font-size: 0.98rem;
  padding: 5px 14px;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}

/* FEATURES/VALUES LAYOUT */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 10px #DEB99226;
  min-width: 240px;
  padding: 28px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s;
  margin-bottom: 20px;
}
.feature-card img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 6px #DEB99233);
}
.feature-card:hover { box-shadow: 0 8px 36px #DEB99233;}

/* SERVICES/PRICING (Offer Section) */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 18px;
}
.services-list li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.08rem;
  padding: 10px 0 10px 18px;
  border-left: 3.5px solid #FC6A38;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 10px;
  color: #23313B;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.services-list span { color: #DEB992; font-weight: 700; margin-left: 24px; }

/* TIMELINE (Process) */
.timeline {
  margin: 18px 0 0 0;
  padding: 15px 10px;
  border-left: 3.5px dashed #DEB992;
  background: #fff;
  border-radius: 14px;
  color: #23313B;
}

/* UL/OL LISTS */
ul, ol {
  margin-bottom: 18px;
  padding-left: 24px;
  flex-direction: column;
}
li {
  position: relative;
  margin-bottom: 10px;
  font-size: 1.03rem;
  line-height: 1.6;
  color: #23313B;
}
ul li:before {
  content: '';
  display: inline-block;
  margin-right: 12px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: #DEB992;
  vertical-align: middle;
  margin-left: -20px;
}
ol li:before { content: none; }

/* FOOTER */
footer {
  background: #23313B;
  color: #fff;
  width: 100%;
  padding: 30px 0 40px 0;
  margin-top: 30px;
  box-shadow: 0 -1px 16px #23313B13;
}
footer .container {
  flex-direction: column;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
footer nav a {
  color: #DEB992;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}
footer nav a:hover, footer nav a:focus { background: #DEB992; color: #23313B; }
footer .text-section { color: #fafafa; font-size: 0.96rem; }

/* ANIMATIONS & MICROINTERACTIONS */
.card, .feature-card, .testimonial-card, .blog-list li {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .feature-card:hover, .testimonial-card:hover, .blog-list li:hover {
  transform: translateY(-5px) scale(1.022);
  box-shadow: 0 8px 32px #FC6A3842, 0px 2px 4px #DEB99222;
}
a, .cta, button, .read-more {
  transition: color 0.19s, background 0.19s, box-shadow 0.19s;
}

/* UTILITY CLASSES */
.mt-2 { margin-top: 12px; }
.mb-2 { margin-bottom: 12px; }
.mt-3 { margin-top: 18px; }
.mb-3 { margin-bottom: 18px; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.text-center { text-align: center; }

/* RESPONSIVENESS & FLEX DIRECTIONS */
@media (max-width: 1020px) {
  .feature-grid { flex-direction: column; }
  .content-grid { flex-direction: column; gap: 24px; }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .section { margin-bottom: 38px; padding: 24px 8px; }
  .content-wrapper { gap: 23px; }
  h1 { font-size: 1.49rem; }
  h2 { font-size: 1.2rem; }
  .feature-grid, .card-container, .content-grid, .category-list { gap: 15px; }
  .card, .feature-card, .testimonial-card, .blog-list li {
    padding: 16px 10px 14px 10px;
    min-width: 160px;
  }
  .testimonial-card{
    flex-direction: column;
    gap: 12px;
    min-width: 0;
  }
  .text-image-section, .content-grid, .feature-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .text-image-section { gap: 14px; }
  .mobile-menu { padding-top: 22px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.12rem; }
  h2 { font-size: 1.03rem; }
  .cta, .cta.secondary { font-size: 0.95rem; padding: 9px 14px; }
  .card, .feature-card, .testimonial-card, .blog-list li {
    min-width: 90px;
    font-size: 0.97rem;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  width: 100vw;
  background: #23313B;
  color: #fff;
  padding: 24px 16px 20px 16px;
  box-shadow: 0 -2px 36px #23313B17;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1.02rem;
  animation: bannerIn 0.7s cubic-bezier(.75,.01,.28,1.23);
}
@keyframes bannerIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  background: #DEB992;
  color: #23313B;
  border: none;
  border-radius: 18px;
  padding: 9px 17px;
  margin-right: 0;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-consent-banner button.cookie-settings {
  background: #23313B;
  color: #DEB992;
  border: 2px solid #DEB992;
}
.cookie-consent-banner button:hover, .cookie-consent-banner button:focus {
  background: #FC6A38;
  color: #fff;
}
.cookie-consent-banner button.cookie-settings:hover, .cookie-consent-banner button.cookie-settings:focus {
  background: #DEB992; color: #23313B;
}
@media (max-width: 768px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.93rem;
  }
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #23313BCC;
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.38s cubic-bezier(.7,.01,.18,1.13);
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #23313B;
  max-width: 440px;
  min-width: 270px;
  border-radius: 22px;
  padding: 42px 30px 35px 30px;
  box-shadow: 0 7px 52px #23313B38;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.39s cubic-bezier(.7,.01,.18,1.13);
}
@keyframes modalIn {
  0% { transform: translateY(80px) scale(0.97); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  color: #DEB992;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #23313B22;
  font-size: 1rem;
}
.cookie-modal .cookie-category strong { color: #FC6A38; }
.cookie-modal .cookie-toggle {
  width: 36px; height: 20px;
  background: #DEB99244;
  border-radius: 30px;
  position: relative;
  cursor: pointer;
  transition: background 0.16s;
  margin-left: 14px;
  border: none;
}
.cookie-modal .cookie-toggle.enabled { background: #DEB992; }
.cookie-modal .cookie-toggle.disabled {
  background: #DEB99244;
  opacity: 0.6;
  pointer-events: none;
}
.cookie-modal .cookie-toggle::before {
  content: '';
  position: absolute;
  left: 2.5px;
  top: 2.5px;
  width: 15px; height: 15px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0.5px 1px #DEB99244;
  transition: left 0.16s;
}
.cookie-modal .cookie-toggle.enabled::before {
  left: 18.5px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 14px;
}
.cookie-modal .cookie-modal-actions button {
  font-size: 1rem;
  font-weight: 700;
  border-radius: 16px;
  padding: 8px 18px;
  border: none;
  background: #DEB992;
  color: #23313B;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal .cookie-modal-actions button:last-child {
  background: #23313B;
  color: #DEB992;
  border: 2px solid #DEB992;
}
.cookie-modal .cookie-modal-actions button:hover, .cookie-modal .cookie-modal-actions button:focus {
  background: #FC6A38;
  color: #fff;
}
.cookie-modal .cookie-modal-actions button:last-child:hover, .cookie-modal .cookie-modal-actions button:last-child:focus {
  background: #DEB992;
  color: #23313B;
}
@media (max-width: 570px) {
  .cookie-modal { max-width: 95vw; min-width: 80vw; padding: 28px 10px 22px 14px; }
}

/* DECORATIVE SPLASHES, CREATIVE-ARTISTIC ELEMENTS */
.section {
  position: relative;
  z-index: 1;
}
.section:before {
  content: '';
  display: block;
  position: absolute;
  left: -60px;
  top: -60px;
  width: 120px; height: 120px;
  background: #DEB99223;
  border-radius: 50% 60% 65% 100%/45% 80% 45% 65%;
  z-index: 0;
}
.section:nth-child(even):before {
  left: auto;
  right: -50px;
  top: -30px;
  background: #FC6A3821;
  transform: scaleX(-1);
}
/* Keep content always above */
.section > .container, .content-wrapper, .section * {
  position: relative;
  z-index: 2;
}

/* ADDITIONAL CREATIVE ACCENTS/SHADOWS */
.card, .feature-card, .testimonial-card, .blog-list li {
  box-shadow: 0 2px 10px #23313B08, 0 1.5px 1.2px #DEB99222;
}

/* ENSURE MINIMUM GAP */
section, .testimonial-card, .feature-card, .card, .blog-list li {
  margin-bottom: 20px;
}

/* FORM ELEMENTS (if needed) */
input, select, textarea {
  padding: 10px 14px;
  border: 1.5px solid #DEB99299;
  border-radius: 6px;
  font-size: 1rem;
  color: #23313B;
  background: #fff;
  margin-bottom: 14px;
  width: 100%;
  margin-top: 7px;
}
input:focus, select:focus, textarea:focus {
  border-color: #FC6A38;
  outline: none;
}

/* FANCY ARTISTIC FONT FOR HEADERS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:wght@400;600;700&display=swap');

/* HIDE SCROLLBAR IN OVERLAYS */
::-webkit-scrollbar { width: 9px; background: #DEB99222; }
::-webkit-scrollbar-thumb { background: #DEB99255; border-radius: 4px; }

/* PRINT FRIENDLY */
@media print {
  .mobile-menu, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
  header, footer { background: none !important; color: #23313B !important; }
}
