/* RESET & BASE STYLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAF6EB;
  color: #272F40;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #A62639;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #e46a5c;
}
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
}
ul, ol {
  padding-left: 1.6em;
  margin-bottom: 1.2em;
}

/* VINTAGE RETRO CSS VARIABLES */
:root {
  --vintage-primary: #A62639;
  --vintage-secondary: #272F40;
  --vintage-accent: #F7F7F7;
  --vintage-bg: #FAF6EB;
  --vintage-yellow: #EFC350;
  --vintage-blue: #3487A7;
  --vintage-brown: #82614F;
  --vintage-green: #94B49F;
  --shadow: 0 5px 30px -8px rgba(81,56,49,0.09),0 2px 10px 0 rgba(166,38,57,0.07);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* VINTAGE TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--vintage-primary);
  letter-spacing: 1.5px;
  margin-bottom: 0.6em;
  text-shadow: 0 1px 0 #fff2,0 2px 8px #fff2;
}
h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.34rem; }
@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
}

strong {
  color: var(--vintage-secondary);
  font-weight: 700;
}
p {
  margin-bottom: 1.1em;
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: #493e32;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* RETRO VINTAGE PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  background: repeating-linear-gradient(135deg, #F7F7F7, #F7F7F7 20px, #FAF6EB 40px, #F7F7F7 60px);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .section {
    padding: 24px 6px;
    margin-bottom: 40px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  position: relative;
  padding: 20px;
  min-width: 230px;
}

.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 !important;
    align-items: flex-start;
    gap: 16px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--vintage-yellow);
  color: #1b1621;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(218,173,72,0.15);
  border: 3px double var(--vintage-brown);
  font-family: var(--font-display);
  font-size: 1.02rem;
}
.testimonial-card p {
  color: #1b1621;
  margin-bottom: 0.6em;
  font-style: italic;
}
.testimonial-card div {
  font-weight: bold;
  font-size: 1rem;
}

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

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item {
  background: #fff9f6;
  border: 2px dashed var(--vintage-primary);
  border-radius: 12px;
  padding: 20px 18px 18px 20px;
  margin-bottom: 20px;
  min-width: 230px;
  flex: 1 1 250px;
  font-family: var(--font-body);
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  color: var(--vintage-secondary);
  margin-bottom: 0.2em;
}
.service-item:hover {
  box-shadow: 0 8px 34px -10px #A62639a8;
  transform: translateY(-7px) scale(1.025);
  background: #fdebe2;
}

/* HERO RETRO STYLE */
.hero {
  background: repeating-linear-gradient(-45deg, #fff7f1, #fff7f1 42px, #F7F7F7 52px, #fff7f1 62px);
  padding: 48px 0 40px 0;
  border-bottom: 6px dotted var(--vintage-primary);
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--vintage-primary);
  margin-bottom: 1.2em;
  font-family: var(--font-display);
  text-shadow: 0 2px 0 #fff7,0 3px 13px #A6263917;
}
.hero p {
  color: var(--vintage-secondary);
  font-size: 1.2rem;
  margin-bottom: 1.4em;
}

/* BUTTONS & CTA */
.cta,
button.cta {
  display: inline-flex;
  align-items: center;
  background: var(--vintage-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 32px;
  letter-spacing: 0.1em;
  font-weight: Bold;
  margin-top: 1em;
  box-shadow: 0 6px 32px -10px #A626399a;
  border: 2.5px solid var(--vintage-secondary);
  cursor: pointer;
  text-shadow: 0 2px 3px #A6263940;
  transition: box-shadow 0.19s, background 0.18s, color 0.18s, transform 0.18s;
  outline: none;
}
.cta:hover, .cta:focus, button.cta:hover, button.cta:focus {
  background: #D72C44;
  color: #fff9ec;
  box-shadow: 0 3px 16px -4px #272F4080;
  transform: translateY(-2px) scale(1.03);
  border-color: #EFC350;
}

/* MAIN NAVIGATION */
header {
  background: #fff;
  border-bottom: 4px double var(--vintage-primary);
  box-shadow: 0 3px 15px -8px #cfcbbe40;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  color: var(--vintage-secondary);
  font-size: 1rem;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border-radius: 4px;
  transition: background 0.17s, color 0.18s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: #fff1e5;
  color: var(--vintage-primary);
}
header img {
  height: 47px;
  width: auto;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  font-size: 2.2rem;
  background: var(--vintage-primary);
  color: #fff;
  border-radius: 12px;
  padding: 2px 12px;
  margin-left: 16px;
  box-shadow: var(--shadow);
  transition: background 0.14s;
  z-index: 1102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--vintage-secondary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #fffaf8;
  box-shadow: -14px 0 34px -13px #A6263960;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.7,.2,.16,1.01);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
  padding-left: 0;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu .mobile-menu-close {
  font-size: 2.2rem;
  margin: 30px 32px 0 0;
  background: var(--vintage-primary);
  color: #fff;
  border-radius: 12px;
  padding: 2px 12px;
  align-self: flex-end;
  box-shadow: var(--shadow);
  transition: background 0.15s;
}
.mobile-menu .mobile-menu-close:hover, .mobile-menu .mobile-menu-close:focus {
  background: var(--vintage-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  padding: 70px 38px 0 38px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: var(--vintage-secondary);
  font-size: 1.25rem;
  letter-spacing: 0.09em;
  padding: 10px 4px;
  border-radius: 4px;
  width: 100%;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff3e5;
  color: var(--vintage-primary);
}

@media (max-width: 1050px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 1051px) {
  .mobile-menu {
    display: none !important;
  }
}

/* FOOTER */
footer {
  background: #fff9f4;
  margin-top: 60px;
  border-top: 4px double var(--vintage-primary);
  padding: 34px 0 28px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 0;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #82614F;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  text-decoration: underline;
  font-size: 1em;
  transition: color 0.16s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--vintage-primary);
}
footer img {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}
footer .text-section {
  color: var(--vintage-secondary);
  font-size: 1rem;
  font-family: var(--font-body);
}
@media (max-width: 809px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* ABOUT, TEAM, FEATURES CARDS */
.team-description {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.features ul {
  margin-bottom: 12px;
}
.features ul li {
  padding-left: 2px;
  margin-bottom: 0.5em;
  color: #644d43;
}
.features h2, .about h2 {
  font-size: 1.78rem;
  color: var(--vintage-secondary);
  margin-bottom: 0.8em;
}

/* PRICING LIST & SERVICE FLEX LISTS */
@media (max-width: 930px) {
  .service-list {
    flex-direction: column;
    gap: 18px;
  }
}

/* CTA SECTIONS */
.cta {
  padding: 40px 18px 36px 18px;
  background: linear-gradient(90deg, #FAF6EB 90%, #F1E5CB 100%);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta h2 {
  color: var(--vintage-primary);
  font-size: 2rem;
}

/* TEXT SECTIONS */
.text-section {
  background: none;
  border: none;
  font-size: 1.05rem;
  color: #272F40;
  font-family: var(--font-body);
}

/* FORM-LIKE LAYOUTS (for future use) */
.form-row {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .form-row {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #EFC350;
  color: #1c1933;
  padding: 22px 20px 20px 20px;
  box-shadow: 0 -8px 32px -12px #82614F88;
  z-index: 1450;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-family: var(--font-body);
  animation: cookieIn 0.5s cubic-bezier(.63,.09,.35,1.24) 1;
}
@keyframes cookieIn {
  0% { transform: translateY(100%); opacity: 0; }
  90% { transform: translateY(-12px); opacity: 1; }
  100% { transform: translateY(0); }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 6px;
}
.cookie-banner button {
  padding: 7px 22px;
  background: #fff;
  color: var(--vintage-primary);
  font-family: var(--font-display);
  border-radius: 22px;
  border: 2px solid var(--vintage-primary);
  font-size: 1rem;
  font-weight: bold;
  margin-right: 3px;
  transition: background 0.13s, color 0.13s;
  cursor: pointer;
}
.cookie-banner button:last-child {
  margin-right: 0;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--vintage-primary);
  color: #fff;
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; bottom: 0; right: 0;
  width: 100vw; height: 100vh;
  background: #272F4099;
  backdrop-filter: blur(4px);
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookie 0.33s cubic-bezier(.62,.1,.66,1.31) 1;
}
@keyframes fadeInCookie {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fffbe3;
  color: #1b1621;
  border-radius: 16px;
  box-shadow: 0 10px 40px -10px #82614F70;
  width: 95vw;
  max-width: 410px;
  padding: 34px 28px 26px 27px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.04rem;
}
.cookie-modal h2 {
  font-size: 1.32rem;
  margin-bottom: 0.4em;
  color: var(--vintage-primary);
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  gap: 13px;
  align-items: center;
  font-family: var(--font-body);
  color: #37261c;
}
.cookie-modal .toggle {
  width: 38px; height: 24px;
  border-radius: 12px;
  background: #c7c4b2;
  position: relative;
  transition: background 0.14s;
  flex-shrink: 0;
}
.cookie-modal .toggle input[type=checkbox] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .toggle:after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px -3px #82614F60;
  transition: left 0.15s, background 0.15s;
}
.cookie-modal .toggle input[type=checkbox]:checked + .toggle-slider {
  background: var(--vintage-primary);
}
.cookie-modal .toggle input[type=checkbox]:checked + .toggle-slider:after {
  left: 17px;
}
.cookie-modal .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .cookie-actions button {
  padding: 7px 20px;
  background: var(--vintage-yellow);
  color: var(--vintage-secondary);
  border-radius: 14px;
  border: 2px solid var(--vintage-brown);
  font-family: var(--font-display);
  font-weight: bold;
  transition: background 0.12s, color 0.12s;
}
.cookie-modal .cookie-actions button:hover, .cookie-modal .cookie-actions button:focus {
  background: var(--vintage-primary);
  color: #fff;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 630px) {
  .container {
    padding: 0 3vw;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .card, .service-item, .testimonial-card, .section {
    padding: 16px 7px !important;
    font-size: 0.98rem;
  }
  .cta {
    padding: 18px 5px;
  }
}
@media (max-width: 480px) {
  .hero {
    padding: 24px 0 24px 0;
  }
  .cta h2, .hero h1 {
    font-size: 1.22rem;
  }
  .footer .text-section {
    font-size: 0.99rem;
  }
}

/* MISC RETRO-NOSTALGIC ELEMENTS */
h1, h2, h3 {
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 2px;
  margin: 10px 0 0 0;
  background: var(--vintage-yellow);
  opacity: 0.7;
}
h3::before {
  content: '\2605';
  color: var(--vintage-yellow);
  font-size: 0.8em;
  margin-right: .5em;
  vertical-align: middle;
  opacity: .45;
}

/* Microinteractions & Transitions */
.card, .service-item, .testimonial-card, .cta, .section {
  transition: box-shadow 0.19s, transform 0.18s, background 0.2s;
}
.card:hover, .section:hover {
  box-shadow: 0 8px 32px -10px #A626399a;
  background: #fbe0db;
  transform: scale(1.018);
}

/* Accessibility: Focus Styles */
a:focus, button:focus, .cta:focus, .mobile-menu-toggle:focus {
  outline: 2px dashed var(--vintage-yellow);
  outline-offset: 3px;
}

/* Utility: Hidden (for JS toggling) */
.hidden {
  display: none !important;
}
