/* 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;
}
html { box-sizing: border-box; }
*,*:before,*:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #FFEFCE;
  color: #213250;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  letter-spacing: 0.03em;
}

/* VINTAGE RETRO FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #213250;
  text-shadow: 1px 1px 0 #f8e5bc, 2px 2px 0 #f9c97b;
}
h1 { font-size: 2.5rem; margin-bottom: 32px; letter-spacing: 0.05em; }
h2 { font-size: 1.7rem; margin-bottom: 24px; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
p, li, ul { font-family: 'Roboto', Arial, sans-serif; color: #213250; font-size: 1rem; }

/* RETRO/VINTAGE COLOR SCHEME */
:root {
  --primary: #213250;
  --secondary: #18B7A7;
  --accent: #FFEFCE;
  --vintage-orange: #FBB13C;
  --vintage-red: #E74C3C;
  --vintage-indigo: #516091;
  --vintage-green: #A1C653;
  --vintage-pumpkin: #FF944E;
  --shadow: 0 4px 20px 0 rgba(33,49,75,0.08);
}

/* CORE LAYOUT */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  background: #fff8e4;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(33,49,75,0.06);
  border: 2px dashed var(--vintage-indigo);
  position: relative;
}

/* HEADER & MAIN NAVIGATION */
header {
  background: var(--accent);
  box-shadow: 0 2px 8px 0 rgba(33,50,80,0.06);
  padding: 0 0 0 0;
  border-bottom: 4px solid var(--vintage-orange);
  position: relative;
  z-index: 100;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 10px 20px;
  font-size: 1rem;
}
.main-nav a {
  text-decoration: none;
  color: #213250;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: transparent;
  padding: 8px 18px;
  border-radius: 22px;
  transition: background .23s, color .23s;
  margin-bottom: 4px;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--vintage-orange);
  color: #fff;
  outline: none;
}
.main-nav img {
  height: 44px;
  width: auto;
  margin-right: 12px;
}
.cta.primary, .cta {
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  padding: 12px 32px;
  margin-left: 8px;
  transition: background 0.18s, color 0.18s, box-shadow .15s;
  box-shadow: 0 6px 28px 0 rgba(33,49,75,0.13);
  font-size: 1rem;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cta.primary:hover, .cta.primary:focus, .cta:hover, .cta:focus {
  background: var(--vintage-orange);
  color: var(--primary);
  box-shadow: 0 2px 10px 0 rgba(251,177,60,0.25),0 7px 24px 2px rgba(33,49,75,0.11);
  outline: none;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 18px;
  background: var(--vintage-pumpkin);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 2030;
  box-shadow: 0 2px 10px rgba(33,49,75,0.13); 
}
.mobile-menu-toggle:focus { outline: 4px solid var(--secondary); }

@media(max-width:1100px) {
  .main-nav {
    gap: 10px;
    font-size: .97rem;
  }
}
@media(max-width:902px) {
  .main-nav img { height: 38px; }
  .main-nav a { padding: 7px 12px; font-size: 0.94rem; }
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #FFEFCE;
  box-shadow: 0 0 16px 2px rgba(33,49,75,.15);
  z-index: 2050;
  transform: translateX(-120vw);
  transition: transform 0.35s cubic-bezier(.45,.12,.38,1.25);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: var(--vintage-red);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 45px; height: 45px;
  margin: 22px 0 0 22px;
  cursor: pointer;
  align-self: flex-start;
  transition: background .18s;
  z-index: 2080;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--primary);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 40px 25px 25px 35px;
  gap: 9px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  text-decoration: none;
  padding: 12px 13px;
  border-radius: 14px;
  background: transparent;
  margin-bottom: 0;
  transition: background .2s, color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--vintage-orange);
  color: #fff;
}

@media (max-width: 1020px) {
  .main-nav { flex-wrap: wrap; }
}
@media (max-width: 850px){
  .main-nav { flex-direction: column; align-items: flex-start; padding: 10px 14px; gap: 2px; }
  .main-nav a, .cta { margin-left: 0; }
}
@media(max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ============ HERO SECTIONS ============= */
.hero {
  background: linear-gradient(90deg,#FFEFCE 0%,#fff8e4 100%);
  border-radius: 0 0 28px 28px;
  border-bottom: 6px dotted var(--vintage-orange);
  margin-bottom: 42px;
  padding-top: 28px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

/* =========== CARD & FEATURE LAYOUTS =========== */
.feature-grid, .feature-list, .strategy-list, .service-list, .service-overview, .service-benefits, .use-cases, .service-highlights, .consulting-services, .brand-values ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.feature {
  background: #fff;
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 355px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 30px 22px 24px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 2px solid var(--vintage-green);
  position: relative;
  transition: box-shadow .18s, border .18s, transform .18s;
}
.feature img {
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
}
.feature:hover, .feature:focus {
  border-color: var(--vintage-pumpkin);
  box-shadow: 0 12px 34px 0 rgba(255,148,78,0.07),0 0 0 2px var(--accent);
  transform: translateY(-4px) scale(1.025);
  outline: none;
}

.service-list, .service-overview, .consulting-services {
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}
.service {
  background: #fbecd4;
  border-left: 7px solid var(--vintage-orange);
  border-radius: 13px;
  padding: 24px 26px 24px 26px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(33,49,75,0.07);
  flex: 1 1 320px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 7px;
  position: relative;
}
.service .price { float: right; color: var(--vintage-red); font-weight: 900; letter-spacing: 0.05em; font-size: 1.1em; }

.card-container, .content-grid {
  display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border: 2px solid var(--vintage-indigo);
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: relative;
  transition: box-shadow .16s, border .16s;
}
.card:hover, .card:focus { border-color: var(--vintage-pumpkin); box-shadow: 0 10px 30px 0 rgba(33,49,75,0.11); }

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .feature-grid, .feature-list, .strategy-list, .service-list, .brand-values ul, .service-benefits, .use-cases, .service-overview, .consulting-services, .service-highlights { flex-direction: column; gap: 15px; }
  .card-container, .content-grid { flex-direction: column; gap: 16px; }
  .feature, .service, .card { min-width: 0; width: 100%; max-width: 100%; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ========== TESTIMONIALS STYLES ========== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 28px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 13px 0 rgba(33,49,75,0.1);
  border: 2.5px solid var(--vintage-green);
  margin-bottom: 20px;
  margin-top: 14px;
  min-width: 220px;
  max-width: 560px;
  color: #213250;
  font-size: 1.05em;
  position: relative;
}
.testimonial-author {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--vintage-red);
  font-size: 1em;
}
.stars {
  display: inline-block;
  color: var(--vintage-orange);
  font-size: 1.3em;
  margin-top: -10px;
  letter-spacing: 2px;
}
@media (max-width: 800px) {
  .testimonial-card {
    padding: 16px 10px;
    max-width: 100%;
  }
}

/* ============= OTHER CONTENT STYLES =============== */
.brand-values ul, .reason-list, .support-reasons, .faq ul, .response-time-guarantee, .planner-guides, .habit-builder-tips, .productivity-tips, .energy-saving-tips, .user-stories, .use-cases, .service-benefits, .service-highlights {
  margin-bottom: 24px;
}
.reason-list, .support-reasons {
  list-style: disc inside;
  font-size: 1.08em;
  padding-left: 16px;
}
.faq ul, .consulting-services ul, .service-highlights ul, .service-benefits ul, .use-cases ul, .strategy-list ul {
  list-style: circle inside;
  font-size: 1.06em;
  padding-left: 14px;
}
.response-time-guarantee {
  background: #f8e5bc;
  border: 1.5px dashed var(--vintage-orange);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 12px;
}

.map-location, .contact-details {
  flex: 1 1 320px;
  background: #fff8e4;
  border-radius: 18px;
  padding: 20px 25px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px 0 rgba(251,177,60,0.08);
  border-left: 5px solid var(--vintage-green);
}
.content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 36px;
  flex-wrap: wrap;
}
@media (max-width: 992px) {
  .content-wrapper { flex-direction: column; gap: 18px; }
}

/* LINKS & BUTTONS */
a {
  color: var(--secondary);
  text-decoration: underline;
  transition: color .16s;
}
a:hover, a:focus {
  color: var(--vintage-orange);
  outline: none;
}
button { font-family: inherit; }

/* LISTS */
ul, ol {
  margin-left: 18px;
  margin-bottom: 14px;
}
li { margin-bottom: 8px; }

/* FORMS (if present in future) */
input, textarea, select {
  font-family: inherit;
  padding: 10px 16px;
  border: 2px solid var(--secondary);
  border-radius: 8px;
  margin-bottom: 14px;
  width: 100%;
  max-width: 500px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--vintage-orange);
  outline: none;
}

/* ============= FOOTER =============== */
footer {
  background: var(--primary);
  color: #FFF;
  padding: 32px 0 24px 0;
  box-shadow: inset 0 18px 0 0 #ffefce38;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 26px;
}
.footer-nav a {
  color: #fff;
  text-decoration: underline;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  background: transparent;
  font-size: 0.99rem;
  opacity: 0.82;
  transition: opacity .16s;
}
.footer-nav a:hover, .footer-nav a:focus { opacity: 1; }
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.96rem;
}

/* SPACING RULES */
.section, .hero {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Ensure minimum 20px between cards/sections */
.section + .section, .testimonial-card + .testimonial-card, .card + .card, .feature + .feature, .service + .service {
  margin-top: 20px;
}

/* Rounded corners & shadow on cards */
.card, .feature, .service, .testimonial-card {
  border-radius: 16px;
  box-shadow: 0 4px 20px 0 rgba(33,49,75,0.08);
}

/* PATTERNS & VISUAL NOSTALGIA */
.section::before {
  content: '';
  position: absolute;
  top: -26px;
  left: 10px;
  width: 100px;
  height: 28px;
  background: repeating-linear-gradient(135deg, #fbc563, #fbc563 10px, #FFEFCE 10px, #FFEFCE 18px);
  border-radius: 13px;
  opacity: 0.17;
  z-index: 1;
}
.section::after {
  content: '';
  position: absolute;
  right: 18px;
  bottom: -18px;
  width: 70px;
  height: 18px;
  background: repeating-linear-gradient(-45deg, #516091, #516091 10px, #FFEFCE 10px, #FFEFCE 18px);
  border-radius: 9px;
  opacity: 0.08;
  z-index: 1;
}

/* ========== COOKIE CONSENT BANNER =========== */
.cookie-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: #213250;
  color: #fff;
  font-size: 1.06em;
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 22px 22px 22px 32px;
  z-index: 9999;
  border-radius: 18px;
  box-shadow: 0 2px 28px 0 rgba(33,49,75,0.18);
  transition: transform 0.32s;
  max-width: 540px;
  margin: 0 auto;
  gap: 12px;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(80px);
  pointer-events: none;
}
.cookie-banner-message {
  flex: 1;
  margin-right: 16px;
  font-size: 1.01em;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 26px;
  border-radius: 13px;
  margin-left: 0;
  background: var(--vintage-orange);
  color: #213250;
  font-weight: 700;
  font-size: 0.99em;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
  box-shadow: 0 2px 9px 0 rgba(33,49,75,0.04);
  outline: none;
}
.cookie-btn.secondary {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--vintage-indigo);
}
.cookie-btn:focus, .cookie-btn:hover {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 0 0 3px var(--vintage-green);
}
.cookie-btn.settings {
  background: var(--vintage-green);
  color: #fff;
  border: none;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; padding: 16px 8px; justify-content: flex-start; gap: 10px; }
  .cookie-banner-message { margin-right: 0; }
  .cookie-banner-buttons { gap: 9px; }
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(33,49,75,0.38);
  z-index: 10014;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open { display: flex; animation: fadeIn .22s; }
.cookie-modal-content {
  background: #FFF8E4;
  border-radius: 21px;
  padding: 38px 24px 26px 26px;
  min-width: 310px;
  max-width: 96vw;
  width: 425px;
  box-shadow: 0 4px 32px 0 rgba(33,49,75,0.19);
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  position: relative;
}
.cookie-modal-content h3 { color: var(--primary); margin-bottom: 16px; font-size: 1.23rem; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--secondary);
  width: 22px; height: 22px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.02em;
}
.cookie-category.essential label { font-weight: 700; color: #9c8a53; }
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: var(--vintage-red);
  color: #fff;
  border: none;
  border-radius: 16px;
  width: 35px; height: 35px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: var(--primary); outline: none; }
.cookie-modal-actions {
  margin-top: 26px;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn { margin-top: 0; }
@media(max-width: 520px) {
  .cookie-modal-content { padding: 27px 6px 14px 10px; width: 96vw; min-width: 0; }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}

/* ============= RESPONSIVE ADJUSTMENTS ============= */
@media (max-width: 1180px) {
  .container { max-width: 95vw; }
}
@media (max-width: 900px) {
  .hero .container { padding-top: 10px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; margin-bottom: 20px; }
  h2 { font-size: 1.2rem; margin-bottom: 15px; }
  h3 { font-size: 1.09rem; }
  .content-wrapper, .container { padding: 0 7px; }
  .section, .hero { padding: 26px 8px; margin-bottom: 36px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 480px) {
  .footer-nav { gap: 10px; font-size: 0.93rem; }
}

/* ============= ANIMATIONS ============= */
.cta, .cta.primary, .feature, .service, .card, .testimonial-card, .cookie-btn, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow .15s, border .15s, background .15s, color .15s, transform .18s;
}
.cta:active, .cta.primary:active {
  transform: scale(0.97);
}

/* === Z-INDEX LAYERS === */
header { z-index: 2020; }
.mobile-menu { z-index: 2050; }
.cookie-banner { z-index: 9999; }

/**** PRINTAWARE STICKY COOKIE BANNER EXCEPTION ****/
@media print {
  .cookie-banner, .cookie-modal { display: none !important; }
}

/* === UTILITIES === */
.visually-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* CUSTOM SCROLLBAR FOR RETRO VIBES */
::-webkit-scrollbar { width: 8px; background: #fff8e4; }
::-webkit-scrollbar-thumb {
  background: var(--vintage-indido, #516091);
  border-radius: 5px;
}
section {
  padding: 20px 0;
}
/* =========== END OF CSS =========== */
