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

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;
  background-color: #F2F4F8;
  color: #25485B;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

/* ROOT COLORS & VARIABLES */
:root {
  --color-primary: #25485B;
  --color-secondary: #C19D63;
  --color-accent: #F2F4F8;
  --color-white: #fff;
  --color-black: #18202c;
  --shadow-light: 0 2px 16px 0 rgba(37, 72, 91, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition: all 0.2s cubic-bezier(.68,-0.55,.27,1.55);
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER & NAVIGATION */
header {
  background: linear-gradient(92deg, var(--color-primary) 75%, var(--color-secondary) 100%);
  box-shadow: 0 2px 16px 0 rgba(37,72,91,0.06);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  height: 90px;
}
.desktop-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.desktop-nav a {
  color: var(--color-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .02em;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: background .12s;
}
.desktop-nav a:hover,
.desktop-nav a:focus {
  background: rgba(193,157,99, .16);
}

.cta-btn {
  background: linear-gradient(90deg, var(--color-secondary) 40%, var(--color-primary) 120%);
  color: var(--color-white);
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  padding: 9px 28px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  cursor: pointer;
  transition: background .16s, transform .16s, box-shadow .16s;
  margin-left: 16px;
  display: inline-block;
  letter-spacing: .03em;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #d8b47b 30%, #08202a 120%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 3px 24px 0 rgba(193,157,99,0.14);
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 34px;
  border: none;
  border-radius: 10px;
  padding: 8px 16px;
  cursor: pointer;
  z-index: 1200;
  transition: background .12s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #a88646;
  color: var(--color-white);
}

/* ===============
   MOBILE MENU
   =============== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,72,91,.98);
  transform: translateX(-105vw);
  transition: transform 0.38s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 1500;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-secondary);
  font-size: 38px;
  padding: 20px 24px 10px 18px;
  align-self: flex-end;
  cursor: pointer;
  z-index: 1600;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff3e0;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 0;
  padding: 32px 34px;
}
.mobile-nav a {
  color: var(--color-white);
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 600;
  padding: 18px 0;
  width: 100%;
  border-bottom: 1px solid rgba(241,241,241, .06);
  transition: color .15s, background .14s;
  letter-spacing: .02em;
  border-radius: 0;
  outline: none;
  text-align: left;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(193,157,99,.13);
  color: var(--color-secondary);
}

@media (max-width: 1080px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}
@media (max-width: 900px) {
  .desktop-nav {
    gap: 15px;
  }
  .cta-btn {
    margin-left: 6px;
    font-size: 17px;
    padding: 8px 19px;
  }
}

@media (max-width: 820px) {
  header .container {
    height: 74px;
  }
  .desktop-nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MAIN SECTIONS & CONSISTENT SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
main section {
  padding-top: 30px;
  padding-bottom: 30px;
  min-height: 120px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin: 0 auto;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--color-primary);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1.23;
}
h3 {
  font-size: 1.32rem;
  margin-bottom: 8px;
  color: var(--color-secondary);
}
h4 {
  font-size: 1.15rem;
}
h5, h6 {
  font-size: 1rem;
}
p, ul, ol, li {
  font-family: 'Open Sans', sans-serif;
  color: var(--color-black);
  font-size: 1rem;
  line-height: 1.7;
}
ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 22px;
}
ul li {
  position: relative;
  padding-left: 14px;
}
ul li:before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--color-secondary);
  position: absolute;
  left: 0;
  top: 0.7em;
}

strong, b {
  font-weight: 700;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

/* BUTTONS & INTERACTION STATES */
button, .cta-btn {
  cursor: pointer;
  user-select: none;
  border: none;
  outline: none;
}
button:active, .cta-btn:active {
  transform: scale(.98);
}

/* SERVICE & FEATURE LISTS */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 22px;
}
.service-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-light);
  padding: 28px 24px 20px 24px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
  transition: box-shadow .15s, transform .15s;
  margin-bottom: 20px;
  position: relative;
}
.service-item:hover, .service-item:focus {
  box-shadow: 0 6px 26px 0 rgba(37, 72, 91, 0.13);
  transform: translateY(-3px) scale(1.017);
}
.service-item h3 {
  margin-bottom: 0px;
  font-size: 1.29rem;
}
.service-price {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.11rem;
  margin-top: 7px;
  font-family: 'Montserrat', sans-serif;
}

/* Testimonial RELATED STYLES */
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-light);
  padding: 24px 30px;
  min-width: 220px;
  max-width: 390px;
  margin-bottom: 20px;
  position: relative;
  font-size: 1.03rem;
  transition: box-shadow .16s, transform .16s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 36px 0 rgba(37,72,91,0.14);
  transform: translateY(-4px) scale(1.022);
}
.testimonial-card .name {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1.05rem;
  margin-top: 6px;
}
.star-rating {
  color: var(--color-secondary);
  font-size: 1.18rem;
  letter-spacing: 1px;
}

/* VISUAL ELEMENTS: CARDS, LISTS, FLEXBOX */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-light);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 24px 22px;
}

.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;
  margin-bottom: 20px;
}

/* FOOTER */
footer {
  background: linear-gradient(80deg, var(--color-primary) 80%, var(--color-secondary) 100%);
  color: var(--color-white);
  padding: 38px 0 24px 0;
  box-shadow: 0 -2px 16px 0 rgba(37,72,91,0.07);
}
footer .content-wrapper {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu a {
  color: var(--color-white);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  transition: color .13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-secondary);
}
.contact-info {
  color: var(--color-white);
  font-size: 15px;
  font-family: 'Open Sans',sans-serif;
  line-height: 1.8;
  margin-bottom: 4px;
}
footer .contact-info p{
  color: white !important;
}
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-links img {
  width: 34px;
  height: 34px;
  filter: brightness(0) invert(1);
  opacity: .92;
  transition: filter .14s, opacity .14s;
}
.social-links img:hover, .social-links img:focus {
  filter: brightness(1.5) invert(0.2) sepia(1) hue-rotate(50deg) saturate(2.5);
  opacity: 1;
}

/* RESPONSIVE DESIGN */
@media (max-width: 920px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  .service-list {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  main section, .section {
    padding: 28px 7px;
    margin-bottom: 34px;
  }
  .container {
    max-width: 98vw;
    padding: 0 6px;
  }
  .content-wrapper {
    gap: 20px;
    align-items: stretch;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.44rem; }
  h3 { font-size: 1.1rem; }
  .service-list, .testimonial-slider, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .service-item, .testimonial-card {
    max-width: 99vw;
    min-width: 0;
  }
  .footer-menu {
    flex-direction: row;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  body, .footer-menu, .contact-info, .service-list, .testimonial-card {
    font-size: 15px;
  }
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.07rem; }
  .cta-btn {
    font-size: 16px;
    padding: 8px 19px;
  }
  .service-item {
    padding: 19px 11px;
  }
  .testimonial-card {
    padding: 15px 10px;
  }
  .footer-menu {
    flex-direction: column;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-accent);
  color: var(--color-black);
  box-shadow: 0 -4px 24px 0 rgba(37,72,91,0.14);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 14px;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  gap: 30px;
  animation: fadeInUp .4s;
}
@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0 }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button, .cookie-banner .btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  margin: 0 8px;
  padding: 7px 21px;
  border: none;
  transition: background .13s, color .13s, box-shadow .13s;
  cursor: pointer;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #a88543;
}
.cookie-banner .reject {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #f6e6c6;
}
.cookie-banner .settings {
  background: none;
  color: var(--color-primary);
  text-decoration: underline;
  border: none;
  padding: 7px 10px;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  color: var(--color-secondary);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    padding: 18px 4px 10px 4px;
    text-align: left;
    gap: 13px;
  }
  .cookie-banner button {
    margin: 0 3px 4px 0;
    min-width: 90px;
    font-size: .97em;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -55%) scale(0.97);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 40px 0 rgba(37,72,91,0.21);
  z-index: 3000;
  padding: 36px 32px 28px 32px;
  max-width: 420px;
  width: 95vw;
  display: none;
  flex-direction: column;
  gap: 24px;
  animation: cookiePop .3s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes cookiePop {
  0% { transform: translate(-50%, -80%) scale(.7); opacity:0; }
  100% { transform: translate(-50%, -55%) scale(1); opacity:1; }
}
.cookie-modal h3 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1rem;
  color: var(--color-primary);
  margin: 11px 0;
}
.cookie-modal input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--color-secondary);
}
.cookie-modal .cookie-btn-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal .btn {
  padding: 7px 22px;
  border-radius: var(--radius-md);
  border: none;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.cookie-modal .btn.accept {
  background: var(--color-secondary);
  color: var(--color-white);
}
.cookie-modal .btn.reject {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1.5px solid var(--color-secondary);
}
.cookie-modal .btn.close {
  background: none;
  color: var(--color-primary);
  text-decoration: underline;
  padding: 7px 15px;
}

/* Checkbox group styling */
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cookie-modal .cookie-category-disabled {
  opacity: .6;
  font-style: italic;
  cursor: not-allowed;
}

@media (max-width: 540px) {
  .cookie-modal {
    padding: 20px 8px 15px 8px;
    max-width: 99vw;
  }
}

/* MISCELLANEOUS */
::-webkit-scrollbar {
  width: 9px;
  background: #ececec;
  border-radius: 7px;
}
::-webkit-scrollbar-thumb {
  background: #c2cfd6;
  border-radius: 7px;
}

::selection {
  background: #C19D6399;
  color: #18202c;
}

[tabindex]:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Accessibility & focus styling */
a:focus, button:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}
