/* 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, 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: #F5F7FA;
}

body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #215273;
  background: #F5F7FA;
}

*:focus {
  outline: 2px dashed #E8B41C;
  outline-offset: 2px;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* VINTAGE RETRO BRAND COLORS & TYPO */
:root {
  --primary: #215273;
  --secondary: #E8B41C;
  --accent: #F5F7FA;
  --vintage-orange: #E87923;
  --vintage-blue: #4E769F;
  --vintage-red: #D95C5C;
  --vintage-green: #67A785;
  --vintage-beige: #FFF8E1;
  --retro-border: #E8B41C;
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat'), url('https://fonts.googleapis.com/css?family=Montserrat:700&display=swap');
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  color: #215273;
  letter-spacing: -1px;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #E8B41C;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
  border-bottom: 3px dotted var(--secondary);
  padding-bottom: 6px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: #4E769F;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1.1rem;
  color: #67A785;
}

p, li, span, label, input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #215273;
  margin-bottom: 6px;
}

strong {
  color: #D95C5C;
  font-weight: bold;
}

ul, ol {
  padding-left: 1.5rem;
  list-style: square;
  margin-bottom: 18px;
}

li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--vintage-beige);
  border-radius: 18px;
  border: 2px solid #E8B41C;
  box-shadow: 0 6px 24px 2px rgba(33,82,115,0.07);
}

.content-wrapper {
  padding: 24px 0;
}

/* HEADER */
header {
  box-shadow: 0 2px 8px rgba(33,82,115,0.07);
  background: #FFF8E1;
  border-bottom: 4px solid var(--secondary);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  text-decoration: none;
  color: #215273;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  padding: 4px 0;
  position: relative;
  transition: color 0.14s linear;
}
header nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #E8B41C;
  transition: width 0.2s linear;
  position: absolute;
  left: 0;
  bottom: -2px;
}
header nav a:hover,
header nav a:focus {
  color: #D95C5C;
}
header nav a:hover::after,
header nav a:focus::after {
  width: 100%;
}

.cta-primary, .cta-secondary {
  display: inline-block;
  border-radius: 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px 0 rgba(33,82,115,0.13);
  border: 2px solid transparent;
  transition: background 0.18s, color 0.18s, border 0.18s;
  cursor: pointer;
}
.cta-primary {
  background: var(--secondary);
  color: #215273;
  border-color: #E8B41C;
  padding: 10px 30px;
  font-size: 1.1rem;
  margin-left: 18px;
}
.cta-primary:hover,
.cta-primary:focus {
  background: #D95C5C;
  color: #fff;
  border-color: #D95C5C;
}
.cta-secondary {
  background: transparent;
  border: 2px solid #215273;
  color: #215273;
  padding: 8px 22px;
  font-size: 1rem;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: #215273;
  color: #FFF8E1;
  border-color: #215273;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #215273;
  cursor: pointer;
  display: none;
  margin-left: 12px;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.16s;
  z-index: 1002;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #E8B41C;
  color: #215273;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #215273;
  color: #fff;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(0.7,0,0.3,1);
  display: flex;
  flex-direction: column;
  box-shadow: 6px 0 32px rgba(33,82,115,0.23);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #FFF8E1;
  align-self: flex-end;
  margin: 22px 24px 0 0;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 1202;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #E8B41C;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 24px 0 0 36px;
  gap: 26px;
}
.mobile-nav a {
  color: #FFF8E1;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding-right: 36px;
  transition: color 0.14s;
  position: relative;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E8B41C;
}

@media (max-width: 992px) {
  header nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 993px) {
  .mobile-menu {
    display: none !important;
  }
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(120deg, #FFF8E1 80%, #E8B41C 100%);
  padding: 60px 0 40px 0;
  border-bottom: 4px dotted #E8B41C;
  position: relative;
  box-shadow: 0 8px 32px rgba(232,180,28,0.06);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hero h1 {
  color: #215273;
  text-shadow: 2px 2px 0 #E8B41C;
}

/* SECTION GAPS & WRAPPERS */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
}
.features-grid > div {
  background: #FFF8E1;
  border-radius: 11px;
  border: 2px solid #E8B41C;
  box-shadow: 0 2px 10px 0 rgba(33,82,115,0.045);
  flex: 1 1 210px;
  min-width: 192px;
  max-width: 280px;
  padding: 20px 15px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.18s;
}
.features-grid > div:hover {
  box-shadow: 0 8px 28px 0 rgba(215,92,92,0.14);
  transform: translateY(-4px) scale(1.022);
}
.features-grid img {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

/* TESTIMONIALS */
.testimonial-slider,
.testimonial-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.testimonial-slider {
  justify-content: flex-start;
  gap: 32px;
}
.testimonial-card {
  background: #FFF8E1;
  border: 2px dashed #E87923;
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(33,82,115,0.06);
  padding: 20px 22px 16px;
  min-width: 240px;
  max-width: 340px;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  z-index: 0;
  transition: box-shadow 0.14s, border-color 0.14s;
}
.testimonial-card:hover {
  border-color: #D95C5C;
  box-shadow: 0 8px 32px 0 rgba(33,82,115,0.12);
}
.testimonial-card p {
  font-style: italic;
  color: #215273;
  font-size: 1.08rem;
  margin-bottom: 12px;
  margin-top: 2px;
}
.testimonial-card span {
  font-size: 0.96rem;
  font-weight: bold;
  color: #4E769F;
}
.testimonial-card .stars {
  font-size: 1.08rem;
  color: #E8B41C;
  margin-top: 6px;
  letter-spacing: 2px;
}
footer span {
  color: white !important;
}
/* CONTACT SHORT & DETAILS */
.contact-short {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 25px;
}
.contact-short > div {
  background: #F5F7FA;
  border: 1.5px solid #E8B41C;
  border-radius: 8px;
  padding: 12px 16px 9px 12px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
}
li img {
  width: 150px;
}
.contact-details p {
  margin-bottom: 7px;
  font-size: 1rem;
}

/* CARD LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF8E1;
  box-shadow: 0 2px 9px rgba(232,180,28,0.09);
  border-radius: 12px;
  border: 2.5px solid #67A785;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.14s, transform 0.14s, border-color 0.14s;
}
.card:hover {
  box-shadow: 0 12px 34px rgba(78,118,159,0.15);
  transform: scale(1.02);
  border-color: #E87923;
}

.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;
}

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

/* FOOTER */
footer {
  background: #215273;
  padding: 34px 0 16px;
  color: #FFF8E1;
  border-top: 4px solid #E8B41C;
  font-family: 'Open Sans', Arial, sans-serif;
  width: 100%;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  margin-bottom: 16px;
}
.footer-nav img {
  width: 58px;
  margin-right: 20px;
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-nav nav a {
  color: #FFF8E1;
  opacity: 0.89;
  font-size: 1.02rem;
  text-decoration: none;
  transition: color 0.13s, opacity 0.13s;
}
.footer-nav nav a:hover,
.footer-nav nav a:focus {
  color: #E8B41C;
  opacity: 1;
}
.footer-info {
  display: flex;
  gap: 14px;
  font-size: 0.98rem;
  align-items: center;
}

/* FORM ELEMENTS */
input, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  border: 1.3px solid #E8B41C;
  border-radius: 7px;
  background: #FFF8E1;
  padding: 8px 12px;
  margin-bottom: 14px;
  transition: border 0.14s;
}
input:focus, textarea:focus {
  border-color: #215273;
}
label {
  font-weight: 600;
  margin-bottom: 2px;
}
button, input[type="submit"] {
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* RETRO ELEMENT DETAILS */
.section {
  background:
    repeating-linear-gradient(135deg, #FFF8E1, #FFF8E1 12px, #fff1c7 13px, #FFF8E1 24px);
}
.features-grid > div, .testimonial-card, .card {
  border-style: dashed;
  border-width: 2.2px;
}
.card {
  background:
    repeating-linear-gradient(120deg, #FFF8E1, #FFF8E1 12px, #fcefc8 15px, #FFF8E1 24px);
}

/* LINK STYLES */
a {
  color: #215273;
  text-decoration: underline;
  transition: color 0.14s;
}
a:hover, a:active, a:focus {
  color: #E8B41C;
  text-decoration: none;
}

/* TABLES (if any) */
table {
  border-collapse: collapse;
  width: 100%;
  background: #FFF8E1;
}
th, td {
  padding: 12px 10px;
  border: 1.5px solid #E8B41C;
}
th {
  background: #E8B41C;
  color: #215273;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .features-grid {
    gap: 14px;
  }
  .testimonial-slider {
    gap: 18px;
  }
  .card-container {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 38px 0 22px;
  }
  .features-grid {
    flex-direction: column;
  }
  .testimonial-slider { flex-direction: column; }
  .contact-short { flex-direction: column; gap: 14px; }
  .footer-nav { flex-direction: column; align-items: flex-start; gap: 12px;}
  .footer-info { flex-direction: column; gap: 6px;}
  .section { padding: 22px 0; margin-bottom: 28px; }
  .content-wrapper { padding: 8px 0; }
  .card-container, .content-grid { flex-direction: column; gap: 10px; }
  .text-image-section { flex-direction: column; gap: 16px; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.67rem; }
  h2 { font-size: 1.17rem; }
  .footer-info { font-size: 0.93rem; }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.cta-primary, .cta-secondary, .card, .testimonial-card, .features-grid > div, .mobile-menu,
.mobile-menu-toggle, .mobile-menu-close {
  transition: all 0.18s cubic-bezier(.4,.06,.36,1);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2000;
  background: #FFF8E1;
  border-top: 3px solid #E8B41C;
  box-shadow: 0 -6px 24px rgba(33,82,115,0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px 20px 12px;
  font-size: 1.09rem;
  gap: 16px;
  animation: slideBannerUp 0.44s cubic-bezier(.5,.1,.37,1);
}
.cookie-banner p {
  color: #215273;
  margin-bottom: 6px;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}
.cookie-banner button {
  background: #E8B41C;
  color: #215273;
  border: 2px solid #215273;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 7px 18px;
  margin: 0 4px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(33,82,115,0.05);
  transition: background 0.11s, color 0.11s, border 0.11s;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: #215273;
  color: #FFF8E1;
  border-color: #E8B41C;
}

@keyframes slideBannerUp {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  z-index: 2010;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33,82,115,0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.19s;
  animation: fadeInModal 0.44s cubic-bezier(.49,.13,.3,1);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #FFF8E1;
  border: 2px solid #E8B41C;
  border-radius: 16px;
  min-width: 310px;
  max-width: 92vw;
  box-shadow: 0 14px 46px 8px rgba(33,82,115,0.13);
  padding: 30px 36px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  gap: 18px;
  animation: popIn 0.23s cubic-bezier(.43,.14,.38,1);
}
@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.cookie-modal-content h3 {
  margin-bottom: 10px;
  color: #215273;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
  font-size: 1.06rem;
}
.cookie-switch {
  appearance: none;
  width: 38px;
  height: 24px;
  background: #E8B41C;
  outline: none;
  border: 2px solid #E8B41C;
  border-radius: 12px;
  position: relative;
  transition: background 0.12s, border 0.12s;
  cursor: pointer;
}
.cookie-switch:checked {
  background: #215273;
  border-color: #215273;
}
.cookie-switch::after {
  content: '';
  display: block;
  background: #fff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: left 0.13s;
}
.cookie-switch:checked::after {
  left: 17px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 17px;
  font-size: 1.5rem;
  background: none;
  color: #215273;
  border: none;
  cursor: pointer;
  z-index: 1;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background 0.12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #E8B41C;
  color: #215273;
}
.cookie-modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}
.cookie-modal-actions button {
  background: #E8B41C;
  color: #215273;
  border: 2px solid #215273;
  border-radius: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 7px 18px;
  cursor: pointer;
  margin-right: 4px;
  transition: background 0.09s, color 0.09s, border 0.09s;
}
.cookie-modal-actions button:hover,
.cookie-modal-actions button:focus {
  background: #215273;
  color: #FFF8E1;
  border-color: #E8B41C;
}

/* MISCELLANEOUS */
blockquote {
  border-left: 4px solid #E8B41C;
  background: #FFF8E1;
  margin: 16px 0;
  padding: 12px 28px;
  border-radius: 12px;
  font-style: italic;
}
code, pre {
  background: #F9F5EA;
  color: #215273;
  border-radius: 4px;
  font-size: 0.97rem;
}

/* CLASSIC PATTERNS */
body {
  background: repeating-linear-gradient(120deg, #FFF8E1 0 40px, #F5F7FA 40px 80px);
}

.section, .card, .testimonial-card {
  box-shadow: 0 3px 14px 0 rgba(33,82,115,0.04);
}

/* SCROLLBAR FOR VINTAGE LOOK */
::-webkit-scrollbar {
  width: 11px;
  background: #FFF8E1;
}
::-webkit-scrollbar-thumb {
  background: #E8B41C;
  border-radius: 7px;
  border: 3px solid #FFF8E1;
}

/* Z-INDEX COMPLIANCE */
header { z-index: 101; position: relative; }
footer { z-index: 90; position: relative; }

/* NO GRID PROPERTIES: ALL FLEX ONLY */
