/* ========== 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  line-height: 1.7;
  background: #F8FAFA;
  color: #282A2D;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}
button {
  cursor: pointer;
}

/* ========== CSS VARIABLES (with fallback) ========== */
:root {
  --primary: #24536A;
  --primary-dark: #19374A;
  --secondary: #E9EAEA;
  --accent: #F5C13D;
  --accent-rgb: 245, 193, 61;
  --neutral-dark: #282A2D;
  --neutral-light: #F8FAFA;
  --white: #fff;
  --black: #0A1016;
  --border-radius: 16px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* ========== TYPOGRAPHY ========== */
html {
  font-size: 100%; /* 16px */
}
body {
  font-family: var(--font-body);
  font-size: 1rem; /* 16px */
  background: var(--neutral-light);
  color: var(--neutral-dark);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, ul, ol, li {
  font-size: 1rem;
  margin-bottom: 14px;
}
strong {
  font-weight: 700;
}

/* ========== SHARED LAYOUT CLASSES ========== */
.container {
  max-width: 1224px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 10px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(36,83,106,.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 0;
  position: relative;
  display: inline-block;
  transition: color 0.2s;
}
.main-nav a:not(.btn-primary):hover {
  color: var(--accent);
}

.btn-primary, .btn-secondary {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1rem;
  padding: 13px 32px;
  border-radius: calc(var(--border-radius) / 1.8);
  border: none;
  background: var(--accent);
  color: var(--black);
  box-shadow: 0 3px 15px 0 rgba(var(--accent-rgb), 0.10);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
  cursor: pointer;
  text-align: center;
  display: inline-block;
  margin-left: 12px;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  color: var(--white);
  background: var(--primary);
  box-shadow: 0 8px 18px 0 rgba(36,83,106, 0.13);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 10px 0 rgba(36,83,106,.03);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--accent);
  color: var(--black);
  box-shadow: 0 4px 14px 0 rgba(var(--accent-rgb), 0.13);
}

/* HAMBURGER BUTTON */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--primary);
  font-size: 2rem;
  border-radius: 50%;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 1px 7px 0 rgba(245,193,61,0.07);
}
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--white);
  box-shadow: 5px 0 44px rgba(36,83,106,.10);
  z-index: 200;
  transform: translateX(-105%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.55,0,.1,1), opacity 0.26s;
  will-change: transform;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: var(--primary);
  font-size: 2.2rem;
  margin: 20px 28px 12px 0;
  border: none;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  padding: 18px 38px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.13rem;
  color: var(--primary);
  padding: 10px 0;
  width: 100%;
  border-bottom: 1px solid var(--secondary);
  transition: color 0.17s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover {
  color: var(--accent);
  background: rgba(245,193,61,0.07);
}

/* ========== HERO SECTION ========== */
.hero {
  background: var(--primary);
  color: var(--white);
  min-height: 400px;
  padding-top: 64px;
  padding-bottom: 44px;
  display: flex;
  flex-direction: column;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 290px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
}
.hero h1, .hero h2, .hero h3 {
  color: var(--white);
}
.hero p {
  color: #e6edf1;
  font-size: 1.11rem;
  margin-bottom: 18px;
}
.hero .btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  margin-left: 0;
}
.hero .btn-primary:hover {
  background: var(--white);
  color: var(--primary);
}
@media (max-width: 768px) {
  .hero {
    padding-top: 28px;
    padding-bottom: 28px;
    min-height: 280px;
  }
}

/* ========== GRID & FLEX LAYOUTS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 15px 0 rgba(36,83,106,0.05);
  padding: 28px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.20s, transform 0.15s;
  border: 1px solid var(--secondary);
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px 0 rgba(36,83,106,0.11);
  transform: translateY(-3px) scale(1.01);
  border-color: var(--accent);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px 0 rgba(36,83,106,0.06);
  margin-bottom: 24px;
  flex-direction: column;
  min-width: 280px;
  transition: box-shadow 0.20s, border 0.20s;
  border: 1.5px solid #f4e1b0;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 16px 0 rgba(245,193,61,0.16);
  border-color: var(--accent);
}
.testimonial-author {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 10px;
}
.testimonial-quote, .customer-quotes {
  color: #222524;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.8;
}
.star-ratings {
  font-size: 1.20rem;
  color: var(--accent);
}
.testimonials, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  margin-bottom: 18px;
}
.feature-grid > div {
  flex: 1 1 210px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 11px 0 rgba(36,83,106,0.05);
  padding: 22px 20px 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 170px;
  border-left: 4px solid var(--accent);
  transition: box-shadow .13s, border-left-color .13s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 21px 0 rgba(245,193,61,0.09);
  border-left-color: var(--primary);
}
.feature-grid img {
  height: 36px;
  margin-bottom: 10px;
}

@media (max-width: 992px) {
  .feature-grid,
  .card-container,
  .testimonials, .testimonial-list {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .card {
    width: 100%;
    margin-bottom: 22px;
  }
  .testimonial-card {
    width: 100%;
    min-width: unset;
  }
}
@media (max-width: 768px) {
  .text-image-section, .feature-grid, .card-container, .testimonials, .testimonial-list {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .card {
    padding: 20px 10px;
    border-radius: 12px;
  }
  .testimonial-card {
    padding: 15px 10px;
  }
}

/* Case studies (realisations.html) */
.case-studies {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.case-study {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 13px 0 rgba(36,83,106, .06);
  padding: 28px 22px;
  flex: 1 1 310px;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent);
  min-width: 210px;
  transition: box-shadow .18s, border-left-color .13s;
}
.case-study:hover {
  box-shadow: 0 4px 20px 0 rgba(245,193,61,0.08);
  border-left-color: var(--primary);
}
@media (max-width: 992px) {
  .case-studies {
    flex-direction: column;
    gap: 16px;
  }
  .case-study {
    width: 100%;
    min-width: unset;
  }
}

/* ========== FAQ SECTION ========== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.faq-item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(36,83,106,0.08);
  padding: 18px 20px 14px;
  border-left: 4px solid var(--accent);
  margin-bottom: 8px;
  transition: box-shadow .15s, border-left-color .15s;
}
.faq-item:hover {
  box-shadow: 0 8px 18px 0 rgba(245,193,61,0.09);
  border-left-color: var(--primary);
}
.faq-item h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.contact-suggestion p a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.18s;
}
.contact-suggestion p a:hover {
  color: var(--primary);
}

/* ========== FORMS & CONTACT ========== */
.company-details, .contact-methods, .opening-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.company-details p, .contact-methods p, .opening-hours p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--primary);
}
.company-details img, .contact-methods img {
  height: 22px;
}

@media (max-width: 600px) {
  .opening-hours, .company-details, .contact-methods {
    font-size: 0.97rem;
    gap: 6px;
  }
}

/* ========== FOOTER ========== */
footer {
  background: var(--primary-dark);
  color: var(--secondary);
  padding-top: 44px;
  padding-bottom: 24px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
footer .logo img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 190px;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.03rem;
  padding-left: 2px;
  letter-spacing: 0.01em;
  transition: color 0.22s;
}
.footer-nav a:hover {
  color: var(--white);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99rem;
  margin-bottom: 10px;
}
.footer-contact img {
  height: 17px;
  margin-right: 6px;
}
.footer-legal {
  color: #b5cae1;
  font-size: 0.95rem;
  margin-top: 14px;
}
@media (max-width: 992px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-nav, .footer-contact {
    margin-bottom: 10px;
  }
}

/* ========== BUTTONS & MICRO-INTERACTIONS ========== */
a, button, .btn-primary, .btn-secondary {
  transition: 
    color 0.17s cubic-bezier(.5,0,.1,1),
    background 0.16s cubic-bezier(.6,0,.2,1),
    box-shadow 0.14s cubic-bezier(.6,0,.2,1),
    transform 0.11s;
}
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}

/* ========== SPECIAL: Cookie Consent Banner & Modal ========== */
#cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--white);
  box-shadow: 0 -2px 24px 0 rgba(36,83,106,0.08);
  border-top: 2.5px solid var(--accent);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 18px;
  gap: 16px;
  font-size: 1rem;
  animation: cookieBannerIn 0.8s cubic-bezier(.42,0,.23,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
#cookie-consent-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
#cookie-consent-banner button {
  padding: 9px 20px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  font-family: var(--font-display);
}
#cookie-consent-banner .accept {
  background: var(--accent);
  color: var(--primary-dark);
  border: 1.5px solid var(--accent);
}
#cookie-consent-banner .accept:hover,
#cookie-consent-banner .accept:focus {
  background: var(--primary);
  color: var(--white);
}
#cookie-consent-banner .reject {
  background: var(--secondary);
  color: var(--primary);
  border: 1.5px solid var(--secondary);
}
#cookie-consent-banner .reject:hover,
#cookie-consent-banner .reject:focus {
  background: var(--primary-dark);
  color: var(--accent);
}
#cookie-consent-banner .settings {
  background: var(--white);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
#cookie-consent-banner .settings:hover,
#cookie-consent-banner .settings:focus {
  background: var(--primary);
  color: var(--white);
}

/* Cookie Preferences Modal */
#cookie-modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(20,32,40,0.38);
  align-items: center;
  justify-content: center;
  animation: cookieModalBg .25s ease;
}
#cookie-modal.active {
  display: flex;
}
@keyframes cookieModalBg {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#cookie-modal .cookie-modal-content {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 48px 0 rgba(36,83,106,0.12);
  padding: 34px 28px 22px;
  width: 100%;
  max-width: 410px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: cookieModalIn .42s cubic-bezier(.4,0,.2,1);
}
@keyframes cookieModalIn {
  from { transform: scale(.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
#cookie-modal h2 {
  margin-bottom: 4px;
  font-size: 1.18rem;
  color: var(--primary);
}
#cookie-modal .close {
  position: absolute;
  right: 17px;
  top: 10px;
  background: none;
  color: var(--primary); 
  border: none;
  font-size: 1.42rem;
  cursor: pointer;
  padding: 0;
  font-weight: 700;
}
#cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 1rem;
}
#cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--accent);
  width: 18px; height: 18px;
}
#cookie-modal .cookie-category label {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
}
#cookie-modal .cookie-category.essential label {
  color: var(--neutral-dark);
}
#cookie-modal .cookie-category.essential input[type="checkbox"] {
  display: none;
}
#cookie-modal .modal-actions {
  display: flex;
  gap: 18px;
  margin-top: 7px;
  align-items: center;
}
#cookie-modal .modal-actions button {
  padding: 9px 23px;
  border-radius: 8px;
  font-family: var(--font-display);
  border: none;
  background: var(--primary);
  color: var(--white);
  font-size: 1rem;
  transition: background 0.16s, color 0.16s;
}
#cookie-modal .modal-actions button:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

/* ========== MISCELLANEOUS UI: NEXT STEPS & THANK YOU PAGE ========== */
.thank-you, .next-steps-info {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 15px 0 rgba(36,83,106,0.06);
  padding: 28px 20px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
}
.thank-you p {
  font-size: 1.13rem;
  color: var(--primary);
}

/* ========== SPACING & ALIGNMENT FOR LUXURY / PREMIUM APPEAL ========== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  section {
    padding: 30px 7px;
    margin-bottom: 36px;
  }
}

/* ========== LUXURY ACCENTS & GOLD DETAILS ========== */
h1, h2, h3, .footer-nav a, .btn-primary, .btn-secondary {
  text-shadow: 0 1px 7px rgba(245,193,61,0.03);
}
.feature-grid > div, .card, .testimonial-card, .case-study, .faq-item {
  border-left: 4px solid var(--accent);
  border-radius: var(--border-radius);
  background-clip: padding-box;
}
.btn-primary, .btn-secondary {
  box-shadow: 0 1px 8px 0 rgba(245,193,61,0.10);
  border-bottom: 2.5px solid var(--accent);
}
.btn-primary::after, .btn-secondary::after {
  content: '';
  display: none;
}

/* micro-interactions: icons and hovered elements */
.card:hover img, .feature-grid > div:hover img, .footer-contact img, .company-details img, .contact-methods img {
  filter: drop-shadow(0 3px 8px rgba(245,193,61,0.07));
}

/* Accessibility & Contrasts for Reviews & Testimonial Cards */
.testimonial-card, .testimonial-list .testimonial-card {
  background: var(--secondary);
  color: var(--neutral-dark);
  border: 1.5px solid #e7c982;
  box-shadow: 0 2px 16px 0 rgba(36,83,106,0.06);
}
/* Make sure testimonial text is always readable */
.testimonial-quote, .testimonial-card h2, .testimonial-card .customer-quotes {
  color: #1B2331;
}

/* Scrollbars (luxury, minimal style) */
::-webkit-scrollbar {
  width: 8px;
  background: var(--secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 8px;
}

/* ========== END ========== */
