/* SEYAS Baukonzept GmbH - Corporate Stylesheet */
:root {
  --bg-primary: #121417;
  --bg-secondary: #1a1e23;
  --bg-card: #22272f;
  --bg-card-hover: #2a313b;
  --accent-gold: #e5a93c;
  --accent-gold-hover: #f3ba52;
  --accent-gold-glow: rgba(229, 169, 60, 0.25);
  --text-primary: #f8f9fa;
  --text-secondary: #adb5bd;
  --text-muted: #6c757d;
  --border-color: rgba(255, 255, 255, 0.1);
  --border-gold: rgba(229, 169, 60, 0.35);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.4);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max: 1340px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 { font-size: clamp(1.75rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.35rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: 12px; }

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  background: rgba(229, 169, 60, 0.12);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--border-gold);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent-gold);
  color: #121417;
  box-shadow: 0 4px 18px var(--accent-gold-glow);
}

.btn-primary:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-gold-glow);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(229, 169, 60, 0.05);
}

.btn-phone {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-weight: 700;
}

.btn-phone:hover {
  background: var(--accent-gold);
  color: #121417;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(18, 20, 23, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

.logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.logo-wrap img {
  height: 60px;
  width: auto;
  display: block;
  transition: filter 0.35s ease;
}

.logo-wrap:hover {
  transform: translateY(-2px);
}

.logo-wrap:hover img {
  filter: drop-shadow(0 3px 14px rgba(229, 169, 60, 0.45));
}

@media (prefers-reduced-motion: reduce) {
  .logo-wrap:hover {
    transform: none !important;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  flex-shrink: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-phone-header {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  font-weight: 700;
  padding: 8px 12px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.btn-phone-header:hover {
  background: var(--accent-gold);
  color: #121417;
}

.btn-whatsapp-header {
  background: #25D366 !important;
  color: #ffffff !important;
  font-weight: 700;
  padding: 8px 14px;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-header:hover {
  background: #20ba59 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-quote-header {
  padding: 8px 16px;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 3px 5px;
  gap: 2px;
}

.lang-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 50px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  line-height: 1;
}

.lang-switcher a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.lang-switcher a.active {
  background: var(--accent-gold);
  color: #121417;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, rgba(18, 20, 23, 0.92) 0%, rgba(18, 20, 23, 0.72) 100%),
              url('../images/hero.jpg') center/cover no-repeat fixed;
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  max-width: 820px;
}

.hero-subtitle {
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-subtitle::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent-gold);
}

.hero-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-micro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(229, 169, 60, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 30px;
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.hero-micro-badge:hover {
  border-color: var(--accent-gold);
  background: rgba(229, 169, 60, 0.15);
  transform: translateY(-2px);
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-text {
  font-size: 1.22rem;
  color: #e9ecef;
  margin-bottom: 36px;
  max-width: 700px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 48px;
}

/* Trust Badges Strip */
.trust-strip {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
  position: relative;
  z-index: 5;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  min-width: 0;
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(229, 169, 60, 0.12);
  border: 1px solid rgba(229, 169, 60, 0.25);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.trust-text {
  min-width: 0;
  flex: 1;
}

.trust-text h4 {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 2px;
  color: #ffffff;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

.trust-text p {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.35;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

@media (max-width: 1023px) and (min-width: 768px) {
  .trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 20px;
  }
  .trust-item {
    flex: 0 1 calc(50% - 20px);
    max-width: 360px;
  }
}

@media (max-width: 767px) {
  .trust-strip {
    padding: 16px 0;
  }
  .trust-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .trust-item {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
  }
  .trust-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  .trust-text h4 {
    font-size: 0.94rem;
    word-break: normal;
    overflow-wrap: normal;
  }
  .trust-text p {
    font-size: 0.8rem;
    word-break: normal;
    overflow-wrap: normal;
  }
}

/* Before / After Slider Section */
.comparison-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 1040px;
  height: 560px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  user-select: none;
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  border-right: 3px solid var(--accent-gold);
}

.slider-overlay img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 1040px;
  max-width: none;
  object-fit: cover;
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--accent-gold);
  color: #121417;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  cursor: ew-resize;
  pointer-events: none;
  z-index: 10;
  font-weight: bold;
}

.badge-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 16px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 5;
}

.badge-before { left: 24px; color: #ff6b6b; border-left: 3px solid #ff6b6b; }
.badge-after { right: 24px; color: var(--accent-gold); border-right: 3px solid var(--accent-gold); }

/* Range Input for Accessible Control */
.slider-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 20;
}

/* Services Grid */
.services-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  border-color: var(--border-gold);
}

.service-card:hover::before {
  background: var(--accent-gold);
}

.service-icon {
  font-size: 2.2rem;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.service-features li::before {
  content: "✓";
  color: var(--accent-gold);
  font-weight: bold;
}

/* 4-Step Process */
.process-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  position: relative;
}

.process-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 26px;
  position: relative;
}

.process-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(229, 169, 60, 0.35);
  line-height: 1;
  margin-bottom: 14px;
}

/* Projects / Portfolio Section */
.projects-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--accent-gold);
  color: #121417;
  border-color: var(--accent-gold);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 32px;
}

.project-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.project-thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-thumb img {
  transform: scale(1.06);
}

.project-category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(18, 20, 23, 0.85);
  backdrop-filter: blur(6px);
  color: var(--accent-gold);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-location {
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Social Media Showcase */
.social-showcase {
  padding: 80px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.social-banner {
  background: linear-gradient(135deg, #1f242c 0%, #171a1f 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.social-info {
  max-width: 600px;
}

.social-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  font-weight: 700;
}

.btn-youtube {
  background: #ff0000;
  color: #fff;
  font-weight: 700;
}

/* Regional Presence / Berliner Bezirke Section (Bezirk-SEO) */
.bezirke-section {
  padding: 100px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.bezirke-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 28px;
}

.bezirk-card {
  background: linear-gradient(145deg, #1f252f 0%, #171a1f 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.bezirk-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent-gold);
  transition: height 0.35s ease;
}

.bezirk-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.bezirk-card:hover::after {
  height: 100%;
}

.bezirk-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  background: rgba(229, 169, 60, 0.12);
  border: 1px solid var(--border-gold);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.bezirk-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.bezirk-focus {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 14px;
  display: block;
}

.bezirk-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.bezirk-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.bezirk-link:hover {
  color: var(--accent-gold-hover);
  transform: translateX(4px);
}

/* FAQ Section (Häufig gestellte Fragen) */
.faq-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.faq-accordion-wrap {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(229, 169, 60, 0.3);
}

.faq-item.active {
  border-color: var(--accent-gold);
  background: #1f252f;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  gap: 18px;
}

.faq-question:hover {
  color: var(--accent-gold);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--accent-gold);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: rgba(229, 169, 60, 0.2);
  border-color: var(--border-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  opacity: 1;
}

.faq-answer-inner {
  padding: 0 26px 24px 26px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.98rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px;
}

/* Contact & Quote Form */
.contact-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.form-alert.success {
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid #2ecc71;
  color: #2ecc71;
}

.form-alert.error {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid #e74c3c;
  color: #ff7675;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #dee2e6;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

select.form-control option {
  background: #1a1e23;
  color: #fff;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.privacy-check input {
  margin-top: 4px;
}

/* Footer */
.footer {
  background: #0d0f12;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 30px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 20px;
  display: inline-block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.footer-logo:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 3px 10px rgba(229, 169, 60, 0.35));
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-gold);
  margin-top: 8px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--accent-gold);
  color: #121417;
}

.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 20, 23, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-gold);
  padding: 10px 14px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 999;
  justify-content: space-between;
  gap: 10px;
}

.mobile-sticky-bar .btn {
  flex: 1;
  padding: 10px 12px;
  font-size: 0.88rem;
  white-space: nowrap;
}

/* Categorized Address Box */
.address-card-styled {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 24px;
  border-left: 3px solid var(--accent-gold);
}

.address-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

.address-row:first-child {
  padding-top: 0;
}

.address-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.address-row .addr-icon {
  font-size: 1.15rem;
  width: 24px;
  flex-shrink: 0;
  text-align: center;
}

.address-row .addr-text {
  color: #dee2e6;
  line-height: 1.4;
}

.address-row .addr-text strong {
  color: #ffffff;
  font-size: 0.98rem;
}

.address-row .addr-badge {
  font-size: 0.72rem;
  background: rgba(229, 169, 60, 0.15);
  color: var(--accent-gold);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 6px;
  vertical-align: middle;
}

/* Office Map Card */
.map-card {
  margin-top: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-card iframe {
  width: 100%;
  height: 240px;
  border: none;
  display: block;
}

.map-actions {
  padding: 14px 16px;
  background: var(--bg-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--border-color);
}

.map-actions .btn {
  flex: 1;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ═══════════════════════════════════════════════════════
   MEGA MENU & REGIONAL HUBS NAVIGATION
   ═══════════════════════════════════════════════════════ */
.mega-nav-wrap {
  position: relative;
}

.mega-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(229, 169, 60, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  color: var(--accent-gold) !important;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.mega-menu-trigger:hover,
.mega-menu-trigger.active {
  background: var(--accent-gold);
  color: #121417 !important;
  box-shadow: 0 0 16px rgba(229, 169, 60, 0.35);
}

.mega-menu-arrow {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}

.mega-menu-trigger.active .mega-menu-arrow {
  transform: rotate(180deg);
}

.mega-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 880px;
  max-width: 95vw;
  background: #161a22;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(229, 169, 60, 0.15);
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  text-align: left;
}

.mega-dropdown.open {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.mega-header-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.mega-header-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mega-cols-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
}

.mega-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-links-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.mega-link-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mega-link-item:hover {
  background: rgba(229, 169, 60, 0.09);
  border-color: var(--border-gold);
  transform: translateX(4px);
}

.mega-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(229, 169, 60, 0.15);
  border: 1px solid rgba(229, 169, 60, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.mega-item-text strong {
  display: block;
  color: #fff;
  font-size: 0.88rem;
  margin-bottom: 2px;
}

.mega-item-text span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.mega-footer-bar {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.mega-footer-bar a.btn,
.mega-footer-bar .btn-primary,
.nav-links a.btn-primary,
.calc-box button.btn-primary {
  background: var(--accent-gold, #e5a93c) !important;
  color: #121417 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(229, 169, 60, 0.4) !important;
}

.mega-footer-bar a.btn:hover,
.mega-footer-bar .btn-primary:hover,
.nav-links a.btn-primary:hover,
.calc-box button.btn-primary:hover {
  background: #f5ba50 !important;
  color: #000000 !important;
  box-shadow: 0 6px 22px rgba(229, 169, 60, 0.6) !important;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════
   QUICK QUOTE CALCULATOR BOX
   ═══════════════════════════════════════════════════════ */
.quick-calc-section {
  padding: 50px 0;
  background: #11141a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.calc-box {
  background: linear-gradient(145deg, #1d232c 0%, #15181f 100%);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════
   SEO INTERNAL LINKING MATRIX (FOOTER)
   ═══════════════════════════════════════════════════════ */
.seo-matrix-wrap {
  padding: 40px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 36px;
}
.seo-matrix-title-row {
  margin-bottom: 24px;
}
.seo-matrix-title-row h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 6px;
}
.seo-matrix-title-row p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.seo-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.seo-matrix-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(229, 169, 60, 0.25);
}
.seo-matrix-links,
.seo-matrix-col ul {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.seo-matrix-links li,
.seo-matrix-col ul li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.seo-matrix-links a,
.seo-matrix-col ul li a {
  color: var(--text-secondary) !important;
  font-size: 0.88rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: color 0.2s, transform 0.2s !important;
  text-decoration: none !important;
}
.seo-matrix-links a::before,
.seo-matrix-col ul li a::before {
  content: "›" !important;
  color: var(--accent-gold) !important;
  font-weight: bold !important;
  font-size: 1.1rem !important;
}
.seo-matrix-links a:hover,
.seo-matrix-col ul li a:hover {
  color: var(--accent-gold) !important;
  transform: translateX(4px) !important;
}

@media (max-width: 992px) {
  .mega-nav-wrap {
    width: 100% !important;
  }
  .mega-menu-trigger {
    width: 100% !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
  }
  .mega-dropdown,
  .mega-dropdown.open {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    transform: none !important;
    box-shadow: none !important;
    padding: 16px 12px !important;
    margin: 10px 0 !important;
    background: #111419 !important;
    border: 1px solid rgba(229, 169, 60, 0.35) !important;
    border-radius: 12px !important;
    max-height: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }
  .mega-dropdown.open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .mega-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
  }
  .mega-header-title {
    font-size: 0.76rem !important;
  }
  .mega-header-badge {
    font-size: 0.72rem !important;
    padding: 4px 10px !important;
  }
  .mega-cols-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .mega-col-title {
    font-size: 0.9rem !important;
    margin-bottom: 10px !important;
  }
  .mega-links-list {
    gap: 8px !important;
  }
  .mega-link-item {
    padding: 10px 12px !important;
    gap: 12px !important;
    border-radius: 8px !important;
  }
  .mega-item-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.1rem !important;
  }
  .mega-item-text strong {
    font-size: 0.88rem !important;
  }
  .mega-item-text span {
    font-size: 0.75rem !important;
  }
  .mega-footer-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-top: 16px !important;
    padding-top: 14px !important;
  }
  .mega-footer-bar a.btn {
    width: 100% !important;
    text-align: center !important;
    padding: 11px 16px !important;
  }
  .calc-box {
    padding: 24px 16px !important;
  }
}

/* Responsive Media Queries */

/* iOS Safari Input Auto-Zoom Prevention (Crucial for iPhones) */
@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea,
  .form-control {
    font-size: 16px !important; /* Prevents iOS WebKit viewport zoom */
  }
}

@media (max-width: 1240px) {
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 0.84rem;
  }
  .btn-phone-header {
    display: none;
  }
}

/* Tablets, iPads, Foldables (Z Fold unfolded) */
@media (max-width: 992px) {
  body { padding-bottom: 74px; }
  .nav-links { display: none; }
  .mobile-menu-toggle { display: block; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .slider-container { height: 400px; }
  .mobile-sticky-bar { display: flex; }
  
  /* Fix iOS Safari background-attachment: fixed zoom bug */
  .hero {
    background-attachment: scroll !important;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 20px;
  }
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 22px;
  }
}

/* Standard Mobile & Small Tablets */
@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
  .nav-actions .btn-phone,
  .nav-actions .btn-phone-header,
  .nav-actions .btn-primary,
  .nav-actions .btn-quote-header,
  .nav-actions .btn-whatsapp-header {
    display: none;
  }
  .header .nav-container {
    height: 68px;
  }
  .logo-wrap img {
    height: 44px;
  }
  .lang-switcher a {
    padding: 3px 6px;
    font-size: 0.75rem;
  }
  .hero {
    padding: 95px 0 45px;
    min-height: auto;
  }
  .hero-title {
    font-size: clamp(1.35rem, 4.5vw, 1.85rem);
    line-height: 1.24;
  }
  .hero-title span {
    display: block;
    color: var(--accent-gold);
    margin-top: 2px;
  }
  .hero-text {
    font-size: clamp(0.9rem, 3.4vw, 1rem);
    line-height: 1.58;
    margin-bottom: 24px;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta .btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.95rem;
  }
  .section-header {
    margin-bottom: 40px;
  }
  .section-tag {
    font-size: 0.76rem;
    padding: 5px 14px;
    margin-bottom: 12px;
  }
  .section-desc {
    font-size: 0.95rem;
  }
  .services-section,
  .projects-section,
  .process-section,
  .comparison-section {
    padding: 60px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .slider-container {
    height: 280px;
    touch-action: pan-y;
  }
  .slider-handle {
    width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }
  .badge-label {
    font-size: 0.72rem;
    padding: 4px 10px;
    bottom: 12px;
  }
  .badge-before { left: 12px; }
  .badge-after { right: 12px; }
  .social-banner {
    padding: 24px 18px;
  }
  .social-btns {
    width: 100%;
    flex-direction: column;
  }
  .social-btns .btn {
    width: 100%;
  }
  .contact-card {
    padding: 22px 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer {
    padding: 45px 0 20px;
  }
}

/* iPhones & Standard Smartphones (iPhone 12/13/14/15/16, Galaxy S, Pixel) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .header .nav-container {
    height: 62px;
  }
  .logo-wrap img {
    height: 38px;
  }
  .lang-switcher {
    padding: 2px 4px;
  }
  .lang-switcher a {
    padding: 2px 5px;
    font-size: 0.7rem;
  }
  .hero {
    padding: 85px 0 35px;
  }
  .hero-subtitle {
    font-size: 0.74rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
  }
  .hero-title {
    font-size: clamp(1.15rem, 5.1vw, 1.38rem);
    line-height: 1.22;
    margin-bottom: 14px;
    letter-spacing: -0.2px;
  }
  .hero-title span {
    display: block;
    color: var(--accent-gold);
    margin-top: 2px;
  }
  .hero-text {
    font-size: clamp(0.84rem, 3.2vw, 0.9rem);
    line-height: 1.5;
    margin-bottom: 20px;
  }
  .hero-cta {
    margin-bottom: 24px;
    gap: 10px;
  }
  .hero-cta .btn {
    padding: 12px 16px;
    font-size: 0.88rem;
  }
  .section-header {
    margin-bottom: 28px;
  }
  .section-tag {
    font-size: 0.72rem;
    padding: 4px 12px;
    margin-bottom: 10px;
  }
  .section-header h2 {
    font-size: clamp(1.15rem, 4.6vw, 1.35rem);
    line-height: 1.28;
  }
  .section-desc {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .service-card {
    padding: 24px 16px;
  }
  .service-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
  }
  .process-card {
    padding: 22px 16px;
  }
  .process-num {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  .slider-container {
    height: 240px;
  }
  .contact-card {
    padding: 18px 14px;
  }
  .contact-card h3 {
    font-size: 1.15rem;
  }
  .form-group label {
    font-size: 0.82rem;
  }
  .mobile-sticky-bar a {
    font-size: 0.76rem;
    padding: 8px 4px;
  }
}

/* Compact iPhones & Ultra-Small Screens (iPhone SE 1/2/3, iPhone 12/13 mini, iPhone 8, 320px-375px) */
@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }
  .hero {
    padding: 78px 0 30px;
  }
  .hero-title {
    font-size: clamp(1.05rem, 4.8vw, 1.18rem);
    line-height: 1.22;
  }
  .hero-title span {
    display: block;
    margin-top: 2px;
  }
  .hero-text {
    font-size: 0.8rem;
    line-height: 1.48;
  }
  .section-header h2 {
    font-size: 1.1rem;
    line-height: 1.25;
  }
  .btn {
    padding: 11px 14px;
    font-size: 0.85rem;
  }
  .service-card {
    padding: 18px 12px;
  }
  .service-features li {
    font-size: 0.82rem;
  }
  .slider-container {
    height: 200px;
  }
  .slider-handle {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
  }
  .badge-label {
    font-size: 0.65rem;
    padding: 3px 6px;
  }
  .contact-card {
    padding: 16px 12px;
  }
  .lang-switcher a {
    padding: 2px 4px;
    font-size: 0.68rem;
  }
}
