/* CSS RESET & BASE TYPOGRAPHY */
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, input, button, textarea, 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 { height: 100%; }
body { min-height: 100vh; line-height: 1.5; background: #F4F5F7; }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section {
  display: block; }
ol, ul {list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font: inherit; }

/* CUSTOM PROPERTIES */
:root {
  --color-primary: #1A3C5A;
  --color-secondary: #D9B768;
  --color-accent: #F4F5F7;
  --color-white: #fff;
  --color-black: #151E29;
  --color-grey: #657289;
  --color-shadow: rgba(26,60,90,0.08);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

@font-face {
  font-family:'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: local('Montserrat Bold'), local('Montserrat-Bold');
  /* Webfont omitted for brevity */
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto'), local('Roboto-Regular');
  /* Webfont omitted for brevity */
}

body {
  color: var(--color-primary);
  font-family: var(--font-body);
  background: linear-gradient(135deg, #F4F5F7 0%, #ffffff 85%);
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }

p, li, strong {
  font-size: 1rem;
  color: var(--color-black);
}
strong { font-weight: 700; color: var(--color-primary); }

/* CONTAINER & LAYOUT SYSTEM */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--color-shadow);
}
@media (max-width:768px){
  .section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
  .container {
    padding: 0 10px;
  }
}

/* HEADER/NAVIGATION */
header {
  background: linear-gradient(90deg, #1A3C5A 85%, #D9B768 100%);
  color: var(--color-white);
  padding: 0 0 2px 0;
  box-shadow: 0 2px 8px var(--color-shadow);
}
.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
.logo img { height: 40px; width: auto; display: block; }

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  opacity: 0.95;
  transition: color 0.2s, opacity 0.2s;
  padding: 8px 2px;
  border-radius: 4px;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-secondary);
  background: rgba(255,255,255,0.03);
  opacity: 1;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 13px 32px;
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
  text-align: center;
  margin-left: 16px;
}
.btn-primary {
  color: var(--color-white);
  background: linear-gradient(92deg, #1A3C5A 55%, #D9B768);
  box-shadow: 0 3px 16px 0 rgba(26, 60, 90, 0.09);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(92deg, #194266 40%, #cba84d);
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(100, 100, 100, 0.16);
}
.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
  box-shadow: 0 1px 8px 0 rgba(217,183,104,0.15);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #c9a54a;
}

/* Burger Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  line-height: 1;
  padding: 6px 12px;
  margin-left: 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
  z-index: 1111;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(217,183,104,0.18);
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(110deg, #1A3C5A 90%, #D9B768 100%);
  color: var(--color-white);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  transform: translateX(-110%);
  transition: transform 0.38s cubic-bezier(.4,1.4,.55,1), opacity 0.28s;
  opacity: 0;
  visibility: hidden;
}
.mobile-menu.open {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 2.2rem;
  font-weight: bold;
  position: absolute;
  top: 24px; right: 24px;
  cursor: pointer;
  z-index: 1122;
  padding: 0 6px;
  transition: color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #fff6d2;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 60px;
  width: 85vw;
}
.mobile-nav a{
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  padding: 10px 2px 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.16s, background 0.13s;
  line-height: 1.35;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  background: rgba(217,183,104,0.05);
}
@media (max-width: 992px) {
  .main-nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width:993px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO SECTION */
.hero {
  background: linear-gradient(92deg, #f4f5f7 70%, #faf6ef 100%);
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  padding: 44px 0;
}
.hero .container {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.hero .content-wrapper {
  max-width: 700px;
  align-items: flex-start;
  gap: 20px;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.5rem;
  margin-bottom: 0;
}
.hero p {
  color: var(--color-grey);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
@media (max-width:768px) {
  .hero {
    min-height: unset;
    padding: 34px 0 22px;
    margin-bottom: 36px;
  }
  .hero .content-wrapper {
    padding: 0 2px;
  }
}

/* FLEX LAYOUT UTILS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 28px 22px;
  transition: box-shadow 0.17s, transform 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 22px 0 rgba(26,60,90,0.13);
  transform: translateY(-2px) scale(1.015);
}

.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;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: box-shadow 0.14s;
  min-width: 220px;
  max-width: 520px;
}
.testimonial-card p {
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.testimonial-card strong {
  color: var(--color-secondary);
  font-size: 1rem;
}
.testimonial-card .stars {
  font-size: 1.25rem;
  color: #FFD700;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

@media (max-width: 900px) {
  .card-container, .content-grid, .feature-grid {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .text-image-section,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* FEATURE GRIDS AND LISTS */
.features, .feature-grid, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.feature-grid li, .feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 1px 8px var(--color-shadow);
  margin-bottom: 0;
}
.feature-grid img {
  width: 22px; height: 22px;
}

.services-list .service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.services-list .service-cards li {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 350px;
  background: var(--color-accent);
  padding: 26px 22px 18px 22px;
  border-radius: 10px;
  box-shadow: 0 2px 11px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 0;
  border-left: 6px solid var(--color-secondary);
  transition: box-shadow 0.16s, transform 0.2s;
}
.services-list .service-cards li:hover {
  box-shadow: 0 4px 22px rgba(217,183,104,0.21);
  transform: translateY(-2px) scale(1.012);
}
.services-list .service-cards h3 {
  font-size: 1.2rem;
}
.services-list .service-cards strong {
  color: var(--color-primary);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .services-list .service-cards {
    flex-direction: column;
    gap: 18px;
  }
  .services-list .service-cards li {
    max-width: 100%;
  }
}

/* PRICING TABLE */
.pricing-table table {
  width: 100%;
  background: var(--color-accent);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  border: none;
  box-shadow: 0 2px 12px var(--color-shadow);
}
.pricing-table th, .pricing-table td {
  font-size: 1rem;
  padding: 16px 14px;
  text-align: left;
  border-bottom: 1px solid #ececec;
}
.pricing-table th {
  font-family: var(--font-display);
  background: var(--color-primary);
  color: var(--color-white);
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* FAQ ACCORDION */
.faq-item {
  background: var(--color-accent);
  border-radius: 8px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 20px 22px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.faq-item h3 {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.faq-item p {
  margin-top: 6px;
}

/* ADDITIONAL CARDS AND SECTIONS */
.about-preview, .about-story, .why-choose-us, .services-preview, .how-we-work, .projects-overview, .contact-cta, .contact-details, .thank-you-section, .legal-section, .custom-quote, .additional-question, .pricing-features, .faq-accordion, .testimonials-list {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width:768px) {
  .about-preview, .about-story, .why-choose-us, .services-preview, .how-we-work, .projects-overview, .contact-cta, .contact-details, .thank-you-section, .legal-section, .custom-quote, .additional-question, .pricing-features, .faq-accordion, .testimonials-list {
    padding: 28px 6px;
    margin-bottom: 38px;
  }
}
.text-section {
  margin-bottom: 14px;
}
.text-section ul, .text-section ol {
  margin: 8px 0 0 16px;
  padding-left: 18px;
}
.text-section li {
  list-style-type: disc;
  margin-left: 0;
  margin-bottom: 4px;
  color: var(--color-black);
}

/* FOOTER */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 38px 0 18px 0;
  margin-top: 48px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer a {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1em;
  margin: 0 8px;
  opacity: 0.88;
  transition: color 0.18s;
}
footer a:hover, footer a:focus {
  color: #fff8d9;
  text-decoration: underline;
}
footer nav {
  margin: 8px 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 6px;
}
footer img {
  width: 52px; height: auto;
  margin-bottom: 4px;
}
footer p {
  color: var(--color-white);
  font-size: 0.97em;
}
@media (max-width:600px){
  footer .container { gap: 10px; padding: 0 6px; }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1050;
  background: linear-gradient(97deg, #fff 75%, #D9B768 100%);
  color: var(--color-primary);
  box-shadow: 0 -1px 24px rgba(26,60,90,0.12);
  padding: 24px 30px 24px 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 60px;
  font-size: 1rem;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  opacity: 1; transition: opacity 0.33s;
}
.cookie-banner__text {
  flex: 1 1 auto;
  max-width: 650px;
}
.cookie-banner__actions {
  display: flex; gap: 14px;
}
.cookie-banner__btn {
  font-family: var(--font-display);
  border-radius: 8px;
  font-size: 1rem;
  padding: 10px 23px;
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.22s;
  font-weight: 600;
}
.cookie-banner__btn.accept {
  color: var(--color-white);
  background: var(--color-primary);
}
.cookie-banner__btn.accept:hover, .cookie-banner__btn.accept:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner__btn.reject {
  color: var(--color-primary);
  background: #ece8de;
}
.cookie-banner__btn.reject:hover, .cookie-banner__btn.reject:focus {
  background: #e0dbc7;
}
.cookie-banner__btn.settings {
  color: var(--color-white);
  background: var(--color-secondary);
}
.cookie-banner__btn.settings:hover, .cookie-banner__btn.settings:focus {
  background: #b99c45;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(26,60,90, 0.28);
  align-items: center;
  justify-content: center;
  transition: background 0.23s;
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 8px 42px 0 rgba(0,0,0,0.13);
  padding: 38px 30px 28px 30px;
  color: var(--color-primary);
  max-width: 430px;
  min-width: 255px;
  width: 88vw;
  min-height: 100px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal h2{
  font-size: 1.35rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 6px;
}
.cookie-category {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e7e7e7;
}
.cookie-category:last-child { border-bottom: none; }
.cookie-category label {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 24px; height: 24px;
  border-radius: 4px;
}
.cookie-modal__close {
  position: absolute;
  top: 18px; right: 20px;
  background: none;
  border: none;
  color: var(--color-grey);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0;
  z-index: 1;
  transition: color 0.17s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: var(--color-primary);
}
.cookie-modal__actions {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.cookie-modal__actions button {
  border-radius: 7px;
  border: none;
  padding: 9px 21px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--color-secondary);
  color: var(--color-primary);
  transition: background 0.18s, color 0.18s;
}
.cookie-modal__actions button.accept {
  background: var(--color-primary);
  color: var(--color-white);
}
.cookie-modal__actions button.accept:hover, .cookie-modal__actions button.accept:focus {
  background: #355d80;
}
.cookie-modal__actions button.reject {
  background: #ece8de;
  color: var(--color-primary);
}
.cookie-modal__actions button.reject:hover {
  background: #e0dbc7;
}
@media (max-width: 600px) {
  .cookie-modal {
    padding: 22px 8px 19px 16px;
    min-width: 65vw;
  }
}

/* MISC */
a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color 0.15s;
}
a:hover, a:focus {
  color: var(--color-secondary);
}
img { max-width: 100%; height: auto; display: block; }

/* TABLES */
table {
  width: 100%;
  margin-bottom: 18px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-accent);
}
th, td {
  padding: 13px 14px;
  text-align: left;
}
th {
  font-family: var(--font-display);
  background: var(--color-primary);
  color: var(--color-white);
}
tr:nth-child(even) td {
  background: #FAF9F7;
}

/* UTILS & ANIMATIONS */
.fade-in {
  animation: fadeIn 0.44s ease-in;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* FOCUS OUTLINE FOR ACCESSIBILITY */
:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* DETAIL PAGE STYLES */
.legal-section .text-section ul, .legal-section .text-section li {
  margin-left: 0;
  padding-left: 0;
  list-style-position: inside;
}

/* BUTTON COLORS FIX */
button:disabled, .btn-primary:disabled, .btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #d7dadd!important;
  color: #b6b6b6!important;
}

/* SUCCESS/THANK YOU SECTION */
.thank-you-section {
  text-align: center;
  background: linear-gradient(100deg, #F4F5F7 75%, #D9B768 100%);
  padding: 54px 14px;
  border-radius: 14px;
  box-shadow: 0 2px 16px var(--color-shadow);
}
.thank-you-section h1 {
  color: var(--color-primary);
}
.thank-you-section p, .thank-you-section ul {
  color: var(--color-grey);
}
.thank-you-section ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 18px;
}
@media (max-width:700px) {
  .thank-you-section {
    padding: 32px 6px;
  }
  .thank-you-section ul{
    gap: 4px;
  }
}

/* Hide visually for accessibility */
.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;clip: rect(0,0,0,0);border: 0;
}
