/* ===============================================
   Ricon Incur – Warm Friendly CSS Style
   Comprehensive, responsive, flexbox-only design
   =============================================== */

/* ===== 1. CSS RESET & BASE ========= */
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 {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #F6F3EE;
  min-height: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #232B2B;
  background: #F6F3EE;
  min-height: 100vh;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #FFAA2B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover:not(.btn), a:focus:not(.btn) {
  color: #e6951a;
  text-decoration: underline;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
}

/* ===== 2. TYPOGRAPHY =========== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #232B2B;
  font-weight: 700;
}
h1 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1.15;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  font-size: 1rem;
}

.bullet-list, .brands-list, .service-list {
  list-style: disc inside;
}

blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: #3b2a0a;
  margin-bottom: 0;
  line-height: 1.5;
}

/* LISTS STYLE for accent sections */
.bullet-list li::marker, .brands-list li::marker, .service-list li::marker {
  color: #FFAA2B;
}

/* ===== 3. LAYOUT CONTAINERS ====== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.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;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 32px 0 rgba(213,170,60,0.07);
  transition: box-shadow 0.25s;
}
.section.accent,
.hero-section.accent {
  background: #FFF3DD;
}

.features-section,
.services-section,
.about-section,
.cta-section,
.legal-section,
.contact-section,
.testimonials-section {
  margin-bottom: 60px;
  padding: 40px 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 24px 0 rgba(223,180,80,0.09);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  max-width: 390px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 38px 0 rgba(223,180,80,0.16);
  transform: translateY(-3px) scale(1.017);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

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

/***** CRITICAL MINIMUM SPACING between cards/sections *****/
.section + .section,
.card + .card,
.testimonial-card + .testimonial-card {
  margin-top: 40px;
}

/***** TESTIMONIALS *****/
.testimonials-section .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px;
}
.testimonial-card {
  background: #fffdf8;
  border-radius: 20px;
  box-shadow: 0 2px 18px rgba(223,180,80,0.11);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  min-width: 240px;
  max-width: 430px;
  margin-bottom: 20px;
  color: #2e220a;
}
.testimonial-card blockquote {
  margin-bottom: 0;
  color: #2e220a;
}
@media (max-width: 1024px) {
  .testimonial-card {
    max-width: 100%;
  }
}

/***** BUTTONS & INTERACTIVE *******/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.07rem;
  padding: 13px 28px;
  border: none;
  transition: background 0.17s, color 0.17s, box-shadow 0.17s, transform 0.17s;
  cursor: pointer;
  min-width: 130px;
  box-shadow: 0 2px 12px 0 rgba(255,170,43,0.04);
  outline: none;
}
.btn-primary {
  background: #FFAA2B;
  color: #232B2B;
  box-shadow: 0 2px 12px 0 rgba(255,170,43,0.11);
}
.btn-primary:hover, .btn-primary:focus {
  background: #FFA000;
  color: #fff;
  box-shadow: 0 6px 36px 0 rgba(255,170,43,0.18);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: #fff;
  color: #FFAA2B;
  border: 2px solid #FFAA2B;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #ffedc6;
  color: #c88715;
  border-color: #FFA000;
  box-shadow: 0 1px 12px 0 rgba(255,170,43,0.11);
}


/***** SEARCH BAR / FORMS *****/
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.search-bar input[type="text"] {
  border-radius: 20px;
  border: 1.5px solid #FFAA2B;
  padding: 12px 22px;
  font-size: 1rem;
  font-family: inherit;
  background: #fffdf8;
  width: 100%;
  max-width: 430px;
  transition: border-color 0.16s;
}
.search-bar input[type="text"]:focus {
  border-color: #232B2B;
  outline: none;
}

/***** HERO & ACCENT SECTIONS *****/
.hero-section {
  background: #fffdfa;
  min-height: 320px;
  display: flex;
  align-items: center;
  border-radius: 34px;
  box-shadow: 0 6px 60px 0 rgba(255,170,43,0.08);
  margin-bottom: 60px;
  padding: 55px 0;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero-section .btn {
  margin-top: 14px;
}
.hero-section.accent {
  background: #ffeec3;
  box-shadow: 0 3px 40px 0 rgba(255,170,43,0.13);
}

/***** Main Navigation & Responsive Header *****/
header {
  background: #fffaf3;
  border-bottom: 2px solid #FFE0A2;
  box-shadow: 0 2px 18px 0 rgba(255,170,43,0.06);
  position: sticky;
  top: 0;
  z-index: 1040;
}
header .container {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(255,170,43,0.10);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #232B2B;
  padding: 10px 16px;
  border-radius: 20px;
  transition: background 0.12s, color 0.12s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #fff3dd;
  color: #FFAA2B;
}
header .btn-primary {
  margin-left: 16px;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #FFAA2B;
  padding: 6px 12px;
  border-radius: 50%;
  transition: background 0.13s, color 0.13s;
  cursor: pointer;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #FFF3DD;
  color: #232B2B;
  outline: none;
}


/***** MOBILE NAVIGATION SYSTEM *****/
.mobile-menu {
  display: none; /* initially hidden */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(35,43,43, 0.18);
  backdrop-filter: blur(2px);
  z-index: 2550;
  transition: opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
  animation: mobileMenuSlideIn 0.35s cubic-bezier(.4,.2,.2,1);
}
@keyframes mobileMenuSlideIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 77vw;
  min-width: 285px;
  max-width: 370px;
  background: #fffdfa;
  box-shadow: 2px 0 33px 0 rgba(255,170,43,0.09);
  padding: 38px 28px 44px 28px;
  z-index: 2601;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.4,.2,.2,1);
}
.mobile-menu.open .mobile-nav {
  transform: translateX(0);
}
.mobile-nav a {
  color: #232B2B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.11rem;
  padding: 13px 12px;
  border-radius: 18px;
  transition: background 0.12s;
  min-width: 60%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ffedc6;
  color: #FFAA2B;
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 13px;
  font-size: 2.2rem;
  color: #FFAA2B;
  background: none;
  border: none;
  z-index: 2700;
  cursor: pointer;
  padding: 6px 15px;
  border-radius: 50%;
  transition: background 0.13s, color 0.13s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #FFF3DD;
  color: #232B2B;
}

@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width:1024px) {
  .mobile-menu {
    display: none!important;
  }
}

/***** FOOTER *****/
footer {
  background: #fffaf3;
  padding: 34px 0 18px 0;
  border-top: 2px solid #FFE0A2;
  margin-top: 60px;
  font-size: 1rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}
.footer-nav a {
  color: #232B2B;
  padding: 8px 14px;
  border-radius: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover {
  background: #FFF3DD;
  color: #e6951a;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.97rem;
  color: #9c8b65;
}
.footer-brand img {
  width: 36px;
  height: 36px;
}

/***** COOKIE CONSENT BANNER & POPUP *****/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3200;
  width: 100vw;
  background: #fff8e3;
  color: #232B2B;
  box-shadow: 0 -4px 18px rgba(255,170,43,0.09);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  padding: 24px 16px 28px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1.02rem;
  animation: cookieBannerUp 0.35s cubic-bezier(.4,.2,.2,1);
}
@keyframes cookieBannerUp {
  0% { transform:translateY(110%); opacity:0; }
  100% { transform:translateY(0); opacity:1; }
}
.cookie-consent-banner .consent-text {
  flex: 1 1 auto;
  margin-right: 30px;
  min-width: 0;
}
.cookie-consent-banner .consent-actions {
  display: flex;
  gap: 11px;
}
.cookie-btn {
  min-width: 110px;
  border-radius: 22px;
  border: none;
  outline: none;
  padding: 9px 22px;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
  background: #FFAA2B;
  color: #232B2B;
  transition: background 0.13s, color 0.13s;
  box-shadow: 0 2px 10px 0 rgba(255,170,43,0.11);
}
.cookie-btn.secondary {
  background: #fff;
  color: #FFAA2B;
  border: 1.6px solid #FFAA2B;
}
.cookie-btn.secondary:hover,
.cookie-btn.secondary:focus {
  background: #ffedc6;
}
.cookie-btn:active {
  transform: scale(0.97);
}

/****** COOKIE MODAL POPUP *****/
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(35,43,43,0.30);
  display: none;
  z-index: 3600;
  align-items: flex-end;
  justify-content: center;
}
.cookie-modal.open {
  display: flex!important;
  animation: fadeIn 0.27s;
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}
.cookie-modal .cookie-popup {
  background: #fffdfa;
  border-radius: 22px 22px 0 0;
  padding: 32px 22px 22px 22px;
  box-shadow: 0 -4px 42px rgba(255,170,43,0.15);
  width: 96vw;
  max-width: 440px;
  margin-bottom: 24px;
  text-align: left;
  animation: slideUpCookie 0.33s cubic-bezier(.4,.2,.2,1);
}
@keyframes slideUpCookie {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-popup h3 {
  font-size: 1.15rem;
  margin-bottom: 13px;
}
.cookie-popup label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
}
.cookie-popup .category {
  background: #ffedc6;
  border-radius: 15px;
  padding: 8px 13px 8px 13px;
  margin-bottom: 8px;
}
.cookie-popup .essential {
  font-weight: 600;
  color: #FFAA2B;
}
.cookie-popup .cookie-popup-actions {
  display: flex;
  gap: 15px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-popup .close-popup {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #d39d10;
  position: absolute;
  top: 14px; right: 17px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.11s;
  padding: 5px 10px;
}
.cookie-popup .close-popup:hover,
.cookie-popup .close-popup:focus {
  background: #f3e0ba;
}

/***** RESPONSIVE: MOBILE FIRST + DESKTOP *****/
@media (max-width: 768px) {
  html { font-size: 15px; }
  .hero-section, .hero-section.accent {
    min-height: 180px;
    padding: 28px 0;
    border-radius: 24px;
  }
  .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 44px;
    border-radius: 18px;
  }
  .features-section,
  .services-section,
  .about-section,
  .cta-section,
  .legal-section,
  .contact-section,
  .testimonials-section { padding: 26px 0; }
  .content-wrapper, .content-grid {
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .card-container {
    gap: 14px;
  }
  .card {
    padding: 16px 8px;
    min-width: 120px;
    max-width: 100%;
    font-size: 0.97rem;
  }
  .testimonial-card {
    padding: 15px 10px;
    border-radius: 14px;
    font-size: 0.98rem;
  }
  footer .footer-brand {
    flex-direction: column;
    gap: 6px;
    text-align: left;
  }
}

@media (min-width: 769px) {
  .content-wrapper, .content-grid, .text-section, .text-image-section {
    flex-direction: row;
  }
  .text-image-section {
    align-items: center;
    gap: 30px;
  }
}

/* ===== MISC: LEGAL SECTIONS ====== */
.legal-section, .legal-section .content-wrapper {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 2px 18px 0 rgba(223,180,80,0.09);
  padding: 40px 23px;
  margin-bottom: 60px;
  font-size: 1.02rem;
}
.legal-section h1 { font-size: 2.1rem; margin-bottom: 17px; }
.legal-section h2 { font-size: 1.4rem; margin-bottom: 13px; }
.legal-section h3 { font-size: 1.15rem; margin-bottom: 9px; }

/* ===== 4. UTILITY CLASSES ======= */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-section p:last-child { margin-bottom: 0; }

.accent {
  background: #FFF3DD!important;
}

/* ===== 5. FOCUS VISIBLE ====== */
a:focus, button:focus, input:focus, .btn:focus, .cookie-btn:focus {
  outline: 2.2px solid #FFAA2B;
  outline-offset: 2px;
}

/* ===== 6. CUSTOM SCROLLBAR (desktop only) ==== */
@media (pointer: fine) {
  ::-webkit-scrollbar {
    width: 11px;
    background: #FFF3DD;
  }
  ::-webkit-scrollbar-thumb {
    background: #FFDF98;
    border-radius: 18px;
    border: 3px solid #FFF3DD;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #FFAA2B;
  }
}

/* ===== 7. ANIMATIONS & TRANSITIONS ===== */
.card, .testimonial-card, .btn, .btn-primary, .cookie-btn, .main-nav a, .footer-nav a {
  transition: box-shadow 0.2s, background 0.14s, color 0.13s, transform 0.12s;
}

@media (max-width: 480px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.075rem; }
}

/* ===== 8. PRINT STYLES (hide nav / footer) ===== */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal {display: none!important;}
  .section, .hero-section, .legal-section { box-shadow: none!important; background: #fff!important; }
  html, body { background: #fff!important; color: #232B2B!important; }
}
