/* === 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background-color: #F6F7F9;
  color: #20242B;
  min-height: 100vh;
}
a {
  text-decoration: none;
  color: inherit;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
}
/* === FONT IMPORTS === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-primary: #222E3C;
  --color-secondary: #E62626;
  --color-accent: #F6F7F9;
  --color-gold: #B49A5A;
  --color-gold-dark: #A3822A;
  --color-heading: #232A32;
  --color-body: #282F36;
  --color-white: #fff;
  --color-grey: #EDF0F4;
  --color-border: #e0e1e7;
  --color-shadow: rgba(36, 48, 81, 0.06);
  --color-card-bg: #fff;
  --color-footer-bg: #1A2027;
  --transition: 0.32s cubic-bezier(.44,.14,.34,.99);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(36, 48, 81, 0.08);
  --shadow-hover: 0 4px 20px rgba(180, 154, 90, 0.18);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--color-accent);
  color: var(--color-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.14;
  color: var(--color-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.35rem; margin-bottom: 12px; font-weight:600; }
h4, h5, h6 { font-size: 1.1rem; }
p, li, span, td, th {
  font-size: 1rem;
  font-family: var(--font-body);
}
strong {
  font-weight: 700;
  color: var(--color-primary);
}
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .section {
    padding: 26px 8px;
    margin-bottom: 36px;
    border-radius: var(--radius-sm);
  }
}

/* ============ HEADER & NAV ============ */
header {
  background: var(--color-card-bg);
  box-shadow: 0 2px 12px var(--color-shadow);
  border-bottom: 2px solid var(--color-gold);
  z-index: 10;
  width: 100%;
  position: sticky;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  gap: 24px;
}
header img {
  height: 48px;
  width: auto;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
header nav a {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  padding: 8px 0;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  opacity:0.84;
  transition: color 0.16s, opacity 0.16s;
  position: relative;
}
header nav a:after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  opacity: 0;
  transition: opacity var(--transition);
}
header nav a:hover, header nav a:focus {
  color: var(--color-gold-dark);
  opacity: 1;
}
header nav a:hover:after, header nav a:focus:after {
  opacity: 1;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing:0.02em;
  padding: 13px 36px;
  border-radius: var(--radius);
  border: none;
  background: var(--color-gold);
  color: var(--color-primary);
  box-shadow: 0 2px 16px var(--color-shadow);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform 0.16s;
  position: relative;
  z-index: 1;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-gold-dark);
  color: var(--color-white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-hover);
}
.btn-secondary {
  background: var(--color-primary);
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  font-weight:600;
  padding: 13px 32px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-gold);
  color: var(--color-primary);
  border: 2px solid var(--color-gold-dark);
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 64px;
  }
  header nav {
    display: none;
  }
  .btn-primary {
    padding: 10px 20px;
    font-size: 1em;
  }
}

/* ========== MOBILE NAVIGATION ========== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 28px;
  z-index: 1200;
  background: var(--color-gold);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  color: var(--color-primary);
  font-size: 2rem;
  border: none;
  box-shadow: 0 4px 14px var(--color-shadow);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-gold-dark);
  color: var(--color-white);
}
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
  }
  header nav {
    display: none !important;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left:0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  color: var(--color-gold);
  transform: translateX(-100vw);
  transition: transform var(--transition);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 32px;
  box-shadow: 0 0 40px 0 rgba(34, 46, 60, .25);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--color-gold);
  color: var(--color-primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  margin-top: 22px;
  margin-bottom: 16px;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-close:hover {
  background: var(--color-gold-dark);
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 16px;
  align-items: flex-start;
}
.mobile-nav a {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  padding: 10px 0;
  width: 100%;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(244,221,100, 0.08);
  color: var(--color-white);
}
@media (min-width:1025px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ===== MAIN HERO & GENERIC SECTION FLEX LAYOUTS ===== */
.hero {
  background: linear-gradient(96deg, var(--color-accent) 68%, rgba(180,154,90,0.065) 100%);
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: 40px;
  box-shadow: 0 3px 22px 0 rgba(34,46,60, 0.04);
}
.hero .container {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 36px 20px 56px 20px;
  gap: 10vw;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}
@media (max-width: 900px) {
  .hero .container {
    flex-direction: column;
    gap: 32px;
    padding: 26px 10px 36px 10px;
  }
  .hero {
    margin-bottom: 30px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  }
  .hero .content-wrapper { max-width: 100%; }
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 22px;
  min-width: 268px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px) scale(1.015);
  z-index:2;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 0;
  border-left: 3px solid var(--color-gold);
  padding-left: 22px;
}

@media (max-width: 768px) {
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .card {
    min-width: 0;
    width: 100%;
  }
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #FAFAFC;
  border-radius: var(--radius-sm);
  border-left: 5px solid var(--color-gold);
  box-shadow: 0 2px 12px rgba(34,46,60,0.06);
  font-size: 1.08rem;
  color: #232A32;
  position: relative;
  z-index: 1;
}
.testimonial-card p {
  color: #232A32;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-size: 0.97rem;
  font-weight: 500;
  font-style: normal;
}

/* ======== SERVICES & PRICES ======== */
.service-price {
  color: var(--color-gold-dark);
  font-weight: 700;
  font-family: var(--font-display);
  margin-left: 8px;
  font-size:1.04rem;
}

/* ========== TABLES ========== */
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--color-card-bg);
}
thead tr { background: var(--color-primary); }
th, td {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
thead th {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1.06em;
  border-bottom:2px solid var(--color-gold);
}
tbody td {
  color: var(--color-primary);
}

@media (max-width: 600px) {
  table, thead, tbody, tr, th, td {
    display: block;
    width: 100%;
  }
  th, td { padding: 10px 6px; }
  thead tr { display: none; }
}

/* ========== FOOTER ========== */
footer {
  background: var(--color-footer-bg);
  padding: 42px 0 20px 0;
  color: var(--color-gold);
  border-top: 3px solid var(--color-gold);
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
footer img {
  height: 44px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-display);
}
footer nav a {
  color: var(--color-gold);
  font-size: 1.01rem;
  font-weight: 600;
  transition: color var(--transition);
  opacity: 0.82;
}
footer nav a:hover,
footer nav a:focus {
  color: var(--color-white);
  opacity: 1;
  text-decoration: underline;
}
footer .text-section {
  font-size: 0.99rem;
  opacity:0.74;
  color: var(--color-gold);
  min-width: 150px;
}
@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
    padding: 0 12px;
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1800;
  background: #fff7e5;
  border-top: 2px solid var(--color-gold);
  box-shadow: 0 -2px 18px rgba(180,120,40,0.08);
  width: 100%;
  padding: 22px 20px 18px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap:20px;
  justify-content: space-between;
  animation: cookieSlideUp 0.45s cubic-bezier(.67,.13,.19,1.01);
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-banner__text {
  font-size: 1rem;
  color: var(--color-body);
  max-width: 560px;
}
.cookie-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  border:none;
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  background: var(--color-gold);
  color: var(--color-primary);
  font-weight: 600;
  margin: 0;
  cursor: pointer;
  transition: background var(--transition),color var(--transition);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--color-gold-dark);
  color: var(--color-white);
}
.cookie-btn.cookie-btn-secondary {
  background: var(--color-primary);
  color: var(--color-gold);
  border: 2px solid var(--color-gold-dark);
  margin-left: 6px;
}
.cookie-btn.cookie-btn-secondary:hover, .cookie-btn.cookie-btn-secondary:focus {
  background: var(--color-gold);
  color: var(--color-primary);
}
@media (max-width: 700px) {
  .cookie-banner{
    flex-direction: column;
    align-items: stretch;
    gap:16px;
    padding:16px 6px 12px 6px;
  }
  .cookie-banner__text { max-width:100%; }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0; right:0; left:0; bottom:0;
  background: rgba(34,46,60,0.72);
  z-index: 2001;
  display: none;
  align-items: center;
  justify-content: center;
  animation: cookieFadeIn 0.28s cubic-bezier(.51,.21,.32,1);
}
.cookie-modal.active { display: flex; }
@keyframes cookieFadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}
.cookie-modal__content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 10px 44px rgba(34, 46, 60, 0.23);
  padding: 38px 32px 26px 32px;
  min-width: 320px;
  max-width: 96vw;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: cookiePopUp 0.4s cubic-bezier(.46,0,.2,1.09);
}
@keyframes cookiePopUp {
  from { transform: scale(.88); opacity:0; }
  to   { transform: scale(1); opacity:1; }
}
.cookie-modal__close {
  align-self: flex-end;
  background: var(--color-gold);
  color: var(--color-primary);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.4rem;
  border:none;
  margin-top: -18px;
  margin-bottom: 6px;
}
.cookie-modal__title {
  font-size: 1.32rem;
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
}
.cookie-prefs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-pref {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-pref input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-gold);
  margin-right: 8px;
}
.cookie-pref label {
  font-weight: 600;
  font-family: var(--font-display);
}
.cookie-pref .cookie-essential {
  color: var(--color-gold-dark);
  font-size: .97rem;
  margin-left: 6px;
  font-weight: 500;
}
/* Hide toggle for essential */
.cookie-pref.essential input[type='checkbox'] {
  display: none;
}
/* Modal actions */
.cookie-modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 500px) {
  .cookie-modal__content {
    padding:22px 6px 12px 6px;
    min-width: 0;
    font-size:0.96rem;
  }
}

/* ============= MISC UTILS & GLOBAL ============= */
::-webkit-scrollbar {
  width: 8px;
  background: #e2d8be;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius:10px;
}
::-webkit-selection { background: var(--color-gold); color:var(--color-primary); }
::selection { background: var(--color-gold); color:var(--color-primary); }

hr {
  border: 0;
  height: 2px;
  background: var(--color-border);
  margin: 38px 0 32px 0;
}

/* ====== FORMS (mainly contact) ====== */
input[type="text"],
input[type="email"],
textarea {
  width:100%;
  font-size:1rem;
  padding:12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: #F8F8FC;
  margin-bottom:18px;
  transition: border var(--transition), box-shadow var(--transition);
  color: var(--color-body);
}
input:focus, textarea:focus {
  border: 1.5px solid var(--color-gold-dark);
  box-shadow: 0 0 0 2px rgba(180,154,90,0.12);
  outline: none;
}
label {
  font-family: var(--font-display);
  font-size:1rem;
  color: var(--color-primary);
  font-weight:600;
  margin-bottom:7px;
  display:block;
}

/* =============== RESPONSIVE SPACING =============== */
@media (max-width: 600px) {
  .hero h1 { font-size: 2.1rem; }
  h2 { font-size: 1.4rem; }
  .section { padding: 20px 4px; }
}
@media (max-width: 389px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.1rem; }
}

/* ========== BRAND GOLD ACCENT DIVIDER ========== */
.gold-divider {
  width: 70px;
  height: 5px;
  border-radius: 2px;
  background: var(--color-gold);
  margin-bottom: 30px;
}

/* ========== MICROINTERACTIONS ========== */
.btn-primary, .btn-secondary, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card, .testimonial-card {
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:focus-within, .card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-gold-dark);
}

/* =========== ACCESSIBILITY MODS =========== */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-btn:focus, .mobile-menu-toggle:focus {
  outline: 2.5px solid var(--color-gold-dark);
  outline-offset: 3px;
  z-index: 2;
}

/* =========== PRINT IMPROVEMENTS =========== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { color: #232A32; background: #fff; }
}

/* ======= MEDIA QUERIES FOR FLEX DIRECTION ADJUSTMENTS ======= */
@media (max-width: 900px) {
  .container,
  .content-wrapper,
  .card-container,
  .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature-item {
    border-left: 0;
    border-top: 3px solid var(--color-gold);
    padding-left: 0;
    padding-top: 18px;
  }
}

/* ============= END OF CSS ============= */
