/* ===========================
   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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: #F9F6F1;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #1A2233;
  background: #F9F6F1;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* ===========================
   Fonts & Typography
   =========================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

:root {
  --color-primary: #1A2233;
  --color-secondary: #EFD3B3;
  --color-accent: #F87060;
  --color-bg-light: #F9F6F1;
  --color-gold: #CEB26A;
  --color-shadow: rgba(26,34,51,0.08);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.7px;
  margin-bottom: 18px;
  line-height: 1.2;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 12px;
}
h2 {
  font-size: 1.5rem;
  margin-top: 16px;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
}
p, li, ul {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  line-height: 1.7;
}
.subtitle {
  font-size: 1.1rem;
  color: #5C6275;
  font-family: var(--font-body);
  margin-bottom: 20px;
}
.text-section h2 {
  margin-top: 32px;
}
strong {
  font-weight: 700;
}

/* ===========================
   Layout Containers
   =========================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px var(--color-shadow);
}
@media (max-width: 1020px) {
  .container {
    max-width: 95vw;
    padding: 0 12px;
  }
  .section {
    padding: 30px 10px;
  }
}

/* ===========================
   Header
   =========================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 21;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 0;
}
.logo {
  display: flex;
  align-items: center;
  height: 48px;
  transition: opacity 0.2s;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.desktop-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  margin-left: 32px;
}
.desktop-nav a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  position: relative;
  padding: 2px 0;
  transition: color 0.25s;
}
.desktop-nav a::after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.25s;
  position: absolute;
  left: 0; bottom: -3px;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  color: var(--color-gold);
}
.desktop-nav a:hover::after, .desktop-nav a:focus::after {
  width: 100%;
}
.cta-primary {
  background: var(--color-gold);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.3px;
  padding: 10px 30px;
  border: none;
  border-radius: 28px;
  margin-left: 30px;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.18s, color 0.18s, box-shadow 0.12s;
  position: relative;
  z-index: 13;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 14px 0 rgba(248,112,96,0.19);
}
.cta-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.3px;
  padding: 10px 30px;
  border-radius: 28px;
  margin-top: 24px;
  box-shadow: 0 2px 8px var(--color-shadow);
  transition: background 0.22s, color 0.22s, border-color 0.22s;
  position: relative;
  z-index: 12;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-gold);
  color: var(--color-primary);
  border-color: var(--color-gold);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--color-primary);
  background: #fff;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  transition: background 0.19s, color 0.19s;
  margin-left: 28px;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--color-gold);
  color: #fff;
}

/* -- Burger visible on mobile -- */
@media (max-width: 1020px) {
  .desktop-nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    height: 60px;
  }
}

/* ===========================
   Mobile Hamburger Menu
   =========================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-110vw);
  transition: transform 0.4s cubic-bezier(.6,0,.4,1);
  box-shadow: 0 10px 30px 0 rgba(30,30,45,0.12);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  font-size: 2rem;
  color: var(--color-primary);
  border: none;
  align-self: flex-end;
  margin: 18px 20px 12px 0;
  cursor: pointer;
  line-height: 1;
  z-index: 101;
  transition: color 0.22s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--color-gold);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 12px;
  padding-left: 24px;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--color-primary);
  padding: 12px 0 12px 0;
  min-width: 160px;
  transition: color 0.17s, background 0.17s;
  border-radius: 8px;
  margin-right: 10px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

/* Hide mobile nav on desktop */
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ===========================
   Main & Section Styles
   =========================== */
main {
  padding-bottom: 56px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 16px 0 24px 0;
}
@media (max-width: 768px) {
  .content-wrapper {
    align-items: center;
    text-align: center;
    gap:14px;
  }
}

.text-section {
  margin-bottom: 28px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul, .text-section ol {
  margin-left: 24px;
  margin-bottom: 10px;
  padding-left: 13px;
}
.text-section li {
  margin-bottom: 5px;
  line-height: 1.7;
  font-size: 1rem;
  list-style: disc inside;
}

/* ===========================
   Features Grid (Services, Features, Categories)
   =========================== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 18px;
  margin-top: 18px;
}
.feature {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(35,26,10,0.11);
  flex: 1 1 260px;
  min-width: 250px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 22px 20px 22px;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.16s;
  border: 1.5px solid #F3E9DC;
  position: relative;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 36px 0 rgba(206,178,106,0.23);
  border-color: var(--color-gold);
  transform: translateY(-3px) scale(1.022);
}
.feature img {
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
}
.feature h3 {
  font-size: 1.13rem;
  color: var(--color-primary);
  margin-bottom: 6px;
}
.feature p {
  font-size: 1rem;
  color: #474747;
}
.service-price {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-gold);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}
@media (max-width: 1020px) {
  .features-grid {
    gap: 18px;
  }
  .feature {
    min-width: 200px;
    max-width: 100%;
    padding: 20px 14px 16px 14px;
  }
}
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature {
    width: 100%;
    align-items: flex-start;
    margin-bottom: 20px;
  }
}

/* ===========================
   Testimonial Cards
   =========================== */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
  margin-bottom: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  background: #FEFBF6;
  box-shadow: 0 2px 16px 0 rgba(30,30,45,0.10);
  min-width: 240px;
  max-width: 350px;
  flex: 1 1 290px;
  margin-bottom: 20px;
  border: 2px solid #EFE9E1;
  position: relative;
  transition: box-shadow 0.17s, transform 0.14s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(206,178,106,0.19);
  border-color: var(--color-gold);
  transform: translateY(-2px) scale(1.015);
}
.testimonial-card p {
  color: #222;
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-author {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-primary);
  font-family: var(--font-display);
  margin-top: 2px;
}
@media (max-width: 768px) {
  .testimonials-grid,
  .features-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 14px 12px;
  }
}

/* ===========================
   Cards & Content Blocks
   =========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  box-shadow: 0 4px 22px var(--color-shadow);
  background: #fff;
  padding: 26px 20px 22px 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===========================
   Flexbox Section Patterns
   =========================== */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Custom Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
  margin-top: 4px;
}
.contact-info > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.01rem;
  color: var(--color-primary);
  font-family: var(--font-body);
  background: #FFFAF3;
  border-radius: 8px;
  padding: 10px 8px 10px 8px;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.contact-info img {
  width: 28px;
  height: 28px;
}

/* ===========================
   Footer
   =========================== */
footer {
  background: var(--color-primary);
  color: #ece6dc;
  width: 100%;
  margin-top: 42px;
  padding: 0;
}
footer .container {
  flex-direction: column;
  gap: 0;
}
.footer-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0 10px 0;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.footer-nav a {
  color: #d1c6aa;
  font-size: 1rem;
  font-family: var(--font-display);
  letter-spacing: 0.1px;
  font-weight: 600;
  transition: color 0.19s;
  position: relative;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-secondary);
}
.footer-top .logo img {
  height: 34px;
  width: auto;
}
.footer-bottom {
  border-top: 1.5px solid #372d1e33;
  padding: 15px 0 12px 0;
  text-align: left;
  width: 100%;
  font-size: 0.96rem;
  color: #b8b3a7;
}
@media (max-width: 670px){
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
  }
  .footer-bottom {
    font-size: 0.92rem;
  }
}

/* ===========================
   Cookie Consent Banner
   =========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fffbe5;
  border-top: 2px solid var(--color-gold);
  box-shadow: 0 -4px 22px 0 rgba(206,178,106,0.12);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 30px 18px 30px;
  z-index: 200;
  font-size: 1rem;
  transition: transform 0.36s cubic-bezier(.6,0,.4,1), opacity 0.3s;
}
.cookie-banner.hide {
  transform: translateY(200px);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-content {
  color: #675109;
  font-size: 1rem;
  flex-grow: 1;
  max-width: 610px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: center;
}
.cookie-banner button,
.cookie-banner .cookie-btn {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 115px;
  border: none;
  outline: none;
  cursor: pointer;
  margin-right: 4px;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.cookie-btn-accept {
  background: var(--color-gold);
  color: var(--color-primary);
  border: none;
}
.cookie-btn-accept:hover,
.cookie-btn-accept:focus {
  background: var(--color-accent);
  color: #fff;
}
.cookie-btn-reject {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-gold);
}
.cookie-btn-reject:hover,
.cookie-btn-reject:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-btn-settings {
  background: transparent;
  color: var(--color-gold);
  border: none;
  text-decoration: underline;
  padding: 8px 14px;
  font-size: 0.97rem;
}
.cookie-btn-settings:hover,
.cookie-btn-settings:focus {
  color: var(--color-accent);
  background: #fff;
}
@media (max-width: 880px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 16px 14px 16px;
    gap: 14px;
  }
  .cookie-banner-actions {
    flex-direction: row;
    gap: 7px;
    flex-wrap: wrap;
  }
}

/* ===========================
   Cookie Settings Modal
   =========================== */
.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; width:100vw; height:100vh;
  background: rgba(26,34,51,0.42);
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.32s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: white;
  width: 95vw;
  max-width: 420px;
  min-width: 275px;
  border-radius: 18px;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 10px 34px 0 rgba(206,178,106,0.19);
  display: flex;
  flex-direction: column;
  gap: 23px;
  color: var(--color-primary);
  animation: modal-fadeIn 0.48s cubic-bezier(.65,.01,.26,1);
}
@keyframes modal-fadeIn {
  0% { transform: scale(0.9); opacity: 0; }
  80% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(1); }
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 9px 0;
  border-bottom: 1px solid #f2e6d4;
  font-size: 1.04rem;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-toggle {
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: #f2e6d4;
  position: relative;
  margin-left: 10px;
  display: flex;
  align-items: center;
  transition: background 0.17s;
  cursor: pointer;
}
.cookie-toggle.on {
  background: var(--color-gold);
}
.cookie-toggle .circle {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 1.5px;
  top: 2px;
  transition: left 0.2s;
  box-shadow: 0 2px 8px rgba(26,34,51,0.07);
}
.cookie-toggle.on .circle {
  left: 19.5px;
}
.cookie-modal-actions {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn-accept {
  min-width: 120px;
}
.cookie-modal-actions .cookie-btn-reject {
  min-width: 110px;
}

/* ===========================
   Responsive Patterns & Utilities
   =========================== */
@media (max-width: 768px) {
  main {
    padding-bottom: 48px;
  }
  .section {
    margin-bottom: 38px;
    padding: 20px 2px;
    border-radius: 12px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .logo img {
    height: 30px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.06rem;
    margin-top: 12px;
  }
}

/* ===========================
   Micro-interactions & Animations
   =========================== */
.cta-primary, .cta-secondary, .cookie-banner button, .cookie-banner .cookie-btn,
.feature, .card, .testimonial-card {
  transition: box-shadow 0.17s, color 0.17s, background 0.19s, transform 0.16s, border-color 0.16s;
}
.cta-primary:active {
  transform: scale(0.97);
}
.feature:active, .testimonial-card:active, .card:active {
  transform: scale(0.995);
}
input:focus, select:focus, textarea:focus, button:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 1.5px;
}

/* ===========================
   Misc Utilities
   =========================== */
::-webkit-scrollbar {
  width: 10px;
  background: #ECE6DD;
}
::-webkit-scrollbar-thumb {
  background: #EFD3B3;
  border-radius: 8px;
}

/* Section spacing standard override for first and last */
main > section:first-child .section {
  margin-top: 32px;
}
main > section:last-child .section {
  margin-bottom: 8px;
}

/* Hide visually but keep accessible */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* ===========================
   Luxury Gold Accent Details
   =========================== */
h1, h2, h3, h4, h5, h6 {
  position: relative;
}
h2::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  margin-bottom: 6px;
  margin-right: 12px;
  vertical-align: middle;
}
@media (max-width: 520px) {
  h2::before {
    width: 22px;
    margin-right: 7px;
  }
}

/**************** End of CSS ****************/
