/* =====================================================
   MAMIGO Hausmeister – style.css
   ===================================================== */

/* ----- CSS Variables ----- */
:root {
  --brand-500: #8B7150;
  --brand-600: #745D41;
  --brand-100: #EDE8E1;
  --text-900: #0B0B0B;
  --text-600: #5E5E5E;
  --text-300: #A0A0A0;
  --text-200: #C0C0C0;
  --text-0: #FFFFFF;
  --surface-900: #111111;
  --brand-300: #C4AA88;
  --brand-400: #A88C64;
  --surface-0: #FFFFFF;
  --surface-50: #F6F6F6;
  --border-200: #E6E6E6;
  --radius-button: 12px;
  --radius-card: 16px;
  --radius-input: 12px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --max-w: 1280px;
  --nav-h-mobile: 56px;
  --nav-h-desktop: 80px;
  --nav-h: 80px;
}

/* ----- Reset ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-900);
  background: var(--surface-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ----- Utility ----- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container { padding: 0 24px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 32px; }
}

.section-pad {
  padding: 40px 0;
}

@media (min-width: 640px) {
  .section-pad { padding: 48px 0; }
}

@media (min-width: 1024px) {
  .section-pad { padding: 80px 0; }
}

.section-header-center {
  text-align: center;
  margin-bottom: 32px;
}

@media (min-width: 1024px) {
  .section-header-center { margin-bottom: 48px; }
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-600);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-900);
  margin-bottom: 8px;
}

.section-title-xl {
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-900);
  margin-bottom: 8px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-600);
  font-weight: 300;
  line-height: 1.7;
  max-width: 700px;
}

.section-desc-lg {
  font-size: 18px;
  color: var(--text-600);
  line-height: 1.7;
  font-weight: 300;
}

.section-cta-center {
  text-align: center;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-button);
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--brand-500);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: var(--brand-600);
}

/* React uses light gray border, NOT brand border for secondary */
.btn-secondary {
  background: transparent;
  color: var(--text-900);
  border: 1px solid var(--border-200);
}

.btn-secondary:hover {
  background: var(--surface-50);
}

/* Blog "view all" button uses brand border */
.btn-blog-outline {
  background: transparent;
  color: var(--brand-600);
  border: 2px solid var(--brand-500);
}

.btn-blog-outline:hover {
  background: var(--brand-500);
  color: #fff;
}

.btn-hero-glass {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}

.btn-hero-glass:hover {
  background: rgba(255,255,255,0.2);
}

.btn-footer-outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  background: transparent;
}

.btn-footer-outline:hover {
  background: rgba(255,255,255,0.1);
}

/* ----- Navbar ----- */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--nav-h-mobile);
  background: rgba(255,255,255,1);
  border-bottom: 1px solid rgba(230,230,230,0.5);
  transition: background 0.3s, backdrop-filter 0.3s, -webkit-backdrop-filter 0.3s, border-color 0.3s, box-shadow 0.3s;
}

@media (min-width: 768px) {
  #main-nav {
    height: var(--nav-h-desktop);
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

#main-nav.nav-scrolled {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(230,230,230,0.5);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (min-width: 640px) {
  .nav-inner { padding: 0 24px; }
}

@media (min-width: 1024px) {
  .nav-inner { padding: 0 32px; }
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

@media (min-width: 640px) {
  .nav-logo img { height: 56px; }
}

@media (min-width: 768px) {
  .nav-logo img { height: 80px; }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-600);
  padding: 8px 12px;
  border-radius: var(--radius-button);
  white-space: nowrap;
  text-align: center;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text-900);
  background: var(--surface-50);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .nav-cta { display: flex; }
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-900);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-phone:hover {
  color: var(--brand-600);
}

.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-900);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .nav-hamburger { display: none; }
}

.nav-hamburger:hover {
  background: var(--surface-50);
}

/* ----- Mobile Menu ----- */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0,0,0,0.2);
}

.mobile-menu-overlay.open {
  display: block;
}

.mobile-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--nav-h-desktop);
  z-index: 50;
  background: var(--surface-0);
  border-radius: 0 0 16px 16px;
  border: 1px solid var(--border-200);
  border-top: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 8px 16px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), opacity 0.25s;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
}

.mobile-menu-links a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-900);
  border-radius: var(--radius-button);
  transition: background 0.2s;
}

.mobile-menu-links a:hover {
  background: var(--surface-50);
}


.mobile-menu-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 4px;
}

.mobile-menu-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-500);
  padding: 12px 16px;
  border: none;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero { min-height: 50vh; }
}

.hero-slider-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 16px;
  padding-top: calc(var(--nav-h-desktop) + 40px);
  padding-bottom: 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-content {
    max-width: min(720px, 78vw);
  }
}

.hero-content h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .hero-content h1 { font-size: 48px; }
}

.hero-accent {
  color: var(--brand-500);
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 0 10px rgba(0,0,0,0.35);
  margin-bottom: 8px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}

.hero-tagline {
  font-size: 14px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 0 10px rgba(0,0,0,0.35);
  margin-top: 8px;
  max-width: 480px;
}

/* ----- Before/After Slider ----- */
.ba-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

.ba-after-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ba-before-wrap {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}

.ba-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  cursor: ew-resize;
}

.ba-slider[data-variant="hero"] .ba-handle {
  justify-content: flex-end;
  padding-bottom: 8px;
}

.ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: white;
  box-shadow: 0 0 4px rgba(0,0,0,0.8);
}

.ba-circle {
  position: relative;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 8px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.3);
  flex-shrink: 0;
}

/* Hero-only elements inside slider */
.ba-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  z-index: 10;
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.2);
  pointer-events: none;
}

.ba-hint {
  position: absolute;
  bottom: 56px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 30;
  pointer-events: none;
  transition: opacity 0.5s;
}

/* Card slider wrapper */
.service-card-slider {
  position: relative;
  height: 224px;
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

@media (min-width: 640px) {
  .service-card-slider { height: 256px; }
}

@media (min-width: 768px) {
  .service-card-slider { height: 288px; }
}

@media (min-width: 1024px) {
  .service-card-slider { height: 320px; }
}

/* Rotating slider tabs overlay */
.slider-tabs-overlay {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  gap: 8px;
}

.slider-tab {
  position: relative;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.2s;
  background: rgba(0,0,0,0.4);
  color: rgba(255,255,255,0.9);
  font-family: inherit;
}

.slider-tab.active {
  background: rgba(255,255,255,0.95);
  color: var(--text-900);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.tab-progress {
  position: absolute;
  inset: 0;
  background: rgba(139,113,80,0.2);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 0;
}

/* ----- Marquee animation ----- */
@keyframes animate-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.marquee-track {
  animation: animate-scroll 45s linear infinite;
}

/* ----- Partner Carousel (Testimonial Marquee) ----- */
.partner-carousel {
  background: var(--surface-0);
  padding: 24px 0 32px;
  overflow: hidden;
}

.carousel-label {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-600);
  margin-bottom: 24px;
}

.marquee-outer {
  position: relative;
  overflow: hidden;
}

.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: fit-content;
}

.testimonial-marquee-card {
  flex-shrink: 0;
  width: 288px;
  background: var(--surface-50);
  border: 1px solid var(--border-200);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .testimonial-marquee-card {
    width: 320px;
  }
}

.marquee-quote-icon {
  color: rgba(139,113,80,0.4);
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1;
  display: flex;
  flex-shrink: 0;
}

.marquee-quote-text {
  font-size: 14px;
  color: var(--text-700);
  font-style: italic;
  line-height: 1.6;
  flex: 1;
}

.marquee-quote-source {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-900);
  margin-top: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--border-200);
}

/* ----- Process Steps ----- */
.process-section {
  background: var(--surface-0);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

.process-step {
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
}

.process-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--brand-500);
}

.process-step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 15px;
  color: var(--text-600);
  line-height: 1.6;
}

/* ----- Services ----- */
.services-section {
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .services-grid { gap: 24px; }
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

.service-card {
  background: var(--surface-0);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border: 1px solid var(--border-200);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.service-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (min-width: 640px) {
  .service-card-body { padding: 24px; }
}

@media (min-width: 1024px) {
  .service-card-body { padding: 24px 32px 32px; }
}

.service-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-desc {
  font-size: 14px;
  color: var(--text-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  margin-bottom: 24px;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 14px;
  color: var(--text-600);
  line-height: 1.5;
}

.service-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ----- Service Types ----- */
.service-types-section {
  background: var(--surface-0);
}

.service-types-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .service-types-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

.service-type-card {
  background: var(--surface-0);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-card);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .service-type-card { padding: 24px; }
}

@media (min-width: 1024px) {
  .service-type-card { padding: 32px 40px; }
}

.service-type-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.service-type-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-500);
  flex-shrink: 0;
}

.service-type-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-900);
}

.service-type-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 16px;
}

@media (min-width: 768px) {
  .service-type-list { gap: 24px; }
}

.service-type-list li {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  font-size: 16px;
  color: var(--text-600);
  line-height: 1.5;
}

/* ----- About ----- */
.about-section {
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-title {
  margin-bottom: 32px;
}

.about-subtitle {
  color: var(--brand-600);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 24px;
  line-height: 1.4;
}

.about-text {
  font-size: 16px;
  color: var(--text-600);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-text strong {
  color: var(--text-900);
  font-weight: 700;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .values-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.value-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface-50);
  border-radius: var(--radius-card);
  padding: 16px;
}

.value-check {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.value-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 4px;
}

.value-item p {
  font-size: 14px;
  color: var(--text-600);
  line-height: 1.6;
}

.about-achievements-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-900);
  text-align: center;
  margin-bottom: 24px;
}

.about-achievements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.achievement-card {
  background: var(--surface-0);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-200);
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

.achievement-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.achievement-value {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--brand-500);
  line-height: 1;
  margin-bottom: 8px;
}

.achievement-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 4px;
}

.achievement-desc {
  font-size: 14px;
  color: var(--text-600);
}

.about-location-card {
  background: var(--surface-0);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-card);
  padding: 24px;
}

.about-location-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 16px;
}

.about-location-text {
  font-size: 14px;
  color: var(--text-600);
  line-height: 1.6;
}

/* ----- Blog ----- */
.blog-section {
}

.blog-header {
  margin-bottom: 40px;
}

@media (min-width: 1024px) {
  .blog-header { margin-bottom: 48px; }
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .blog-grid { gap: 24px; }
}

@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

.blog-card {
  background: var(--surface-0);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-200);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .blog-card-body { padding: 24px 32px 32px; }
}

@media (min-width: 768px) {
  .blog-card-body { padding: 24px 32px 32px; }
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-600);
  margin-bottom: 8px;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-900);
  line-height: 1.35;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.blog-card:hover h3 {
  color: var(--brand-600);
}

.blog-card p {
  font-size: 14px;
  color: var(--text-600);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-cta {
  text-align: center;
}

/* ----- Contact ----- */
.contact-section {
  background: var(--surface-0);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 48px;
  margin-bottom: 24px;
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 448px 1fr; gap: 24px; align-items: stretch; }
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.contact-logo-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.contact-info-card {
  background: var(--surface-0);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.contact-info-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 16px;
}

.contact-dl {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-dl-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  padding: 4px 0;
}

.contact-dl-row dt {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-600);
  width: 96px;
  flex-shrink: 0;
}

.contact-dl-row dd {
  font-size: 16px;
  color: var(--text-900);
  line-height: 1.5;
}

.contact-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-500);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--brand-600);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--surface-0);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-200);
}

.contact-form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid var(--border-200);
  border-radius: var(--radius-input);
  font-size: 16px;
  font-family: inherit;
  color: var(--text-900);
  background: var(--surface-0);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

@media (min-width: 768px) {
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 16px 16px;
  }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(139,113,80,0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  padding-right: 40px;
}

.select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-600);
  pointer-events: none;
  display: flex;
  align-items: center;
}

/* ----- Custom Select ----- */
.custom-select {
  position: relative;
  user-select: none;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: var(--surface-0);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-input, 8px);
  font-size: 15px;
  color: var(--text-600);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 44px;
}

.custom-select:focus .custom-select-trigger,
.custom-select.open .custom-select-trigger {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(164,132,90,0.15);
  outline: none;
}

.custom-select-trigger .custom-select-text {
  flex: 1;
}

.custom-select-trigger .custom-select-icon {
  display: flex;
  align-items: center;
  color: var(--brand-500);
  flex-shrink: 0;
  width: 16px;
}

.custom-select-chevron {
  flex-shrink: 0;
  color: var(--text-400);
  transition: transform 0.2s;
}

.custom-select.open .custom-select-chevron {
  transform: rotate(180deg);
}

.custom-select.selected .custom-select-text {
  color: var(--text-900);
}

.custom-select-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface-0);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-input, 8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  z-index: 100;
  list-style: none;
  padding: 4px;
  margin: 0;
  max-height: 280px;
  overflow-y: auto;
}

.custom-select.open .custom-select-list {
  display: block;
}

.custom-select-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-700);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.custom-select-option svg {
  flex-shrink: 0;
  color: var(--brand-500);
}

.custom-select-option:hover,
.custom-select-option.focused {
  background: var(--brand-50, #f5efe6);
  color: var(--text-900);
}

.custom-select-option.selected {
  background: var(--brand-100);
  color: var(--text-900);
  font-weight: 500;
}

.form-error-msg {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}

.form-error-msg.visible {
  display: block;
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 16px;
  margin-top: 4px;
}

.form-feedback {
  display: none;
  padding: 16px;
  border-radius: var(--radius-input);
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
}

.form-feedback.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: block;
}

.form-feedback.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

/* ----- Trust Badges ----- */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 24px 0 0;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-900);
  background: var(--brand-100);
  border: 1px solid var(--border-200);
  border-radius: 9999px;
  padding: 8px 24px;
}

@media (max-width: 639px) {
  .trust-badges {
    flex-direction: column;
    align-items: stretch;
  }
  .trust-badge {
    width: 100%;
    justify-content: flex-start;
  }
}

/* ----- FAQ (native <details>) ----- */
/* ----- FAQ Accordion ----- */
.faq-section {
}

.faq-title {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 8px;
  line-height: 1.2;
}

.faq-intro {
  font-size: 15px;
  color: var(--text-600);
  line-height: 1.7;
  max-width: 700px;
  margin-bottom: 32px;
}

.faq-list {
  width: 100%;
}

.faq-item {
  border-top: 1px solid var(--border-200);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border-200);
}

.faq-summary {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  user-select: none;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-500);
  flex-shrink: 0;
}

.faq-q-text {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  color: var(--text-900);
  line-height: 1.4;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-600);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* Smooth height animation via grid trick */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom 0.35s ease;
}

.faq-item.open .faq-answer-inner {
  padding-bottom: 32px;
}

.faq-answer-inner p {
  font-size: 16px;
  color: var(--text-600);
  line-height: 1.7;
  font-weight: 300;
  padding-right: 32px;
}

/* ----- Stepper ----- */
.stepper {
  display: flex;
  margin: 48px 0 0;
}

.stepper-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.stepper-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 23px;
  left: calc(50% + 30px);
  right: calc(-50% + 30px);
  height: 2px;
  background: var(--border-200);
}

.stepper-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-500);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.stepper-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-900);
  margin-bottom: 8px;
  line-height: 1.4;
}

.stepper-step p {
  font-size: 14px;
  color: var(--text-600);
  line-height: 1.6;
}

@media (max-width: 639px) {
  .stepper {
    flex-direction: column;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .stepper-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 0 0 32px;
  }
  .stepper-step:not(:last-child)::after {
    top: 48px;
    left: 23px;
    right: auto;
    width: 2px;
    height: calc(100% - 24px);
  }
  .stepper-num {
    margin-bottom: 0;
    margin-right: 16px;
    flex-shrink: 0;
  }
  .stepper-content {
    display: flex;
    flex-direction: column;
  }
}

/* ----- Upravnik: 3-col feature cards ----- */
.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 640px) {
  .cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ----- Footer CTA ----- */
.footer-cta {
  background: var(--text-900);
  padding: 64px 0 48px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-cta-heading {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.footer-cta-text {
  font-size: clamp(14px, 1.5vw, 16px);
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.footer-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-cta-copy {
  font-size: clamp(12px, 1.2vw, 14px);
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}

/* ----- Fade-in animation ----- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Blog Listing Page ----- */
.blog-listing-hero {
  background: var(--surface-50);
  padding: calc(var(--nav-h-desktop) + 64px) 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border-200);
}

.blog-listing-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--text-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.blog-listing-hero p {
  font-size: 18px;
  color: var(--text-600);
  max-width: 560px;
  margin: 0 auto;
}

.blog-listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 72px 0;
}

@media (min-width: 768px) {
  .blog-listing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ----- Blog Post Page ----- */
.blog-post-hero {
  padding: calc(var(--nav-h-desktop) + 40px) 0 56px;
  border-bottom: 1px solid var(--border-200);
}

.blog-post-breadcrumb {
  font-size: 13px;
  color: var(--text-600);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-post-breadcrumb a {
  color: var(--brand-500);
  font-weight: 500;
}

.blog-post-breadcrumb a:hover {
  color: var(--brand-600);
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-600);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.blog-post-meta .tag {
  background: var(--brand-100);
  color: var(--brand-600);
  padding: 4px 8px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 12px;
}

.blog-post-hero h1 {
  font-size: clamp(26px, 3.5vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-900);
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-bottom: 24px;
}

.blog-post-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-card);
  margin-top: 40px;
}

.blog-post-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 0 80px;
}

.blog-post-content h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text-900);
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.blog-post-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-900);
  margin: 28px 0 12px;
}

.blog-post-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-600);
  margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.blog-post-content li {
  font-size: 16px;
  color: var(--text-600);
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ----- Mobile responsive overrides ----- */
@media (max-width: 767px) {
  .hero-content { padding-top: calc(var(--nav-h-mobile) + 24px); }
  .mobile-menu { top: var(--nav-h-mobile); }
  .contact-form-wrap { padding: 20px; }
}

/* ----- Individual Blog Post CTA & Related Posts ----- */
.blog-post-footer-cta {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border-200);
  text-align: center;
}

.blog-post-footer-cta h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 12px;
}

.blog-post-footer-cta p {
  font-size: 16px;
  color: var(--text-600);
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.blog-post-footer-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .blog-post-footer-cta-actions {
    flex-direction: row;
    max-width: none;
  }
}

.related-posts {
  background: var(--surface-50);
  border-top: 1px solid var(--border-200);
  padding: 64px 0;
}

.related-posts h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .related-posts h2 { font-size: 30px; }
}


.service-features li strong {
  font-weight: 600;
  color: var(--text-900);
}

/* ----- Service Page Hero Grid ----- */
.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .service-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }
}

.service-hero-slider-wrap {
  position: relative;
  width: 100%;
  height: 300px;
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--radius-card);
  overflow: hidden;
}
