/* 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, main, section, article, aside, nav, details, summary, figure, figcaption, footer, header {
  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; min-height: 100vh; }
ol, ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
button, input, select, textarea { font-family: inherit; font-size: inherit; outline: none; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* GOOGLE FONTS FALLBACKS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

:root {
  --color-primary: #25363B;
  --color-secondary: #F7B32B;
  --color-accent: #FFFFFF;
  --color-bg: #FFF7E1;
  --color-brown: #A8885A;
  --color-cream: #FFFBE8;
  --color-vintage-red: #C16E70;
  --color-vintage-green: #82945C;
  --color-vintage-blue: #288CA9;
  --color-shadow: rgba(60,41,21,0.08);
  --font-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-primary);
  background: var(--color-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

header {
  background: var(--color-cream);
  border-bottom: 5px solid var(--color-secondary);
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}
header img[alt="Ripple Hike"] {
  height: 48px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.main-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 28px;
  transition: background 0.2s, color 0.2s;
  color: var(--color-primary);
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cta-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--color-secondary);
  color: var(--color-primary);
  padding: 12px 32px;
  font-size: 18px;
  border-radius: 32px;
  border: 2px solid var(--color-primary);
  margin-left: 16px;
  transition: box-shadow 0.18s, background 0.2s, color 0.2s, border 0.2s;
  box-shadow: 0 4px 12px var(--color-shadow);
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
  border-color: var(--color-secondary);
  box-shadow: 0 2px 8px var(--color-brown);
}

/* ------ MOBILE MENU ------ */
.mobile-menu-toggle {
  display: none;
  font-size: 28px;
  color: var(--color-primary);
  background: var(--color-secondary);
  border-radius: 50%;
  border: none;
  width: 48px;
  height: 48px;
  justify-content: center;
  align-items: center;
  transition: background 0.25s;
  z-index: 120;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-cream);
  box-shadow: 0 0 32px var(--color-shadow);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 28px;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.9, .1, .1, .99);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--color-vintage-red);
  color: #fff;
  font-size: 36px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  margin-top: 28px;
  margin-bottom: 28px;
  align-self: flex-end;
  border: none;
  cursor: pointer;
  z-index: 121;
  transition: background 0.18s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--color-vintage-green);
  color: var(--color-primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-cream);
  border-radius: 24px;
  padding: 14px 20px;
  border: 2px solid transparent;
  transition: background 0.18s, border 0.18s, color 0.15s;
  width: 100%;
  display: block;
  margin-bottom: 0;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-secondary);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

/* HERO SECTION */
.hero {
  background: var(--color-vintage-blue);
  color: #fff;
  position: relative;
  border-bottom: 8px dotted var(--color-secondary);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 340px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero .content-wrapper {
  text-align: center;
  max-width: 620px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 0 var(--color-brown), 0 2px 8px var(--color-shadow);
}
.hero p {
  font-size: 19px;
  font-family: var(--font-body);
  color: #fff;
  margin-bottom: 32px;
  text-shadow: 0 2px 6px var(--color-shadow);
}

/* SECTION GENERICS */
.section,
.features, .services, .testimonials, .about, .legal, .call-to-action, .contact-info {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}
.features .content-wrapper, .services .content-wrapper, .testimonials .content-wrapper, .about .content-wrapper, .legal .content-wrapper, .call-to-action .content-wrapper, .contact-info .content-wrapper {
  align-items: flex-start;
}

.features h2, .services h2, .testimonials h2, .call-to-action h2, .about h2, .legal h1, .contact-info h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--color-vintage-red);
  margin-bottom: 20px;
  letter-spacing: -1px;
  font-weight: 900;
  text-shadow: 1px 1px 0 var(--color-secondary);
}
.features ul, .services ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features ul li, .services ul li {
  font-size: 18px;
  font-family: var(--font-body);
  background: var(--color-cream);
  color: var(--color-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  box-shadow: 0 2px 8px var(--color-shadow);
  border-left: 6px solid var(--color-vintage-green);
  margin-bottom: 0;
}
.features ul li img, .services ul li img {
  width: 36px;
  height: 36px;
  background: var(--color-bg);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-brown);
  padding: 6px;
}

.services h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--color-vintage-blue);
}
.services p, .features p, .about p {
  font-size: 17px;
  color: var(--color-primary);
}

/* TESTIMONIALS */
.testimonials {
}
.testimonials h2 {
  color: var(--color-vintage-green);
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 3px 16px var(--color-shadow);
  margin: 0 0 24px 0;
  position: relative;
  border: 3px dashed var(--color-secondary);
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.testimonial-card:last-child { margin-bottom: 0; }
.testimonial-card p {
  font-size: 18px;
  color: var(--color-primary);
  font-family: var(--font-body);
  line-height: 1.5;
  margin-bottom: 8px;
}
.testimonial-card div {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--color-vintage-red);
}
.testimonial-card span {
  font-size: 15px;
  font-family: var(--font-display);
  color: var(--color-vintage-blue);
}
.testimonial-card span:last-child {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: 17px;
  margin-left: 10px;
}

/* ABOUT */
.about h1 {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--color-vintage-blue);
  font-weight: 900;
  margin-bottom: 20px;
}
.about .text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 18px;
}
.about h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-vintage-green);
  font-weight: 700;
  margin-top: 16px;
}

.legal h1, .legal h2 {
  font-family: var(--font-display);
}
.legal .text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 17px;
}

/* CONTACT INFO */
.contact-info {
  background: var(--color-cream);
  border-left: 10px double var(--color-secondary);
  border-radius: 24px 0 0 24px;
}
.contact-info .text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info .text-section p {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.contact-info .text-section img {
  width: 24px; height: 24px;
  background: var(--color-bg);
  border-radius: 50%;
}

/* CALL TO ACTION */
.call-to-action {
  background: var(--color-secondary);
  border-radius: 32px;
  border: 6px dotted var(--color-vintage-red);
  text-align: center;
  color: var(--color-primary);
  margin-top: 38px;
}
.call-to-action h2 {
  color: var(--color-vintage-blue);
  font-size: 28px;
  text-shadow: 1px 1px 0 var(--color-cream);
  margin-bottom: 18px;
}
.call-to-action p {
  font-size: 18px;
  margin-bottom: 24px;
}
.call-to-action .cta-btn {
  margin-top: 18px;
}

/* FOOTER */
footer {
  background: var(--color-primary);
  color: var(--color-accent);
  padding: 44px 0 28px 0;
  letter-spacing: 0.01em;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
}
.footer-brand img {
  height: 36px;
}
.footer-contact,
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 16px;
}
.footer-contact img {
  width: 20px;
  margin-right: 7px;
}
.footer-contact p{
  color: white;
}
.footer-links a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 15px;
  padding: 3px 0;
  transition: color 0.15s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}
.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
}
.footer-social a {
  display: inline-block;
}
.footer-social img {
  width: 32px;
  height: 32px;
  filter: grayscale(35%) brightness(114%);
  transition: filter 0.2s;
}
.footer-social a:hover img, .footer-social a:focus img {
  filter: grayscale(0%) brightness(150%) drop-shadow(0px 2px 5px var(--color-secondary));
}

/* LEGAL TEXTS */
.legal {
  background: var(--color-bg);
  border-radius: 18px;
  border-left: 8px solid var(--color-vintage-red);
}

.text-section ul {
  margin-top: 10px;
  margin-left: 24px;
}
.text-section ul li {
  list-style: disc;
  margin-bottom: 6px;
  font-size: 16px;
}

/* CARD GENERICS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px var(--color-shadow);
  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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

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

/* MICROINTERACTIONS & EFFECTS */
button, .cta-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s;
}
.card, .testimonial-card{
  transition: box-shadow 0.2s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 30px var(--color-vintage-blue),0 3px 16px var(--color-shadow);
  transform: translateY(-2px) scale(1.012);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .footer-social {
    margin-top: 18px;
  }
  .footer-brand { font-size: 17px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .main-nav { gap: 14px; }
  .content-wrapper { gap: 20px; }
  .features .content-wrapper, .services .content-wrapper, .testimonials .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
  }
  .main-nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
    margin-right: 8px;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  footer .container {
    flex-direction: column;
    gap: 25px;
    align-items: flex-start;
  }
  .hero .container {
    min-height: 210px;
    padding-top: 30px;
    padding-bottom: 35px;
  }
  .hero h1 { font-size: 24px; }
  .features h2, .testimonials h2, .services h2, .call-to-action h2, .about h2, .legal h1, .contact-info h2 {
    font-size: 20px;
  }
  .features ul li, .services ul li {
    font-size: 16px;
    padding: 10px 10px;
    gap: 9px;
  }
  .testimonial-card {
    padding: 14px;
    gap: 12px;
    font-size: 16px;
  }
  .section, .features, .services, .testimonials, .about, .legal, .call-to-action, .contact-info {
    margin-bottom: 36px;
    padding: 18px 8px;
  }
  .content-wrapper {
    padding: 0 2px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .footer-brand { font-size: 15px; }
  .footer-contact, .footer-links { font-size: 13px; }
}
@media (max-width: 550px) {
  .cta-btn {
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 22px;
  }
  header .container {
    padding: 0 8px;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: var(--color-brown);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  box-shadow: 0 -6px 30px var(--color-shadow);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-btn {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin: 0 10px 0 0;
  border-radius: 20px;
  border: 2px solid transparent;
  padding: 9px 23px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border 0.18s;
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .cookie-btn.accept {
  background: var(--color-vintage-green);
  color: #fff;
}
.cookie-banner .cookie-btn.reject {
  background: var(--color-vintage-red);
  color: #fff;
}
.cookie-banner .cookie-btn.settings {
  background: var(--color-primary);
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  border: 2px solid var(--color-accent);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px 22px 10px;
    gap: 10px;
    font-size: 14px;
  }
  .cookie-banner .cookie-btn {
    font-size: 14px;
    padding: 7px 15px;
    margin-bottom: 5px;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  z-index: 10001;
  background: rgba(37,54,59,0.75);
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.cookie-modal.visible {
  display: flex;
}
.cookie-modal .cookie-modal-content {
  background: #fffbe8;
  border-radius: 22px;
  box-shadow: 0 8px 36px var(--color-shadow);
  width: 99vw;
  max-width: 390px;
  padding: 34px 32px 24px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 5px solid var(--color-vintage-green);
  font-family: var(--font-body);
  position: relative;
  animation: popup-fade 0.36s ease;
}
@keyframes popup-fade {
  0% { opacity: 0; transform: scale(0.88); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal .close-cookie-modal {
  padding: 0;
  position: absolute;
  right: 18px;
  top: 18px;
  background: var(--color-vintage-red);
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.7em;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  background: var(--color-primary);
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-vintage-blue);
}
.cookie-modal label {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-bottom: 8px;
  cursor: pointer;
  color: var(--color-primary);
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-vintage-green);
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.cookie-modal input[disabled] {
  accent-color: var(--color-vintage-blue);
}
.cookie-modal .cookie-legend {
  font-size: 13px;
  color: var(--color-vintage-blue);
  margin-bottom: 12px;
  font-style: italic;
}
.cookie-modal .cookie-btn {
  margin-right: 12px;
  margin-bottom: 0;
}

/* SMALL DECORATIVE VINTAGE PATTERNS/ELEMENTS */
.hero, .features, .services, .about, .call-to-action {
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  left: 16px; bottom: 14px;
  width: 64px; height: 64px;
  background-image: repeating-linear-gradient(-45deg, var(--color-secondary), var(--color-secondary) 7px, transparent 7px, transparent 14px);
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}
.section::after, .features::after, .about::after {
  content: "";
  position: absolute;
  right: 16px; top: 14px;
  width: 38px; height: 38px;
  background-image: radial-gradient(var(--color-brown) 4px, transparent 6px);
  background-size: 12px 12px;
  opacity: 0.11;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}

/* TYPOGRAPHY SCALE */
h1 { font-family: var(--font-display); font-size: 40px; font-weight: 900; color: var(--color-primary); }
h2 { font-family: var(--font-display); font-size: 28px; font-weight: 900; color: var(--color-vintage-red); }
h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--color-vintage-blue); }
h4, h5, h6 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--color-vintage-blue); }
p, li, label, span, small { font-family: var(--font-body); font-size: 16px; color: var(--color-primary); }
strong { font-weight: 700; color: var(--color-vintage-red); }

/* ACCESSIBILITY: FOCUS VISIBLE OUTLINE */
a:focus, button:focus, .cta-btn:focus {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Miscellaneous custom spacings to ensure no overlap */
.features ul, .services ul {
  margin-bottom: 20px;
}
.section + .section, .features + .features, .services + .services, .testimonials + .testimonials { margin-top: 30px; }

/* Prevent card overlapping */
.card, .testimonial-card {
  margin-bottom: 22px;
}
.card:last-child, .testimonial-card:last-child {
  margin-bottom: 0;
}

/* Hide cookie modal scroll */
body.cookie-modal-open {
  overflow: hidden;
}

/* --- END --- */