/* ====================
   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, f
iu, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7FAFC;
  color: #233550;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 12px 16px;
  text-align: left;
}
h1, h2, h3, h4, h5, h6 {
  color: #246187;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
h1 {font-size: 2.5rem; line-height: 1.2;}
h2 {font-size: 2rem; line-height: 1.25;}
h3 {font-size: 1.25rem; line-height: 1.3;}

/* ================
   CUSTOM PROPERTIES
   ================ */
:root {
  --color-primary: #246187;
  --color-secondary: #4CA388;
  --color-accent: #F7FAFC;
  --color-text: #233550;
  --color-bg: #F7FAFC;
  --color-footer-bg: #233550;
  --color-card-bg: #ffffff;
  --color-border: #E1E7EC;
  --color-shadow: rgba(36, 97, 135, 0.06);
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-sm: 6px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* =================
   CONTAINER SYSTEM
   ================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.content-wrapper {
  width: 100%;
}

/* ====================
   HEADER & NAVIGATION
   ==================== */
header {
  background: var(--color-card-bg);
  box-shadow: 0 2px 10px var(--color-shadow);
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
  font-weight: 500;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
header nav .cta-primary {
  background: var(--color-primary);
  color: #fff !important;
  font-weight: 700;
  border-radius: var(--radius-lg);
  padding: 10px 24px;
  margin-left: 12px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px var(--color-shadow);
  transition: background 0.17s, transform 0.2s;
}
header nav .cta-primary:hover,
header nav .cta-primary:focus {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-2px) scale(1.05);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--color-primary);
  background: var(--color-accent);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  margin-left: 20px;
  box-shadow: 0 2px 8px var(--color-shadow);
  z-index: 102;
  transition: background 0.13s, color 0.13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: #fff;
}

/* Mobile Menu -> hidden by default, slides in on open */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(36, 97, 135, 0.96);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.77,0.2,0.05,1.0);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 24px 0 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 24px;
  padding: 6px 10px;
  border-radius: var(--radius-md);
  transition: background 0.13s, color 0.13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: var(--font-display);
  padding: 12px 0 12px 6px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background 0.15s, color 0.14s;
  outline: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav .cta-primary {
  background: var(--color-secondary);
  color: #fff !important;
  margin-top: 12px;
  display: inline-block;
  padding: 14px 0;
  text-align: center;
  border-radius: var(--radius-lg);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--color-shadow);
}

/* ================
   HERO SECTION
   ================ */
.hero {
  background: var(--color-accent);
  padding: 60px 0 44px 0;
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  min-height: 340px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 700px;
  z-index: 1;
}
.hero h1 {
  font-size: 2.2rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero p {
  font-size: 1.125rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 10px;
}
.hero .cta-primary {
  margin-top: 6px;
}

/* ================
   SECTION BASE
   ================ */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 0;
  position: relative;
  z-index: 1;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
h2 {
  margin-bottom: 24px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

/* ================
   FEATURES SECTION
   ================ */
.features .content-wrapper,
.services-preview .content-wrapper,
.services .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.features ul,
.services-preview ul,
.services ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features li, .services-preview li, .services li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--color-card-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  min-width: 220px;
  flex: 1 1 260px;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: box-shadow 0.13s, border-color 0.15s, transform 0.18s;
  margin-bottom: 0;
}
.features li:hover, .services-preview li:hover, .services li:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 6px 20px rgba(76,163,136,0.11);
  transform: translateY(-3px) scale(1.024);
}
.features li img, .services-preview li img, .services li img {
  width: 44px;
  height: 44px;
  filter: none;
  margin-top: 2px;
}
.features li h3, .services-preview li h3, .services li h3 {
  font-size: 1.15rem;
  font-family: var(--font-display);
  margin-bottom: 5px;
  color: var(--color-primary);
}
.features li p, .services-preview li p, .services li p {
  font-size: 0.96rem;
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.45;
}

/* ================
   CARD CONTAINERS
   ================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 0.8px 8px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  min-width: 260px;
  padding: 32px 28px;
  transition: box-shadow 0.17s, border 0.15s;
  border: 1.2px solid var(--color-border);
}
.card:hover, .card:focus-within {
  box-shadow: 0 5px 22px rgba(36,97,135,0.12);
  border-color: var(--color-primary);
}

/* ================
   TEXT IMAGE SECTIONS
   ================ */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.text-section {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ================
   GRID & FLEX LAYOUTS
   ================ */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.team-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: stretch;
  margin-bottom: 8px;
}
.team-grid > div {
  background: var(--color-card-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 6px var(--color-shadow);
  border: 1px solid var(--color-border);
  padding: 24px 20px;
  flex: 1 1 230px;
  min-width: 200px;
}

/* ============
   TESTIMONIALS
   ============ */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0px 3px 18px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 260px;
  flex: 1 1 320px;
  margin-bottom: 20px;
  border-left: 6px solid var(--color-primary);
  transition: box-shadow 0.16s, border-color 0.15s, transform 0.21s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(76,163,136,0.17);
  border-left: 6px solid var(--color-secondary);
  transform: scale(1.017);
}
.testimonial-card p {
  color: var(--color-text);
  font-size: 1.12rem;
  line-height: 1.6;
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-display);
}
.testimonial-meta span:first-child {
  font-size: 1.2rem;
  color: #f5c518;
}

/* ================
   CTA BLOCKS
   ================ */
.cta {
  background: var(--color-secondary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 0 44px 0;
  margin-bottom: 32px;
  box-shadow: 0 2px 20px var(--color-shadow);
  display: flex;
  align-items: center;
}
.cta .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: #f2f7fb;
  font-size: 1.12rem;
}

/* ================
   BUTTONS & LINKS
   ================ */
.cta-primary {
  background: var(--color-primary);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-lg);
  padding: 14px 34px;
  font-size: 1.08rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.07em;
  box-shadow: 0 2px 10px var(--color-shadow);
  transition: background 0.15s, transform 0.17s, color 0.14s;
  cursor: pointer;
  text-transform: uppercase;
  margin-top: 8px;
  display: inline-block;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-secondary);
  color: #fff !important;
  transform: translateY(-2px) scale(1.03);
}
.cta-secondary {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-lg);
  padding: 13px 30px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(76,163,136,0.08);
  transition: background 0.15s, color 0.13s, border-color 0.12s, transform 0.15s;
  cursor: pointer;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-1px) scale(1.04);
}

/* OTHER BUTTON STYLES (e.g. Cookie Banner) */
.button, .btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 24px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin: 0 8px 0 0;
  transition: background 0.14s, transform 0.12s;
}
.button:hover, .btn:hover,
.button:focus, .btn:focus {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-2px);
}
.button.outline, .btn.outline {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: none;
}
.button.outline:hover, .btn.outline:hover {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}

/* ================
   FOOTER
   ================ */
footer {
  background: var(--color-footer-bg);
  color: #fff;
  padding: 40px 0 10px 0;
  margin-top: 0;
  box-shadow: 0 -2px 16px var(--color-shadow);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.16s;
  opacity: 0.93;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
}
footer .text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #e2ecf5;
  font-size: 0.98rem;
}
footer .text-section img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: text-bottom;
}
.social-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 8px;
}
.social-links a img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  box-shadow: 0 1px 8px rgba(44, 97, 135, 0.10);
  transition: box-shadow 0.18s, background 0.12s;
}
.social-links a:hover img {
  background: var(--color-secondary);
  box-shadow: 0 3px 12px rgba(76,163,136,0.12);
}

/* ================
   PRICING TABLES
   ================ */
.pricing table {
  width: 100%;
  border-radius: var(--radius-md);
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 10px var(--color-shadow);
  margin-bottom: 28px;
}
.pricing th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.pricing td {
  background: #f8fcff;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
}

/* ================
   PROCESS / OL-LIST
   ================ */
.process .content-wrapper ol {
  counter-reset: process-step;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-left: 0;
  padding-left: 0;
}
.process .content-wrapper ol li {
  position: relative;
  flex: 1 1 240px;
  min-width: 180px;
  background: var(--color-card-bg);
  padding: 28px 24px 22px 24px;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--color-primary);
  box-shadow: 0 1px 14px var(--color-shadow);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0;
  transition: box-shadow 0.17s, border-color 0.18s,
              transform 0.17s;
}
.process .content-wrapper ol li:hover {
  box-shadow: 0 6px 22px rgba(76,163,136,0.12);
  border-left: 5px solid var(--color-secondary);
  transform: translateY(-2px) scale(1.02);
}
.process .content-wrapper ol li img {
  width: 32px;
  height: 32px;
  margin-bottom: 6px;
}
.process .content-wrapper ol li strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
  color: var(--color-primary);
}
.process .content-wrapper ol li span {
  font-size: 0.95rem;
  color: var(--color-text);
}

/* ================
   FAQ & ACCORDION STYLES
   ================ */
.faq .text-section h3 {
  margin-top: 18px;
  margin-bottom: 6px;
  color: var(--color-primary);
  font-size: 1.08rem;
  font-family: var(--font-display);
}

/* ================
   CONFIRMATION (THANK YOU) PAGE
   ================ */
.confirmation .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 18px var(--color-shadow);
  border: 1px solid var(--color-border);
  padding: 48px 32px;
  max-width: 560px;
  margin: 0 auto;
}
.confirmation h1 {
  color: var(--color-secondary);
  font-size: 2.2rem;
}

/* ================
   COOKIE BANNER & MODAL
   ================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 -4px 22px rgba(36, 97, 135, 0.15);
  border-top: 2.5px solid var(--color-primary);
  padding: 28px 24px 20px 24px;
  z-index: 4000;
  font-size: 1rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: transform 0.22s cubic-bezier(.6,0,.49,1.01), opacity 0.19s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}
.cookie-banner .button {
  font-size: 1rem;
  font-family: var(--font-display);
  border-radius: var(--radius-md);
  padding: 10px 22px;
  min-width: 110px;
  font-weight: 700;
  text-transform: uppercase;
}
.cookie-banner .button.reject {
  background: #fff;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner .button.reject:hover {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .button.settings {
  background: #E1E7EC;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.cookie-banner .button.settings:hover {
  background: var(--color-primary);
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,53,80,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4100;
  opacity: 1;
  animation: fadeIn 0.22s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 32px rgba(36,97,135,0.18);
  max-width: 450px;
  width: 96vw;
  padding: 34px 24px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 1.1rem;
  color: var(--color-text);
  position: relative;
}
.cookie-modal h2 {
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e6e6e6;
  padding: 10px 0;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 20px;
  height: 20px;
  margin-left: 16px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  font-size: 1.6rem;
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 3px 13px;
  transition: background 0.1s, color 0.1s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* ================
   MEDIA QUERIES (RESPONSIVE)
   ================ */
@media (max-width: 1100px) {
  .team-grid, .features ul, .services ul, .testimonials .content-wrapper {
    gap: 16px;
  }
  .footer .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .hero {
    padding: 38px 0 30px 0;
    min-height: 240px;
  }
  h2 { font-size: 1.65rem; }
  .features ul, .services ul {
    gap: 12px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    height: 74px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 10px;
  }
  .content-wrapper {
    padding: 0;
  }
  /* Section padding  tighter */
  section, .section {
    padding: 22px 5px;
    margin-bottom: 38px;
  }
  .hero .content-wrapper {
    padding: 0;
    max-width: 98vw;
    gap: 14px;
  }
  .cta {
    padding: 30px 0 30px 0;
  }
  .card, .testimonial-card, .team-grid > div {
    min-width: 90vw;
    padding: 20px 12px;
    font-size: 0.97em;
  }
  .features ul,
  .services-preview ul,
  .services ul,
  .team-grid,
  .testimonials .content-wrapper {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  h1 {font-size: 1.35rem;}
  h2 {font-size: 1.06rem;}
  .hero {
    padding: 20px 0;
    min-height: 110px;
  }
  .cta-primary, .cta-secondary {
    font-size: 0.97rem;
    padding: 10px 18px;
  }
  .confirmation .content-wrapper {
    padding: 18px 7px;
    min-width: auto;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 18px 9px 10px 12px;
    gap: 10px;
  }
}

/* ================
   MISCELLANEOUS
   ================ */
ul li, ol li {
  margin-bottom: 7px;
  list-style: none;
}

hr {
  border: none;
  border-top: 1.5px solid var(--color-border);
  margin: 28px 0;
}

::-webkit-input-placeholder { color: #AAB7C7; }
::-moz-placeholder { color: #AAB7C7; }
:-ms-input-placeholder { color: #AAB7C7; }
::placeholder { color: #AAB7C7; }

/* ================
   TYPOGRAPHY
   ================ */
p, li, td {
  font-size: 1rem;
  color: var(--color-text);
  font-family: var(--font-body);
}
av, .cta-primary, .cta-secondary {
  font-family: var(--font-display);
}

/* ================
   GEOMETRIC/STRUCTURED VISUAL ELEMENTS
   ================ */
section, .card, .cta, .testimonial-card, .team-grid>div, .cookie-banner, .cookie-modal {
  box-shadow: 0 2px 10px var(--color-shadow);
  border-radius: var(--radius-md);
}
.card, .testimonial-card, .team-grid>div, .cookie-modal {
  border: 1.5px solid var(--color-border);
}
section {
  position: relative;
  overflow: visible;
}

/* Geometric Angled font adjustments */
h1, h2, h3, .cta-primary, .cta-secondary, nav a, .mobile-nav a {
  font-family: var(--font-display);
  font-variation-settings: 'wght' 650;
  letter-spacing: 0.02em;
}

/* Subtle geometric decorative shapes */
.hero:after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 80px;
  height: 80px;
  background: var(--color-primary);
  opacity: 0.08;
  z-index: 0;
  border-top-left-radius: 60px;
  transform: rotate(-12deg) translateY(30px);
}

/* Misc spacing patterns */
.card-container, .content-grid, .features ul, .services ul,
.team-grid, .testimonials .content-wrapper {
  gap: 20px;
}
.card, .testimonial-card, .team-grid>div {
  margin-bottom: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/*******************
  END OF CSS FILE
*******************/