/* ===== 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;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  outline: none;
}
img {
  border: 0;
  max-width: 100%;
  height: auto;
  display: block;
}
html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* ===== BRAND COLORS & FONTS ===== */
:root {
  --clr-primary: #174436;
  --clr-secondary: #F3F7F2;
  --clr-accent: #D4A037;
  --clr-electric-pink: #fa237f;
  --clr-electric-blue: #24b2ff;
  --clr-electric-green: #1ee074;
  --clr-electric-orange: #f96c18;
  --clr-dark: #152925;
  --clr-light: #fff;
  --clr-bg: #F3F7F2;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', Arial, sans-serif;
  --box-radius: 18px;
  --shadow-card: 0 6px 24px 0 rgba(23,68,54,0.12), 0 1.5px 3px 0 rgba(250,35,127,0.06);
  --shadow-hero: 0 10px 40px 0 rgba(36,178,255,0.08);
}

@font-face {
  font-family: 'Playfair Display';
  src: local('Playfair Display'), url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');
  font-weight: 700;
}
@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
  font-weight: 400 700;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--clr-dark);
  background: var(--clr-bg);
  min-height: 100vh;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: -0.5px;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
p, li, ul, ol {
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0;
}
strong {
  font-weight: 700;
}
em {
  color: var(--clr-electric-green);
  font-style: normal;
  font-weight: 600;
}

/* ====== LAYOUT CONTAINERS ====== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--clr-light);
  border-radius: var(--box-radius);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 220px;
  max-width: 380px;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 10px 40px 0 rgba(250,35,127,0.12), 0 3px 8px 0 rgba(23,68,54,0.08);
  transform: translateY(-3px) scale(1.015);
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--clr-secondary);
  border-radius: var(--box-radius);
  box-shadow: 0 2px 10px 0 rgba(36,178,255,0.08);
  padding: 20px;
  margin-bottom: 24px;
  min-width: 220px;
  max-width: 480px;
  color: var(--clr-primary);
}
.testimonial-card strong {
  color: var(--clr-electric-pink);
}
.testimonial-card p {
  color: var(--clr-dark);
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-card img {
  height: 22px;
  width: 22px;
  display: inline-block;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.features ul, .services ul, .about ul, .contact ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-left: 0;
}
.features ul li, .services ul li, .about ul li, .contact ul li {
  background: var(--clr-light);
  border-radius: var(--box-radius);
  box-shadow: var(--shadow-card);
  padding: 18px 16px 16px 16px;
  margin-bottom: 20px;
  min-width: 180px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1rem;
  color: var(--clr-primary);
  align-items: flex-start;
}
.features ul li img, .services ul li img, .about ul li img, .contact ul li img {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
}

/* ===== HEADER NAVIGATION ===== */
header {
  width: 100%;
  background: var(--clr-primary);
  color: var(--clr-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0;
  height: 78px;
  box-shadow: 0 4px 22px 0 rgba(36,178,255,0.03);
  position: relative;
  z-index: 200;
}
header > a img {
  height: 58px;
  margin: 10px 0 10px 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--clr-secondary);
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: var(--clr-electric-pink);
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: var(--clr-electric-pink);
  color: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  cursor: pointer;
  border: none;
  transition: box-shadow 0.22s, background 0.2s;
  box-shadow: 0 2px 8px rgba(23,68,54,0.10);
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--clr-accent);
  box-shadow: 0 4px 16px rgba(36,178,255,0.12);
  outline: 2px solid var(--clr-accent);
}

/* ===== HERO SECTIONS ===== */
.hero {
  background: var(--clr-electric-blue);
  background-blend-mode: multiply;
  box-shadow: var(--shadow-hero);
  padding: 64px 0 54px 0;
  color: #fff;
  text-align: left;
  border-radius: 0 0 32px 32px;
}
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  line-height: 1.1;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}
.hero p {
  color: #f3f7f2;
  font-size: 1.22rem;
  margin-bottom: 24px;
  font-weight: 500;
}

/* ====== BUTTONS & CTA ====== */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--clr-electric-pink) 0%, var(--clr-electric-orange) 100%);
  color: #fff;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 1.18rem;
  padding: 14px 40px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 14px 0 rgba(250,35,127,0.11);
  transition: background 0.19s, transform 0.16s, box-shadow 0.22s;
  margin-top: 16px;
  text-transform: uppercase;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--clr-accent) 0%, var(--clr-electric-pink) 100%);
  color: #fff200;
  transform: translateY(-2px) scale(1.04) rotate(-1deg);
  box-shadow: 0 4px 30px 0 rgba(250,35,127,0.17);
}

/* ==== FOOTER ===== */
footer {
  background: var(--clr-primary);
  color: var(--clr-secondary);
  padding: 60px 0 20px 0;
  border-radius: 32px 32px 0 0;
  margin-top: 40px;
  position: relative;
  z-index: 10;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: var(--clr-secondary);
  font-size: 1rem;
  opacity: 0.86;
  padding: 3px 4px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--clr-electric-blue);
  color: #fff;
}
footer ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.99rem;
}
footer .social-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
footer .social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(244,244,244,0.08);
  transition: background 0.16s;
}
footer .social-links a:hover, footer .social-links a:focus {
  background: var(--clr-electric-green);
}
footer .social-links img {
  width: 22px;
  height: 22px;
}

/* ====== COOKIE BANNER ====== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  background: var(--clr-electric-pink);
  color: #fff;
  width: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 1rem;
  box-shadow: 0 -2px 18px 0 rgba(250,35,127,0.15);
  gap: 20px;
  transition: transform 0.4s cubic-bezier(.46,1.36,.33,1.02), opacity 0.2s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 20px;
  background: #fff;
  color: var(--clr-primary);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(23,68,54,0.08);
  transition: background 0.17s, color 0.17s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--clr-accent);
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: var(--clr-electric-blue);
  color: #fff;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--clr-electric-green);
  color: #152925;
}

/* COOKIE MODAL (sample structure: .cookie-modal .modal-overlay .modal-content) */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal.active {
  display: flex;
}
.cookie-modal .modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(23,68,54,0.65);
  z-index: 1;
}
.cookie-modal .modal-content {
  position: relative;
  z-index: 2;
  background: var(--clr-secondary);
  color: var(--clr-primary);
  border-radius: 24px;
  max-width: 430px;
  width: 90vw;
  padding: 32px 20px 28px 24px;
  box-shadow: 0 8px 40px 0 rgba(36,178,255,0.14);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fade-in-scale 0.34s cubic-bezier(.4,1.4,.27,.97);
}
@keyframes fade-in-scale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.cookie-modal h2 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
}
.cookie-modal .cookie-toggle {
  accent-color: var(--clr-electric-blue);
  width: 30px;
  height: 18px;
  margin-left: 8px;
}
.cookie-modal .essential {
  color: var(--clr-primary);
  font-weight: 600;
  background: rgba(36,178,255,0.085);
  border-radius: 6px;
  padding: 2px 9px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 10px; right: 18px;
  background: var(--clr-electric-pink);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  background: var(--clr-electric-orange);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(23,68,54,0.88);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.55,1.5,.46,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 26px 0 22px 22px;
  font-size: 1.9rem;
  background: var(--clr-electric-orange);
  color: #fff;
  border-radius: 50%;
  border: none;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--clr-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  padding: 30px 30px 0 32px;
}
.mobile-nav a {
  color: var(--clr-light);
  font-size: 1.2rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 12px;
  padding: 13px 10px 13px 8px;
  background: none;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--clr-electric-pink);
  color: #fff200;
}

/* ==== GENERAL STYLES AND ANIMATIONS ==== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  transition: box-shadow 0.22s;
}
section.cta {
  margin-bottom: 32px;
  padding: 28px 0;
  background: var(--clr-electric-green);
  border-radius: 32px;
  box-shadow: 0 4px 18px 0 rgba(30,224,116,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== UTILITY CLASSES ===== */
.mt-2 {margin-top: 16px;}
.mt-4 {margin-top: 32px;}
.mb-2 {margin-bottom: 16px;}
.mb-4 {margin-bottom: 32px;}
.text-center {text-align: center;}

/* ====== RESPONSIVE MEDIA QUERIES - MOBILE FIRST ====== */
@media (max-width: 1024px) {
  h1 {font-size: 2.2rem;}
  h2 {font-size: 1.7rem;}
}
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding: 0 10px;
  }
  footer .content-wrapper {
    gap: 22px;
  }
  .section {
    padding: 32px 12px;
    margin-bottom: 40px;
  }
}
@media (max-width: 796px) {
  .content-wrapper, .card-container, .content-grid {
    gap: 16px;
  }
  .features ul, .services ul, .about ul, .contact ul {
    flex-wrap: wrap;
    gap: 16px;
  }
  footer .content-wrapper {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .cta-primary {
    width: 100%;
    justify-content: center;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 32px;
  }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .content-wrapper {
    gap: 16px;
  }
  .features ul, .services ul, .about ul, .contact ul {
    flex-direction: column;
    gap: 13px;
    width: 100%;
  }
  .features ul li, .services ul li, .about ul li, .contact ul li {
    min-width: 140px;
    max-width: 100%;
    flex: 1 1 100%;
  }
  .testimonial-card {
    min-width: 120px;
    max-width: 100%;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
@media (max-width: 500px) {
  h1 {font-size: 1.53rem;}
  h2 {font-size: 1.18rem;}
  .hero {
    padding: 40px 0 28px 0;
    border-radius: 0 0 16px 16px;
  }
  .cta-primary {
    font-size: 1rem;
    padding: 12px 18px;
  }
  footer {
    padding: 32px 0 18px;
    border-radius: 14px 14px 0 0;
  }
  .content-wrapper {gap: 9px;}
  .section {padding: 16px 2px;}
}

/* ===== MICROMICRO-INTERACTIONS ===== */
a, button, .cta-primary {
  transition: background 0.14s, color 0.14s, box-shadow 0.18s, transform 0.13s;
}

.card, .features ul li, .services ul li, .about ul li, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.15s;
}
.card:hover, .features ul li:hover, .about ul li:hover, .services ul li:hover {
  box-shadow: 0 8px 40px 0 rgba(36,178,255,0.16);
  transform: translateY(-2px) scale(1.015);
}

/* ===== FORMS & INPUTS ===== */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 12px;
  border: 2px solid var(--clr-primary);
  padding: 10px 16px;
  margin-top: 8px;
  background: var(--clr-secondary);
  color: var(--clr-primary);
  box-shadow: 0 1px 2px 0 rgba(23,68,54,0.09);
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--clr-accent);
  outline: 2px solid var(--clr-accent);
}

/* ===== SPECIAL - ENSURE NO FLEX OVERLAP, ALL GAP/PADDING/MARGIN ===== */
.card + .card, .testimonial-card + .testimonial-card, .features ul li + .features ul li, .services ul li + .services ul li, .about ul li + .about ul li {
  margin-left: 0;
}

/* ===== PRINT UTILITY (for legal pages) ===== */
@media print {
  header, footer, .cookie-banner, .mobile-menu {
    display: none !important;
  }
}
