/* =========================================================
   CSS RESET & BASE STYLES – Mobile-first   
   ========================================================= */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #FFF;
  color: #2D2D2D;
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 10px;
}
a {
  color: #02516A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #B9722C;
}
button,
.btn-primary,
.mobile-menu-toggle,
.cookie-banner-btn {
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
  outline: none;
  border-radius: 100px;
}
.btn-primary, .cookie-banner-btn.accept {
  background: #02516A;
  color: #fff;
  padding: 14px 36px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: 2px solid #02516A;
  box-shadow: 0 2px 12px 0 rgba(2,81,106,0.11);
  border-radius: 80px;
}
.btn-primary:hover, .btn-primary:focus, .cookie-banner-btn.accept:hover {
  background: #EAD392;
  color: #02516A;
  border-color: #EAD392;
}
.btn-secondary, .cookie-banner-btn.reject {
  background: #fff;
  color: #02516A;
  border: 2px solid #02516A;
  padding: 13px 30px;
  font-weight: 600;
  border-radius: 80px;
  margin-right: 12px;
}
.btn-secondary:hover, .cookie-banner-btn.reject:hover {
  background: #EAD392;
  color: #02516A;
  border-color: #EAD392;
}
.cookie-banner-btn.settings {
  background: #EAD392;
  color: #02516A;
  border: 2px solid #EAD392;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 80px;
}
.cookie-banner-btn.settings:hover {
  background: #02516A;
  color: #fff;
  border-color: #02516A;
}
:focus-visible {
  outline: 2px solid #02516A;
  outline-offset: 2px;
}

/* ==============
   BRAND COLORS
   ============== */
:root {
  --primary: #02516A;
  --secondary: #EAD392;
  --accent: #F4F4F2;
  --page-bg: #F9F6F1;
  --danger: #c14531;
  --shadow: 0 4px 24px 0 rgba(2,81,106,0.09);
  --shadow-card: 0 2px 10px 0 rgba(233,213,146,0.18);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Montserrat', Arial, sans-serif;
}

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

.section, .hero, .about-section, .team-section, .services-section, .features-section, .cta-section,
.testimonials-section, .custom-packages-section, .text-section, .policy-section, .contact-section, .confirmation-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.hero {
  background: var(--secondary);
  color: #02516A;
  text-align: center;
  box-shadow: none;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: #02516A;
  margin-bottom: 12px;
  font-weight: 700;
}
.hero .subheadline {
  font-size: 1.18rem;
  color: #7D6531;
  margin-bottom: 22px;
  font-family: var(--font-body);
  font-weight: 600;
}

@media (min-width: 768px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
  .hero, .section, .about-section, .team-section, .services-section, .features-section, .cta-section,
  .testimonials-section, .custom-packages-section, .text-section, .policy-section, .contact-section, .confirmation-section {
    padding: 55px 32px;
  }
}

/* ===========================================
   HEADER & NAVIGATION (incl. MOBILE MENU)
   =========================================== */
header {
  background: #fff;
  box-shadow: var(--shadow-card);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
header a img {
  height: 42px;
  border-radius: 0;
}
header nav {
  display: none;
}
.btn-primary {
  margin-left: auto;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  border-radius: var(--radius-md);
  padding: 6px 8px;
  margin-left: 8px;
  display: flex;
  align-items: center;
  transition: background 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--secondary);
  color: #7D6531;
}

/* MOBILE MENU - Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(250,242,200,0.98);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #02516A;
  font-size: 2.5rem;
  position: absolute;
  top: 26px;
  right: 28px;
  z-index: 1001;
  transition: color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #B9722C;
  background: rgba(234,211,146,0.55);
  border-radius: 50%;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 78px;
  width: 100vw;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  font-size: 1.25rem;
  font-family: var(--font-display);
  color: #02516A;
  font-weight: 600;
  padding: 11px 0;
  border-radius: 8px;
  margin-right: 10px;
  background: none;
  transition: background 0.12s, color 0.15s, padding 0.13s;
  min-width: 220px;
  display: block;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #EAD392;
  color: #B9722C;
  padding-left: 14px;
}
@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
  header nav {
    display: flex !important;
    gap: 24px;
    align-items: center;
  }
  header nav a {
    color: #02516A;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 3px;
    transition: color .20s, background .18s, border-radius .14s;
    padding: 7px 14px;
    border-radius: 8px;
    background: none;
  }
  header nav a:hover,
  header nav a:focus {
    background: var(--secondary);
    color: #7D6531;
  }
  .btn-primary {
    margin-left: 26px;
  }
}

/* ===================================
    TYPOGRAPHY STYLES
   =================================== */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  color: #02516A;
  font-weight: 700;
}
h1 { font-size: 2.2rem; line-height: 1.14; margin-bottom: 14px; }
h2 { font-size: 1.5rem; line-height: 1.18; margin-bottom: 12px; }
h3 { font-size: 1.18rem; line-height: 1.23; margin-bottom: 9px; }
h4 { font-size: 1.04rem; }
h5 { font-size: 1rem; }
p, li, ul {
  font-size: 1rem;
  color: #413C2F;
}
ul, ol {
  margin-left: 19px;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  list-style: disc inside;
  line-height: 1.8;
}
li {
  margin-bottom: 6px;
}
@media (min-width: 480px) {
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.25rem; }
}
@media (min-width: 800px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.32rem; }
}

.subheadline {
  font-family: var(--font-body);
  color: #7D6531;
  font-size: 1.13rem;
  font-weight: 500;
  margin-bottom: 21px;
  letter-spacing: .04em;
}

/* Highlight color for important inline text */
.mark,
strong {
  color: #B9722C;
  background: transparent;
  font-weight: 700;
}

/* ===================
  CARD STYLES
  =================== */
.service-card,
.card,
.confirmation-message,
.testimonial-card {
  background: #fff;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  padding: 28px 22px 20px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
  transition: box-shadow .19s, transform .2s;
}
.service-card:hover,
.testimonial-card:hover,
.card:hover {
  box-shadow: 0 6px 28px rgba(2,81,106,0.17);
  transform: translateY(-3px) scale(1.025);
}
.price {
  background: #EAD392;
  color: #7D6531;
  padding: 8px 18px;
  border-radius: 22px;
  font-weight: 700;
  align-self: flex-end;
  font-size: 1rem;
}

/* ===================
 FLEXBOX PATTERNS
=================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 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;
  background: #fff;
  color: #02516A;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.service-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.service-card {
  flex: 1 1 260px;
  min-width: 245px;
  max-width: 100%;
}
@media (min-width: 650px) {
  .service-card { min-width: 310px; }
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: flex-start;
}
@media (max-width: 1000px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-list img {
  vertical-align: middle;
  width: 36px;
  height: 36px;
  margin-right: 14px;
  margin-bottom: -6px;
  background: #EAD392;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 2px 5px 0 rgba(234,211,146,.15);
}
.feature-list li {
  font-size: 1.05rem;
  font-family: var(--font-body);
  color: #4E4632;
  font-weight: 500;
  display: flex;
  align-items: center;
}
.values-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.values-list li {
  background: #F9F6F1;
  color: #7D6531;
  padding: 10px 17px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1.01rem;
  letter-spacing: .02em;
}
/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
  background: var(--secondary);
  color: #02516A;
  text-align: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  justify-content: center;
  align-items: center;
}
.cta-section h2 {
  font-family: var(--font-display);
  color: #02516A;
  margin-bottom: 10px;
}
.cta-section p {
  color: #7D6531;
  margin-bottom: 14px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================
   FOOTER
   =================================== */
footer {
  background: var(--primary);
  color: #fff;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  margin-top: 80px;
  box-shadow: 0 -3px 14px 0 rgba(2,81,106,0.08);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 37px;
  padding-bottom: 26px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
}
.footer-nav a {
  color: #EAD392;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: color .21s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff9df;
}
.footer-info {
  text-align: center;
}
.footer-info img {
  max-width: 54px;
  margin-bottom: 9px;
  border-radius: 12px;
  background: #fff;
}
.footer-info p, .footer-info a {
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-body);
}
footer small {
  color: #fff;
  opacity: 0.65;
  font-size: 0.96rem;
}

/* ==========================
 POLICY & INFO SECTIONS
=========================== */
.policy-section {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  color: #222;
}
.policy-section h1 {
  color: #02516A;
  margin-bottom: 15px;
}
.policy-section ul {
  margin-top: 14px;
  margin-bottom: 14px;
}
.policy-section li {
  margin-bottom: 7px;
}
.gdpr-note {
  background: #F4F4F2;
  border-left: 5px solid #EAD392;
  border-radius: var(--radius-sm);
  padding: 18px 18px 14px 18px;
  margin-top: 22px;
  color: #7D6531;
  font-size: 1rem;
  font-family: var(--font-body);
}
/* =========================
   CONFIRMATION PAGE
   ========================= */
.confirmation-section {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 60px 22px;
}
.confirmation-message {
  background: #EAD392;
  color: #02516A;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  margin-bottom: 22px;
  box-shadow: var(--shadow-card);
  padding: 19px 15px;
}

/* =========================
   TESTIMONIALS
   ========================= */
.testimonials-section {
  background: #F9F6F1;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.testimonials-section h2 {
  color: #02516A;
  margin-bottom: 13px;
}
.testimonial-card {
  max-width: 350px;
  min-width: 240px;
  font-family: var(--font-body);
  background: #fff;
  color: #2D2D2D;
  border: 1px solid #EAD392;
  border-left: 8px solid #EAD392;
  box-shadow: var(--shadow-card);
  font-size: 1rem;
  line-height: 1.78;
  position: relative;
}
.testimonial-card p {
  font-style: italic;
  color: #02516A;
  margin-bottom: 6px;
}
.testimonial-name {
  font-size: 1rem;
  font-weight: 600;
  color: #B9722C;
}
@media (max-width: 999px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  .testimonial-card {
    width: 98%;
    min-width: 220px;
    max-width: 520px;
  }
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-grid,
  .service-preview-grid,
  .testimonial-slider {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  header .container {
    flex-direction: row;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (min-width: 769px) {
  .content-wrapper {
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }
  .hero .content-wrapper,
  .cta-section .content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .text-section .content-wrapper,
  .about-section .content-wrapper,
  .team-section .content-wrapper {
    flex: 1 1 100%;
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 500px) {
  .hero, .cta-section, .section {
    padding: 22px 4px;
  }
}

/* =========================
   ANIMATIONS & MICRO-INTERACTIONS
   ========================= */
.btn-primary, .btn-secondary, .cookie-banner-btn {
  transition: background 0.2s, color 0.2s, box-shadow 0.19s, transform 0.2s;
}
.btn-primary:active, .btn-secondary:active, .cookie-banner-btn:active {
  transform: scale(0.97);
}
.service-card, .testimonial-card, .card {
  transition: box-shadow 0.18s, transform 0.17s;
}
.service-card:hover, .testimonial-card:hover, .card:hover {
  box-shadow: 0 6px 30px rgba(2,81,106,0.13);
  transform: translateY(-2px) scale(1.018);
}

/* =========================
      COOKIE CONSENT BANNER
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  box-shadow: 0 -4px 38px 0 rgba(2,81,106,.10);
  border-top: 5px solid #EAD392;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 22px 8vw;
  gap: 20px;
  animation: slideUpCookie 0.65s cubic-bezier(.7,.2,.3,1);
}
@keyframes slideUpCookie {
  from { opacity: 0; transform: translateY(100px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner-content {
  color: #7D6531;
  font-size: 1rem;
  font-family: var(--font-body);
  text-align: center;
  margin-bottom: 2px;
}
.cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.cookie-banner-btn {
  min-width: 120px;
  margin-top: 0;
  font-size: 1rem;
  margin-right: 4px;
}
.cookie-banner-btn:last-child {
  margin-right: 0;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  top: 0; left: 0; right: 0; bottom:0;
  background: rgba(2,81,106,0.24);
  animation: fadeInCookieModal 0.34s;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 36px 0 rgba(2,81,106,0.25);
  padding: 38px 26px 28px 26px;
  min-width: 304px;
  max-width: 98vw;
  max-height: 89vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideUpCookieModal 0.45s cubic-bezier(.6,0,.29,1);
}
@keyframes slideUpCookieModal {
  from { opacity: 0; transform: translateY(90px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal h3 {
  font-size: 1.35rem;
  font-family: var(--font-display);
  color: #02516A;
  margin-bottom: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 10px 13px 0;
  border-bottom: 1px solid #F4F4F2;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: 0;
}
.cookie-modal .cookie-category label {
  color: #7D6531;
  font-weight: 600;
  font-size: 1.08rem;
  font-family: var(--font-body);
}
.cookie-modal-switch {
  min-width: 48px;
  height: 26px;
  border-radius: 14px;
  background: #f3e4bb;
  position: relative;
  display: inline-block;
  transition: background .19s;
}
.cookie-modal-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cookie-modal-slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 20px; height: 20px;
  background: #EAD392;
  border-radius: 50%;
  transition: left .19s, background .16s;
}
.cookie-modal-switch input:checked + .cookie-modal-slider {
  background: #02516A;
  left: 25px;
}
.cookie-modal-switch input:disabled + .cookie-modal-slider {
  background: #adadad;
  opacity: 0.5;
}
.cookie-modal-actions {
  margin-top: 10px;
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}

.cookie-modal-close {
  position: absolute;
  top: 19px;
  right: 23px;
  background: none;
  border: none;
  font-size: 1.55rem;
  color: #c14531;
  font-weight: bold;
  cursor: pointer;
  z-index: 1003;
  transition: color .15s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #a13722;
}

@media (max-width: 500px) {
  .cookie-banner {
    padding: 15px 8px;
  }
  .cookie-modal {
    min-width: 92vw !important;
    padding: 23px 7px 21px 7px;
    font-size: .97rem;
  }
  .cookie-modal h3 { font-size: 1.12rem; }
}

/* ==========================
 UTILITIES & OVERRIDES
=========================== */
.hide, .d-none { display: none !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-left { text-align: left !important; }
.mt-0 { margin-top: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mt-30 { margin-top: 30px !important; }
.rounded { border-radius: var(--radius-md) !important; }
.bg-accent { background: var(--accent) !important; }
.bg-secondary { background: var(--secondary) !important; }
.shadow { box-shadow: var(--shadow) !important; }

/* ===============
   END OF STYLES
 ================ */
