/* ----------- CSS RESET & BASE NORMALIZATION ----------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #234764;
  background-color: #F8F5EC;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #234764;
  text-decoration: underline;
  transition: color .2s;
}
a:hover, a:active, a:focus {
  color: #BE912A;
  text-decoration: none;
}
strong {
  font-weight: 700;
}

/* ----------- FONT IMPORTS (for display and body) ----------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Open+Sans:wght@400;600;700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #234764;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(158,141,88,0.08);
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.07rem;
  margin-bottom: 10px;
}
p, ul, ol, blockquote {
  margin-bottom: 16px;
  color: #2B2D29;
}
ul, ol {
  padding-left: 1.5em;
}
blockquote {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.17rem;
  color: #234764;
  padding: 12px 20px;
  border-left: 4px solid #BE912A;
  background: #f1ede8;
  margin: 0 0 16px 0;
  border-radius: 6px;
}

/* ----------- VINTAGE RETRO COLORS AND ELEMENTS ----------- */
:root {
  --color-primary: #234764;
  --color-secondary: #E8EDED;
  --color-accent: #BE912A;
  --color-bg-vintage: #F8F5EC;
  --color-retro-blue: #45737E;
  --color-retro-teal: #86AD8E;
  --color-brown: #987000;
  --color-orange: #D39354;
  --color-red: #9A4C3A;
  --color-card-bg: #FAF3EA;
  --color-border-retro: #C4B48B;
  --color-box-shadow-light: 0 4px 18px 0 rgba(206,195,155,0.13);
}

/* ----------- LAYOUT CONTAINERS ----------- */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* ----------- NAVIGATION & HEADER ----------- */
header {
  width: 100%;
  background: var(--color-secondary);
  box-shadow: 0 2px 12px rgba(158,141,88,0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 16px;
  min-width: 130px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  padding: 7px 18px;
  border-radius: 20px;
  background: none;
  transition: background 0.2s, color 0.2s;
}
.main-nav ul li a:hover,
.main-nav ul li a.active {
  background: var(--color-accent);
  color: #fff;
}
.cta.primary {
  background: var(--color-accent);
  color: #fff;
  border-radius: 28px;
  padding: 10px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-align: center;
  font-size: 1.05rem;
  box-shadow: 0 4px 16px rgba(190,145,42,0.08);
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: background 0.16s, box-shadow 0.16s;
}
.cta.primary:hover, .cta.primary:focus { background: #987000; box-shadow: 0 6px 20px rgba(190,145,42,0.17); }

.cta {
  background: #fff4da;
  color: var(--color-primary);
  border-radius: 25px;
  padding: 9px 24px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--color-box-shadow-light);
  border: 2px solid var(--color-accent);
  text-decoration: none;
  margin: 10px 0 0 0;
  cursor: pointer;
  transition: background 0.17s, border 0.17s, color 0.17s;
}
.cta:hover, .cta:focus {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid #986c13;
}

/* -------------- MOBILE NAVIGATION --------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 8px;
  padding: 4px 14px 2px 14px;
  cursor: pointer;
  margin-left: 10px;
  z-index: 55;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #987000;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #F6F1E1;
  z-index: 1000;
  box-shadow: 0 4px 50px rgba(190,145,42,0.10);
  transform: translateX(-105%);
  transition: transform 0.35s cubic-bezier(0.73,0,0.18,1);
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 30px 24px 28px;
  overflow-y: auto;
  gap: 16px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: var(--color-primary);
  font-size: 2.1rem;
  border: none;
  margin-bottom: 17px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.22rem;
  color: var(--color-primary);
  background: none;
  padding: 10px 5px;
  border-radius: 10px;
  width: 100%;
  text-decoration: none;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}

/* Hide desktop nav on mobile and show burger */
@media (max-width: 992px) {
  .main-nav ul, .main-nav .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    margin-right: 17px;
  }
}
@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* ------------- HERO SECTIONS -------------- */
.hero {
  background: linear-gradient(0deg, #F8F5EC 74%, #E8EDED 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 32px 0 44px 0;
  margin-bottom: 28px;
  border-bottom: 5px solid #ded6bf;
  box-shadow: 0 12px 65px -40px #c3bda3;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}
.hero .content-wrapper {
  gap: 15px;
  max-width: 650px;
}
.hero h1 {
  color: var(--color-primary);
  text-shadow: 0 3px 14px rgba(190,145,42,0.08);
}
.hero p {
  font-size: 1.22rem;
  color: #546668;
  opacity: 0.92;
}
.hero .cta {
  margin-top: 12px;
}

/* ------------- FEATURES & SERVICE STYLES -------------- */
.features {
  background: var(--color-card-bg);
  border-top: 4px dotted var(--color-accent);
  border-bottom: 4px dotted var(--color-accent);
  margin-bottom: 60px;
  padding: 45px 0 38px 0;
}
.features .content-wrapper {
  gap: 32px;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 22px;
  list-style: none;
}
.features-grid li {
  background: #fffef8;
  border: 1.5px solid var(--color-border-retro);
  border-radius: 17px;
  box-shadow: 0 3px 18px 0 #f5e7c1;
  padding: 24px 20px 22px 20px;
  width: calc(20% - 12px);
  min-width: 185px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: transform .17s, box-shadow .17s;
  position: relative;
}
.features-grid li:hover {
  transform: translateY(-5px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 29px -10px #be912a45;
  border-color: var(--color-accent);
  z-index: 10;
}
.features-grid img {
  width: 38px;
  height: auto;
  margin-bottom: 7px;
  filter: grayscale(15%) contrast(0.93);
}
.features-grid h3 {
  font-size: 1.09rem;
  color: var(--color-retro-blue);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
}
.features-grid p {
  font-size: 0.96rem;
  color: #445;
}
.benefit-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}
.benefit-icons span {
  background: #fff9e9;
  border: 1px dashed var(--color-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #987000;
  padding: 6px 14px 6px 9px;
  font-weight: 700;
  box-shadow: 0 2px 6px #e2d2ae;
}
.benefit-icons img {
  width: 24px;
  height: 24px;
}

/* Service Portfolio (services.html) */
.service-portfolio .services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin-bottom: 15px;
}
.service-portfolio .services-list li {
  background: #fffef8;
  border: 1.5px solid var(--color-border-retro);
  border-radius: 14px;
  box-shadow: 0 3px 18px 0 #f5e7c1;
  padding: 20px 20px 16px 20px;
  min-width: 175px;
  width: calc(20% - 12px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform .15s, box-shadow .15s;
}
.service-portfolio .services-list li:hover {
  transform: translateY(-4px) scale(1.027) rotate(1.5deg);
  border-color: var(--color-accent);
  box-shadow: 0 9px 22px -10px #98700044;
}
.service-portfolio .services-list h3 {
  font-size: 1.09rem;
  color: var(--color-retro-blue);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 0;
}
.service-portfolio .services-list p {
  font-size: 0.97rem;
  color: #556;
}
.highlights {
  background: #e7dac8;
  border-radius: 11px;
  padding: 11px 23px;
  font-size: 1.06rem;
  color: #987000;
  font-weight: 600;
  margin-top: 6px;
  box-shadow: 0 2px 9px #e3d9bf;
}

/* Project Process (services.html - process-section) */
.project-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin: 26px 0 12px 0;
  padding: 0;
}
.project-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fffef8;
  border-radius: 13px;
  border: 1px solid #E6DDBB;
  padding: 12px 19px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  box-shadow: 0 1px 5px #f1e8d7;
}
.project-steps img {
  width: 28px;
  height: 28px;
  filter: grayscale(10%) contrast(0.98);
}


/* ----------- VALUE & INFO LISTS (About, etc.) ----------- */
.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
}
.values-list li {
  background: #f9eed5;
  border: 1.5px dotted #c6b78a;
  border-radius: 13px;
  padding: 15px 14px 13px 14px;
  font-size: 1rem;
  box-shadow: 0 2px 10px #f2e1bc;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 230px;
  flex: 1 1 200px;
}
.values-list img {
  width: 24px; height: 24px;
  filter: grayscale(10%) contrast(0.90);
  margin-right: 3px;
}
.infobox {
  background: #fff7db;
  border-radius: 9px;
  padding: 11px 18px;
  font-size: 0.98rem;
  color: #987000;
  margin-top: 18px;
  border: 1px solid #e1d7b6;
  box-shadow: 0 1px 6px #f6e9c7;
  font-weight: 600;
}

/* ----------- TABLES (Pricing) ----------- */
.price-table {
  width: 100%;
  background: #fffef8;
  border-collapse: collapse;
  margin-bottom: 30px;
  box-shadow: var(--color-box-shadow-light);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  font-size: 0.99rem;
}
.price-table th, .price-table td {
  padding: 15px 14px;
  border-bottom: 1.5px solid #E6DDBB;
  text-align: left;
}
.price-table th {
  background: #f1dabd;
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
}
.price-table tr:last-child td {
  border-bottom: none;
}
.price-table tr td {
  font-weight: 600;
}

/* Info Note in Pricing */
.info-note {
  background: #f8ebe1;
  border: 1.5px dashed var(--color-accent);
  border-radius: 9px;
  padding: 13px 23px 17px 16px;
  font-size: 1.01rem;
  color: #634400;
  box-shadow: 0 2px 13px #eeead8;
}
.info-note a {
  display: inline-block;
  margin-top: 9px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 11px;
}
.faq-item {
  background: #f9eed8;
  border-radius: 11px;
  border: 1px dotted #c7b16a;
  padding: 14px 19px 14px 14px;
  min-width: 220px;
  box-shadow: 0 1px 5px #e7ddbf;
  flex: 1 1 220px;
}
.faq-item h3 {
  color: #987000;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

/* ----------- TESTIMONIALS ----------- */
.testimonials-preview .content-wrapper, .testimonials .content-wrapper, .case-studies .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #fffef9;
  border-radius: 14px;
  border: 1.5px solid #E3D4AF;
  padding: 20px;
  box-shadow: 0 5px 20px #e3d9be44;
  min-width: 220px;
  max-width: 445px;
  margin-bottom: 20px;
  transition: box-shadow .19s, border-color .15s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 24px #be912a22;
  border-color: var(--color-accent);
}
.testimonial-card blockquote {
  background: none;
  border-left: 5px solid var(--color-accent);
  font-size: 1.14rem;
  color: #234764;
}
.testimonial-meta {
  font-size: 0.97rem;
  color: #876222;
  font-style: italic;
  letter-spacing: 0.5px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* Case Studies */
.case-study {
  background: #fffdf1;
  border-radius: 12px;
  border: 1.5px solid #E3D4AF;
  box-shadow: 0 2px 12px #e3d9be22;
  padding: 20px 24px 15px 14px;
  margin-bottom: 20px;
  font-size: 1rem;
}
.case-study h3 {
  font-size: 1.08rem;
  color: #234764;
}
.case-study blockquote {
  border-left: 5px solid var(--color-accent);
  background: none;
  font-size: 1.02rem;
  color: #234764;
}

/* ----------- CTA SECTION ----------- */
.cta-section {
  background: linear-gradient(92deg, #faf3e5 93%, #fff6e2 100%);
  margin-bottom: 60px;
  padding: 40px 12px 39px 12px;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 1px 10px #f5e6bc;
}
.cta-section .content-wrapper {
  align-items: center;
}
.cta-section h2 {
  color: #BE912A;
  font-size: 1.44rem;
  margin-bottom: 8px;
}
.cta-section .cta {
  margin-top: 13px;
}


/* ----------- FOOTER ----------- */
footer {
  background: #ECE7DB;
  border-top: 5px dotted #C4B48B;
  padding: 0;
  color: #234764;
  margin-top: 70px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 25px 0 10px 0;
  min-width: 240px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-menu a {
  color: #234764;
  text-decoration: underline;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  transition: color 0.15s;
}
.footer-menu a:hover {
  color: var(--color-accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
}
.footer-legal {
  font-size: 0.92rem;
  color: #6c6857;
  margin-top: 10px;
  font-style: italic;
}

/* -------------------- CONTACT PAGE -------------------- */
.contact-info {
  list-style: none;
  font-size: 1.07rem;
  color: #234764;
  margin-bottom: 13px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact-hint {
  background: #e8decd;
  color: #987000;
  font-size: 0.99rem;
  padding: 8px 17px 7px 16px;
  border-radius: 8px;
  margin-top: 13px;
  border: 1px solid #d8ccab;
  font-weight: 600;
}

/* ------------------- LEGAL PAGES -------------------- */
.legal-section {
  background: #fffef9;
  border-radius: 18px;
  box-shadow: 0 1px 10px #e6dabd;
  padding: 40px 20px 34px 20px;
  margin: 50px 0 65px 0;
}
.legal-section h1, .legal-section h2 {
  color: #234764;
}
.legal-section ul {
  margin-bottom: 18px;
}

/* ---------------- CONFIRMATION PAGE ------------------- */
.confirmation-section {
  background: #f5eee7;
  border: 2.5px solid #e5d6ba;
  border-radius: 19px;
  box-shadow: 0 3px 18px #e3d9be34;
  margin: 50px 0 70px 0;
  padding: 50px 20px 43px 20px;
  text-align: center;
}
.confirmation-section h1 {
  color: #BE912A;
}
.confirmation-section .cta {
  margin-top: 24px;
}

/* ----------------- RESPONSIVE BREAKPOINTS ----------------- */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
  .features-grid li,.service-portfolio .services-list li { width: calc(33% - 18px); }
}
@media (max-width: 900px) {
  .features-grid li, .service-portfolio .services-list li { width: calc(50% - 16px); }
}
@media (max-width: 700px) {
  .features-grid, .service-portfolio .services-list {
    flex-direction: column;
    gap: 17px;
  }
  .features-grid li, .service-portfolio .services-list li {
    width: 100%;
    min-width: unset;
  }
  .project-steps, .values-list, .faq-list {
    flex-direction: column;
    gap: 15px;
  }
  .footer-content {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .hero { padding: 23px 0 25px 0; }
  .features,.cta-section,.legal-section, .confirmation-section {
    padding: 24px 5px 22px 5px;
  }
  .section { padding: 22px 7px; margin-bottom: 39px; }
  .content-wrapper { gap: 12px; }
  .footer-content { padding: 20px 0 6px 0; }
  .cta.primary, .cta {
    padding: 7px 15px;
    font-size: 1rem;
  }
  .hero h1 { font-size: 1.38rem; }
  .hero p { font-size: 1rem; }
  h2 { font-size: 1.14rem; }
  h3 { font-size: 1.04rem; }
}
@media (max-width: 500px) {
  .main-nav, .footer-content { flex-direction: column; gap: 11px; align-items: flex-start; }
  .logo { margin-bottom: 7px; }
}

/* ------ FLEX SPACING & ALIGNMENT CLASSES (MANDATORY) ------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fffef8;
  border: 1px solid #e3d9bd;
  border-radius: 15px;
  box-shadow: 0 2px 15px #e3d6bc;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 15px 13px 15px;
  min-width: 185px;
  transition: box-shadow .16s, border-color .16s;
}
.card:hover {
  box-shadow: 0 7px 22px #c0a87811, 0 1px 8px #BE912A22;
  border-color: var(--color-accent);
  z-index: 5;
}
.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: 19px; }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffef9;
  border: 1.5px solid #E3D4AF;
  border-radius: 14px;
  min-width: 220px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Min spacing between sections/cards */
section, .card, .testimonial-card, .faq-item, .case-study, .features-grid li, .service-portfolio .services-list li {
  margin-bottom: 20px;
}

/* Ensure no overlap */
section, .card, .testimonial-card, .faq-item, .case-study, .features-grid li, .service-portfolio .services-list li {
  z-index: 1;
}

/* ----------- MICRO-INTERACTIONS ----------- */
button, .cta, a {
  transition: background 0.17s, color 0.17s, box-shadow 0.2s;
}
.service-portfolio .services-list li:hover, .features-grid li:hover, .card:hover, .faq-item:hover, .case-study:hover {
  box-shadow: 0 7px 26px #98700027, 0 1px 8px #BE912A22;
  z-index: 8;
}

/* ---------- COOKIE CONSENT BANNER & MODAL ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: linear-gradient(92deg,#fff9e6 95%,#f4e6bc 100%);
  color: #2E2924;
  border-top: 3px solid var(--color-accent);
  box-shadow: 0 -5px 25px #bc9b5655;
  z-index: 9999;
  font-size: 1.01rem;
  padding: 18px 15px 17px 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  animation: slideUp 0.6s cubic-bezier(0.65,0,0.25,1);
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-left: 18px;
}
.cookie-banner button {
  border-radius: 23px;
  padding: 8px 19px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.16s, color 0.16s;
  margin: 0 2px;
  box-shadow: 0 2px 10px #e9e2be55;
}
.cookie-banner .btn-accept { background: var(--color-accent); color: #fff; }
.cookie-banner .btn-accept:hover { background: #987000; }
.cookie-banner .btn-reject { background: #ede5d9; color: #835904; border: 1.6px solid var(--color-border-retro); }
.cookie-banner .btn-reject:hover { background: #f3e1c3; color: #BE912A; }
.cookie-banner .btn-settings { background: #fff4da; color: #234764; border: 1.5px solid var(--color-accent); }
.cookie-banner .btn-settings:hover { background: #f8ecce; color: #BE912A; }

/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(38,33,25,0.48);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s forwards;
}
.cookie-modal.active {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal .modal-content {
  background: #fffef8;
  color: #234764;
  border-radius: 16px;
  box-shadow: 0 6px 40px #d1c6a8;
  min-width: 320px;
  max-width: 95vw;
  padding: 34px 26px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: popScale 0.4s cubic-bezier(0.65,0,0.25,1);
}
@keyframes popScale {
  from { transform: scale(0.90); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal .close-modal {
  position: absolute;
  top: 17px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #886c23;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .close-modal:hover {
  color: var(--color-accent);
}
.cookie-categories {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  background: #f9ecd3;
  border-radius: 9px;
  padding: 12px 11px 13px 19px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.cookie-category label {
  font-size: 1.03rem;
  color: #234764;
  cursor: pointer;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  user-select: none;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--color-accent);
  width: 20px; height: 20px;
  margin-right: 12px;
}
.cookie-category.essential label { color: #987000; }

.cookie-modal .modal-actions {
  margin-top: 17px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  border-radius: 22px;
  padding: 7px 19px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.01rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.12s, color 0.12s;
  margin: 0 3px;
  box-shadow: 0 2px 10px #e9e2be55;
}
.cookie-modal .btn-accept { background: var(--color-accent); color: #fff; }
.cookie-modal .btn-reject { background: #ede5d9; color: #835904; border: 1.6px solid var(--color-border-retro); }

@media (max-width: 600px) {
  .cookie-modal .modal-content { padding: 21px 7vw 16px 7vw; min-width: 96vw; }
}

/* -------------------- UTILS -------------------- */
.hide { display: none !important; }
.block { display: block !important; }

/* ------------- RETRO EFFECTS & NOSTALGIC TOUCHES ------------- */
.features, .service-portfolio, .cta-section, .faq-list, .case-study, .values-list li, .testimonial-card, .card {
  background-image: repeating-linear-gradient(-45deg, #f4ebd0 0 2px, transparent 2px 16px);
}
.features, .cta-section {
  border-top: 4px dotted var(--color-accent);
  border-bottom: 4px dotted var(--color-accent);
}
.card, .testimonial-card, .faq-item, .case-study {
  border-radius: 14px;
  box-shadow: 0 3px 13px #c4b28d22;
  border: 1.3px solid #e1d7b6;
}
.card:after, .testimonial-card:after {
  content: '';
  display: block;
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 19px;
  background: url('data:image/svg+xml;utf8,<svg fill="none" xmlns="http://www.w3.org/2000/svg" width="60" height="19"><ellipse opacity=".07" cx="30" cy="9.5" rx="29" ry="8.5" fill="%23BE912A"/></svg>');
  z-index: 1;
  pointer-events: none;
}

/****** END OF CSS ******/
