/* ===========================================================
   SPOONINCRI MOBILITY – "warm_friendly" UI STYLE.CSS
   (c) 2024 Spoonincri Mobility
   ===========================================================
*/

/* --- CSS RESET & BASIC NORMALIZE --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: #FFF8F3;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #43230b;
  background: #FFF8F3;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
a {
  color: #CC9933;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #AC7F22;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
ul {
  list-style-image: url('../assets/icons/icon-bullet.svg');
}
strong {
  font-weight: 700;
}

/* --- VARIABLES FOR COLORS --- */
:root{
  --brand-primary: #1E2432;
  --brand-secondary: #E5E7EA;
  --brand-accent: #CC9933;
  --brand-accent-dark: #AC7F22;
  --brand-bg: #FFF8F3;
  --brand-warm-bg: #FFF5EA;
  --card-bg: #FFFDFB;
  --input-bg: #FAEEE3;
  --shadow-soft: 0 2px 14px rgba(204,153,51,0.09);
  --shadow-card: 0 4px 24px rgba(204,153,51,0.13);
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1E2432;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.12; }
h2 { font-size: 2rem; line-height: 1.18; }
h3 { font-size: 1.35rem; line-height: 1.22; }
h4 { font-size: 1.17rem; line-height: 1.27; }
p, li, ul {
  font-size: 1rem;
  margin-bottom: 15px;
}
.text-section p { margin-bottom: 16px; }
.text-section ul { margin-bottom: 18px; }

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.18s;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  box-shadow: 0 8px 35px rgba(204,153,51,0.20);
  transform: translateY(-3px) scale(1.02);
}

.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 {
  background: var(--brand-warm-bg);
  border-left: 5px solid var(--brand-accent);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: 18px;
  color: #2D2420;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
}
.testimonial-card p {
  color: #35280C;
  margin-bottom: 8px;
  font-size: 1.08rem;
}
.testimonial-card div {
  color: #1E2432;
  opacity: 0.95;
  font-weight: bold;
}

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

.usp-tag {
  display: inline-block;
  background: #FFEFCE;
  color: #916400;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.96rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.01rem;
  margin-right: 9px;
  margin-bottom: 6px;
}

/* --- HERO SECTION --- */
.hero {
  width: 100%;
  background: linear-gradient(90deg, #FFF5EA 40%, #FFE5B4 100%);
  border-radius: 0 0 36px 36px;
  padding-top: 48px;
  padding-bottom: 68px;
  margin-bottom: 56px;
  box-shadow: 0 8px 40px -18px #E0A44C55;
}
.hero h1 {
  color: #9C6A17;
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.hero p {
  color: #4C3D21;
  font-size: 1.16rem;
  margin-bottom: 22px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: #fff;
  background: linear-gradient(90deg,#CC9933 80%,#EEDD99 100%);
  border: none;
  border-radius: 40px;
  padding: 14px 36px;
  margin-top: 14px;
  cursor: pointer;
  box-shadow: 0 2px 18px rgba(204,153,51,0.10);
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
  text-shadow: 0 2px 2px #e2cd9a50;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg,#AC7F22 75%,#DDB44A 100%);
  transform: translateY(-1.5px) scale(1.03);
  box-shadow: 0 6px 30px rgba(204,153,51,0.17);
}

/* --- NAVIGATION --- */
header {
  background: #FFF8F3;
  box-shadow: 0 3px 32px -18px #CC993310;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 12px;
  gap: 26px;
  position: relative;
}
header img {
  height: 45px;
  border-radius: 0;
  box-shadow: none;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 19px;
  align-items: center;
  margin-left: 24px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #7D5D28;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: #FFDFA4;
  color: #CC9933;
}
header .cta-button {
  margin-left: 24px;
  margin-top: 0;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #CC9933;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px #cc993315;
  position: relative;
  z-index: 1002;
  cursor: pointer;
  margin-left: 14px;
  transition: background 0.16s, color 0.16s, box-shadow 0.15s;
}
.mobile-menu-toggle:active {
  background: #BE8B29;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #FFF8F3;
  box-shadow: 0 0 32px 2px #CC993366;
  z-index: 1200;
  transform: translateX(-100vw);
  opacity: 0;
  transition: transform 0.33s cubic-bezier(.68,-0.01,.22,1.01), opacity 0.19s;
  padding: 50px 28px 28px 28px;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 2.1rem;
  background: #F5DFC3;
  color: #BF8C29;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1202;
  transition: background 0.19s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFDFA4;
  color: #7D5D28;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 38px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.20rem;
  color: #7D5D28;
  padding: 12px 0;
  border-radius: 10px;
  transition: background 0.13s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFEDC4;
  color: #CC9933;
}

/* --- Footer --- */
footer {
  width: 100%;
  background: #FFF8F3;
  box-shadow: 0 -1px 24px -2px #81928B11;
  padding: 18px 0 12px 0;
  border-radius: 30px 30px 0 0;
}
footer > .container {
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer img {
  height: 41px;
  margin-right: 22px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer nav a {
  color: #AC7F22;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 2px;
}
footer nav a:hover,
footer nav a:focus {
  text-decoration: underline;
  color: #CC9933;
}
footer div p, footer div a {
  font-size: 0.96rem;
  color: #816125;
}
footer div a {
  text-decoration: underline;
  transition: color 0.18s;
}
footer div a:hover { color: #B88516; }
footer div { margin-bottom: 4px; }

/* --- FAQ-Section Styling --- */
.faq-section {
  background: #FFF5EA;
  border-radius: 16px;
  box-shadow: 0 2px 13px #E5CA9655;
  margin-bottom: 22px;
  padding: 20px;
  color: #473012;
}
.faq-section h2 {
  color: #A87919;
  font-size: 1.13rem;
  margin-bottom: 7px;
}
.faq-section p {
  margin-bottom: 0;
}

/* --- Table Styling --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0 22px 0;
  border-radius: 14px;
  overflow: hidden;
  font-size: 1.01rem;
  background: #FFFDFB;
  box-shadow: 0 1px 8px #CC993314;
}
thead {
  background: #FFE7B7;
}
th, td {
  padding: 15px 12px;
  text-align: left;
  border-bottom: 1px solid #F7E6CA;
  color: #694B1B;
}
tr:last-child td {
  border-bottom: none;
}
th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  color: #BD8B2B;
}

/* --- Misc Styling --- */
li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
li img {
  height: 25px;
  margin-right: 7px;
  flex-shrink: 0;
  box-shadow: none;
  background: none;
  border-radius: 6px;
}

/* --- Helper Classes --- */
.text-section {
  margin-bottom: 18px;
  color: #422E12;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1444;
  background: #F9EDDC;
  border-top: 4px solid #CC9933;
  box-shadow: 0 -3px 24px #CC993319;
  padding: 26px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 19px;
  font-size: 1rem;
  color: #453B24;
  animation: cookie-in 0.5s cubic-bezier(.33,.67,.13,1.24);
}
@keyframes cookie-in {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  border-radius: 20px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 32px;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
  box-shadow: 0 2px 16px #cc993315;
}
.cookie-btn.accept {
  background: #CC9933;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #AC7F22;
}
.cookie-btn.reject {
  background: #E5E7EA;
  color: #915C20;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFDFA4;
}
.cookie-btn.settings {
  background: transparent;
  color: #CC9933;
  border: 2px solid #CC9933;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #FFDFA4;
}

/* --- Cookie Modal Preferences --- */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; bottom: 0; top: 0;
  z-index: 1450;
  background: rgba(20,16,6,0.38);
  display: none;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-in 0.43s cubic-bezier(.37,.62,.21,0.99);
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookie-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #FFFDFB;
  border-radius: 24px;
  padding: 33px 32px 27px 32px;
  box-shadow: 0 8px 32px #CC993320;
  max-width: 98vw;
  min-width: 300px;
  width: 390px;
  animation: cookie-modal-in 0.43s .04s backwards;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: #FFDFA4;
  color: #9C6A17;
  border: none;
  width: 34px;
  height: 34px;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #F3D193;
  color: #6D5114;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  border-radius: 11px;
  background: #FFFAF3;
  padding: 12px 8px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #634C26;
}
.cookie-category input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: #CC9933;
  border-radius: 7px;
  outline: 2px solid #FFDFA4;
}
.cookie-category .always {
  font-size: 0.97rem;
  color: #998764;
  margin-left: 8px;
}

/* --- Responsive: Mobile-first --- */
@media (max-width: 1200px) {
  .container { max-width: 95vw; }
}
@media (max-width: 970px) {
  .container { max-width: 99vw; }
  .content-wrapper, .section { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 800px) {
  .footer > .container { flex-direction: column; gap: 12px; }
}
@media (max-width: 768px) {
  /* Layout shifts to column for all flex containers */
  .content-grid,
  .card-container,
  .card-content,
  .features,
  .text-image-section,
  .footer > .container {
    flex-direction: column;
    gap: 18px !important;
    align-items: stretch !important;
  }
  header > .container {
    flex-direction: row;
    gap: 12px;
    padding-top: 6px;
    padding-bottom: 8px;
  }
  .content-wrapper {
    padding: 20px 8px !important;
    border-radius: 14px;
  }
  .section {
    padding: 26px 6px;
    margin-bottom: 39px;
  }
  .card {
    padding: 17px 10px;
    border-radius: 13px;
  }
  .testimonial-card {
    border-radius: 13px;
    padding: 12px 9px;
  }
  .faq-section {
    padding: 13px 9px;
    border-radius: 10px;
  }
  .hero {
    padding-top: 24px;
    padding-bottom: 43px;
    border-radius: 0 0 22px 22px;
    margin-bottom: 32px;
  }
}
@media (max-width: 730px) {
  header > .container nav, header > .container .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer > .container {
    flex-direction: column !important;
    gap: 20px;
    align-items: flex-start;
  }
  footer img { margin-bottom: 11px; }
}
@media (max-width: 480px) {
  html { font-size: 100%; }
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.21rem; }
  .cookie-modal-content { min-width: 98vw; width: 98vw; max-width: none; padding: 16px 7px 15px 15px; }
}

/* --- Animations, Buttons, Microinteractions --- */
.card, .faq-section, .testimonial-card, .usp-tag, .cta-button, .cookie-btn, .cookie-category, .cookie-modal-content {
  transition: box-shadow 0.19s, transform 0.16s, background 0.16s, color 0.18s;
}
.card:active, .cta-button:active, .cookie-btn:active {
  transform: scale(0.99) translateY(1px);
}

/* --- Accessibility / Selection --- */
:focus {
  outline: 2.5px solid #CC9933;
  outline-offset: 1.5px;
}

/* --- Hide visually but keep accessible --- */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
  border: 0;
}

/* --- Utility --- */
.mt-1 { margin-top: 8px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.pr-2 { padding-right: 13px !important; }

/* --- END --- */