/* ===== CSS RESET & NORMALIZE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f9f7f7;
  line-height: 1.5;
  color: #1d2636;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
ul, ol {
  margin: 0 0 1.5em 2em;
  padding: 0;
}
ul {
  list-style-type: disc;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  color: #27496d;
  margin-bottom: 0.5em;
  font-weight: 700;
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
}
h3 {
  font-size: 1.4rem;
  line-height: 1.2;
}
p {
  margin-bottom: 1em;
  font-size: 1rem;
  color: #273142;
}
a {
  color: #27496d;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ea5455;
  outline: none;
}
strong {
  font-weight: bold;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2em;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(39, 73, 109, 0.06);
  overflow: hidden;
}
th, td {
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid #e4e7ed;
}
th {
  background: #f3f3f5;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.02em;
}
tr:last-child td {
  border-bottom: none;
}

/* ===== BRAND COLOR VARIABLES (with fallback) ===== */
:root {
  --primary: #27496d;
  --secondary: #f9f7f7;
  --accent: #ea5455;
  --secondary-contrast: #ffffff;
  --primary-dark: #18304a;
}

/* ===== GENERAL LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px 0 rgba(39, 73, 109, 0.07);
  position: relative;
  overflow: visible;
}
@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px 0 rgba(39,73,109,0.10);
  margin-bottom: 20px;
  position: relative;
  min-width: 240px;
  flex: 1 1 260px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 2.5px solid #e4e7ed;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(39,73,109,0.16);
  transform: translateY(-4px) scale(1.012);
  border-color: var(--accent);
  transition: all 0.2s cubic-bezier(.65,.05,.36,1);
}

.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) {
  .content-grid,
  .card-container,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ===== NAVIGATION BAR ===== */
header {
  width: 100%;
  background: var(--secondary);
  box-shadow: 0 2px 12px 0 rgba(39,73,109,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.main-nav > a img {
  height: 44px;
  width: auto;
}
.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
  margin: 0;
}
.main-nav li {
  display: flex;
  align-items: center;
}
.main-nav a {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.08rem;
  color: var(--primary);
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 6px;
  letter-spacing: 0.04em;
  transition: color 0.16s, background 0.18s;
  font-weight: 600;
  border: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e4e7ed;
  color: var(--accent);
}
.main-nav .cta-primary {
  background: var(--accent);
  color: #fff;
  border: 2.5px solid var(--accent);
  box-shadow: 0 2px 8px 0 rgba(234, 84, 85, 0.10);
  letter-spacing: 0.07em;
  font-weight: 700;
  margin-left: 12px;
  transition: background 0.2s, color 0.19s;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}

/* --- Responsive Nav --- */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  z-index: 110;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #e4e7ed;
}
@media (max-width: 1020px) {
  .main-nav ul { display: none; }
  .mobile-menu-toggle { display: block; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(39,73,109,0.95);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.37s cubic-bezier(.7,0,.17,1);
  z-index: 1200;
  padding: 0 0 48px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  padding: 16px;
  margin: 4px 10px 22px 0;
  cursor: pointer;
  z-index: 1202;
  transition: color 0.12s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--accent);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 32px;
  padding-top: 10px;
}
.mobile-nav a {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1.3rem;
  padding: 13px 0;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.07em;
  transition: background 0.16s, color 0.17s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--accent);
  background: #fff1f1;
}
.mobile-nav a.cta-primary {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  margin-top: 10px;
  border-radius: 8px;
  display: inline-block;
  padding: 14px 18px;
  box-shadow: 0 2px 10px 0 rgba(234,84,85,0.18);
}
@media (min-width: 1021px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}


/* ===== HERO/BANNER STYLE ===== */
.hero {
  background: linear-gradient(98deg, var(--primary) 70%, #ea5455 100%);
  color: #fff;
  padding-top: 44px;
  padding-bottom: 44px;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero h1 {
  color: #fff;
  font-size: 2.7rem;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 12px rgba(39,73,109,0.21);
}
.hero p {
  color: #f9f7f7;
  font-size: 1.13rem;
  margin-bottom: 6px;
}
.hero .cta-primary {
  margin-top: 14px;
}
@media (max-width: 900px) {
  .hero {
    min-height: 260px;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* ===== FEATURE BLOCKS ===== */
.features ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 0;
}
.features li {
  flex: 1 1 240px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #f9f7f7;
  border-radius: 13px;
  padding: 18px 18px 18px 14px;
  box-shadow: 0 2px 10px 0 rgba(39,73,109,0.06);
  min-height: 78px;
  font-size: 1.02rem;
  margin-bottom: 0;
  font-family: 'Roboto', Arial, sans-serif;
}
.features img {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  margin-right: 4px;
}
@media (max-width: 900px) {
  .features ul {
    flex-direction: column;
    gap: 14px;
  }
  .features li {
    font-size: 0.99rem;
    min-width: 160px;
  }
}

/* ===== SERVICES/GROUP LISTS ===== */
.services ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-left: 0;
  padding-left: 0;
}
.services li {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(39,73,109,0.04);
  border: 2px solid #e4e7ed;
  border-radius: 14px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 17px;
  transition: box-shadow 0.2s, border 0.19s;
  font-size: 1.01rem;
}
.services li:hover {
  box-shadow: 0 6px 24px 0 rgba(39,73,109,0.13);
  border-color: var(--primary);
  z-index: 2;
  position: relative;
}
.services h3 {
  font-size: 1.24rem;
  color: var(--accent);
  margin-bottom: 0.3em;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  letter-spacing: 0.05em;
}
@media (max-width: 900px) {
  .services ul {
    flex-direction: column;
    gap: 14px;
  }
  .services li {
    min-width: 160px;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonials .content-wrapper {
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  background: #f9f7f7;
  border-left: 6px solid var(--accent);
  border-radius: 12px;
  padding: 20px 28px 20px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px 0 rgba(39,73,109,.11);
  min-width: 260px;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #1d2636;
  margin-bottom: 0px;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #27496d;
  margin-top: 1px;
  letter-spacing: 0.04em;
}
@media (max-width: 700px) {
  .testimonial-card {
    padding: 16px 14px 15px 11px;
    gap: 10px;
  }
}

/* ===== CTA SECTIONS ===== */
.cta {
  background: linear-gradient(98deg, #f9f7f7 40%, #e4e7ed 100%);
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(180,180,180,0.09);
  margin-bottom: 60px;
}
.cta h2 {
  margin-bottom: 18px;
  color: var(--primary);
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 2rem;
}
.cta .cta-primary {
  margin-top: 2px;
}

/* ===== BUTTONS & MICROINTERACTIONS ===== */
.cta-primary,
.cta-secondary,
button, input[type=submit] {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  display: inline-block;
  padding: 12px 26px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(234,84,85,0.13);
  transition: background 0.2s, box-shadow 0.18s, color 0.18s;
  margin-top: 10px;
}
.cta-primary:hover, .cta-primary:focus,
.cta-secondary:hover, .cta-secondary:focus,
button:hover, button:focus, input[type=submit]:hover, input[type=submit]:focus {
  background: #fff;
  color: var(--accent);
  border: 2.5px solid var(--accent);
  outline: none;
}
.cta-secondary {
  background: var(--primary);
  color: #fff;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}

/* ===== FORMS/TEXTFIELDS ===== */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border: 1.5px solid #ccd6e1;
  border-radius: 7px;
  margin-bottom: 16px;
  width: 100%;
  background: #fff;
  color: #1d2636;
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  outline: none;
}

/* ===== TEXT SECTIONS / LISTS ===== */
.text-section, .location-map {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(39,73,109,0.06);
  padding: 24px 20px;
  margin-bottom: 20px;
}
.text-section ul, .text-section ol {
  margin-left: 24px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.text-section li {
  margin-bottom: 0.8em;
}
.about-team ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}
@media (max-width: 768px) {
  .text-section, .location-map {
    padding: 17px 8px;
  }
}

/* ===== BLOG LISTS ===== */
.blog-list {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 13px;
  padding-left: 0;
}
.blog-list li {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(39,73,109,0.06);
  padding: 24px 20px 22px 18px;
  flex: 1 1 260px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s;
}
.blog-list li:hover {
  box-shadow: 0 5px 18px 0 rgba(39,73,109,0.19);
}
.tag {
  background: var(--accent);
  color: #fff;
  font-size: 0.92rem;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  border-radius: 8px;
  padding: 3px 12px 3px 10px;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
  display: inline-block;
}
.category-tags {
  font-size: 1rem;
  margin: 18px 0 2px 0;
  color: #18304a;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
}
@media (max-width: 900px) {
  .blog-list {
    flex-direction: column;
    gap: 15px;
  }
}

/* ===== FOOTER ===== */
footer {
  width: 100%;
  background: #27496d;
  color: #fff;
  padding-top: 24px;
  padding-bottom: 40px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 30px;
  align-items: flex-start;
  padding: 0 20px 15px 20px;
  border-bottom: 1px solid #32577a;
}
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  color: #fff;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  padding: 4px 9px;
  border-radius: 6px;
  transition: background 0.17s, color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--accent);
  background: #fff;
  text-decoration: none;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0 0 20px;
}
.footer-contact p {
  font-size: 1rem;
  color: #f9f7f7;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact img {
  width: 24px;
  height: 24px;
  filter: brightness(5);
}
@media (max-width: 720px) {
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 8px;
    padding: 0 7px 7px 7px;
    margin-left: 0;
  }
  .footer-contact { margin-top: 12px; }
  .footer-nav ul { flex-direction: column; gap: 8px; }
}

/* ===== UTILITY: MINIMUM GAPS & SPACING ===== */
section, .section {
  margin-bottom: 60px;
}
.card-container, .content-grid, .blog-list {
  gap: 20px;
}
.card {
  margin-bottom: 20px;
}
.text-image-section {
  gap: 30px;
}
@media (max-width: 540px) {
  .container {
    padding-left: 3px !important;
    padding-right: 3px !important;
  }
}

/* ===== CUSTOM FLEXBOX ALIGNMENT CLASSES ===== */
.align-center { align-items: center !important; }
.align-flex-start { align-items: flex-start !important; }
.justify-between { justify-content: space-between !important; }

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  border-top: 4px solid var(--primary);
  box-shadow: 0 -2px 24px 0 rgba(39,73,109, .09);
  z-index: 1300;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 20px 32px;
  transition: transform 0.36s cubic-bezier(.65,.05,.36,1);
  font-size: 1.06rem;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
}
.cookie-consent-banner .cookie-text {
  color: #18304a;
  flex: 1 1 0;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  padding: 9px 18px;
  font-size: 1rem;
  border-radius: 6px;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: 2px solid var(--primary);
  background: #fff;
  color: var(--primary);
  cursor: pointer;
  box-shadow: none;
  transition: background 0.14s, color 0.13s;
}
.cookie-consent-banner .accept-cookies {
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  border: 2.5px solid var(--primary);
}
.cookie-consent-banner .accept-cookies:hover, .cookie-consent-banner .accept-cookies:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.cookie-consent-banner .reject-cookies {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}
.cookie-consent-banner .reject-cookies:hover, .cookie-consent-banner .reject-cookies:focus {
  background: #ffe0e0;
  color: var(--accent);
}
.cookie-consent-banner .cookie-settings-btn {
  background: #ededf6;
  color: var(--primary);
}
.cookie-consent-banner .cookie-settings-btn:hover, .cookie-consent-banner .cookie-settings-btn:focus {
  background: #f9f7f7;
  color: var(--accent);
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 8px;
    gap: 10px;
  }
  .cookie-consent-banner .cookie-buttons {
    flex-direction: column;
    gap: 6px;
  }
}

/* ===== COOKIE CONSENT MODAL POPUP ===== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(39,73,109,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1400;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.34s cubic-bezier(.68,.02,.16,.98);
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 44px 0 rgba(39,73,109,.16);
  padding: 38px 32px 24px 32px;
  max-width: 410px;
  width: 94vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: #18304a;
  position: relative;
}
.cookie-modal .close-modal-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2rem;
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: color 0.13s;
}
.cookie-modal .close-modal-btn:hover { color: var(--primary); }
.cookie-modal h2 {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-size: 1.42rem;
  margin-bottom: 3px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 1.09rem;
  gap: 14px;
  margin-bottom: 9px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  color: #1d2636;
}
.cookie-modal .toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
  margin-left: 4px;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-modal .slider {
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #e4e7ed;
  border-radius: 22px;
  transition: background 0.18s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  background: var(--accent);
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(39,73,109,0.12);
  transition: transform 0.18s;
}
.cookie-modal .toggle-switch input:checked + .slider:before {
  transform: translateX(22px);
}
.cookie-modal .category-desc {
  font-size: 0.98rem;
  color: #37485a;
  margin-bottom: 9px;
  margin-left: 5px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions button {
  padding: 9px 18px;
  font-size: 1rem;
}
@media (max-width: 500px) {
  .cookie-modal .cookie-modal-content {
    padding: 15px 4vw 15px 4vw;
  }
}

/* ===== TABLE/PRICING STYLE ===== */
table {
  border-radius: 10px;
  border: 2px solid #e4e7ed;
  overflow: hidden;
}
th {
  color: #fff;
  background: var(--primary);
}
td {
  background: #fff;
  color: #1d2636;
  font-size: 1rem;
}
@media (max-width:600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  th { text-align: left; }
  tr { margin-bottom: 1.2em; }
  td { padding: 12px 8px; }
}

/* ===== GEOMETRIC STRUCTURED EFFECTS ===== */
.section:before {
  content: '';
  display: block;
  position: absolute;
  top: -14px; left: -24px;
  width: 70px; height: 70px;
  background: rgba(234,84,85,0.045);
  border-radius: 26% 32% 41% 39% / 43% 43% 34% 38%;
  z-index: 0;
  pointer-events: none;
}
.section:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -18px; right: -27px;
  width: 50px; height: 50px;
  background: rgba(39,73,109,0.045);
  border-radius: 46% 40% 38% 49% / 43% 39% 43% 52%;
  z-index: 0;
  pointer-events: none;
}

.card, .blog-list li, .testimonial-card, .features li, .services li, .footer-contact, .text-section {
  position: relative;
  z-index: 1;
}

/* ===== TYPOGRAPHY SCALES & STRUCTURED HEADINGS ===== */
@media (max-width:480px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.16rem;
  }
  h3 {
    font-size: 1.03rem;
  }
}

/* ===== OTHER SECTIONS (PRIVACY, RODO, THANK YOU) ===== */
.privacy-policy, .rodo-policy, .terms, .cookies-policy, .thank-you, .about, .about-team, .contact, .location-map {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(39,73,109,0.11);
  margin-bottom: 60px;
  padding: 38px 22px 22px 22px;
  position: relative;
}
@media (max-width:600px) {
  .privacy-policy, .rodo-policy, .terms, .cookies-policy, .thank-you, .about, .about-team, .contact, .location-map {
    padding: 17px 4px 9px 4px;
    margin-bottom: 36px;
  }
}
.thank-you .cta-primary {
  margin-top: 24px;
}

/* ===== ANIMATIONS & TRANSITIONS ===== */
.card, .blog-list li, .services li, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.18s;
}
.card:hover, .blog-list li:hover, .services li:hover {
  transform: translateY(-4px) scale(1.01);
}
.cta-primary,
button, input[type=submit] {
  transition: background 0.18s, color 0.13s, border 0.13s, box-shadow 0.15s;
}

/***** END ****/