/* ========================
   CSS RESET & BASE STYLES
   ======================== */

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.5;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #212C3D;
  background: #F4F6F8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  width: 100vw;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: inherit;
}

a {
  color: #A07D59;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #212C3D;
  text-decoration: underline;
}

img {
  max-width: 100%;
  vertical-align: middle;
  border-style: none;
  display: block;
}

ul, ol {
  list-style: none;
}

strong, b {
  font-weight: 600;
}

/* ========================
   TYPOGRAPHY & SCALE
   ======================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #212C3D;
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.375rem;
}
h4 {
  font-size: 1.125rem;
}
h5, h6 {
  font-size: 1rem;
}
p, ul, ol, li, span {
  font-size: 1rem;
  color: #212C3D;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.125rem;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

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

/* ============================
   GRADIENT MODERN DESIGN BASE
   ============================ */

:root {
  --color-primary: #212C3D;
  --color-secondary: #A07D59;
  --color-accent: #F4F6F8;
  --color-white: #fff;
  --color-grey: #e9ebee;
  --header-gradient: linear-gradient(90deg,#F4F6F8 0%,#e9ebee 30%,#A07D59 90%);
  --hero-gradient: linear-gradient(90deg, #F4F6F8 0%, #e9ebee 60%, #A07D59 100%);
  --cta-gradient: linear-gradient(90deg, #212C3D 0%, #A07D59 100%);
}

/* ========================
   HEADER & NAVIGATION
   ======================== */

header {
  background: var(--header-gradient);
  box-shadow: 0 2px 12px 0 rgba(33,44,61,0.04);
  position: relative;
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 15px 0;
  gap: 24px;
}
header nav a img {
  height: 42px;
  width: auto;
  margin-right: 12px;
  display: block;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
header nav ul li {
  display: flex;
}
header nav ul li a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
header nav ul li a:hover, header nav ul li a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--cta-gradient);
  color: var(--color-white);
  padding: 12px 28px;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  display: inline-block;
  margin-left: 18px;
  box-shadow: 0 4px 18px 0 rgba(160,125,89,0.11);
  cursor: pointer;
  transition: background 0.23s, box-shadow 0.24s, color 0.17s;
  letter-spacing: 0.03em;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #A07D59, #212C3D);
  color: #fff;
  box-shadow: 0 6px 24px 0 rgba(33,44,61,0.18);
}

/* Hide mobile nav items by default */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  font-size: 2rem;
  padding: 8px 16px;
  border-radius: 6px;
  margin-left: 14px;
  cursor: pointer;
  z-index: 1202;
  transition: background 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: var(--color-primary);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 102vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 2px 24px 2px rgba(33,44,61,0.13);
  z-index: 1200;
  transform: translateX(-102vw);
  transition: transform 0.35s cubic-bezier(.56,.02,.27,1.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 26px 24px 18px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: var(--color-primary);
  align-self: flex-end;
  margin-bottom: 24px;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 0;
}
.mobile-nav a {
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.15rem;
  color: var(--color-primary);
  padding: 12px 0;
  border-radius: 4px;
  transition: background 0.17s, color 0.21s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-accent);
}

/* Responsive Nav: hide desktop nav, show burger on mobile */
@media (max-width: 980px) {
  header nav ul,
  header nav .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}

/* =========================
   MAIN SECTIONS & HEROES
   ========================= */

.hero {
  background: var(--hero-gradient);
  border-radius: 0px 0px 38px 38px;
  min-height: 310px;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  box-shadow: 0 5px 28px 0 rgba(160,125,89,0.06);
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 200px;
  padding: 40px 20px 40px 20px;
}
.hero h1 {
  font-size: 2.6rem;
  color: var(--color-primary);
  margin-bottom: 18px;
  font-weight: 800;
  background: none;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: #374151;
  max-width: 700px;
}

@media (max-width: 600px) {
  .hero {
    min-height: 180px;
    border-radius: 0 0 18px 18px;
    margin-bottom: 28px;
  }
  .hero .container {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .hero p {
    font-size: 1rem;
  }
}

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

/* =========================
   FLEXBOX LAYOUTS (MANDATORY)
   ========================= */

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 2px 14px 0 rgba(33,44,61,0.09);
  background: #fff;
  outline: none;
  transition: box-shadow 0.22s, transform 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px 0 rgba(33,44,61,0.13);
  transform: translateY(-6px) scale(1.012);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: #fff;
  border-radius: 18px;
  margin-bottom: 24px;
  box-shadow: 0 4px 18px 0 rgba(160,125,89,0.10);
  min-width: 0;
  max-width: 640px;
  transition: box-shadow 0.18s;
  border: 1.5px solid #e9ebee;
  color: #212C3D;
  font-size: 1.1rem;
}
.testimonial-card p {
  color: #212C3D;
  font-size: 1.15rem;
  font-style: italic;
}
.testimonial-card span {
  color: #A07D59;
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 10px 32px 0 rgba(160,125,89,0.17);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* List icons (features) */
.content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  align-items: flex-start;
  margin-bottom: 12px;
  margin-top: 0px;
}
.content-wrapper ul li {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 12px;
  color: #212C3D;
  min-width: 180px;
  margin-bottom: 0px;
  font-family: 'Roboto', Arial, sans-serif;
}
.content-wrapper ul li img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

@media (max-width: 840px) {
  .content-wrapper ul {
    flex-direction: column;
    gap: 16px;
  }
}

/* Service cards */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-card {
  flex: 1 1 260px;
  min-width: 220px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px 0 rgba(33,44,61,0.07);
  padding: 28px 23px 20px 23px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1.2px solid #e9ebee;
  transition: box-shadow 0.16s, transform 0.18s;
  min-height: 230px;
}
.service-card h3 {
  font-size: 1.15rem;
  color: #212C3D;
  margin-bottom: 8px;
  font-weight: 700;
}
.service-card strong {
  color: #A07D59;
  font-size: 1.02rem;
}
.service-card:hover, .service-card:focus {
  box-shadow: 0 8px 28px 0 rgba(33,44,61,0.13);
  transform: translateY(-5px) scale(1.012);
}

@media (max-width: 920px) {
  .service-cards {
    flex-direction: column;
    gap: 20px;
  }
}

/* =========================
   PAGINATION, BUTTONS, FORMS
   ========================= */

button, .cta-btn {
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 700;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* =========================
   CONFIRMATION SECTION
   ========================= */
.confirmation {
  margin-bottom: 80px;
  padding: 60px 20px 70px 20px;
  background: linear-gradient(90deg,#e9ebee 0%, #F4F6F8 100%);
  border-radius: 25px;
  box-shadow: 0 3px 18px 0 rgba(33,44,61,0.06);
}
.confirmation h1 {
  color: var(--color-secondary);
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 16px;
}
.confirmation p, .confirmation ul li {
  font-size: 1.11rem;
  color: #212C3D;
  margin-bottom: 10px;
}
.confirmation ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* =========================
   FOOTER
   ========================= */
footer {
  background: #212C3D;
  color: #F4F6F8;
  padding: 44px 0 22px 0;
  border-radius: 35px 35px 0 0;
  margin-top: 60px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: center;
  flex: 1 1 100%;
  margin-bottom: 12px;
}
footer nav a {
  color: #F4F6F8;
  font-size: 1rem;
  padding: 6px 8px;
  transition: color 0.18s;
}
footer nav a:hover, footer nav a:focus {
  color: #A07D59;
  text-decoration: underline;
}
footer div img {
  width: 48px;
  height: 48px;
  display: block;
}
footer p {
  font-size: 0.92rem;
  color: #CCD4DB;
  margin-top: 0;
}

@media (max-width: 600px) {
  footer { border-radius: 18px 18px 0 0; padding: 34px 0 10px 0;}
  footer .container { gap: 13px;}
  footer div img { width: 38px; height: 38px;}
}

/* =========================
   COOKIE CONSENT UI
   ========================= */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid #A07D59;
  box-shadow: 0 -2px 22px 0 rgba(33,44,61,0.07);
  padding: 18px 14px 18px 20px;
  z-index: 2200;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  transition: transform 0.33s cubic-bezier(.24,.57,.53,1.14);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner__text {
  flex: 1 1 280px;
  font-size: 1rem;
  color: #212C3D;
}
.cookie-banner__actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: 'Montserrat',Arial,sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 24px;
  padding: 10px 22px;
  margin: 0;
  transition: background 0.22s, color 0.21s, box-shadow 0.19s;
  cursor: pointer;
}
.cookie-btn.accept {
  background: var(--cta-gradient);
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: linear-gradient(90deg, #A07D59, #212C3D);
  color: #fff;
}
.cookie-btn.reject {
  background: #e9ebee;
  color: #212C3D;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #cdd2da;
  color: #A07D59;
}
.cookie-btn.settings {
  background: none;
  color: #A07D59;
  border: 1.1px solid #A07D59;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #A07D59;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 9px 13px 13px;
  }
  .cookie-banner__actions {
    gap: 10px;
  }
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,44,61,0.52);
  z-index: 2400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.25s cubic-bezier(.52,.01,.8,.85);
}
@keyframes fadeInModal { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal__content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 36px 0 rgba(160,125,89,0.18);
  padding: 32px 24px 20px 25px;
  width: 98vw;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal__close {
  position: absolute;
  top: 15px; right: 18px;
  background: transparent;
  border: none;
  font-size: 1.65rem;
  color: #A07D59;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: #212C3D;
}
.cookie-modal__title {
  font-family: 'Montserrat',Arial,sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #212C3D;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f6f7fa;
  border-radius: 10px;
  padding: 9px 13px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  width: 22px;
  height: 22px;
  accent-color: #A07D59;
}
.cookie-modal-btns {
  display: flex;
  gap: 13px;
  margin-top: 9px;
  justify-content: flex-end;
}

/* =========================
   RESPONSIVE UTILITIES
   ========================= */

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .service-cards {
    padding: 0;
  }
  .testimonial-card {
    padding: 18px 13px;
    font-size: 1rem;
  }
}

@media (max-width: 500px) {
  section, .section {
    padding: 20px 2px;
    margin-bottom: 32px;
  }
  .content-wrapper {
    gap: 12px;
  }
}

/* =========================
   ANIMATIONS & MICRO-INTERACTIONS
   ========================= */

.cta-btn, .cookie-btn {
  transition: background 0.23s, box-shadow 0.23s, color 0.16s, transform 0.18s;
}
.cta-btn:active, .cookie-btn:active {
  transform: scale(0.96);
}

/* Modern card/subtle hover for links */
.content-wrapper a:not(.cta-btn):not(.cookie-btn) {
  transition: color 0.21s, text-decoration 0.2s;
}

/* =========================
   ACCESSIBILITY & FOCUS STYLES
   ========================= */

a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2.5px solid #A07D59;
  outline-offset: 2px;
  z-index: 2;
}

/* =========================
   MISC UTILITIES
   ========================= */

.hide {
  display: none !important;
}

::-webkit-input-placeholder { color: #888f94; }
:-ms-input-placeholder { color: #888f94; }
::placeholder { color: #888f94; }

/* Spacing between sections */
section, .section {
  margin-bottom: 60px;
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (max-width: 600px) {
  section, .section {
    margin-bottom: 32px;
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

/**************************************
   END RADIANCE NODE GRADIENT MODERN UI
***************************************/
