/* =============================================================
   RESET & BASELINE 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;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
  display:block;
}
body {
  line-height:1; min-height: 100vh; background:#F1EDE7;
}
ol,ul{list-style:none;}
a{text-decoration:none;color:inherit;}
img{max-width:100%;height:auto;display:block;}
* { box-sizing:border-box; }

/* =============================================================
   VINTAGE RETRO THEME COLORS & FONTS (with brand integration)
   ============================================================= */
:root {
  --color-primary: #28638A;     /* brand blue */
  --color-accent: #F3F6FB;     /* brand accent */
  --color-secondary: #21A179;  /* brand green */
  --color-beige-bg: #FDF6EE;   /* soft vintage background */
  --color-cream: #F5E9D2;      /* retro cream */
  --color-brown: #AA7A53;      /* warm retro brown */
  --color-gold: #E9B44C;       /* vintage gold */
  --color-dark: #22222A;       /* almost black for text */
  --color-orange: #EF8354;    /* accent retro orange */
  --color-muted: #D3C8BC;      /* muted outline */

  --shadow-soft: 0 2px 16px 0 rgba(61,43,26,0.07);
  --shadow-vintage: 2px 4px 0 rgba(170,122,83,.08);

  --ff-display: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  --ff-retro: 'Montserrat', 'Open Sans', 'Arial', sans-serif;
  --ff-body: 'Open Sans', 'Arial', sans-serif;
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* =============================================================
   TYPOGRAPHY
   ============================================================= */
body {
  font-family: var(--ff-body);
  font-size: 16px;
  color: var(--color-dark);
  background: var(--color-beige-bg);
}
h1, .h1 {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  color: var(--color-primary);
  letter-spacing: 1px;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 1px 2px 0 var(--color-gold), 0 4px 10px rgba(61,43,26,.05);
}
h2, .h2 {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--color-secondary);
  font-weight:700;
  margin-bottom: 10px;
  text-shadow: 1px 2px 0 var(--color-muted), 0 2px 8px rgba(61,43,26,.06);
}
h3, .h3 {
  font-family: var(--ff-display);
  font-size: 1.24rem;
  color: var(--color-brown);
  font-weight:700;
  margin-bottom: 8px;
}
h4, .h4 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  color: var(--color-orange);
  font-weight:600;
}
p, li, ul, ol {
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--color-dark);
  line-height: 1.7;
  margin-bottom: 10px;
}
strong { font-weight:700; }

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

/* =============================================================
   GENERAL LAYOUT & CONTAINER CLASSES
   ============================================================= */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
  justify-content: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-cream);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

/* =============================================================
   RETRO BUTTONS & CTAS
   ============================================================= */
.primary-cta, .primary-cta:visited {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: var(--color-gold);
  color: var(--color-primary);
  font-family: var(--ff-display);
  font-size: 1.08rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 30px;
  letter-spacing: 1px;
  border: 2px solid var(--color-brown);
  box-shadow: 2px 6px 0 var(--color-muted), 0 2px 7px rgba(170,122,83,.09);
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, border 0.18s;
  margin-top: 12px;
  cursor:pointer;
  outline: none;
}
.primary-cta:hover, .primary-cta:focus {
  background: var(--color-orange);
  color: #fff;
  border-color: var(--color-brown);
  box-shadow: 3px 8px 0 var(--color-brown), 0 8px 25px rgba(46,40,33,0.15);
}

/* Secondary button collection for banners, and cookie modals */
.button, .cookie-banner button {
  font-family: var(--ff-retro);
  background: var(--color-cream);
  color: var(--color-brown);
  font-weight: 600;
  border: 2px solid var(--color-muted);
  border-radius: 18px;
  padding: 10px 22px;
  transition: all .18s cubic-bezier(.8,-0.11,.34,1.18);
  cursor:pointer;
  margin:0 6px 0 0;
  box-shadow: 1px 2px 0 var(--color-gold);
}
.button:hover, .cookie-banner button:hover {
  background: var(--color-brown);
  color: #fff;
  border-color: var(--color-gold);
}

/* =============================================================
   HEADER & NAVIGATION (INCLUDING RETRO PATTERN/ACCENTS)
   ============================================================= */
header {
  background: var(--color-beige-bg) url('data:image/svg+xml;utf8,<svg width="120" height="30" viewBox="0 0 100 20" xmlns="http://www.w3.org/2000/svg"><g fill="%23E9B44C" fill-opacity="0.15"><circle cx="10" cy="10" r="2"/><circle cx="40" cy="10" r="2"/><circle cx="70" cy="10" r="2"/><circle cx="100" cy="10" r="2"/></g></svg>') repeat-x top left;
  border-bottom: 3px dashed var(--color-gold);
  padding: 0 0 8px 0;
}
header .container {
  display: flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
header img { height: 46px; }
nav {
  display: flex;
  gap: 18px;
  align-items:center;
}
nav a {
  font-family: var(--ff-retro);
  font-size: 1.05rem;
  color: var(--color-brown);
  border-radius: 14px;
  padding: 7px 14px;
  position:relative;
  transition: background 0.14s, color 0.15s;
}
nav a:hover, nav a:focus {
  background: var(--color-gold);
  color: var(--color-primary);
}
nav .primary-cta {
  margin-left: 10px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background:var(--color-gold);
  color:var(--color-primary);
  border: none;
  border-radius: 16px;
  padding:8px 14px;
  cursor: pointer;
  box-shadow: 1px 1px 0 var(--color-gold);
  margin-left: 10px;
  transition: background .16s, color .15s;
  z-index: 1099;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-orange);
  color: #fff;
}

/* -------------------------------------------------------------
   MOBILE MENU OVERLAY
-------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; height:100vh; width: 100vw;
  background:var(--color-cream);
  z-index:9999;
  padding: 28px 0 0 0;
  display: flex;
  flex-direction: column;
  transform: translateX(-110vw);
  transition: transform 0.36s cubic-bezier(.72,-0.23,.29,1.2);
  box-shadow: 4px 0 64px 0 rgba(34,30,19,0.13);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-brown);
  font-size: 2.2rem;
  font-weight:800;
  margin-left: 18px;
  margin-bottom: 16px;
  align-self: flex-start;
  cursor: pointer;
  transition: color .16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  padding: 10px 30px;
  margin-top: 16px;
}
.mobile-nav a {
  padding: 13px 0 13px 12px;
  border-radius: 8px;
  font-size: 1.18rem;
  font-family: var(--ff-retro);
  color: var(--color-primary);
  background: none;
  transition: background .14s, color .12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-gold);
  color: var(--color-brown);
}

@media (max-width:1000px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display:block;
  }
}
@media (max-width:1000px){
  header .container {justify-content:space-between;}
}


/* =============================================================
   HERO, CTA & FEATURE GRIDS
   ============================================================= */
.hero {
  background: var(--color-accent);
  background-image: url('data:image/svg+xml;utf8,<svg width="320" height="60" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="42" width="320" height="18" fill="%23E9B44C" fill-opacity="0.16"/><ellipse cx="32" cy="38" rx="14" ry="6" fill="%23AA7A53" fill-opacity="0.1"/></svg>');
  background-position: bottom center;
  background-repeat: repeat-x;
  border-bottom: 3px dotted var(--color-gold);
  border-radius:0 0 33px 33px;
  min-height: 220px;
  padding:48px 0 28px 0;
  margin-bottom:40px;
  box-shadow:0 12px 24px -18px rgba(170,122,83,0.08);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
.cta {
  background: var(--color-gold);
  border-radius: 28px;
  color: var(--color-primary);
  box-shadow: 0 6px 30px rgba(233,180,76,0.06);
  margin-bottom: 40px;
}
.cta h2 { color: var(--color-primary);text-shadow:none; }
.cta p { color: var(--color-brown); }

/* =============================================================
   FLEXBOX GRIDS / MANDATORY PATTERNS (NO GRID!)
   ============================================================= */
.feature-grid {
  display:flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-grid > div, .feature-grid .app-box {
  background: var(--color-cream);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 26px 22px;
  flex: 1 1 235px;
  min-width: 225px;
  margin-bottom:20px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap: 12px;
  border: 2px solid var(--color-muted);
  transition: border .14s, box-shadow .15s, transform .12s;
}
.feature-grid > div:hover,
.feature-grid .app-box:hover {
  border-color: var(--color-gold);
  box-shadow: 2px 10px 0 var(--color-gold),0 16px 32px -20px rgba(170,122,83,.13);
  transform: translateY(-2px) scale(1.012);
}

/* On small devices: stack features */
@media (max-width:768px){
  .feature-grid { flex-direction: column;}
}

.features {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.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;
}
@media(max-width:768px){
  .text-image-section { flex-direction:column; gap: 20px;}
}

.card-container {
  display:flex;
  flex-wrap:wrap;
  gap:24px;
}
.card {
  margin-bottom:20px;
  position:relative;
  background:var(--color-cream);
  box-shadow:var(--shadow-vintage);
  border-radius: 20px;
  border:2px solid var(--color-muted);
  padding:24px 18px;
  min-width: 240px;
}

.card-content {
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.app-categories ul, .about ul, .policy-section ul, .rodo-information ul, .cookie-policy ul, .terms-section ul {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

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

/* =============================================================
   TESTIMONIALS & SLIDER
   ============================================================= */
.testimonials {
  background: var(--color-accent);
  border-top:2px dashed var(--color-gold);
  border-bottom:2px dashed var(--color-gold);
  margin-bottom: 60px;
  padding: 40px 0;
}
.testimonials h2 {
  color: var(--color-brown);
  margin-bottom: 20px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 22px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 18px 24px;
  background: #fffce9;
  border: 2px solid var(--color-gold);
  border-radius: 20px;
  box-shadow: 0 6px 18px 0 rgba(234,177,75,0.08);
  min-width: 230px;
  max-width: 350px;
  flex: 1 1 270px;
  font-size: 1.06rem;
  margin-bottom: 20px;
  color: #333;
  transition: transform .13s, box-shadow .13s;
}
.testimonial-card:hover {
  box-shadow: 2px 12px 0 var(--color-gold), 0 10px 30px -10px rgba(234,177,75,.13);
  transform: scale(1.02);
}
.testimonial-card span {
  font-size: 1rem; color:var(--color-brown);
}

/* MAX Readability for dark text on light testim backgrounds */
.testimonials, .testimonial-card p, .testimonial-card {
  color: #222 !important;
}

/* =============================================================
   CARDS, BOXES, APP-FEATURE BOXES (RETRO VIBE)
   ============================================================= */
.app-box {
  position: relative;
  margin-bottom: 20px;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--color-muted);
  border-radius: 22px;
  background: var(--color-accent);
  color: var(--color-primary);
  transition: border .12s, box-shadow .16s;
}
.app-box:hover {
  border-color: var(--color-gold);
  box-shadow:0 4px 34px -16px var(--color-gold);
}

/* =============================================================
   FOOTER - Retro details
   ============================================================= */
footer {
  background: var(--color-brown);
  color: #fffce6;
  padding: 39px 0 12px;
  border-top: 7px dotted var(--color-gold);
  margin-top: 80px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-display);
  font-size: 1.14rem;
  color: var(--color-gold);
}
footer img {height:34px;}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-family: var(--ff-retro);
}
.footer-links a {
  color: #fffce6;
  transition: color .15s;
}
.footer-links a:hover, .footer-links a:focus {
  color: var(--color-gold);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem;
}
.footer-contact img {
  height: 22px;
  margin-right: 7px;
  margin-bottom: -5px;
}
.footer-social {
  display: flex; gap:14px;
  align-items: center;
  margin-top: 7px;
}
.footer-social img {
  height: 32px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 1px 5px 0 var(--color-muted);
  transition: background .13s;
}
.footer-social img:hover { background: var(--color-orange); }

@media (max-width: 850px){
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

/* =============================================================
   CONTACT PAGE CUSTOM
   ============================================================= */
.contact-section ul {
  display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px;
}
.contact-section li {
  display: flex; align-items: center; font-size: 1rem; color: var(--color-brown);
}
.contact-section img { height: 22px; margin-right: 8px; }
.map-location { background: var(--color-accent); border-radius: 11px; padding: 22px; color: var(--color-primary); margin-top: 8px;}

/* =============================================================
   POLICY/LEGAL PAGES  (retro card section)
   ============================================================= */
.policy-section, .rodo-information, .cookie-policy, .terms-section {
  background: var(--color-cream);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: 35px 20px;
  margin: 30px 0 50px 0;
}
.policy-section h1, .rodo-information h1, .cookie-policy h1, .terms-section h1 {
  color: var(--color-brown);
  font-size: 2.0rem;
}
.policy-section h2, .rodo-information h2, .cookie-policy h2, .terms-section h2 {
  color: var(--color-orange);
}
.policy-section a, .rodo-information a, .cookie-policy a, .terms-section a {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* =============================================================
   COOKIE CONSENT BANNER & MODAL
   ============================================================= */
.cookie-banner {
  position: fixed; left: 0; bottom: 0; width: 100vw; z-index: 10000;
  background: var(--color-brown);
  color: #fffce6;
  box-shadow: 0 -2px 38px 0 rgba(34,30,19,0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 26px;
  font-size: 1.05rem;
  font-family: var(--ff-retro);
  border-top: 3px dotted var(--color-gold);
  animation: cookie-slide-up .6s cubic-bezier(.58,-0.2,.31,1.18);
}
@keyframes cookie-slide-up {
  0% { transform: translateY(120%); }
  100% { transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display:flex;
  gap:10px;
  align-items:center;
}
.cookie-banner button {
  font-size:.99rem;
}
.cookie-banner .settings-btn {
  background: var(--color-gold);
  color: var(--color-primary);
}
.cookie-banner .settings-btn:hover { background: var(--color-orange); color: #fff; }

.cookie-modal {
  display:none;
  position: fixed; left:0; top:0; width:100vw; height:100vh;
  background: rgba(35,34,30,0.40);
  z-index: 11001;
  align-items: center;
  justify-content: center;
  animation: fade-in .21s cubic-bezier(.7,0,1,1.13);
}
@keyframes fade-in { from {opacity:0;} to {opacity: 1;} }
.cookie-modal.open { display:flex; }
.cookie-modal .cookie-window {
  background: var(--color-cream);
  color: var(--color-brown);
  border-radius: 24px;
  max-width: 420px;
  width: 92vw;
  padding:32px 28px;
  box-shadow:0 12px 48px 0 rgba(170,122,83,.16);
  font-family: var(--ff-retro);
  display: flex;
  flex-direction:column;
  gap: 24px;
  position:relative;
  animation: modal-scale .21s cubic-bezier(.49,-0.36,.66,1.42);
}
@keyframes modal-scale { from {transform: scale(.96);} to { transform: scale(1);}}
.cookie-modal h2 { color: var(--color-primary);margin-bottom: 8px; }
.cookie-modal ul {margin-top:0;gap:7px;}
.cookie-category {
  display:flex; align-items: center; gap:10px; margin:7px 0;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-gold);
  width:18px;height:18px;
}
.cookie-modal .close-modal {
  background:none; border:none; font-size:2.2rem; position:absolute; right:19px; top:12px; color:var(--color-brown); cursor:pointer;
}
.cookie-modal .close-modal:hover{ color: var(--color-orange);}
.cookie-modal .modal-actions {
  display:flex; gap:12px; align-items:center; margin-top:7px;
}
@media(max-width:480px){
  .cookie-banner { font-size:1rem; flex-direction:column; align-items:flex-start; gap:8px; padding:16px 10px; line-height:1.38;}
  .cookie-modal .cookie-window {padding:18px 7px;}
}

/* =============================================================
   RESPONSIVE DESIGN RULES (MOBILE FIRST)
   ============================================================= */
@media (max-width: 900px) {
  .container { max-width: 95vw; }
  .feature-grid { gap:18px; }
}
@media (max-width:650px) {
  .section,
  .policy-section, .cookie-policy, .rodo-information, .terms-section {
    padding:24px 6px;
    margin-bottom:30px;
  }
  .hero { padding:34px 0 19px 0; }
  .cta { padding:24px 6px; }
}
@media (max-width:480px) {
  html { font-size: 14px; }
  .primary-cta, .button, .cookie-banner button { font-size: .95rem; padding: 10px 18px; }
  .testimonial-card, .feature-grid > div, .feature-grid .app-box, .card { padding:14px 7px }
  footer { padding: 28px 0 6px; }
  .footer-brand img { height:22px; }
}

/* =============================================================
   MICRO-INTERACTIONS & ACCESSIBILITY
   ============================================================= */
.primary-cta:active, .button:active, .cookie-banner button:active {
  transform: scale(.97);
}
@media(hover:none){
  .primary-cta:active { background:var(--color-orange); color:#fff; }
}
:focus {
  outline: 2px dashed var(--color-gold);
  outline-offset: 2px;
}

/* =============================================================
   UTILITIES
   ============================================================= */
.hide {
  display: none !important;
}
.text-center { text-align: center; }
.mt-0 { margin-top:0 !important; }
.mt-1 { margin-top:8px !important; }
.mt-2 { margin-top:20px !important; }
.mb-0 { margin-bottom: 0 !important; }

/* For custom section background textures, add .vintage-bg to get extra pattern */
.vintage-bg {
  background: var(--color-cream) url('data:image/svg+xml;utf8,<svg width="120" height="30" viewBox="0 0 100 20" xmlns="http://www.w3.org/2000/svg"><g fill="%23EF8354" fill-opacity="0.09"><rect x="9" y="14" width="8" height="3" rx="1.5"/><rect x="39" y="14" width="8" height="3" rx="1.5"/><rect x="69" y="14" width="8" height="3" rx="1.5"/></g></svg>') repeat-x left top;
}

/* =============================================================
   END OF FILE
   ============================================================= */
