/* ==================== RESET & NORMALIZE ==================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  background: #201B1E;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #F3F3F3;
  background: #232326;
  letter-spacing: 0.02em;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: #FFB6B3;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
a:focus, a:hover {
  color: #fff;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  padding-left: 0;
}
li {
  margin-bottom: 12px;
}

/* ==================== VARIABLES (FALLBACKS INCLUDED) ==================== */
:root {
  --color-primary: #7C176E;
  --color-secondary: #FFB6B3;
  --color-accent: #F3F3F3;
  --color-bg: #232326;
  --color-bg-dark: #201B1E;
  --color-text: #F3F3F3;
  --color-card: #29282C;
  --color-metal: #989A9B;
  --color-shadow: rgba(0,0,0,0.18);
  --color-btn-text: #232326;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.14), 0 1.5px 4px rgba(124,23,110,0.08);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* ==================== TYPOGRAPHY ==================== */
h1, .h1 {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.16);
}
h2, .h2 {
  font-family: var(--font-display);
  color: var(--color-secondary);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.005em;
}
h3, .h3 {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 0.006em;
}
p {
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 18px;
  font-size: 1rem;
}
strong {
  color: var(--color-secondary);
  font-weight: 700;
}

/* System-like/Industrial font for pre/text-btns/tags */
pre, code, .meta, .metal {
  font-family: "Fira Mono", "Consolas", "Menlo", monospace;
  color: var(--color-metal);
}

/* ==================== CONTAINERS & LAYOUT ==================== */
.container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

.content-wrapper {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 32px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper {
    padding: 24px 8px;
    margin-bottom: 24px;
  }
}

/* ========== spacing/layout patterns ==========
   All layouts use ONLY FLEXBOX!
*/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  position: relative;
  background: var(--color-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 24px 18px;
  flex: 1 1 260px;
  min-width: 280px;
  transition: box-shadow 0.18s, transform 0.2s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 36px rgba(124, 23, 110, 0.20);
  transform: translateY(-4px) scale(1.03);
}
.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;
}
.testimonial-card {
  background: #F8F8F8;
  color: #232326;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  min-width: 260px;
  flex: 1 1 340px;
  position: relative;
  flex-direction: column;
}
.testimonial-card p {
  font-size: 1.05rem;
  color: #232326;
  margin-bottom: 12px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #7C176E;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.map-placeholder {
  min-width: 90px;
  min-height: 90px;
  padding: 12px;
  background: #242428;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ==================== BUTTONS & LINKS ==================== */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.72em 2.2em;
  margin-top: 10px;
  min-width: 140px;
  min-height: 44px;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.02em;
  transition: background 0.18s, box-shadow 0.15s, color 0.15s, transform 0.15s;
  outline-offset: 2px;
  box-shadow: 0 3px 12px rgba(124,23,110,0.12);
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px var(--color-shadow);
  border-bottom: 3.5px solid #4C1742;
}
.btn-primary:hover, .btn-primary:focus {
  background: #630E55;
  color: #FFB6B3;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px rgba(124,23,110,0.18);
}
.btn-secondary {
  background: var(--color-secondary);
  color: #232326;
  box-shadow: 0 2px 8px rgba(255,182,179,0.16);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #fd5b95;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 22px rgba(255,182,179,0.16);
}
nav a:not(.btn-primary) {
  color: var(--color-accent);
  opacity: 0.92;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  margin-right: 18px;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.01em;
  transition: color 0.16s, background 0.13s, opacity 0.19s;
  position: relative;
}
nav a:not(.btn-primary):after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.18s;
  margin-top: 3px;
}
nav a:not(.btn-primary):hover:after, nav a:not(.btn-primary):focus:after {
  width: 90%;
}
nav a:not(.btn-primary):hover, nav a:not(.btn-primary):focus {
  color: var(--color-secondary);
  opacity: 1;
}

/* ==================== HEADER, NAVIGATION ==================== */
header {
  width: 100%;
  background: #231D20;
  border-bottom: 1.5px solid #332C31;
  box-shadow: 0 2px 12px rgba(32,27,30,0.10);
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  min-height: 70px;
}
header img {
  width: 112px;
  margin-right: 24px;
  height: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
}
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 960px) {
  header nav a:not(.btn-primary) {
    margin-right: 8px;
    font-size: 0.98rem;
  }
  header .container {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  header .container {
    justify-content: space-between;
    gap: 0;
    min-height: 58px;
    padding-left: 10px;
    padding-right: 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #FFB6B3;
    background: #231D20;
    border: none;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 120;
    transition: background 0.13s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #2e2731;
  }
}

/* ==================== MOBILE MENU OVERLAY ==================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,27,30, 0.98);
  box-shadow: 0 2px 24px rgba(34,22,35,0.44);
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.77,.02,.91,.58), opacity 0.2s;
  opacity: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--color-secondary);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 20px 20px 8px 0;
  cursor: pointer;
  z-index: 2050;
  padding: 3px 6px;
  border-radius: 5px;
  transition: background 0.14s, color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #2e2731;
  color: #fff;
  outline: none;
}
.mobile-nav {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 18px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 0 10px;
  border-radius: 2px;
  width: 85vw;
  text-align: left;
  transition: background 0.13s, color 0.2s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #2E2029;
  color: var(--color-secondary);
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}


/* ==================== MAIN ==================== */
main {
  margin-top: 0;
  margin-bottom: 20px;
  min-height: 65vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
@media (max-width: 640px) {
  section {
    margin-bottom: 34px;
    padding: 24px 6px;
  }
}

/* ==================== FOOTER ==================== */
footer {
  background: #231D20;
  padding: 36px 0 18px 0;
  border-top: 2.5px solid #311831;
  width: 100%;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: var(--color-secondary);
  font-size: 0.98rem;
  font-weight: 500;
  opacity: 0.8;
  margin-right: 0;
}
.footer-nav a:hover, .footer-nav a:focus {
  opacity: 1;
  color: #fff;
}
.contact-brief {
  color: #999CA7;
  font-size: 0.98rem;
  margin-bottom: 7px;
  font-family: var(--font-body);
  line-height: 1.6;
}
.social-icons {
  display: flex;
  gap: 14px;
  align-items: center;
}
.social-icons img {
  width: 28px;
  height: 28px;
  opacity: 0.74;
  transition: opacity 0.18s;
}
.social-icons img:hover {
  opacity: 1;
}
@media (max-width: 820px) {
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-nav, .contact-brief {
    width: 100%;
  }
}

/* ==================== MODALS & COOKIE BANNER ==================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 3000;
  background: #29282C;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 38px 22px 26px;
  box-shadow: 0 -2px 16px rgba(41,40,44,0.24);
  border-top: 2.5px solid #7C176E;
  font-size: 1rem;
  animation: cookie-slide-in 0.46s cubic-bezier(.66,.13,.54,.89);
}
@keyframes cookie-slide-in {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 13px;
}
.cookie-banner button {
  font-family: var(--font-display);
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  cursor: pointer;
  min-width: 90px;
  font-weight: 600;
  margin: 0 3px;
  transition: background 0.12s, color 0.13s, box-shadow 0.14s;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: #231D20;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #fd5b95;
  color: #fff;
}
.cookie-banner .reject {
  background: #312E34;
  color: var(--color-accent);
  border: 1.5px solid #454445;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #444044;
  color: #fff;
}
.cookie-banner .settings {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #630E55;
}

/* Cookie preference modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100vh;
  width: 100vw;
  background: rgba(32,27,30, 0.92);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s cubic-bezier(.66,.13,.54,.89);
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  max-width: 430px;
  width: 90vw;
  background: #29282C;
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(41,40,44,0.30);
  padding: 32px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookie-modal-in 0.45s cubic-bezier(.68,.14,.53,.85);
}
@keyframes cookie-modal-in {
  from { transform: scale(0.90) translateY(30px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  color: var(--color-secondary);
  font-size: 1.32rem;
  font-family: var(--font-display);
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-bottom: 14px;
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #232326;
  border-radius: 9px;
  padding: 10px 13px 10px 15px;
  font-size: 1rem;
}
.cookie-option input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 20px;
  height: 20px;
}
.cookie-option label {
  flex: 1;
}
.cookie-option.essential label {
  color: #aaa;
}
.cookie-modal-buttons {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 11px;
  right: 18px;
  background: transparent;
  border: none;
  color: #FFB6B3;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  transition: color 0.14s;
}
.cookie-modal .close-modal:hover {
  color: #fff;
}

@media (max-width: 520px) {
  .cookie-banner {
    flex-direction: column;
    padding: 15px 10px;
    gap: 12px;
    font-size: 0.96rem;
  }
  .cookie-banner .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 7px;
  }
  .cookie-modal-content {
    padding: 16px 8px 14px 8px;
  }
}

/* ==================== INDUSTRIAL ACCENTS ==================== */
/* Details: subtle metallic rules and accents */
hr, .accent-bar {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, #989A9B 0%, #FFB6B3 100%);
  margin: 20px 0;
  border-radius: 1.5px;
  opacity: 0.62;
}

/* Icon (e.g., info, check) badge */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #7C176E;
  color: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.3rem;
  box-shadow: 0 2px 8px rgba(124,23,110,0.19);
  margin-right: 8px;
}

/* ==================== FORMS, INPUTS ==================== */
input[type="text"], input[type="email"], textarea {
  width: 100%;
  background: #272527;
  border: 1.5px solid #38343a;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 1rem;
  color: #F3F3F3;
  margin-bottom: 20px;
  font-family: var(--font-body);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  outline: none;
  transition: border 0.14s, box-shadow 0.13s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.5px solid var(--color-primary);
  box-shadow: 0 2px 8px #7C176E33;
}

/* ==================== HELPERS ==================== */
.hide, [hidden] { display: none !important; }
.mt-2 { margin-top: 16px !important; }
.mt-4 { margin-top: 32px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 32px !important; }
.text-center { text-align: center !important; }

/* Visually hidden (for accessibility) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ==================== INTERACTIVE FEEDBACK & EFFECTS ==================== */
button, [tabindex]:not([tabindex="-1"])  {
  outline-style: none;
  outline: none;
}
button:focus-visible, .btn-primary:focus-visible {
  outline: 2.5px solid #FFB6B3;
}

@media (hover: hover) {
  .card:hover, .testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(124,23,110,0.13);
    transition: box-shadow 0.14s;
  }
}

.testimonial-card {
  transition: box-shadow 0.16s, transform 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 5px 24px rgba(32,27,30,0.15);
  transform: translateY(-2px) scale(1.02);
}

/* ==================== UTILITIES FOR VISUAL HIERARCHY ==================== */
@media (min-width: 1200px) {
  .content-wrapper, .container, .section {
    max-width: 1160px;
  }
}

/* ==================== DARK/LIGHT TEXT SWITCHING ==================== */
.testimonial-card, .testimonial-card * {
  color: #232326 !important;
}
.testimonial-card strong {
  color: #7C176E !important;
}

/* ==================== PRINT STYLES ==================== */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  .container, .content-wrapper {
    box-shadow: none !important;
    background: none !important;
  }
  body {
    background: #fff !important;
    color: #232326 !important;
  }
}

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