/* CSS 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, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, 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;
}
html {
  scroll-behavior: smooth;
  background-color: #F2EADC;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #F2EADC; /* classic parchment look */
  color: #2F1B09;
  line-height: 1.65;
  letter-spacing: 0.01em;
  /* subtle retro texture overlay */
  background-image:
    repeating-linear-gradient(135deg, rgba(244,222,185,0.22) 0 2px, transparent 2px 18px), repeating-linear-gradient(45deg, rgba(200,170,90,0.09) 0 5px, transparent 5px 25px);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #412216;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.015em;
}
h1 { font-size: 2.7rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }

p, li, dd {
  font-size: 1rem;
  color: #2F1B09;
  margin-bottom: 12px;
}
strong, b { color: #145374; font-weight: 700; }
small { font-size: 0.88rem; }

ul, ol {
  padding-left: 1.5em;
  margin-bottom: 18px;
  font-size: 1rem;
}
li { margin-bottom: 10px; position: relative; }

/* NOSTALGIC STYLISTIC ELEMENTS */
ul li::before {
  content: '\25AA';
  color: #E1813B; /* muted retro orange */
  display: inline-block;
  margin-left: -1.5em;
  width: 1.3em;
  font-size: 1.1em;
  opacity: 0.68;
}

/* Container & Layout System */
.container {
  width: 100%;
  max-width: 1080px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
@media (min-width: 900px) {
  .content-wrapper {
    gap: 32px;
  }
}

/* Vintage Retro Color Palette */
:root {
  --color-primary: #145374;
  --color-secondary: #F5F7FA;
  --color-accent: #E1813B; /* vintage muted orange */
  --color-retro-blue: #3198AF;
  --color-paper: #F2EADC;
  --color-dark: #2F1B09;
  --color-light: #FAF8EF;
  --color-brown: #936B36;
  --color-yellow: #FFD77B;
}

/* Section, Card, and Alignment Spacing Patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
  border-radius: 18px;
  box-shadow: 0 3px 24px 0 rgba(71,41,13,0.08);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  background: #FFFCE8;
  margin-bottom: 20px;
  border-radius: 13px;
  box-shadow: 0 2px 8px 0 rgba(80,60,20,0.08);
  border: 2px solid #DED8CB;
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(209,102,37,0.12);
  transform: translateY(-4px) scale(1.025);
  border-color: var(--color-accent);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #FFFCE8;
  border-radius: 17px;
  border: 2px dashed var(--color-accent);
  box-shadow: 0 2px 20px 0 rgba(51,74,86,0.08);
  padding: 20px;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}
.testimonial-card:hover {
  border-color: var(--color-retro-blue);
}
.testimonial-card p {
  font-style: italic;
  color: #3A2D1E;
  font-size: 1.075rem;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #936B36;
  font-weight: 600;
  margin-left: 12px;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FCF6DD;
  border-radius: 12px;
  padding: 20px 16px;
  border-left: 6px solid var(--color-retro-blue);
  margin-bottom: 12px;
}

/**************************/
/* HEADER & NAVIGATION    */
/**************************/
header {
  background: #F0E6CE url('../assets/retro-pattern.svg') repeat-x top center;
  box-shadow: 0 2px 6px 0 rgba(37,34,26,0.045);
  border-bottom: 4px solid var(--color-accent);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}
.logo img {
  height: 56px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 6px;
  transition: background 0.18s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}
.main-nav .btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-radius: 8px;
  padding: 8px 24px;
  box-shadow: 0 2px 10px 0 rgba(209,102,37,0.087);
  font-size: 1.01rem;
  letter-spacing: 0.01em;
}
.main-nav .btn-primary:hover, .main-nav .btn-primary:focus {
  background: #C46822;
}
.mobile-menu-toggle {
  display: none;
  background: var(--color-retro-blue);
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 7px;
  padding: 8px 16px;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 10px 0 rgba(21,83,116,0.16);
}
.mobile-menu-toggle:focus {
  background: #124355;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}

/**************************/
/* MOBILE MENU            */
/**************************/
.mobile-menu {
  position: fixed;
  z-index: 1200;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(242,234,220,0.97);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(.77,.09,.46,1.09);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--color-brown);
  align-self: flex-end;
  margin: 32px 32px 18px 0;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 40px;
  margin-top: 24px;
}
.mobile-nav a {
  color: #321300;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 2px;
  padding: 8px 0;
  border-bottom: 1px dotted #E4C296;
  transition: color 0.16s, background 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent);
  background: #FFEECE;
  border-radius: 7px;
  padding-left: 14px;
}

/**************************/
/* HERO                   */
/**************************/
.hero {
  background: var(--color-retro-blue);
  color: #fff;
  background-image: repeating-linear-gradient(45deg, #FFD77B 0 2px, transparent 2px 28px);
  border-radius: 0 0 24px 24px;
  margin-bottom: 48px;
  box-shadow: 0 8px 50px -14px #B1A55E22;
}
.hero .container {
  padding-top: 70px;
  padding-bottom: 70px;
}
.hero h1, .hero h2, .hero p { color: #fff; text-shadow: 1px 2px 9px rgba(40,63,71,0.13); }
.hero h1 {
  font-size: 2.25rem;
}
.hero p {
  font-size: 1.22rem;
  margin-bottom: 18px;
}
.hero .btn-primary {
  margin-top: 12px;
}

/**************************/
/* BUTTONS & CTAs         */
/**************************/
.btn-primary, a.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.13rem;
  font-weight: 900;
  letter-spacing: .03em;
  border: none;
  border-radius: 8px;
  padding: 13px 34px;
  cursor: pointer;
  box-shadow: 0 2px 18px 0 #e1813b33;
  margin-bottom: 10px;
  transition: background 0.16s, transform 0.17s, box-shadow 0.18s;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
}
.btn-primary:hover, .btn-primary:focus, a.btn-primary:hover, a.btn-primary:focus {
  background: #B85F13;
  color: #fff;
  box-shadow: 0 7px 30px 0 #e1813b55;
  transform: translateY(-2px) scale(1.035);
}
.btn-secondary, a.btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #fff;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 1.06rem;
  font-weight: 800;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  margin-left: 20px;
  transition: background 0.19s, color 0.19s, border 0.19s;
  text-transform: uppercase;
  text-decoration: none;
}
.btn-secondary:hover, .btn-secondary:focus, a.btn-secondary:hover, a.btn-secondary:focus {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/**************************/
/* SECTION: FEATURES      */
/**************************/
.features {
  margin-bottom: 60px;
}
.features h2 {
  margin-bottom: 20px;
  color: var(--color-primary);
  font-size: 1.6rem;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-grid > div {
  background: #FFFCF3;
  border-radius: 14px;
  border: 2px solid #EDDCC7;
  padding: 23px;
  min-width: 230px;
  flex: 1 1 200px;
  box-shadow: 0 2px 18px 0 #E1813B18;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.17s, border-color 0.18s, transform 0.17s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 26px 0 #3198AF28;
  border-color: var(--color-retro-blue);
  transform: translateY(-2px) scale(1.03);
}
.feature-grid img {
  height: 44px;
  width: auto;
  margin-bottom: 10px;
}
.feature-grid h3 {
  font-size: 1.17rem;
  color: #412216;
  margin-bottom: 6px;
}
.feature-grid p {
  font-size: 1rem;
  color: #2F1B09;
  margin-bottom: 0.3em;
}
.feature-icons-row {
  display: flex;
  gap: 32px;
  margin: 30px 0 24px 0;
  align-items: center;
}
.feature-icons-row img {
  height: 38px;
  width: auto;
  filter: grayscale(0.25) sepia(0.3) brightness(1.1);
  opacity: 0.87;
}

/**************************/
/* SECTION: ABOUT/TEAM    */
/**************************/
.about-story, .team, .about,
.contact-info, .legal, .faq-list, .services, .pricing {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFCF6;
  border-radius: 20px;
  box-shadow: 0 2px 20px 0 #8B5E3325;
}
.team ul, .about-story ul, .about ul, .contact-info ul, .faq-list ul, .included-services, .usp-bullets {
  margin-bottom: 18px;
}

/**************************/
/* PRICING TABLES         */
/**************************/
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #FFF9E6;
  border-radius: 14px;
  margin: 32px 0;
  box-shadow: 0 2px 20px 0 #C2812B14;
  overflow-x: auto;
}
.pricing-table th, .pricing-table td {
  text-align: left;
  padding: 15px 12px;
  font-size: 1rem;
  border-bottom: 1px solid #E4C296;
}
.pricing-table thead th {
  background: #FFF2C5;
  color: #84320F;
  font-size: 1.09rem;
  font-weight: 900;
  text-transform: uppercase;
}
.pricing-table tbody tr:hover {
  background: #FEF4DE;
  transition: background 0.16s;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.included-services li, .usp-bullets li {
  color: var(--color-dark);
  font-size: 1.01rem;
}

/**************************/
/* SECTION: TESTIMONIALS  */
/**************************/
.testimonials {
  background: #FFE9D8;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 18px;
  box-shadow: 0 1px 20px 0 #5429001A;
}
.testimonials h2 {
  color: var(--color-primary);
  margin-bottom: 2px;
}
.star-rating {
  color: #E1813B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin-top: 24px;
  margin-bottom: 5px;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
}

/**************************/
/* SECTION: CTA           */
/**************************/
.cta {
  background: var(--color-retro-blue);
  color: #fff;
  border-radius: 20px;
  margin-bottom: 40px;
  box-shadow: 0 3px 24px 0 #3198AF21;
  position: relative;
}
.cta .container { padding: 46px 20px; }
.cta h2 {
  color: #fff;
  margin-bottom: 19px;
  font-size: 1.41rem;
  text-shadow: 0 3px 16px #14537408;
}
.cta .btn-primary, .cta .btn-secondary {
  margin-right: 14px;
  margin-bottom: 0;
}

/**************************/
/* FOOTER                 */
/**************************/
footer {
  background: #2F1B09;
  color: #fff;
  padding: 35px 0 10px 0;
  border-top: 6px solid #FFD77B;
  margin-top: 70px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 52px;
  justify-content: space-between;
}
footer img {
  height: 44px;
  margin-bottom: 7px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #FFD77B;
  font-size: 1.06rem;
  text-decoration: none;
  margin-bottom: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  transition: color 0.13s;
  letter-spacing: 0.009em;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}
.footer-contact p {
  font-size: 0.99rem;
  color: #FFECC0;
  margin-bottom: 7px;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/**************************/
/* FAQ & LEGAL            */
/**************************/
.faq-list dl, .faq dl, .legal ul {
  margin: 0 0 28px 0;
}
.faq-list dt, .faq dt {
  font-weight: bold;
  color: var(--color-retro-blue);
  margin-top: 16px;
  margin-bottom: 2px;
  font-size: 1.06rem;
}
.faq-list dd, .faq dd {
  margin-left: 10px;
  font-size: 0.98rem;
}
.legal h2 { color: var(--color-retro-blue); margin-bottom: 10px; }
.legal ul {
  list-style: disc inside;
  font-size: 1rem;
}
.legal ul li {
  margin-bottom: 9px;
}
.legal a {
  color: var(--color-accent); text-decoration: underline; transition: color 0.14s; 
}
.legal a:hover { color: var(--color-retro-blue); }

/**************************/
/* THANK YOU PAGE         */
/**************************/
.thank-you {
  margin-bottom: 60px;
  padding: 60px 16px 80px 16px;
  background: #FFE5B0;
  border-radius: 22px;
  box-shadow: 0 6px 44px #E1813B18;
  text-align: center;
}
.thank-you h1 {
  color: #B85F13;
  margin-bottom: 20px;
  font-size: 2.05rem;
}
.thank-you p {
  color: #2F1B09;
  font-size: 1.18rem;
  margin-bottom: 26px;
}

/**************************/
/* COOKIE CONSENT BANNER  */
/**************************/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #431818;
  color: #FFD77B;
  box-shadow: 0 -2px 18px #4318181A;
  padding: 22px 24px 18px 24px;
  z-index: 2000;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: center;
  animation: slideUpCookie 0.6s cubic-bezier(.6,2,.42,1.09);
}
@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #FFD77B;
  font-size: 1.09rem;
  margin-bottom: 0;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  padding: 9px 24px;
  margin-left: 12px;
  margin-right: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cookie-banner .accept-btn {
  background: var(--color-accent);
  color: #fff;
}
.cookie-banner .accept-btn:hover {
  background: #B85F13;
  color: #fff;
}
.cookie-banner .reject-btn {
  background: #fff0e4;
  color: #C46822;
}
.cookie-banner .reject-btn:hover {
  background: #FFD77B;
  color: #84320F;
}
.cookie-banner .settings-btn {
  background: transparent;
  color: #FFD77B;
  border: 1.5px solid #FFD77B;
}
.cookie-banner .settings-btn:hover {
  background: #FFD77B;
  color: #431818;
}

/**************************/
/* COOKIE SETTINGS MODAL  */
/**************************/
.cookie-modal {
  position: fixed;
  z-index: 2200;
  top: 50%;
  left: 50%;
  transform: translate(-50%,130%) scale(0.89);
  background: #fffdf6;
  border-radius: 22px;
  box-shadow: 0 6px 60px #B85F1338;
  padding: 33px 25px 25px 25px;
  width: 90%;
  max-width: 450px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(.32,1.71,.63,.99), opacity 0.31s;
}
.cookie-modal.open {
  transform: translate(-50%,-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal h3 {
  font-size: 1.25rem;
  color: var(--color-retro-blue);
  margin-bottom: 10px;
}
.cookie-modal ul {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}
.cookie-modal li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-modal label {
  font-size: 1.01rem;
  color: #302312;
  user-select: none;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 20px;
  height: 20px;
  margin-right: 6px;
}
.cookie-modal .modal-actions {
  margin-top: 22px;
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}
.cookie-modal .save-btn, .cookie-modal .cancel-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border-radius: 7px;
  border: none;
  padding: 9px 21px;
  font-size: 1rem;
  font-weight: 700;
  transition: background .15s, color .17s;
  cursor: pointer;
}
.cookie-modal .save-btn {
  background: var(--color-accent);
  color: #fff;
}
.cookie-modal .save-btn:hover { background: #B85F13; }
.cookie-modal .cancel-btn {
  background: #FBEDDD;
  color: #B85F13;
}
.cookie-modal .cancel-btn:hover { background: #FFD77B; color: #84320F; }
.cookie-modal .close-x {
  position: absolute;
  right: 18px;
  top: 15px;
  background: none;
  border: none;
  color: #BD7000;
  font-size: 1.28rem;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal .close-x:hover { color: #84320F; }

/**************************/
/* RESPONSIVE STYLES      */
/**************************/
@media (max-width: 1080px) {
  .container { max-width: 100%; }
}
@media (max-width: 900px) {
  .section, .about-story, .team, .about, .testimonials, .features, .cta, .contact-info, .legal, .faq-list, .services, .pricing { padding: 30px 8px; }
}
@media (max-width: 700px) {
  .card-container, .feature-grid, .content-grid {
    gap: 12px;
  }
  .column {
    padding-right: 0;
  }
  .feature-grid > div {
    min-width: 150px;
    padding: 14px;
  }
  .hero .container { padding-top: 41px; padding-bottom: 41px; }
  .cta .container { padding: 28px 8px; }
  footer { padding-top: 26px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
  .feature-icons-row { gap: 20px; }
}
@media (max-width: 768px) {
  .content-wrapper, .content-grid, .feature-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .footer-contact, .footer-nav {
    align-items: flex-start;
  }
}

/* General utility classes */
.d-none { display: none !important; }

/**************************/
/* MICRO-INTERACTIONS     */
/**************************/
a, button, .btn-primary, .btn-secondary, .cookie-btn {
  outline: none;
  transition: box-shadow 0.16s, color 0.17s, background 0.17s;
}
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-btn:focus {
  box-shadow: 0 0 0 2.5px var(--color-accent);
}

/* For images and icons */
img {
  max-width: 100%;
  display: block;
}

/* Custom scrollbar retro style */
body::-webkit-scrollbar { width: 11px; background: #FFD77B; }
body::-webkit-scrollbar-thumb { background: #E1813B; border-radius: 9px; }

/* Fix input autofill retro style */
input:-webkit-autofill {
  box-shadow: 0 0 0 30px #FCF6DD inset !important;
  -webkit-text-fill-color: #2F1B09 !important;
}

/* END CSS */
