/* 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,
main, 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;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #f6f8fa;
  color: #1B2126;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: #09344D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ad6600;
  outline: none;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
}
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}
input, textarea, select {
  font-family: inherit;
}
*:focus {
  outline: 2px solid #EAC88E;
  outline-offset: 2px;
}

/* BRAND COLORS & FONTS */
:root {
  --primary: #09344D;
  --secondary: #EAC88E;
  --accent: #FFFFFF;
  --dark: #1B2126;
  --highlight: #F6EA9A;
  --soft-art-bg: #fffaf4;
  --text-light: #FFFFFF;
  --text-dark: #09344D;
  --shadow: 0 6px 24px 0 rgba(9,52,77,0.09);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 8px;
  --font-display: 'Montserrat',Arial,sans-serif;
  --font-body: 'Open Sans',Arial,sans-serif;
}

/* TYPOGRAPHY */
h1, .hero h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  letter-spacing: -1px;
  margin-bottom: 0.6em;
  text-shadow: 0 2px 12px #eac88e44;
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.8em;
  letter-spacing: -0.5px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5em;
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 0.3em;
}
p, li, address, cite {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #2D3237;
  margin-bottom: 1em;
}
blockquote {
  border-left: 4px solid var(--secondary);
  padding-left: 1.2em;
  font-style: italic;
  font-size: 1.05rem;
  margin: 1.5em 0;
  color: var(--primary);
  background: #fffde5;
  border-radius: var(--radius-md);
}
cite {
  font-style: normal;
  color: #5D6470;
  font-size: 0.98em;
}

/* CONTAINERS & LAYOUT */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}
.section, .text-section, .features-section, .services-overview, .cta-section, .testimonials-section, .confirmation-section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--soft-art-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}
.section:last-child, .text-section:last-child {
  margin-bottom: 0;
}

/* FLEXBOX PATTERNS & ALIGNMENTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-8px) scale(1.03) rotate(-1deg);
  box-shadow: 0 10px 26px 0 rgba(9,52,77,0.18);
}
.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;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 12px #d2d5db44;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* SPACING & GAPS */
.section, .text-section, .features-section, .services-overview, .cta-section, .testimonials-section, .confirmation-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .content-grid, .feature-grid, .service-teasers, .team-profiles, .fact-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .fact-box, .testimonial-card {
  margin-bottom: 20px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(120deg, #EAC88E 0%, #FFFFFF 100%);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  min-height: 340px;
  box-shadow: 0 12px 36px 0 rgba(9,52,77,0.10);
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  overflow: hidden;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.subheadline {
  font-size: 1.25rem;
  font-family: var(--font-body);
  color: #09344d;
  margin-bottom: 0.8em;
  max-width: 560px;
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 16px;
  margin-bottom: 12px;
}
.feature-grid li {
  flex: 1 1 240px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 16px #eac88e33;
  padding: 28px 18px;
  text-align: center;
  min-width: 220px;
  transition: box-shadow 0.22s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.feature-grid li:hover {
  box-shadow: 0 8px 36px #eac88e60;
  transform: translateY(-6px) scale(1.035) rotate(1deg);
}
.feature-grid img {
  width: 45px;
  margin-bottom: 8px;
}
.feature-grid h3 {
  margin-bottom: 0.7em;
}

/* FACT BOXES */
.fact-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.fact-box {
  background: #EAC88E;
  color: #09344D;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 14px #eac88e66;
  padding: 24px 22px;
  text-align: center;
  flex: 1 1 200px;
  font-family: var(--font-body);
}
.fact-box strong {
  font-size: 1.35em;
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-display);
}

/* SERVICE TEASERS (index) */
.service-teasers {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin: 18px 0;
}
.service-teasers > div {
  flex: 1 1 260px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px #09344d19;
  padding: 26px 18px;
  min-width: 220px;
  border-left: 8px solid var(--secondary);
  transition: transform 0.17s, box-shadow 0.18s;
}
.service-teasers > div:hover {
  transform: translateY(-8px) scale(1.042) rotate(-2deg);
  box-shadow: 0 8px 24px #09344d29;
}
.service-teasers h3 {
  margin-bottom: 0.6em;
}

/* TEAM PROFILES */
.team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 15px;
  margin-bottom: 10px;
}
.team-profiles > div {
  flex: 1 1 210px;
  background: #ecf3fa;
  border-radius: var(--radius-md);
  box-shadow: 0 3px 13px #b8e9ff25;
  padding: 22px 14px;
  min-width: 170px;
  text-align: center;
  transition: box-shadow 0.17s;
}
.team-profiles > div:hover {
  box-shadow: 0 8px 24px #7fd7ff30;
}
.team-profiles span {
  color: #805303;
  font-size: 0.95em;
}

/* SERVICE LIST (services.html) */
.service-list {
  list-style: none;
  margin: 0 0 8px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.service-list li {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 6px 20px #eac88e2e;
  padding: 28px 24px;
  margin-bottom: 0;
}
.service-list h2 {
  font-size: 1.35rem;
  margin-bottom: 0.6em;
}

/* TESTIMONIALS */
.testimonial-card {
  background: #fff;
  color: #1A2442;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 12px #eac88e38;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 22px;
  margin-bottom: 20px;
  font-family: var(--font-body);
  position: relative;
  z-index: 1;
}
.testimonial-card blockquote {
  background: none;
  border: none;
  font-style: italic;
  font-size: 1.08em;
  margin: 0 0 0.6em 0;
  color: #09344D;
  padding: 0;
  border-radius: 0;
}
.testimonial-card cite {
  font-size: 0.97em;
  color: #8d6c18;
}


/* CTA SECTIONS */
.cta-section {
  background: var(--primary);
  color: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 48px #09344d14;
  text-align: center;
  padding: 48px 20px;
  margin-bottom: 60px;
}
.cta-section h2, .cta-section h1 {
  color: var(--accent);
}
.cta-section p {
  color: var(--highlight);
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  padding: 0.82em 1.9em;
  border-radius: var(--radius-md);
  transition: background 0.2s, box-shadow 0.22s, color 0.18s, transform 0.18s;
  box-shadow: 0 3px 18px #eac88e32;
  cursor: pointer;
  margin-right: 10px;
  margin-bottom: 12px;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 6px 24px #eac88e26;
}
.btn-primary:hover, .btn-primary:focus {
  background: #efdfa2;
  color: #490d00;
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary {
  background: var(--primary);
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 12px #eac88e44;
}

/* MAIN NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 22px #eac88e18;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  z-index: 101;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 18px 0 18px 0;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}
.main-nav > a {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 500;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  transition: background 0.17s, color 0.16s, transform 0.12s;
  position: relative;
  z-index: 2;
}
.main-nav > a.btn-primary {
  margin-left: auto;
  margin-right: 0;
}
.main-nav > a:not(.btn-primary):hover, .main-nav > a:not(.btn-primary):focus {
  background: var(--secondary);
  color: #1a2442;
  transform: scale(1.08) rotate(-2deg);
}
.main-nav img {
  height: 32px;
  width: auto;
  margin-right: 16px;
}

/* MOBILE MENU: Hamburger Icon */
.mobile-menu-toggle {
  display: none;
  font-size: 2.3rem;
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 2px 12px #eac88e35;
  border-radius: var(--radius-md);
  padding: 5px 18px;
  margin-right: 14px;
  position: absolute;
  right: 0;
  top: 18px;
  z-index: 102;
  transition: background 0.15s, color 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--primary);
  color: var(--accent);
}

/* MOBILE MENU DRAWER */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9,52,77,0.96);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 38px;
  transform: translateX(100vw);
  transition: transform 0.31s cubic-bezier(0.57,0.04,0.29,1.04);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--secondary);
  background: none;
  border: none;
  margin: 18px 36px 32px 0;
  cursor: pointer;
  transition: color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--highlight);
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 14px 46px;
  margin-top: 16px;
  gap: 18px;
}
.mobile-nav a {
  color: var(--secondary);
  font-size: 1.19rem;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 7px;
  text-decoration: none;
  transition: color 0.18s, background 0.16s, transform 0.14s;
  padding: 10px 12px;
  border-radius: 8px;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateX(6px) scale(1.045);
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 6px solid var(--secondary);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -2px 20px #eac88e13;
  padding: 28px 0 14px 0;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1em;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: #641800;
}
.footer-contact {
  font-size: 1em;
  color: #09344D;
  margin-bottom: 14px;
  text-align: center;
}
.footer-contact a {
  color: var(--primary);
  text-decoration: underline;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}
.footer-brand img {
  height: 28px;
  width: auto;
}
.footer-brand span {
  font-size: 0.98em;
  color: #784e09;
}

/* CONFIRMATION SECTION / THANK YOU */
.confirmation-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 380px;
}
.confirmation-section .content-wrapper {
  align-items: center;
  gap: 28px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #09344D;
  color: #fff;
  box-shadow: 0 -3px 24px #09344d53;
  z-index: 2000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 18px 22px 22px;
  font-size: 1em;
  font-family: var(--font-body);
  gap: 38px;
  transition: transform 0.36s cubic-bezier(.7,-0.11,.12,.97);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
}
.cookie-banner button {
  padding: 0.65em 1.25em;
  border-radius: var(--radius-sm);
  border: none;
  margin-right: 6px;
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.16s, color 0.14s, transform 0.16s;
}
.cookie-banner .accept-btn {
  background: #EAC88E;
  color: #09344D;
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: #fffde7;
  color: #1b2126;
}
.cookie-banner .reject-btn {
  background: #fff;
  color: #09344D;
  border: 1px solid #EAC88E;
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #EAC88E;
  color: #09344D;
}
.cookie-banner .settings-btn {
  background: transparent;
  color: #EAC88E;
  border: 1.5px solid #EAC88E;
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: #EAC88E;
  color: #09344D;
}

/* COOKIE MODAL POPUP */
.cookie-modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(9,52,77,0.45);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-bg.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 80px #09344d49;
  padding: 40px 34px 34px 40px;
  max-width: 400px;
  width: 94vw;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  animation: cookieModalSlideIn 0.44s cubic-bezier(.7,-0.11,.12,.97);
}
@keyframes cookieModalSlideIn {
  from { transform: translateY(60px) scale(0.97) skewY(4deg); opacity: 0; }
  to {   transform: none; opacity: 1; }
}
.cookie-modal h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.cookie-modal label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #09344D;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #EAC88E;
  width: 1.1em;
  height: 1.1em;
  margin-right: 6px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal .close {
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 1.45rem;
  background: none;
  color: #bbb;
  border: none;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .close:hover, .cookie-modal .close:focus {
  color: #EAC88E;
}

/* ARTISTIC ORNAMENTS & DETAILS */
/* Artistic underlines for creative flare */
h2, h1 {
  position: relative;
}
h2::after, h1::after {
  content: '';
  display: block;
  width: 70px;
  height: 5px;
  background: linear-gradient(90deg, #EAC88E 60%, #FFF8E1 100%);
  border-radius: 50px;
  margin-top: 8px;
  margin-bottom: 0;
}

/* Decorative corner accent for hero/card (artistic) */
.hero::before {
  content: '';
  position: absolute;
  top: -44px;
  left: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #EAC88E 64%, transparent 100%);
  opacity: 0.13;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
}
.card::after {
  content: '';
  position: absolute;
  bottom: -28px;
  right: -18px;
  width: 64px;
  height: 36px;
  background: linear-gradient(120deg, #09344d22 50%, transparent 100%);
  border-radius: 22px 24px 22px 50px;
  opacity: 0.13;
  z-index: 0;
  pointer-events: none;
}

/* MICRO-INTERACTIONS & TRANSITIONS */
.card, .service-teasers > div, .feature-grid li, .testimonial-card, .btn-primary, .btn-secondary {
  transition: box-shadow 0.22s, transform 0.18s, background 0.18s, color 0.16s;
}

/* ACCESSIBILITY: COLOR CONTRAST FOR TESTIMONIALS */
.testimonials-section .testimonial-card, .testimonial-card, blockquote.testimonial-card {
  background: #fff;
  color: #171d27;
  border: 1.5px solid #eac88e88;
  box-shadow: 0 2px 12px #eac88e4b;
}
.testimonial-card blockquote {
  color: #09344D;
}
.testimonial-card cite {
  color: #784e09;
  padding-top: 2px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1150px) {
  .container {
    max-width: 97vw;
  }
  .feature-grid, .service-teasers, .content-grid, .fact-boxes, .team-profiles {
    flex-wrap: wrap;
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .hero {
    min-height: 260px;
    padding: 24px 0;
  }
  .main-nav {
    gap: 6px;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .section, .text-section, .features-section, .services-overview, .cta-section, .testimonials-section, .confirmation-section {
    padding: 24px 6px;
    margin-bottom: 42px;
  }
  .hero {
    min-height: 170px;
    border-radius: 0 0 32px 32px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .feature-grid, .service-teasers, .fact-boxes, .team-profiles, .card-container, .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card, .service-teasers > div, .feature-grid li, .fact-box {
    min-width: 0;
    width: 100%;
    padding: 22px 12px;
  }
  .testimonials-section .testimonial-card, .testimonial-card {
    padding: 18px 10px;
  }
  .cta-section {
    padding: 36px 6px;
    margin-bottom: 48px;
  }
}
@media (max-width: 525px) {
  html {
    font-size: 15px;
  }
  h1, .hero h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .footer-brand img {
    height: 18px;
  }
  .footer-nav {
    gap: 7px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    font-size: 0.97em;
    padding: 20px 6px 20px 8px;
    align-items: flex-start;
  }
}

/* Hide cookie modal on print */
@media print {
  .cookie-banner, .cookie-modal-bg {
    display: none !important;
  }
}

/* END OF CSS */