/* ----------------------------------------
   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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #f7f8fa;
  color: #191a1d;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
ul { list-style: disc; padding-left: 24px; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
  box-shadow: none;
}

/* ----------------------------------------
   Brand Color & Luxury Accents
-----------------------------------------*/
:root {
  --primary: #123D6B;
  --secondary: #ffffff;
  --accent: #15716B;
  --gold: #BFA14A;
  --gold-light: #ECDCBA;
  --gray-100: #F7F8FA;
  --gray-200: #EEEEF0;
  --gray-300: #D2D6DC;
  --gray-800: #23252c;
  --text-dark: #17181a;
  --text-light: #ffffff;
  --shadow-light: 0 2px 12px rgba(26, 34, 51, 0.1);
  --shadow-card: 0 6px 24px 0 rgba(40,40,51,0.08);
  --shadow-strong: 0 4px 32px rgba(18,61,107, 0.18);
  --border-radius: 18px;
  --transition-fast: 180ms cubic-bezier(.4,1,.5,1);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ----------------------------------------
   Typography
-----------------------------------------*/
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.18;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.21;
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
}
p, ul, li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}
p.subheadline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--accent);
  margin-bottom: 18px;
}
strong { font-weight: bold; color: var(--primary); }

/* ----------------------------------------
   Containers & Layout
-----------------------------------------*/
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}
/* Section Spacing Pattern */
.section,
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: var(--border-radius);
}
@media (max-width: 768px) {
  .section, section { padding: 28px 8px; margin-bottom: 38px; }
  .container { padding: 0 10px; }
  .content-wrapper { gap: 16px; }
}

/* ----------------------------------------
   Header & Navigation
-----------------------------------------*/
header {
  background: var(--secondary);
  border-bottom: 2px solid var(--gold-light);
  box-shadow: var(--shadow-light);
  padding: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 20px;
}
.logo img { height: 42px; width: auto; display: block; }

.main-nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  padding: 6px 7px;
  border-radius: 8px;
  transition: background var(--transition-fast), color var(--transition-fast);
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--gold-light);
  color: var(--gold);
}
.cta.primary {
  font-family: var(--font-display);
  background: var(--primary);
  color: var(--gold);
  padding: 13px 34px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 22px;
  box-shadow: 0 3px 24px rgba(18,61,107,0.14);
  border: 1.5px solid var(--gold);
  transition: background 0.25s, color 0.16s, box-shadow 0.25s;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-block;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--gold);
  color: var(--primary);
  box-shadow: 0 6px 32px 0 rgba(191,161,74,0.14);
}
.cta.secondary {
  background: var(--gold);
  color: var(--primary);
  border: 1.5px solid var(--gold);
  box-shadow: 0 3px 18px rgba(191,161,74,0.08);
  font-family: var(--font-display);
  border-radius: 30px;
  padding: 11px 32px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.015em;
  transition: background 0.18s, color 0.12s, box-shadow 0.21s;
  margin-top: 8px;
  cursor: pointer;
  display: inline-block;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--primary);
  color: var(--gold);
  box-shadow: 0 7px 26px 0 rgba(18,61,107,0.11);
}
.cta {
  display: inline-block;
  box-shadow: 0 2px 8px rgba(18,61,107,0.07);
  transition: box-shadow 0.14s;
}
.cta:active { box-shadow: none; }

.mobile-menu-toggle {
  display: none;
  background: var(--gold);
  color: var(--primary);
  font-size: 2rem;
  border-radius: 8px;
  padding: 4px 12px;
  margin-left: 16px;
  cursor: pointer;
  border: 1.5px solid var(--gold);
  transition: background 0.19s, color 0.13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--gold);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(18,61,107, 0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.47,1.36,.62,.98);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--gold);
  color: var(--primary);
  border: none;
  font-size: 2.2rem;
  margin: 28px 28px 0 0;
  border-radius: 50%;
  width: 44px; height: 44px;
  cursor: pointer;
  box-shadow: 0 4px 16px 0 rgba(191,161,74,0.09);
  transition: background 0.18s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--primary);
  color: var(--gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 44px 32px 0 0;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.23rem;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 8px 0;
  padding: 10px 0px;
  border-bottom: 1px solid rgba(238,220,186,0.09);
  transition: color 0.17s, background 0.13s;
  border-radius: 0 0 18px 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(238,220,186,0.09);
}

@media (max-width: 992px) {
  .main-nav, .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 500px) {
  .mobile-nav { padding-right: 14px; gap: 19px; }
  .mobile-menu-close { margin: 22px 14px 0 0; width: 40px; height: 40px; font-size: 2rem; }
}

/* ----------------------------------------
   Hero Section
-----------------------------------------*/
.hero {
  background: linear-gradient(105deg, var(--secondary) 75%, var(--gold-light) 100%);
  box-shadow: 0 9px 40px 0 rgba(18,61,107,0.07);
  border-radius: var(--border-radius);
  margin-top: 40px;
  margin-bottom: 60px;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
}
.hero h1, .hero .h1 {
  font-size: 2.6rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .hero { margin-top: 10px; margin-bottom: 36px; padding:18px 0; }
  .hero h1, .hero .h1 { font-size: 2rem; }
}

/* ----------------------------------------
   Features & Cards (Premium Style)
-----------------------------------------*/
.features, .feature-grid, .service-list, .service-card-grid, .testimonial-list, .testimonials-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid {
  flex-direction: row;
  align-items: stretch;
  gap: 24px;
  margin-bottom: 18px;
}
.feature {
  background: var(--secondary);
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--gold-light);
  border-radius: var(--border-radius);
  padding: 32px 25px 28px 25px;
  min-width: 222px;
  max-width: 322px;
  flex: 1 1 255px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.18s;
  position: relative;
}
.feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 10px 36px 0 rgba(191,161,74,0.18), var(--shadow-card);
  border-color: var(--gold);
  transform: translateY(-4px) scale(1.018);
}
.feature h3 {
  color: var(--primary);
  margin-bottom: 9px; font-size: 1.13rem;
}

/* Service Items */
.service-list, .service-card-grid {
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  flex-direction: row;
}
.service-item {
  background: var(--gray-100);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  flex: 1 1 275px;
  min-width: 220px;
  max-width: 330px;
  margin-bottom: 20px;
  padding: 28px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1.5px solid var(--gold-light);
  transition: border 0.22s, box-shadow 0.18s;
  position: relative;
}
.service-item strong {
  color: var(--gold);
  font-size: 1.07rem;
  font-weight: 700;
}
.service-item:hover, .service-item:focus-within {
  border-color: var(--gold);
  box-shadow: 0 6px 36px 0 rgba(191,161,74,0.13), var(--shadow-card);
  transform: translateY(-3px) scale(1.012);
}

/* Testimonial Cards */
.testimonials, .testimonial-list, .testimonials-slider {
  width: 100%;
}
.testimonials-slider, .testimonial-list {
  gap: 24px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 28px 18px 28px;
  border-radius: var(--border-radius);
  background: var(--secondary);
  border-left: 5px solid var(--gold);
  box-shadow: 0 7px 30px 0 rgba(17,61,107, 0.14);
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 420px;
  flex: 1 1 310px;
  position: relative;
  color: var(--text-dark);
  font-size: 1.07rem;
  transition: box-shadow 0.22s, border 0.19s;
}
.testimonial-card p {
  color: #23252c;
  line-height: 1.5;
  font-size: 1.09rem;
}
.testimonial-card span {
  color: var(--accent);
  font-size: 0.99rem;
  opacity: 0.86;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 44px 0 rgba(191,161,74,0.13), var(--shadow-card);
  border-left: 5.8px solid var(--gold);
  transform: scale(1.013);
}

/* Newsletter Cards */
.newsletter-signup, .newsletter-teaser {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  border-radius: var(--border-radius);
  padding: 32px 24px;
  margin-bottom: 18px;
  background: var(--gray-100);
  box-shadow: var(--shadow-card);
}
.newsletter-signup h2, .newsletter-teaser h2 {
  font-size: 1.42rem;
  margin-bottom: 8px;
}

/* Legal Section */
.legal .content-wrapper {
  background: var(--secondary);
  box-shadow: var(--shadow-card);
  border-radius: var(--border-radius);
  padding: 32px 31px;
  margin-bottom: 22px;
  gap: 16px;
}

/* Contact Page */
.contact .container {
  align-items: flex-start;
}
.contact h1 { margin-bottom: 18px; }
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta.section, .cta {
  margin-top: 16px;
  margin-bottom: 10px;
}

/* ----------------------------------------
   Footer
-----------------------------------------*/
footer {
  background: var(--primary);
  color: var(--gold-light);
  padding: 34px 0 22px 0;
  box-shadow: 0 -2px 22px rgba(18,61,107,0.06);
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav, .footer-legal-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  align-items: center;
}
.footer-nav a,
.footer-legal-nav a {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1rem;
  opacity: 0.93;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.14s, color 0.14s;
}
.footer-nav a:hover, .footer-legal-nav a:hover,
.footer-nav a:focus, .footer-legal-nav a:focus {
  background: var(--gold-light);
  color: var(--primary);
}
.footer-contact {
  font-size: 0.98rem;
  color: var(--gold-light);
  opacity: 0.87;
}
.footer-contact a { color: var(--gold-light); text-decoration: underline; }
footer img { height: 35px; margin-bottom: 12px; }

@media (max-width: 1100px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
@media (max-width: 768px) {
  footer { padding: 24px 0 16px 0; }
}

/* -----------------------------------------
  Lists, Spacing, Content Utility
-----------------------------------------*/
.usp-list {
  font-family: var(--font-display);
  color: var(--accent);
  letter-spacing: 0.013em;
  margin-top: 8px;
}
ul {
  margin-bottom: 18px;
}
.text-section ul li {
  color: #292b32;
  margin-bottom: 6px;
  font-size: 1rem;
}

/* -----------------------------------------
   Alignment Patterns (Flexbox-only)
-----------------------------------------*/
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  margin-bottom: 20px; position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  background: var(--secondary);
}
.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; }

/* Responsive Alignment */
@media (max-width: 768px) {
  .feature-grid, .service-list, .service-card-grid, .content-grid, .testimonials-slider, .testimonial-list, .container {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .newsletter-signup, .newsletter-teaser, .legal .content-wrapper, .feature, .service-item, .testimonial-card {
    padding: 18px 11px;
  }
}

/* ----------------------------------------
   Buttons & Links - Premium Touch
-----------------------------------------*/
button, .cta, input[type="submit"] {
  cursor: pointer;
  font-family: var(--font-display);
  border-radius: 30px;
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}
input, textarea, select {
  border-radius: 9px;
  border: 1.2px solid var(--gray-300);
  padding: 9px 14px;
  font-size: 1rem;
  margin-bottom: 10px;
  background: var(--secondary);
  color: var(--text-dark);
  transition: border 0.15s;
}
input:focus, textarea:focus {
  border-color: var(--accent);
}
a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: var(--gold);
}

/* ----------------------------------------
   Micro-Interactions
-----------------------------------------*/
.card, .feature, .testimonial-card, .newsletter-signup, .newsletter-teaser {
  transition: box-shadow 0.2s, border 0.19s, transform 0.17s;
}
.card:hover, .feature:hover, .testimonial-card:hover, .newsletter-signup:hover, .newsletter-teaser:hover {
  box-shadow: 0 10px 40px 0 rgba(191,161,74,0.13), var(--shadow-card);
  border-color: var(--gold);
  transform: translateY(-2px) scale(1.013);
}

/* ----------------------------------------
   Cookie Consent Banner & Modal
-----------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 99999;
  display: flex;
  justify-content: center;
  width: 100vw;
  background: var(--secondary);
  border-top: 2.5px solid var(--gold);
  box-shadow: 0 -4px 36px 0 rgba(18,61,107,0.13);
  padding: 20px 16px 22px 16px;
  animation: banner-fadein 0.5s cubic-bezier(.12,.86,.77,.95);
  align-items: center;
  font-size: 1rem;
}
.cookie-banner .cookie-text {
  flex: 1 1 auto;
  color: var(--primary);
  margin-right: 18px;
  font-size: 1rem;
  font-family: var(--font-body);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner button,
.cookie-banner .btn {
  background: var(--gold);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 30px;
  padding: 9px 24px;
  border: none;
  transition: background 0.18s, color 0.15s, box-shadow 0.21s;
  margin-bottom: 7px;
  box-shadow: 0 2px 8px rgba(191,161,74,0.06);
}
.cookie-banner button:hover, .cookie-banner button:focus, .cookie-banner .btn:hover, .cookie-banner .btn:focus {
  background: var(--primary);
  color: var(--gold);
}
.cookie-banner .btn.secondary {
  background: var(--secondary);
  color: var(--primary);
  border: 1.2px solid var(--gold);
}
.cookie-banner .btn.secondary:hover, .cookie-banner .btn.secondary:focus {
  background: var(--gold-light);
  color: var(--primary);
}

@keyframes banner-fadein {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  right: 0; bottom: 0;
  background: rgba(18,61,107,0.45);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(.6,1,.58,1);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal .modal-content {
  background: var(--secondary);
  border-radius: var(--border-radius);
  max-width: 410px;
  width: 98vw;
  padding: 34px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  box-shadow: 0 12px 48px 0 rgba(18,61,107,0.22);
  position: relative;
}
.cookie-modal .modal-header {
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 7px;
}
.cookie-modal .modal-body label {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  margin-bottom: 13px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--gold);
  height: 18px; width: 18px;
  border-radius: 5px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}
.cookie-modal .modal-close {
  background: transparent;
  color: var(--primary);
  border: none;
  position: absolute;
  top: 12px; right: 12px;
  font-size: 2rem;
  cursor: pointer;
  z-index: 101;
  border-radius: 50%;
  transition: background 0.11s;
}
.cookie-modal .modal-close:hover {
  background: var(--gold-light);
}

/* ----------------------------------------
   Misc & Utility
-----------------------------------------*/
::-webkit-scrollbar {
  width: 10px;
  background: #e5e5e8;
}
::-webkit-scrollbar-thumb { background: #c4b377; border-radius: 9px; }
::-webkit-scrollbar-thumb:hover { background: #bfa14a; }

::selection {
  background: var(--gold-light);
  color: var(--primary);
}

/* Responsive Font Sizes */
@media (max-width: 500px) {
  html { font-size: 15px; }
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.37rem; }
  h3, .h3 { font-size: 1.09rem; }
  .logo img, footer img { height: 32px; }
}

/* Ensure no card/content overlap anywhere */
.card, .feature, .service-item, .testimonial-card, .newsletter-signup, .newsletter-teaser, .legal .content-wrapper {
  margin-bottom: 22px;
  min-width: 0;
  max-width: 100%;
}

/* ----------------------------------------
   Accessibility: Focus Styles
-----------------------------------------*/
a:focus, button:focus, .cta:focus, input:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  z-index: 10;
}

/* ----------------------------------------
   Hiding for JS enhancements (if needed)
-----------------------------------------*/
.mobile-menu[aria-hidden="true"] { display: none !important; }
