/* =========================
  Twisted Orbit Berlin CSS
  Style: playful_dynamic
  Strictly FLEXBOX, No Grid, Mobile First
  =========================== */

/* ========= 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,
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F5F7FA;
  color: #174B64;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
:focus {
  outline: 2px solid #E8AF30;
  outline-offset: 2px;
}

/* ======= VARIABLE FALLBACKS (no custom properties used directly) ======= */
:root {
  /* Primary: Blue, Secondary: Yellow, Accent: Light BG */
}

/* ============ TYPOGRAPHY ============ */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  background: #F5F7FA;
  color: #174B64;
  letter-spacing: 0.01em;
}
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #174B64;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
  line-height: 1.15;
  text-shadow: 1px 3px 0 #E8AF30;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #174B64;
  margin-bottom: 18px;
  text-shadow: 0 2px 0 #F5F7FA;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #174B64;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}
p, ul, ol, li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #174B64;
  line-height: 1.6;
}
strong {
  color: #E8AF30;
}
blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #174B64;
  background: #fffbe7;
  padding: 18px 26px;
  border-left: 5px solid #E8AF30;
  border-radius: 18px;
  margin: 22px 0 18px 0;
}

/* Playful font for fun, not overused, for highlights only */
.cta, .hero h1, .footer-nav a, .mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.04em;
}

/* ========== CONTAINER & LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ========= SECTION SPACING ========= */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
@media (max-width: 768px) {
  .section, section {
    margin-bottom: 40px;
    padding: 24px 5px;
  }
}

/* ========== HEADER ========== */
header {
  background: #174B64;
  box-shadow: 0 4px 18px rgba(23,75,100,0.08);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}
header a img {
  height: 44px;
  transition: transform 0.3s cubic-bezier(.8,.4,.2,1);
}
header a img:hover {
  transform: rotate(-10deg) scale(1.07);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
.main-nav a {
  padding: 10px 22px;
  color: #fff;
  font-weight: 600;
  border-radius: 24px;
  transition: background 0.2s, color 0.2s, box-shadow 0.28s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #E8AF30;
  color: #174B64;
  box-shadow: 0 4px 18px rgba(232,175,48,0.13);
}
.main-nav .cta {
  background: #E8AF30;
  color: #174B64;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(232,175,48,.14), 0 1.5px 0 #fffbe7;
  border-radius: 44px;
  padding: 12px 30px;
  margin-left: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s;
  position: relative;
}
.main-nav .cta::after {
  content: '→';
  margin-left: 7px;
  position: relative;
  top: 1px;
  font-size: 1.1em;
  opacity: 0.7;
  transition: margin 0.2s;
}
.main-nav .cta:hover::after {
  margin-left: 16px;
}
.main-nav .cta:hover, .main-nav .cta:focus {
  background: #fff;
  color: #174B64;
  box-shadow: 0 6px 24px rgba(232,175,48,0.16);
}

.mobile-menu-toggle {
  display: none;
  background: #E8AF30;
  color: #174B64;
  font-size: 2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1.5px 6px rgba(232,175,48,0.13);
  transition: background 0.15s, color 0.2s;
  z-index: 40;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #ffd568;
  color: #174B64;
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 99;
  background: #fff;
  box-shadow: 0 6px 40px 0 rgba(30,54,65,.10);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,.1,.42,1);
  display: flex;
  flex-direction: column;
  padding: 0 0 48px 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: #ffde7b;
  color: #174B64;
  font-size: 2.1rem;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  margin-top: 24px;
  margin-left: 20px;
  align-self: flex-start;
  box-shadow: 0 3px 18px rgba(232,175,48,0.13);
  transition: background 0.2s, color 0.15s;
  z-index: 110;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #E8AF30;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin-top: 40px;
  padding-left: 28px;
}
.mobile-nav a {
  color: #174B64;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 10px 12px 0;
  border-radius: 22px;
  transition: background 0.18s, color 0.2s;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E8AF30;
  color: #fff;
  padding-left: 10px;
}
.mobile-nav a.cta {
  background: #174B64;
  color: #fff;
  font-weight: bold;
  padding-left: 14px;
  border-radius: 26px;
}

@media (max-width: 1070px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1071px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(95deg, #E8AF30 0%, #fffbe7 100%);
  padding: 48px 0 32px 0;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
}
.hero .container {
  z-index: 1;
  position: relative;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 26px;
}
.hero h1 {
  font-size: 2.3rem;
  color: #174B64;
  line-height: 1.15;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 14px;
}
.hero p {
  color: #174B64;
  font-size: 1.13rem;
  max-width: 530px;
}
.hero .cta {
  margin-top: 12px;
}

/* ========== CTA BUTTONS ========== */
.cta, a.cta, button.cta {
  font-family: 'Montserrat', Arial,sans-serif;
  display: inline-block;
  background: #174B64;
  color: #fff;
  font-size: 1.09rem;
  font-weight: 700;
  border-radius: 40px;
  padding: 14px 38px;
  box-shadow: 0 3px 16px rgba(23,75,100,0.15);
  letter-spacing: 0.04em;
  transition: background 0.19s, color 0.15s, transform 0.23s, box-shadow 0.23s;
  position: relative;
  border: 2.5px solid #E8AF30;
  margin-top: 8px;
}
.cta:hover, .cta:focus {
  background: #E8AF30;
  color: #174B64;
  transform: translateY(-1.5px) scale(1.035) rotate(-1.5deg);
  box-shadow: 0 6px 18px rgba(232,175,48,0.23);
  border-color: #174B64;
}
.cta:active {
  background: #ffd568;
  color: #174B64;
}

/* ========== FEATURES FLEXBOX ========== */
.features .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.feature-grid, .features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
}
.feature {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 3.2px 16px rgba(23,75,100,.09),0 1.5px 0 #E8AF30;
  padding: 26px 24px 22px 24px;
  min-width: 220px;
  max-width: 305px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.28s;
  border: 2.5px solid transparent;
}
.feature img {
  height: 42px;
  margin-bottom: 10px;
  transform: scale(1) rotate(-3deg);
  transition: transform 0.35s cubic-bezier(.8,.3,.4,1);
}
.feature:hover {
  box-shadow: 0 7px 28px rgba(232,175,48,0.14);
  transform: translateY(-4px) scale(1.031) rotate(1.5deg);
  border: 2.5px solid #E8AF30;
  z-index: 2;
}
.feature:hover img {
  transform: scale(1.14) rotate(7deg);
}
.feature h3 {
  margin-bottom: 6px;
  color: #174B64;
  font-size: 1.15rem;
}
.feature p {
  color: #174B64;
  font-size: 1rem;
  margin-bottom: 0;
}

/* ========== CARDS & FLEXBOX CONTAINERS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 18px rgba(23,75,100,.12);
  margin-bottom: 20px;
  position: relative;
  padding: 22px 22px 16px 22px;
}
.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: #fff;
  border-radius: 28px;
  box-shadow: 0 4px 22px rgba(23,75,100,0.10);
  color: #174B64;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 540px;
  flex-basis: 1 1 300px;
  border-left: 5px solid #E8AF30;
  position: relative;
  transition: box-shadow 0.21s, transform 0.22s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 38px rgba(232,175,48,0.16);
  transform: scale(1.021) rotate(-1.5deg);
}
.testimonial-card p {
  color: #174B64;
  font-weight: 500;
  margin-bottom: 0;
}
.testimonial-author {
  font-weight: bold;
  color: #E8AF30;
  font-size: 1rem;
  margin-top: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.pricing-table {
  background: #fffbe7;
  border: 2.5px solid #E8AF30;
  border-radius: 18px;
  padding: 18px 26px;
  margin-top: 14px;
  box-shadow: 0 2px 16px rgba(232,175,48,0.09);
}
.pricing-table h3 {
  color: #E8AF30;
  margin-bottom: 10px;
}
.pricing-table ul li {
  color: #174B64;
  font-size: 1rem;
  margin-bottom: 8px;
}

/* About Preview Section */
.about-preview, .about-team {
  background: linear-gradient(90deg, #fffbe7 60%, #E8AF30 100%);
  border-radius: 38px;
  box-shadow: 0 2px 28px 0 rgba(232,175,48,0.10);
}

.contact-preview {
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 1.5px 12px 0 rgba(30,54,65,.08);
}

/* ========== LEGAL / CONTENT SECTIONS ========== */
.legal-info {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(23,75,100,0.08);
  margin-bottom: 60px;
  padding: 30px 20px;
}

/* ========== FOOTER ========== */
footer {
  background: #174B64;
  color: #fff;
  padding: 38px 0 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 90px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fffbe7;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.25s;
  padding: 4px 12px;
  border-radius: 16px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E8AF30;
  background: #fffbe7;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a img { width: 30px; transition: transform 0.28s; }
.footer-social a:hover img { transform: scale(1.23) rotate(-6deg); }
.footer-copy {
  width: 100%;
  text-align: right;
  margin-top: 18px;
}
.footer-copy small {
  color: #F5F7FA;
  font-size: 0.94rem;
  opacity: 0.85;
}
footer img {
  height: 42px;
}

/* ========== RESPONSIVE FLEX / LAYOUTS ========== */
@media (max-width: 970px) {
  .feature-grid, .features .feature-grid {
    gap: 18px;
  }
  .feature {
    min-width: 160px;
    max-width: 100%;
    flex: 1 1 160px;
  }
  .footer-nav, .footer-social, .content-wrapper {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .section, section {
    padding: 22px 0;
    margin-bottom: 28px;
  }
  .feature-grid, .features .feature-grid,
  .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature, .card {
    max-width: 100%;
    min-width: 0;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .footer-copy {
    text-align: left;
    margin-top: 12px;
  }
  header .container {
    height: 64px;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .about-preview, .about-team {
    border-radius: 12px;
    padding: 18px 10px;
  }
}
@media (max-width: 520px) {
  .container {
    padding-left: 3vw;
    padding-right: 3vw;
  }
  h1, .h1 { font-size: 1.65rem; }
  h2, .h2 { font-size: 1.2rem; }
  .cta, a.cta, button.cta { padding: 12px 16px; font-size: 0.98rem; }
  .feature, .card {
    padding: 13px 10px 11px 10px;
  }
}

/* ====== INTERACTIVE/ANIMATED MICROS ====== */
.cta, .main-nav a, .feature, .testimonial-card, .footer-nav a, .mobile-nav a, .mobile-menu-close, .mobile-menu-toggle {
  transition: background 0.2s, color 0.2s, transform 0.19s, box-shadow 0.13s;
}
.cta:active, .main-nav a:active, .feature:active, .testimonial-card:active, .footer-nav a:active, .mobile-nav a:active {
  transform: scale(0.96) rotate(-2.2deg);
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  width: 100vw;
  background: #174B64;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 -4px 32px rgba(23,75,100,0.12);
  padding: 25px 8vw 17px 8vw;
  font-size: 1rem;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  animation: banner-slidein 0.65s cubic-bezier(.41,.91,.66,1.1) 1;
}
@keyframes banner-slidein {
  from {transform: translateY(140%); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-consent-banner button {
  margin: 0 10px 0 0;
}
.cookie-consent-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-accept {
  background: #E8AF30;
  color: #174B64;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.19s, color 0.19s, box-shadow 0.13s;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #fffbe7;
  color: #174B64;
  box-shadow: 0 0 0 2px #E8AF30;
}
.cookie-reject {
  background: #fffbe7;
  color: #174B64;
  font-weight: 700;
  padding: 12px 19px;
  border-radius: 30px;
  border: 2px solid #E8AF30;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.13s, color 0.13s, box-shadow 0.13s;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #E8AF30;
  color: #fff;
  border-color: #174B64;
}
.cookie-settings {
  background: #174B64;
  color: #E8AF30;
  font-weight: 600;
  padding: 12px 19px;
  border: 2px solid #E8AF30;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: background 0.18s, color 0.19s, border 0.14s;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #E8AF30;
  color: #174B64;
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -52%) scale(1);
  background: #fff;
  color: #174B64;
  z-index: 160;
  box-shadow: 0 8px 54px rgba(23,75,100,0.17);
  border-radius: 26px;
  padding: 36px 30px 30px 30px;
  min-width: 285px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 1;
  visibility: visible;
  animation: cookie-modal-in 0.4s cubic-bezier(.45,1.34,.64,1.12) 1;
}
@keyframes cookie-modal-in {
  from {transform: translate(-50%, 120%) scale(0.81); opacity:0;}
  to {transform: translate(-50%, -52%) scale(1); opacity:1;}
}
.cookie-modal h3 {
  color: #E8AF30;
  font-size: 1.18rem;
  margin-bottom: 12px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}
.cookie-modal-category label {
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: #E8AF30;
  border-radius: 5px;
}
.cookie-modal-category input[disabled] {
  accent-color: #174B64;
  opacity: 0.7;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: #E8AF30;
  color: #174B64;
  border-radius: 50%;
  width: 38px; height: 38px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  z-index: 2;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal-close:hover { background: #174B64; color: #fff; }

@media (max-width: 520px) {
  .cookie-consent-banner { padding: 14px 3vw 12px 3vw;}
  .cookie-modal { padding: 18px 6px 22px 13px; font-size: 0.95rem; }
}

/* ========== FORM ELEMENTS ========== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 12px;
  border: 2px solid #E8AF30;
  border-radius: 10px;
  background: #fff;
  color: #174B64;
  margin-bottom: 16px;
  font-size: 1rem;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #174B64;
}

/* ========== TABLE DESIGN (Pricing Table) ========== */
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}
thead {
  background: #E8AF30;
  color: #174B64;
  font-family: 'Montserrat', Arial,sans-serif;
  font-weight: 700;
}
th, td {
  padding: 14px 10px;
  border-bottom: 1px solid #ffd568;
}

/* ========== MISC DYNAMICS ========== */
/* Bouncing, playful feel */
.feature, .testimonial-card, .footer-social a img {
  transition: transform 0.26s cubic-bezier(.66,.98,.56,1.4), box-shadow 0.14s;
}
.feature:active, .testimonial-card:active {
  transform: scale(0.95) rotate(1deg);
}

/* Fun color accents for dynamic, playful mood */
.hero::before {
  content: '';
  position: absolute;
  right: -140px;
  bottom: -32px;
  width: 360px;
  height: 180px;
  background: #E8AF30;
  border-radius: 110% 80% 120% 70%;
  opacity: 0.09;
  z-index: 0;
  pointer-events: none;
  animation: orb-bounce 6s infinite alternate cubic-bezier(.89,.04,.44,.95);
}
@keyframes orb-bounce {
  0% { right: -140px; bottom: -32px; }
  100% { right: -110px; bottom: 14px; }
}

.hero .cta {
  box-shadow: 0 5px 24px 0 rgba(44,174,232,0.14);
  animation: cta-entrance 1.1s cubic-bezier(.47,1.79,.34,1.06) 1;
}
@keyframes cta-entrance {
  from { opacity:0; transform: translateY(45px); }
  to { opacity:1; transform: translateY(0); }
}

/* ========== SPACING & FLEXBOX ENFORCEMENT ========== */
/* By rules: margin/gap enforced everywhere */
.section, section {margin-bottom: 60px; padding: 40px 20px;}
.card-container, .feature-grid, .features .feature-grid, .content-grid {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card {margin-bottom: 20px; position: relative;}
.text-image-section {display: flex; align-items: center; gap:30px; flex-wrap: wrap;}
.testimonial-card {display: flex; align-items: center; gap: 20px; padding:20px;}
.feature-item {display: flex; flex-direction: column; align-items: flex-start; gap: 15px;}

/* ======= ENSURE NO OVERLAP + Z-INDEX RELATIVES ======= */
.card, .feature, .testimonial-card, .section, section {
  z-index: 1;
}

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

/* For Cookie Modal background overlay */
.cookie-modal-bg {
  position: fixed;
  left:0; top:0; right:0; bottom:0;
  background: rgba(44,24,10,0.22);
  z-index: 150;
  animation: fadeinbg 0.38s; 
}
@keyframes fadeinbg { from{ opacity: 0; } to { opacity: 1; } }

/* ========== ACCESSIBILITY FOCUSED SHADOWS ========== */
*:focus-visible {
  outline: 3px dashed #E8AF30;
  outline-offset: 2px;
}

/* ========== PRINT ========== */
@media print {
  header, footer, .main-nav, .mobile-menu, .cookie-consent-banner { display:none !important; }
  .section, section { margin-bottom: 16px !important; padding: 8px 0 !important; }
}
