/* =======================================================
   CSS RESET & NORMALIZATION
   ======================================================= */
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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  background: #F5F3E7; /* Vintage soft beige */
  color: #232323;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #355c4c;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover,
a:focus {
  color: #A04623; /* Earthy retro orange */
  text-decoration: underline;
  outline: none;
}
ul, ol {
  margin-left: 2rem;
  margin-bottom: 20px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  background: none;
  border: none;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
}
th, td {
  padding: 12px 18px;
  text-align: left;
}
th {
  background: #E8D3B1;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.05em;
  font-size: 18px;
}
td {
  border-bottom: 1px solid #dec89c;
}
/* =======================================================
   VINTAGE RETRO PALETTE (with fallbacks)
   ======================================================= */
:root {
  --vintage-navy: #15334A;
  --vintage-blue: #7CAEB4;
  --vintage-beige: #F5F3E7;
  --vintage-cream: #FFF8E2;
  --vintage-orange: #DA7C3B;
  --vintage-brown: #A46D3D;
  --vintage-mustard: #FFD96F;
  --vintage-green: #5A8F6B;
  --brand-primary: #15334A;
  --brand-secondary: #7CAEB4;
  --brand-accent: #F5F6FA;
  --text-dark: #232323;
  --text-light: #F5F3E7;
}

/* =======================================================
   BRAND TYPOGRAPHY (Vintage-inspired)
   ======================================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  color: var(--vintage-navy);
  line-height: 1.15;
}
h1 { font-size: 2.7rem; margin-bottom: 20px; letter-spacing: -0.5px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; font-weight: 700; }
h4 { font-size: 1.1rem; margin-bottom: 10px; }
p, ul, ol, li {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
}
strong {
  color: #A46D3D;
  font-weight: 700;
}
.tagline {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--vintage-navy);
  margin: 14px 0 0 0;
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 0 #ffeabf;
}

/* =======================================================
   GENERAL LAYOUT & CONTAINERS
   ======================================================= */
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  background: var(--vintage-cream);
  border-radius: 18px;
  padding: 35px 26px;
  margin-bottom: 34px;
  box-shadow: 0 4px 18px 0 rgba(161, 109, 61, 0.10), 0 1.5px 1.5px 0 #ffeabf;
}

main {
  padding-top: 40px;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-size: 48px 48px;
  background-repeat: repeat;
  background-image: repeating-linear-gradient(45deg,#FFF8E2 0 12px,#FFD96F 12px 24px,#FFF8E2 24px 48px);
}

section:nth-child(even) {
  background-image: repeating-linear-gradient(135deg,#F5F3E7 0 16px,#E8D3B1 16px 32px,#F5F3E7 32px 48px);
}

/* =======================================================
   HEADER & NAVIGATION (with VINTAGE EFFECTS)
   ======================================================= */
header {
  background: var(--vintage-navy);
  color: var(--text-light);
  padding: 22px 0 18px 0;
  box-shadow: 0 3px 0 0 #FFD96F,0 2px 12px 0 rgba(21,51,74,0.07);
  position: sticky;
  top: 0;
  z-index: 80;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
header img {
  height: 45px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-left: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--vintage-beige);
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 8px;
  letter-spacing: 0.03em;
  position: relative;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--vintage-navy);
  background: #FFD96F;
  box-shadow: 0 2px 0 0 #A46D3D;
  text-decoration: none;
}
.btn-primary,
.btn-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.11rem;
  padding: 11px 30px;
  border-radius: 32px;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(161,109,61,0.13);
  transition: background 0.23s, color 0.17s, border-color 0.19s, box-shadow 0.14s;
  display: inline-block;
  margin-top: 24px;
  margin-bottom: 14px;
  cursor: pointer;
}
.btn-primary {
  color: var(--vintage-beige);
  background: var(--vintage-brown);
  border-color: #F5C589;
  text-shadow: 1px 1px 0 #FFD96F;
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--vintage-navy);
  color: #FFD96F;
  border-color: #FFD96F;
  box-shadow: 0 3px 20px 1.5px #FFD96F66;
}
.btn-secondary {
  color: #15334A;
  background: #FFD96F;
  border-color: #A46D3D;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #A46D3D;
  color: #FFF8E2;
  border-color: #FFD96F;
  box-shadow: 0 3px 18px 0 #A46D3D33;
}

/* Hide desktop nav on mobile, show burger */
.mobile-menu-toggle {
  display: none;
  background: #FFD96F;
  color: var(--vintage-navy);
  font-size: 2.4rem;
  border-radius: 8px;
  width: 52px; height: 52px;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  z-index: 120;
  border: 2px solid #E8D3B1;
  box-shadow: 0 2px 12px #e8d3b175;
  transition: background 0.2s, color 0.17s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #A46D3D;
  color: #FFD96F;
  outline: none;
}

/* ========== MOBILE MENU (slide overlay) ========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,243,231,0.96);
  box-shadow: 0 4px 60px #15334A44;
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(-110vw);
  transition: transform 0.33s cubic-bezier(0.87,0.13,0.47,1.15);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #A46D3D;
  color: #FFD96F;
  border-radius: 36px;
  font-size: 2.1rem;
  width: 48px; height: 48px;
  border: 2px solid #FFD96F;
  margin: 24px 24px 10px 0;
  box-shadow: 0 2px 12px #da7c3b2a;
  transition: background 0.2s, color 0.19s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #A46D3D;
  background: #FFD96F;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: flex-start;
  margin: 48px 0 0 44px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--vintage-navy);
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  letter-spacing: 0.08em;
  transition: color 0.15s,border-color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #A46D3D;
  border-bottom: 2.5px solid #FFD96F;
  outline: none;
}

/* ================= HEADER/FOOTER RESPONSIVE NAV ================== */
@media (max-width: 1020px) {
  .main-nav {
    gap: 8px;
  }
  header .container {
    gap: 12px;
  }
}
@media (max-width: 870px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    gap: 4px;
  }
}

/* =======================================================
   FOOTER (Vintage-formal style)
   ======================================================= */
footer {
  background: var(--vintage-navy);
  color: var(--text-light);
  padding: 44px 0 30px 0;
  font-size: 1rem;
  box-shadow: 0 -2px 22px 0 #15334A30;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 38px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 22px 0 22px;
}
footer nav a {
  color: var(--text-light);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: underline dotted #ffd96f44;
}
footer nav a:hover,
footer nav a:focus {
  color: #FFD96F;
}
.footer-info {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 0.95rem;
  margin-top: 2px;
  line-height: 1.55;
  background: rgb(255 255 255 / 45%);
  padding: 7px 13px 7px 13px;
  border-radius: 8px;
}
footer img {
  height: 36px;
  margin-bottom: 8px;
}

@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  footer nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 13px;
    margin: 12px 0 7px 0;
  }
}

/* =======================================================
   FLEXBOX LAYOUTS FOR COMPONENTS/ELEMENTS
   ======================================================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff8e2;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 #a16d3d1a;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 18px 18px 18px;
  min-width: 240px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s,transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 5px 25px 0 #a16d3d45;
  transform: translateY(-4px) scale(1.01);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff8e2;
  border-radius: 13px;
  margin-bottom: 24px;
  box-shadow: 0 3px 18px 0 #ffd96f33, 0 1.5px 1.5px 0 #ffeabf;
  max-width: 450px;
  border: 2px solid #FFD96F;
}
.testimonial-card p {
  color: #1B2220;
  font-size: 1.13rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-style: italic;
  letter-spacing: 0.01em;
  margin-bottom: 0;
}
.testimonial-card .stars {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: #A46D3D;
  letter-spacing: 0.08em;
}
.testimonial-card strong {
  color: #7CAEB4;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =======================================================
   TABLE DESIGN (FOR TARIFS)
   ======================================================= */
table {
  background: #FFF8E2;
  border-radius: 16px;
  box-shadow: 0 4px 18px 0 #ffd96f22;
  overflow: hidden;
}
thead {
  background: #FFD96F;
  color: #15334A;
}
tbody tr {
  transition: background 0.13s;
}
tbody tr:hover {
  background: #FFF5CF;
}
.price {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: #A46D3D;
  letter-spacing: 0.03em;
  font-weight: 700;
}

/* =======================================================
   SPACING, GAPS, ALIGNMENTS (strict to flexbox)
   ======================================================= */
section, .card, .testimonial-card, .feature-item, .card-container, .content-grid, .text-image-section {
  margin-bottom: 20px;
}
.card-container, .content-grid {
  gap: 24px;
}
.feature-item {
  gap: 15px;
}
.text-image-section {
  gap: 30px;
}

/* =======================================================
   BUTTON & LINK MICROLEVEL EFFECTS
   ======================================================= */
.btn-primary, .btn-secondary {
  box-shadow: 0 2px 9px 0px #ffd96f35;
  will-change: transform;
  transition: box-shadow 0.14s, transform 0.18s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.98) translateY(1px);
}

/* =======================================================
   ACCESSIBILITY & FOCUS STYLES
   ======================================================= */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2.5px solid #A46D3D;
  outline-offset: 2px;
  background: #FFD96F77;
}

/* =======================================================
   RESPONSIVENESS & MEDIA QUERIES
   ======================================================= */
@media (max-width: 860px) {
  main, section {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .container {
    max-width: 93vw;
    padding: 0 0;
  }
}
@media (max-width: 700px) {
  .content-wrapper {
    padding: 28px 10px;
  }
  h1 { font-size: 2.08rem; }
  h2 { font-size: 1.45rem; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 540px) {
  section {
    padding: 24px 5px;
  }
  .content-wrapper {
    padding: 14px 3px;
  }
  .card,
  .testimonial-card {
    padding: 15px 7px 10px 7px;
    min-width: unset;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column!important;
    gap: 20px!important;
  }
}

/* =======================================================
   COOKIE CONSENT BANNER (Retro ribbon style)
   ======================================================= */
.cookie-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(110%);
  bottom: 0;
  width: 97vw;
  background: #FFD96F;
  color: #15334A;
  box-shadow: 0 -4px 28px 0 #15334A45;
  border-radius: 20px 20px 0 0;
  border-top: 4px double #A46D3D;
  font-family: 'Montserrat', Arial, sans-serif;
  z-index: 2500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 17px 22px;
  font-size: 1.04rem;
  gap: 24px;
  transition: transform 0.34s cubic-bezier(0.83,-0.08,0.41,0.99);
}
.cookie-banner.active {
  transform: translateX(-50%) translateY(0);
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 340px;
  margin-right: 14px;
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  gap: 16px;
}
.cookie-banner button {
  padding: 7px 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px #A46D3D12;
  margin-left: 0;
  margin-right: 0;
  transition: background 0.16s, color 0.17s, border-color 0.19s;
}
.cookie-banner .accept {
  background: #15334A;
  color: #FFD96F;
  border-color: #A46D3D;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #A46D3D;
  color: #FFD96F;
  border-color: #FFD96F;
}
.cookie-banner .reject {
  background: #F4E4CE;
  color: #A46D3D;
  border-color: #FFD96F;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #FFD96F;
  color: #A46D3D;
  border-color: #A46D3D;
}
.cookie-banner .settings {
  background: #FFF8E2;
  color: #15334A;
  border-color: #FFD96F;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #A46D3D;
  color: #F4E4CE;
  border-color: #FFD96F;
}
@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 11px 5px;
    font-size: 0.95rem;
  }
  .cookie-banner-buttons {
    gap: 7px!important;
    flex-wrap: wrap;
  }
}

/* ================= COOKIE MODAL ================== */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 7000;
  top: 0; left: 0;
  width: 100vw;height: 100vh;
  background: rgba(21,51,74,0.50);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.32s;
}
@keyframes fadeIn { from { opacity: 0;} to {opacity:1;} }

.cookie-modal {
  background: #FFF8E2;
  border-radius: 18px;
  min-width: 300px;
  max-width: 98vw;
  min-height: 250px;
  padding: 34px 27px 22px 27px;
  box-shadow: 0 6px 40px 4px #a46d3d50;
  border: 4px double #FFD96F;
  position: relative;
  z-index: 7030;
  font-family: 'Montserrat', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cookie-modal h2 {
  font-size: 1.33rem;
  color: #A46D3D;
  margin-bottom: 8px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFD96F44;
  border-radius: 7px;
  padding: 8px 8px;
  font-size: 1.08rem;
  color: #15334A;
}
.cookie-category input[type='checkbox'] {
  accent-color: #A46D3D;
  width: 18px; height: 18px;
  margin-right: 6px;
}
.cookie-category .label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #A46D3D;
  margin-right: 9px;
}
.cookie-category .always {
  font-size: 0.96rem;
  color: #547657;
  font-style: italic;
  margin-left: 3px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 17px;
  margin-top: 15px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  padding: 7px 16px;
  font-size: 1rem;
  border-radius: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: 2px solid #FFD96F;
  background: #15334A;
  color: #FFD96F;
  transition: background 0.14s,color 0.17s;
}
.cookie-modal-actions button:focus,
.cookie-modal-actions button:hover {
  background: #FFD96F;
  color: #15334A;
}
.cookie-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2rem;
  color: #A46D3D;
  background: #FFD96F;
  border-radius: 16px;
  width: 34px;height: 34px;
  border: 2px solid #A46D3D;
  text-align: center;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: 0 2px 9px #da7c3b26;
  transition: background 0.15s;
}
.cookie-modal-close-btn:focus,
.cookie-modal-close-btn:hover {
  background: #A46D3D;
  color: #FFD96F;
}

@media (max-width: 430px) {
  .cookie-modal {
    padding: 22px 5px 13px 5px;
  }
}

/* =======================================================
   MICROLEVEL RETRO EFFECTS: SHADOWS, BORDERS & PATTERNS
   ======================================================= */
.card, .content-wrapper, .testimonial-card, .cookie-modal {
  box-shadow: 0 2px 6px #a46d3d22, 0 8px 48px 2px #ffd96f18;
}

/* =========== UTILITIES =========== */
.hide { display: none!important; }

/* ==============================================================
   DECORATIVE VINTAGE DETAILS (borders, pattern dots, color blocks)
   ============================================================== */
.content-wrapper {
  border: 2.5px dashed #FFD96F;
  background: repeating-linear-gradient(135deg, #FFF8E2 0 16px,#FFEABF 16px 32px,#FFF8E2 32px 48px);
}
@media (max-width: 500px) {
  .content-wrapper, .card {
    border-radius: 8px;
  }
}

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