/* CSS RESET & NORMALIZE */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  min-height: 100vh;
  background: #FFF8EE;
  color: #1E1414;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #7B67A9; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #191933; text-decoration: underline; }

/* COLOR PALETTE (retro/vintage twist) */
:root {
  --primary: #191933;
  --secondary: #7B67A9;
  --accent: #E1DBF5;
  --vintage-yellow: #FFD779;
  --vintage-orange: #F3A36B;
  --vintage-caramel: #B57434;
  --vintage-cream: #FFF8EE;
  --vintage-mint: #C5E4D8;
  --white: #fff;
  --black: #262425;
}

/* FONT FACE - fallback safe stack */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  color: #191933;
}
h1 { font-size: 2.6rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 16px; color: #7B67A9; text-transform: uppercase; }
h4, h5, h6 { font-size: 1rem; }
p, li, blockquote, td, th { font-size: 1rem; }

/* LAYOUT CONTAINERS */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 18px;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--vintage-cream);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(31,22,50,0.04);
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

/* Flexbox patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--accent);
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(123,103,169,0.08);
  padding: 26px 20px;
  min-width: 220px;
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
.testimonial-card {
  background: #fff;
  border: 2px solid var(--vintage-yellow);
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(181,116,52,0.07);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HERO SECTION - retro background motif */
.hero {
  background-color: var(--vintage-yellow);
  background-image: repeating-linear-gradient(-45deg, #FFD779, #FFD779 18px, #FFF8EE 18px, #FFF8EE 36px);
  padding: 64px 0 40px 0;
}
.hero .container { align-items: stretch; }
.hero .content-wrapper{
  align-items: flex-start;
  gap: 18px;
  max-width: 800px;
}
.hero h1 {
  font-size: 2.3rem;
  color: var(--primary);
  text-shadow: 2px 2px 0 #FFFFFF70;
  margin-bottom: 10px;
}
.hero p {
  color: var(--black);
  font-size: 1.13rem;
  margin-bottom: 20px;
}

/* CTA BUTTON STYLE */
.cta, .cta-section .cta {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .05em;
  border-radius: 26px;
  padding: 14px 38px;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(123,103,169,.13);
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.2s, box-shadow 0.18s;
  outline: none;
}
.cta:hover, .cta:focus {
  background: var(--primary);
  color: #FFD779;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 4px 18px rgba(123,103,169,.23);
}

/* CTA SECTIONS */
.cta-section {
  background: var(--vintage-mint);
  border-top: 4px dashed var(--vintage-orange);
  border-radius: 0 0 28px 28px;
  margin-bottom: 60px;
  padding: 60px 20px 50px 20px;
  text-align: center;
}
.cta-section h2 {
  color: var(--primary);
  text-shadow: 1px 1px 0 #E1DBF5;
}
.cta-section .cta {
  margin-left: 10px;
}

/* HEADER/NAV BAR - retro stripes */
header {
  background: #fff;
  border-bottom: 4px solid var(--vintage-yellow);
  box-shadow: 0 2px 14px rgba(123,103,169,0.07);
  position: sticky; top: 0; z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 12px 18px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  padding: 6px 11px;
  border-radius: 8px;
  transition: background 0.14s, color 0.16s;
  font-weight: 600;
  background: none;
}
header nav a.cta {
  background: var(--vintage-orange);
  color: #fff;
  padding: 8px 20px;
  margin-left: 8px;
  letter-spacing: .07em;
  box-shadow: 0 1px 5px rgba(243,163,107,0.1);
}
header nav a:hover, header nav a:focus {
  background: var(--vintage-mint);
  color: var(--secondary);
}
header nav a.cta:hover, header nav a.cta:focus {
  background: var(--secondary);
  color: #FFD779;
}
header img { height: 44px; max-width: 160px; }

.mobile-menu-toggle {
  font-size: 2rem;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 13px;
  padding: 4px 16px 4px 14px;
  margin-left: 14px;
  display: none;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(123,103,169,.13);
  transition: background 0.2s, color 0.17s, transform 0.14s;
  z-index: 230;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--vintage-yellow);
  outline: 2px dotted var(--secondary);
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #FFF8EE;
  z-index: 320;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.57,0.13,0.34,1.31);
  box-shadow: -5px 0 28px rgba(191,154,72,0.15);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--primary);
  align-self: flex-end;
  margin: 21px 24px 12px 0;
  cursor: pointer;
  transition: color 0.16s, transform 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
  transform: scale(1.13);
  outline: none;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 12px 0 0 36px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.20rem;
  padding: 14px 8px 10px 0;
  border-radius: 9px;
  transition: background 0.14s, color 0.12s;
  font-weight: 700;
  min-width: 160px;
  background: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--vintage-orange);
  color: #fff;
}
.mobile-nav a.cta {
  background: var(--secondary);
  color: #fff;
}

/* MAIN CONTENT */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
ul, ol {
  margin-left: 32px;
  margin-bottom: 18px;
  list-style-position: inside;
}
ul li, ol li {
  margin-bottom: 12px;
  background: none;
  padding-left: 0;
}
ul li strong, ol li strong {
  font-weight: 700; color: var(--secondary); font-family: 'Montserrat', Arial, sans-serif; }
ol li {
  list-style-type: decimal-leading-zero;
  padding-left: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
}
table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(123,103,169,0.06);
  overflow: hidden;
}
th, td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--vintage-mint);
}
th {
  background: var(--vintage-yellow);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
}

/* TESTIMONIALS */
.testimonial-card {
  background: #fff;
  border: 2.4px dashed var(--vintage-caramel);
  color: var(--primary);
  box-shadow: 0 2px 18px rgba(181,116,52,0.11);
  padding: 20px 24px;
  border-radius: 18px;
  margin-bottom: 20px;
}
.testimonial-card blockquote {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.testimonial-card span {
  color: var(--secondary);
  font-size: .97rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .03em;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 36px 0 18px 0;
  border-top: 5px double var(--vintage-caramel);
  box-shadow: 0 -4px 24px rgba(123,103,169,0.07);
  margin-top: 42px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer img { height: 42px; margin-bottom: 9px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 9px; }
footer nav a {
  color: var(--vintage-yellow);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .96rem;
  font-weight: 600;
  transition: color 0.15s;
  background: none;
}
footer nav a:hover, footer nav a:focus {
  color: var(--secondary);
}
footer p {
  color: #E1DBF5;
  font-size: 0.98rem;
  margin-bottom: 4px;
  text-align: center;
}

/* RETRO BADGES, PATTERNS, ICONS IN LISTS */
ul > li > img, ol > li > img {
  vertical-align: middle;
  width: 25px;
  margin-right: 11px;
}

/* FORM & CONTACT ICONS */
.contact-list img { width: 24px; margin-right: 10px; vertical-align: middle; }

/* THANK YOU PAGE */
.thank-you-section {
  background: var(--vintage-mint);
  border-radius: 28px;
  box-shadow: 0 2px 18px rgba(197,228,216,0.08);
  margin: 50px 0;
  padding: 48px 20px;
  text-align: center;
}
.thank-you-section h1 {
  color: var(--primary);
  margin-bottom: 16px;
}
.thank-you-section p {
  font-size: 1.17rem;
  color: var(--vintage-caramel);
  margin-bottom: 12px;
}

/* COOKIE CONSENT BANNER (RETRO) */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  background: var(--vintage-yellow);
  color: var(--primary);
  border-top: 3px solid var(--vintage-orange);
  box-shadow: 0 -4px 22px rgba(243,163,107,0.11);
  padding: 20px 18px 18px 18px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  transition: transform 0.3s;
  gap: 14px;
}
.cookie-banner.hidden {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}
.cookie-banner button {
  background: var(--primary);
  color: #FFD779;
  border-radius: 24px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 22px;
  margin: 0 3px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.16s, color 0.13s, transform 0.16s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--vintage-caramel);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
}

/* COOKIE MODAL (RETRO-PATTERNED) */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(25,25,51,.68);
  transition: opacity .2s;
  pointer-events: none;
  opacity: 0;
}
.cookie-modal.active {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal .modal-content {
  background: var(--vintage-cream);
  border: 4px solid var(--vintage-mint);
  border-radius: 26px;
  box-shadow: 0 12px 72px rgba(123,103,169,0.21);
  padding: 36px 28px;
  min-width: 320px;
  max-width: 98vw;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  animation: modalUp 0.35s cubic-bezier(.62,-0.03,.54,1.13);
}
@keyframes modalUp {
  from { transform: translateY(72px) scale(.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--secondary);
  font-size: 1.35rem;
  margin-bottom: 5px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.02rem;
  color: var(--primary);
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 18px; height: 18px;
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 15px;
  margin-top: 16px;
}
.cookie-modal .close-modal-btn {
  margin-left: auto;
  background: none;
  color: var(--primary);
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
  align-self: flex-end;
}
.cookie-modal .close-modal-btn:hover {
  color: var(--secondary);
}

/* FORM FIELDS & LINK BUTTONS */
input, textarea {
  border: 1.3px solid var(--vintage-orange);
  background: var(--accent);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 14px;
  border-radius: 9px;
  margin-top: 4px;
  outline: none;
}
input:focus, textarea:focus {
  border-color: var(--secondary);
}

/* Animations for micro-interactions */
a, button, .cta, .cookie-banner button, .cookie-modal button {
  transition: background .13s, color .13s, transform .19s, box-shadow .13s;
}
.card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 36px rgba(181,116,52,0.13);
  transform: translateY(-3px) scale(1.01);
}

/* VISUAL VINTAGE ACCENTS */
h1, h2, h3 { text-transform: none; }
h2:before, h3:before {
  content: '';
  display: inline-block;
  width: 18px; height: 3px;
  background: var(--vintage-orange);
  border-radius: 2px;
  margin-right: 11px;
  vertical-align: middle;
}
.cta-section h2:before { display: none !important; }

/* RESPONSIVE DESIGN (MOBILE-FIRST) */
@media (max-width: 1024px) {
  h1 { font-size: 2rem; }
  .hero { padding: 38px 0 28px 0; }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  .container { padding: 0 10px; }
  .section, section { padding: 22px 6px; }
  .cta-section { padding: 32px 5px 28px 5px; }
  .thank-you-section { padding: 24px 5px; }
  .card-container, .content-grid, .feature-list { gap: 14px; }
  .card, .testimonial-card { padding: 15px 10px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
  .mobile-menu-toggle { display: block; }
  header nav { display: none !important; }
  .content-wrapper { gap: 16px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 550px) {
  h1 { font-size: 1.39rem; margin-bottom: 13px; }
  h2 { font-size: 1.13rem; margin-bottom: 14px; }
  p, li, blockquote { font-size: .98rem; }
  .cookie-modal .modal-content { min-width: 98vw; padding: 16px 5vw; }
}

/* HIGH CONTRAST FOR TESTIMONIALS */
.testimonial-card, .testimonial-card * {
  background: #fff !important;
  color: #191933 !important;
}

/* SCROLLBAR STYLING (retro, optional) */
::-webkit-scrollbar { width: 10px; background: #FFF8EE; }
::-webkit-scrollbar-thumb { background: var(--vintage-yellow); border-radius: 8px; }

/* Accessibility */
:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }

/* Hide visually */
[hidden] { display: none !important; }
