/* =======================
   RESET & BASELINE 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, menu, 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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  background: #212626;
  color: #F3EFE7;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border: none; }
a { color: #7BBDA6; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #F3EFE7; }
strong, b { font-weight: 700; }
ul, ol { padding-left: 24px; }
li + li { margin-top: 8px; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  color: #F3EFE7;
  font-weight: 700;
  text-transform: none;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; letter-spacing: 1px; }
h2 { font-size: 2rem; margin-bottom: 12px; letter-spacing: 0.5px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; letter-spacing: 0.3px; }

/* =======================
   BRAND & INDUSTRIAL MODERN COLORS
   ======================= */
:root {
  --primary: #23584C;
  --primary-dk: #193E34;
  --secondary: #7BBDA6;
  --accent: #F3EFE7;
  --background: #212626;
  --mid-bg: #2c3231;
  --card-bg: #232728;
  --metallic: #B1B6B9;
  --shadow: rgba(25,39,40,0.18);
  --border: #3D4643;
  --danger: #D32F2F;
  --focus: #B1B6B9;
  --button-text: #212626;
  --font-display: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

/* =======================
   LAYOUT CONTAINERS
   ======================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

@media (max-width: 768px) {
  .section, section {
    padding: 28px 10px;
    margin-bottom: 36px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* =======================
   HEADER / MAIN NAV
   ======================= */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 12px 0;
  position: relative;
  background: #232728;
  border-bottom: 2px solid var(--border);
  z-index: 20;
}
.logo-link img { height: 44px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.07em;
  font-weight: 600;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0%;
  height: 2px;
  background: var(--secondary);
  transition: width 0.22s;
  margin-top: 3px;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 100%;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--secondary);
}

.cta-primary {
  background: var(--secondary);
  color: var(--button-text);
  border-radius: 28px;
  padding: 10px 32px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  box-shadow: 0 2px 10px var(--shadow);
  cursor: pointer;
  display: inline-block;
  margin-left: 32px;
  transition: background 0.15s, color 0.15s, box-shadow 0.18s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 3px 20px var(--shadow);
}

.cta-secondary {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  border-radius: 28px;
  padding: 10px 32px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 8px;
  transition: background 0.18s, color 0.18s, border 0.22s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--secondary);
  color: var(--button-text);
  border-color: var(--accent);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  color: var(--accent);
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 22px;
  padding: 2px 10px;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--focus);
}

@media (max-width: 1024px) {
  .main-nav { gap: 18px; }
  .cta-primary { margin-left: 16px; padding: 8px 18px; font-size: 1rem; }
}
@media (max-width: 820px) {
  .main-nav { display: none; }
  .cta-primary { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* =======================
   MOBILE SLIDE MENU
   ======================= */
.mobile-menu {
  position: fixed;
  z-index: 1003;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgb(37,43,44,0.98);
  box-shadow: 4px 0 27px rgba(30,35,32,0.90);
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.77,0,0.175,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2rem;
  align-self: flex-end;
  margin: 24px 26px 4px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus { outline: 2px solid var(--focus); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  padding: 34px 36px 24px 36px;
}
.mobile-nav a {
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 0;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--primary-dk);
  color: var(--accent);
  outline: none;
}

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

/* =======================
   HERO + SECTIONS
   ======================= */
.hero {
  background: linear-gradient(91deg, #232728 60%, #2c3231 100%);
  position: relative;
  box-shadow: 0 2px 12px var(--shadow);
  border-bottom: 2px solid var(--border);
}
.hero h1 {
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 2.5rem;
  text-shadow: 0 2px 4px rgba(25,35,35,0.18);
  letter-spacing: 1.6px;
}
.hero .subheadline {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 18px;
  font-family: var(--font-body);
  line-height: 1.7;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 1.6rem; }
  .hero .subheadline { font-size: 1rem; }
}

.section h2,
.features h2,
.about h2,
.services h2,
.contact-preview h2,
.legal h1, .legal h2 {
  color: var(--secondary);
  font-family: var(--font-display);
  margin-bottom: 12px;
  font-size: 2rem;
  letter-spacing: 0.5px;
}

.section p, .about p, .services p, .feature-item p {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 10px;
}

/* =======================
   FLEX & CARD PATTERNS
   ======================= */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { background: var(--card-bg); margin-bottom: 20px; border-radius: 13px; box-shadow: 0 2px 14px var(--shadow); padding: 32px 22px; position: relative; min-width: 280px; }
.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: 18px; }
  .card-container, .content-grid { flex-direction: column; gap: 14px; }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--mid-bg);
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: 0 2px 4px var(--shadow);
  min-width: 240px;
  flex: 1 1 230px;
  padding: 28px 20px 24px 20px;
  transition: box-shadow 0.17s, border-color 0.15s, transform 0.21s;
}
.feature-item img {
  width: 44px;
  height: 44px;
  filter: brightness(0.85) sepia(0.2) contrast(1.05);
}
.feature-item h3 {
  color: var(--secondary);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.feature-item ul { margin-top: 6px; margin-bottom: 0; }
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4px 18px var(--shadow);
  border-color: var(--secondary);
  transform: translateY(-3px) scale(1.01);
}

@media (max-width: 900px) {
  .feature-grid { flex-direction: column; gap: 16px; }
  .feature-item { min-width: 180px; padding: 18px 12px 16px 12px; }
}

.card, .section, .feature-item {
  margin-bottom: 20px;
}
/* card grid utility */
.card-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; margin-bottom: 16px; }

.address-preview {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  margin-top: 18px;
  font-size: 1.1rem;
}
.address-preview img { width: 22px; margin-right: 6px; }

.highlights-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--mid-bg);
  border-radius: 8px;
  padding: 18px 16px;
  margin-top: 16px;
  box-shadow: 0 1px 7px var(--shadow);
}

.relaxation-tips {
  margin-top: 30px;
  background: var(--mid-bg);
  border-left: 4px solid var(--secondary);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 1rem;
  color: #E3E5E3;
  box-shadow: 0 1px 7px var(--shadow);
}

/* =======================
   TESTIMONIALS
   ======================= */
.testimonials {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 40px 0;
  box-shadow: 0 2px 18px var(--shadow);
}
.testimonials h2 { color: var(--secondary); margin-bottom: 26px; padding-left: 20px; }
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  margin: 0 0 20px 0;
  background: var(--accent);
  color: #222;
  border-radius: 16px;
  box-shadow: 0 3px 22px rgba(48,56,54,0.14);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  border-left: 5px solid var(--secondary);
  font-size: 1.17rem;
}
.testimonial-card p {
  color: #222;
  margin-bottom: 0; font-size: 1.15rem; line-height: 1.7;
}
.testimonial-card strong { color: var(--primary);}
@media (max-width: 730px) {
  .testimonial-card { padding: 17px 10px; font-size: 1rem; }
}


/* =======================
   FOOTER
   ======================= */
footer {
  background: #232728;
  border-top: 2px solid var(--border);
  color: var(--metallic);
  font-size: 0.98rem;
  margin-top: 70px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 38px 20px 30px 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--secondary);
}
.footer-brand img { width: 40px; filter: grayscale(10%) sepia(10%) contrast(1.2); }

.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-nav a {
  color: var(--metallic);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--secondary); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--accent);
  font-size: 1rem;
}
.footer-contact img { width: 19px; margin-right: 8px; filter: grayscale(50%) opacity(0.85); }

@media (max-width: 820px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 10px 20px 10px;
  }
  .footer-nav { gap: 9px; font-size: 0.95rem; }
}


/* =======================
   CONTACT / FORMS (basic layout, no real forms in HTML, but style links/buttons)
   ======================= */
.contact-details, .location-map, .address-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.map-placeholder {
  border-radius: 11px;
  min-height: 210px;
  background: var(--mid-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 22px 0;
  box-shadow: 0 2px 10px var(--shadow);
  padding: 18px;
}
.map-placeholder img { filter: grayscale(0.10) brightness(0.86); }


/* =======================
   LEGAL/INFO SECTION
   ======================= */
.legal {
  background: var(--mid-bg);
  border-radius: 13px;
  box-shadow: 0 2px 18px var(--shadow);
  margin-top: 32px;
  padding: 38px 26px 34px 26px;
  color: var(--accent);
}
.legal h1, .legal h2 {
  color: var(--secondary);
  margin-bottom: 14px;
  font-size: 1.35rem;
}
.legal ul { padding-left: 24px; }
.legal ul li { margin-bottom: 6px; color: #d6dbd3; }


/* =======================
   CONFIRMATION / THANK YOU
   ======================= */
.confirmation {
  background: var(--mid-bg);
  border-radius: 14px;
  box-shadow: 0 1px 7px var(--shadow);
  margin-top: 36px;
  padding: 44px 30px;
  color: var(--accent);
  text-align: center;
}
.confirmation-message {
  font-size: 1.14rem;
  color: var(--accent);
  margin-bottom: 20px;
  margin-top: 14px;
}


/* =======================
   BUTTONS (general styling, secondary, danger, micro-interaction)
   ======================= */
button,
input[type="button"], input[type="submit"],
.cta-primary, .cta-secondary {
  font-family: var(--font-display);
  font-size: 1rem;
  cursor: pointer;
  outline: none;
}
button:hover, button:focus,
input[type="button"]:hover, input[type="button"]:focus {
  filter: brightness(1.13);
}

/* =======================
   COOKIE CONSENT BANNER
   ======================= */
.cookie-banner {
  position: fixed;
  z-index: 2000;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #232728;
  border-top: 2px solid var(--secondary);
  color: #fff;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  justify-content: center;
  transition: transform 0.29s cubic-bezier(0.77,0,0.175,1), opacity 0.23s;
  padding: 26px 10px 18px 10px;
  box-shadow: 0 -2px 18px var(--shadow);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner-message {
  max-width: 380px;
  font-size: 1rem;
  color: #fff;
}
.cookie-banner-actions {
  display: flex;
  gap: 16px;
  margin-left: 16px;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  border-radius: 18px;
  border: none;
  padding: 9px 22px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1rem;
  transition: background 0.16s, color 0.16s;
}
.cookie-accept {
  background: var(--secondary);
  color: var(--button-text);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--primary);
  color: var(--accent);
}
.cookie-reject {
  background: none;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--secondary);
  color: var(--button-text);
}
.cookie-settings {
  background: none;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--accent);
  color: var(--primary);
}

@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 10px 16px 10px;
    gap: 10px;
  }
  .cookie-banner-actions { margin-left: 0; }
}

/* =======================
   COOKIE MODAL
   ======================= */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2500;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(29,34,33,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #2C3231;
  border-radius: 14px;
  max-width: 340px;
  width: 95vw;
  box-shadow: 0 8px 32px rgba(25,35,35,.55);
  padding: 28px 18px 21px 18px;
  color: var(--accent);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-title {
  font-family: var(--font-display);
  color: var(--secondary);
  font-size: 1.26rem;
  margin-bottom: 6px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--metallic);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.17s;
  z-index: 3;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: var(--accent); }

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: #232728;
  padding: 12px 11px;
  border-radius: 9px;
  margin-bottom: 6px;
}
.cookie-category-title { color: var(--secondary); font-weight: 600; }
.cookie-category-label {
  font-family: var(--font-body);
  font-size: 0.98rem;
}
/* Switch style for toggles */
.cookie-toggle {
  position: relative;
  width: 38px; height: 22px;
  display: inline-block;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--metallic);
  border-radius: 12px;
  transition: background 0.18s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: var(--secondary);
}
.cookie-slider::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 17px; height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.23s, background 0.22s;
  box-shadow: 0 1px 6px rgba(39,45,40,0.18);
}
.cookie-toggle input:checked + .cookie-slider::before {
  transform: translateX(16px);
  background: var(--primary);
}
.cookie-category-essential .cookie-toggle {
  opacity: 0.7;
  pointer-events: none;
}

.cookie-modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.cookie-modal-save {
  background: var(--secondary);
  color: var(--button-text);
  border: none;
  border-radius: 16px;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal-save:hover, .cookie-modal-save:focus { background: var(--primary); color: var(--accent); }
.cookie-modal-cancel {
  background: none;
  border: 2px solid var(--metallic);
  color: var(--accent);
  border-radius: 14px;
  padding: 8px 14px;
  transition: background 0.14s, color 0.14s;
}
.cookie-modal-cancel:hover, .cookie-modal-cancel:focus { background: var(--mid-bg); color: var(--secondary); }


/* =======================
   UTILITY & MICRO-ANIMATION
   ======================= */
::-webkit-scrollbar { width: 8px; background: var(--mid-bg); }
::-webkit-scrollbar-thumb { background: var(--primary-dk); border-radius: 8px; }
@media (max-width: 520px) {
  h1 { font-size: 1.15rem; }
  h2 { font-size: 1rem; }
  .container, .content-wrapper { padding-left: 7px; padding-right: 7px; }
}
/* Micro-interactions */
.card, .feature-item, .testimonial-card, .cookie-banner, .cta-primary, .cta-secondary, .mobile-nav a, .cookie-modal, .cookie-modal-actions button {
  transition: box-shadow 0.2s, border 0.2s, transform 0.17s, color 0.16s, background 0.18s;
}
.card:hover, .card:focus {
  box-shadow: 0 5px 22px var(--shadow);
  transform: translateY(-3px) scale(1.015);
  border-color: var(--secondary);
}

/* =======================
   TYPOGRAPHY SCALE
   ======================= */
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
h4, .about strong, .feature-item strong { font-size: 1.1rem; }
@media (max-width: 650px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.03rem; }
}

/* =======================
   FOCUS OUTLINES FOR ACCESSIBILITY
   ======================= */
a:focus, button:focus, input:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

/* =======================
   ACCESSIBILITY
   ======================= */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =======================
   END OF STYLE.CSS
   ======================= */
