/* ===== CSS Reset & Base ===== */
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #1A2233;
  color: #1A2233;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.20s;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* ===== Brand Font Import ===== */ @import url('https://fonts.googleapis.com/css2?family=Barlow:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary: #1A2233;
  --secondary: #C49B5A;
  --accent: #F8F8FA;
  --white: #fff;
  --black: #11141a;
  --shadow-light: 0 4px 28px rgba(26,34,51,0.08);
  --shadow-card: 0 4px 20px 0 rgba(26,34,51,0.11);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --font-display: 'Barlow', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --transition: 0.20s cubic-bezier(.6,.03,.36,1);
  --gradient-main: linear-gradient(100deg, #1A2233 0%, #243053 50%, #C49B5A 100%);
  --gradient-gold: linear-gradient(90deg, #C49B5A 30%, #F8F8FA 100%);
}

/* ===== Layout Containers ===== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
}
@media (max-width:768px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 32px;
  }
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
}
h4 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}
p, ul li, ol li {
  font-size: 1rem;
  color: var(--primary);
  font-family: var(--font-body);
  margin-bottom: 12px;
}
strong {
  font-weight: 700;
  color: var(--secondary);
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.6rem;
  }
  h2 {
    font-size: 1.3rem;
  }
}

/* ===== Buttons & CTA ===== */
.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  border-radius: var(--radius-md);
  padding: 0.8em 2.2em;
  border: none;
  font-size: 1.14rem;
  font-weight: 700;
  text-align: center;
  margin-top: 10px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
  text-decoration: none;
}
.cta-primary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(196,155,90,0.14);
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--primary);
  color: var(--secondary);
  box-shadow: 0 2px 8px rgba(26,34,51,.17);
}
.cta-secondary {
  background: var(--primary);
  color: var(--secondary);
  border: 1px solid var(--secondary);
  box-shadow: 0 4px 20px rgba(26,34,51,0.12);
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--secondary);
  color: var(--primary);
  border: 1px solid var(--secondary);
  box-shadow: 0 2px 8px rgba(196,155,90,.13);
}

/* ===== Main Navigation ===== */
header {
  background: linear-gradient(90deg, #1A2233 70%, #C49B5A 100%);
  box-shadow: 0 4px 18px 0 rgba(26,34,51,.09);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-height: 72px;
}
header img {
  height: 38px;
  width: auto;
  margin-right: 30px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: auto;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}

/* Responsive navbar */
@media (max-width: 1024px) {
  .main-nav {
    gap: 14px;
  }
  header .container {
    padding-left: 4px;
    padding-right: 4px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
}

/* ===== Hamburger & Mobile Nav ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--secondary);
  margin-left: auto;
  cursor: pointer;
  padding: 0 12px;
}

@media (max-width:900px) {
  .mobile-menu-toggle {
    display: block;
    z-index: 201;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(100deg, #1A2233 0%, #243053 100%);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(.6,.03,.36,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  pointer-events: none;
  box-shadow: var(--shadow-card);
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  display: block;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--secondary);
  margin: 22px 26px 12px auto;
  cursor: pointer;
  z-index: 202;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 32px 0 32px;
  margin-top: 10px;
}
.mobile-nav a {
  font-size: 1.18rem;
  font-family: var(--font-display);
  color: var(--accent);
  padding: 10px 0;
  border-bottom: 1px solid rgba(248,248,250, 0.08);
  width: 100%;
  border-radius: var(--radius-sm);
  transition: color .18s, background .16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (min-width:901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===== Hero & Section Gradients ===== */
section:first-of-type {
  background: var(--gradient-main);
  color: var(--accent);
  box-shadow: var(--shadow-light);
  border-radius: var(--radius-lg);
  margin-top: 32px;
}
section:first-of-type h1,
section:first-of-type h2,
section:first-of-type p {
  color: var(--accent);
}

/* ===== Card & Grid Patterns ===== */
.features-grid,
.features-grid ul,
.service-list,
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.features-grid > *,
.service-list > *,
.testimonial-grid > * {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 26px 18px 22px 18px;
  flex: 1 1 270px;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .18s, background .17s;
}
.features-grid > *:hover, .service-list > *:hover, .testimonial-grid > *:hover {
  box-shadow: 0 6px 30px 0 rgba(196, 155, 90, 0.13), 0 1px 2px 0 rgba(26,34,51,0.02);
  background: #f6efe4;
}
.features-grid img {
  height: 40px; width: 40px;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 10px rgba(196,155,90, 0.04));
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: var(--white);
  padding: 32px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .16s, background .14s;
}
.card:hover {
  box-shadow: 0 6px 30px 0 rgba(26,34,51,0.15);
  background: #f7f7fb;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  background: var(--accent);
  box-shadow: 0 4px 24px 0 rgba(26,34,51,0.08);
  border-radius: var(--radius-md);
  gap: 20px;
  padding: 28px 22px;
  min-width: 220px;
  max-width: 390px;
  margin-bottom: 24px;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.03rem;
  letter-spacing: 0.01em;
}
.testimonial-meta {
  margin-top: 16px;
  color: var(--primary);
  font-size: .97rem;
  display: flex;
  gap: 14px;
  font-family: var(--font-body);
  align-items: center;
  font-weight: bold;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.newsletter-signup {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-light);
  padding: 18px 18px 28px 18px;
  margin-top: 18px;
}

/* ===== Footer Styles ===== */
footer {
  background: var(--primary);
  color: var(--accent);
  padding-top: 40px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding-bottom: 24px;
}
.brand-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.brand-footer img {
  height: 36px;
  margin-bottom: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  transition: color .16s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--accent);
}
.copyright {
  background: #151927;
  padding: 14px 0 12px 0;
  font-size: 1rem;
  text-align: center;
  color: #b6b6c7;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
}

/* ===== List & Section Spacing ===== */
ul:not(.main-nav):not(.footer-nav):not(.mobile-nav) {
  padding-left: 1.2em;
  margin: 6px 0 18px 0;
}
ul:not(.main-nav):not(.footer-nav):not(.mobile-nav) li {
  list-style: disc;
  margin-left: 0;
  margin-bottom: 10px;
}
ol {
  margin-left: 1.8rem;
  margin-bottom: 1rem;
}
ol li {
  margin-bottom: 8px;
}

/* ===== Form Inputs (for contact, if needed) ===== */
input, textarea, select, button {
  font: inherit;
  font-size: 1rem;
  color: var(--primary);
  border-radius: var(--radius-md);
  border: 1px solid #dedfe3;
  padding: 10px 14px;
  margin-bottom: 18px;
  background: var(--accent);
  transition: border .17s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
  outline: none;
}

/* ===== Responsive Layouts ===== */
@media (max-width: 1024px) {
  .features-grid,
  .service-list,
  .testimonial-grid,
  .card-container,
  .content-grid {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .features-grid,
  .service-list,
  .testimonial-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .section {
    margin-bottom: 32px;
    padding: 28px 4px;
  }
  .content-wrapper {
    gap: 22px;
  }
  .testimonial-grid, .features-grid {
    align-items: stretch;
    justify-content: stretch;
  }
  .newsletter-signup {
    padding: 12px 8px 16px 8px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 6px;
  }
  h1 {
    font-size: 1.17rem;
  }
  .footer-nav a {
    font-size: .98rem;
  }
}

/* ===== Animations & Transitions ===== */
*[class*="cta-"],
.features-grid > *,
.card,
.testimonial-card,
input, textarea, select, .content-wrapper, .newsletter-signup, .mobile-menu {
  transition: box-shadow 0.18s, background 0.17s, color 0.17s, transform 0.22s;
}
.testimonial-card:hover {
  transform: translateY(-5px) scale(1.025);
  box-shadow: 0 8px 30px 0 rgba(196, 155, 90,0.15);
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: var(--primary);
  color: var(--accent);
  padding: 22px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 -4px 26px 0 rgba(26,34,51, 0.10);
  z-index: 1200;
  font-size: 1rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.cookie-banner__text {
  flex: 1 1 0%;
  min-width: 190px;
  color: #f8f8fa;
}
.cookie-banner .cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  padding: 10px 20px;
  margin-right: 10px;
  margin-bottom: 0;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  transition: background .18s, color .18s;
  box-shadow: var(--shadow-light);
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--primary);
  color: var(--secondary);
}
.cookie-banner .cookie-settings-btn {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  margin-right: 0;
}
.cookie-banner .cookie-settings-btn:hover, .cookie-banner .cookie-settings-btn:focus {
  background: var(--secondary);
  color: var(--primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 13px 6px;
  }
  .cookie-banner__text {
    font-size: .92rem;
  }
}

/* ===== Cookie Consent Modal ===== */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(26, 34, 51, 0.32);
  z-index: 1202;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal__content {
  background: var(--accent);
  color: var(--primary);
  padding: 36px 28px 22px 28px;
  border-radius: var(--radius-lg);
  max-width: 95vw;
  width: 370px;
  box-shadow: 0 4px 52px 0 rgba(26,34,51, 0.17);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal__content h2 {
  font-size: 1.3rem;
  font-family: var(--font-display);
  margin-bottom: 12px;
  color: var(--secondary);
}
.cookie-modal__close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--secondary);
  cursor: pointer;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.cookie-switch {
  width: 38px; height: 22px;
  border-radius: 11px;
  background: #dadadf;
  position: relative;
  cursor: pointer;
  margin-right: 6px;
  transition: background .15s;
}
.cookie-switch.checked {
  background: var(--secondary);
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 38px;
  height: 22px;
  position: absolute;
  left: 0; top: 0;
  margin: 0;
  cursor: pointer;
}
.cookie-switch::after {
  content: "";
  display: block;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 2px;
  transition: left .18s;
}
.cookie-switch.checked::after {
  left: 18px;
}
.cookie-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal__actions button {
  min-width: 80px;
  padding: 7px 16px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  border: none;
  cursor: pointer;
}
.cookie-modal__actions .accept {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-modal__actions .reject {
  background: var(--primary);
  color: var(--secondary);
  border: 1px solid var(--secondary);
}
.cookie-modal__actions .close {
  background: #e2e3e8;
  color: var(--primary);
}
.cookie-modal__actions button:hover, .cookie-modal__actions button:focus {
  opacity: .86;
}

@media (max-width:480px){
  .cookie-modal__content {
    padding: 18px 7px 10px 7px;
    max-width: 98vw;
  }
}

/* ===== Utility & Miscellaneous ===== */
::-webkit-scrollbar {
  width: 12px;
  background: #ebebed;
}
::-webkit-scrollbar-thumb {
  background: #c2c5cb;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c49b5a;
}

.bg-gradient {
  background: var(--gradient-main);
  color: var(--accent);
}
.bg-gold {
  background: var(--secondary);
  color: var(--primary);
}

/* Success & Info states (optional for form states) */
.success {
  color: #248522;
  background: #f0f9f3;
  border-left: 4px solid #20991d;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
}
.info {
  color: #355388;
  background: #eff2fa;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
}

/* ===== Page-specific overrides (if needed) ===== */
/* No grid or columns ever used; only flex layouts applied. */