/* --- CSS RESET & NORMALIZATION --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body, html { width: 100%; min-height: 100vh; }
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #234064;
  background: #F9F6F3;
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #B00101; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #E53B3B; }
ul, ol { margin-left: 1.4em; margin-bottom: 20px; }
ul li, ol li { margin-bottom: 8px; }

/* --- BRAND COLORS/TYPOGRAPHY --- */
:root {
  --primary: #234064;
  --secondary: #F3F6F9;
  --accent: #E53B3B;
  --danger: #B00101;
  --warm-yellow: #FFD699;
  --warm-bg: #FFF7F0;
  --radius: 18px;
  --shadow-sm: 0 2px 8px rgba(235,90,82, 0.06);
  --shadow-md: 0 4px 24px rgba(35,64,100, 0.09);
  --card-bg: #fff;
  --display-font: 'Montserrat', Arial, Helvetica, sans-serif;
  --body-font: 'Roboto', Arial, Helvetica, sans-serif;
}
h1, h2, h3, h4 { font-family: var(--display-font); color: #234064; font-weight: 700; }
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 12px; }

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.18rem; }
}

p, li, ul, ol { font-family: var(--body-font); font-size: 1rem; }
p { margin-bottom: 16px; }
strong { color: var(--primary); font-weight: bold; }

/* --- LAYOUT & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 900px;
}

.section {
  background: var(--card-bg);
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .section { padding: 28px 8px; margin-bottom: 36px; }
  .content-wrapper { padding: 0 4px; }
}

/* --- HERO SECTION --- */
.hero {
  background: linear-gradient(100deg, #FFF7F0 60%, #FFD699 130%);
  padding: 52px 0 46px 0;
  margin-bottom: 60px;
}
.hero h1 { color: var(--primary); text-shadow: 0 2px 8px #FFE9B6; }
.hero .subheadline {
  font-size: 1.2rem;
  color: #513017;
  margin-bottom: 32px;
}

/* --- FLEX LAYOUT COMPONENTS --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 28px;
}
.feature-grid > div {
  background: var(--card-bg);
  flex: 1 1 220px;
  min-width: 230px;
  max-width: 310px;
  padding: 26px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-grid > div:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid img {
  width: 40px; height: 40px; margin-bottom: 4px;
}

.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.team-list > div {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  flex: 1 1 270px;
  min-width: 240px;
  padding: 24px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.service-list {
  margin: 18px 0 26px 0;
}
.service-list li {
  display: flex;
  align-items: center;
  padding: 9px 0 9px 0;
  font-size: 1.06rem;
  gap: 12px;
}
.service-list span {
  display: inline-block;
  font-size: 1.28em;
  line-height: 1;
}

.trust-badges {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.trust-badges img {
  width: 44px; height: 44px; border-radius: 99px; background: #FFF2E7;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.contact-info img {
  vertical-align: middle;
  margin-right: 6px;
  width: 20px; height: 20px;
  display: inline-block;
}
.map {
  margin-top: 10px;
  background: #FBE8D5;
  padding: 20px;
  border-radius: var(--radius);
  font-size: 1.075rem;
  font-style: italic;
  color: #513017;
}

/* --- TESTIMONIALS --- */
.testimonial-slider,
.testimonial-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
}
.testimonial-slider {
  flex-direction: row;
  justify-content: flex-start;
}
.testimonial-card {
  flex-direction: column;
  align-items: flex-start;
  min-width: 270px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  color: #143556;
  padding: 20px 24px 24px 24px;
  gap: 13px;
  position: relative;
  margin-bottom: 20px;
}
.testimonial-card .stars {
  color: #E53B3B;
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 4px;
  display: inline-block;
}
.testimonial-card span {
  color: #234064;
}
.testimonial-card p {
  color: #174366;
  font-size: 1.07rem;
  margin-bottom: 0;
}

/* --- BUTTONS --- */
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: var(--display-font);
  font-size: 1.13rem;
  font-weight: 700;
  padding: 15px 32px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.18s, color 0.18s, box-shadow 0.21s, transform 0.18s;
  box-shadow: var(--shadow-sm);
  text-align: center;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--danger);
  color: #FFF7F0;
  box-shadow: var(--shadow-md);
  transform: scale(1.035);
}
.btn-secondary {
  background: #FFF7F0;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: scale(1.038);
}

/* --- NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(35, 64, 100, 0.07);
  position: sticky;
  top: 0;
  z-index: 900;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  justify-content: center;
}
header nav img {
  height: 40px;
  margin-right: 14px;
}
header nav a {
  font-family: var(--body-font);
  color: var(--primary);
  padding: 8px 14px;
  border-radius: 20px;  
  font-size: 1rem;
  transition: background 0.15s, color 0.13s;
}
header nav a:hover, header nav a:focus {
  background: #FFF3EA;
  color: var(--accent);
}

@media (max-width: 1020px) {
  header nav { flex-wrap: wrap; gap: 10px; padding: 10px 8px; }
}
@media (max-width: 768px) {
  header nav { display: none; }
}
/* ---- Mobile Menu ---- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: var(--primary);
  z-index: 1200;
  background: transparent;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 15px;
  transition: background 0.15s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFF3EA;
  outline: none;
}
@media (max-width: 768px) {
  .mobile-menu-toggle { 
    display: block;
    position: fixed; 
    top: 16px; right: 20px; 
  }
}
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: #FFF7F0;
  z-index: 3000;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.39, 0.58, 0.57, 1), box-shadow 0.18s;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  pointer-events: none;
}
.mobile-menu.open {
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 22px 20px 10px 18px;
  font-size: 2.1rem;
  background: transparent;
  border: none;
  color: var(--accent);
  cursor: pointer;
  align-self: flex-end;
  border-radius: 50%;
  padding: 7px 13px;
  transition: background 0.15s, color 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFE9B6;
  color: var(--danger);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 16px;
  gap: 0;
}
.mobile-nav a {
  display: block;
  width: 100%;
  padding: 23px 28px;
  color: var(--primary);
  font-size: 1.18rem;
  font-family: var(--display-font);
  border-bottom: 1px solid #FFE9B6;
  transition: background 0.15s, color 0.12s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFF3EA;
  color: var(--accent);
}
@media (min-width: 769px) {
  .mobile-menu { display: none !important; }
  .mobile-menu-toggle { display: none !important; }
}

/* --- FOOTER --- */
footer {
  background: #fff;
  box-shadow: 0 -2px 14px rgba(180, 1, 1, 0.045);
  padding: 32px 0 24px 0;
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
footer > div {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
footer img { height: 38px; margin-right: 8px; margin-bottom: 0px; }
footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
footer nav a {
  color: var(--primary);
  font-size: 0.98rem;
  border-radius: 18px;
  padding: 7px 20px;
}
footer nav a:hover, footer nav a:focus {
  color: #fff;
  background: var(--accent);
}
@media (max-width: 768px) {
  footer { padding: 13px 0 16px 0; margin-top:38px; }
  footer > div p { font-size: 0.99em; }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; width: 100vw;
  background: #fffafa;
  color: #234064;
  box-shadow: 0 -2px 24px rgba(255,197,85,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  z-index: 9005;
  gap: 20px;
  padding: 22px 12px;
  border-top: 3px solid #FFD699;
  font-size: 1rem;
  animation: slideUpCookie 0.44s ease;
}
@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0.38; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner__buttons {
  display: flex;
  gap: 14px;
  margin-left: 18px;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  min-width: 120px;
  padding: 10px 22px;
  border: none;
  border-radius: 50px;
  font-size: 1em;
  font-family: var(--body-font);
  font-weight: 600;
  cursor: pointer;
}
.cookie-accept {
  background: var(--accent);
  color: #fff;
  transition: background 0.19s, transform 0.16s;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--danger); transform: scale(1.06); }
.cookie-reject {
  background: #FBE8D5;
  color: var(--accent);
  border: 2px solid var(--accent);
  transition: background 0.15s, color 0.14s, transform 0.16s;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--accent); color: #fff; transform: scale(1.06); }
.cookie-settings {
  background: #FFE9B6;
  color: var(--primary);
  border: 2px solid #FFD699;
  transition: background 0.13s, color 0.13s, transform 0.17s;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #FFD699; color: var(--accent); transform: scale(1.05); }

/* COOKIES MODAL */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(44, 64, 100, 0.34);
  z-index: 14000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.17s;
  animation: fadeInCookieModal 0.25s;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  padding: 40px 28px;
  border-radius: 23px;
  box-shadow: 0 4px 38px 0 rgba(35,64,100,0.19);
  max-width: 420px; width: 100%;
  position: relative;
}
.cookie-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  font-size: 1.7rem; color: var(--accent);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.13s;
}
.cookie-modal-close:hover { background: #FFE9B6; }
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 17px;
  padding: 10px 0 10px 0;
  border-bottom: 1px solid #FBE8D5;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  font-weight: 600; font-size: 1rem; color: #234064;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  border-radius: 50%;
  accent-color: var(--accent);
}
.essential-badge {
  display: inline-block;
  background: #ffd699;
  color: var(--primary);
  padding: 5px 13px;
  border-radius: 40px;
  font-size: 0.92rem;
  margin-left: 7px;
}
.cookie-modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 30px;
}

/* --- CUSTOM COMPONENTS LAYOUTS --- */
.card-container {
  display: flex; flex-wrap: wrap; gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 20px;
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- TABLETS & RESPONSIVE FLEXBOX --- */
@media (max-width: 1020px) {
  .feature-grid, .team-list, .content-grid, .card-container {
    flex-direction: row;
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .feature-grid > div, .team-list > div { min-width: 180px; max-width: 100%; }
}
@media (max-width: 768px) {
  .feature-grid, .team-list, .content-grid, .card-container {
    flex-direction: column;
    gap: 22px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
}

/* --- SPACING/FLEX for COMMON SECTIONS --- */
.section, .card, .testimonial-card, .feature-grid>div, .team-list>div {
  margin-bottom: 20px;
}
@media (max-width: 480px) {
  .section { padding: 14px 3vw; }
  .card, .testimonial-card { padding: 12px 8px; }
}

/* --- FORM DEFAULTS --- */
input, textarea, select {
  font-family: var(--body-font);
  font-size: 1rem;
  padding: 11px 14px;
  border: 1.5px solid #d9e3ef;
  border-radius: 13px;
  outline: none;
  margin-bottom: 18px;
  background: #FFF7F0;
  transition: border 0.14s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
}

/* --- UTILITY CLASSES --- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 12px; }
.mt-4 { margin-top: 26px; }
.mb-2 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 26px; }

/* --- SCROLLBAR (subtle, warm style) --- */
body::-webkit-scrollbar {
  width: 10px; background: #FFF7F0;
}
body::-webkit-scrollbar-thumb {
  background: #FFD699; border-radius: 8px;
}

/* --- MICRO INTERACTIONS/ANIMATIONS --- */
.btn-primary, .btn-secondary, .cookie-accept, .cookie-reject, .cookie-settings {
  box-shadow: 0 2px 7px 0 rgba(235, 90, 82, 0.06);
  will-change: transform;
}
.card, .testimonial-card, .feature-grid > div, .team-list>div {
  transition: box-shadow 0.22s, transform 0.18s;
}
.card:hover, .testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px) scale(1.016);
}

/* --- CARD EMPHASIS & DECORATION --- */
.card {
  border: 1.2px solid #FFD699;
}

/* --- ACCESSIBILITY/FOCUS STATES --- */
a:focus, .btn-primary:focus, .btn-secondary:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus,
input:focus, textarea:focus, .cookie-accept:focus, .cookie-reject:focus, .cookie-settings:focus {
  outline: 2.5px dashed #E53B3B;
  outline-offset: 2.5px;
}
::-moz-focus-inner { border: none; }

/* --- MISC (make sure nothing overlaps) --- */
section {
  margin-bottom: 60px;
}

/* --- PRINT (for legal pages) --- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  body { color: #000; background: #fff; }
}

/* ===== END OF STYLE.CSS ===== */