/* ============================================================
   DC Steel Expert — modern stylesheet (2026-07 redesign)
   Pure CSS, zero dependencies. Dark navy + orange accent system.
   ============================================================ */

:root {
  --bg-dark-1: #0b1220;
  --bg-dark-2: #0f172a;
  --bg-dark-3: #1e293b;
  --accent: #ea580c;
  --accent-2: #f97316;
  --accent-soft: #ffedd5;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --line: #e2e8f0;
  --text: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --danger: #dc2626;
  --success: #16a34a;
  --radius: 14px;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 14px rgba(15, 23, 42, .06);
  --shadow-2: 0 14px 34px rgba(15, 23, 42, .14);
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface-2);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

::selection {
  background: rgba(234, 88, 12, .25);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============ Scroll progress ============ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  z-index: 1100;
}

/* ============ Header ============ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 18, 32, .82);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-container {
  max-width: 1140px;
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  color: #f1f5f9;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
}

nav a {
  position: relative;
  display: block;
  color: var(--muted-2);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}

nav a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

nav a:hover,
nav a.active {
  color: #fff;
}

nav a:hover::after,
nav a.active::after {
  transform: scaleX(1);
}

/* Mobile nav (CSS-only checkbox toggle) */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  color: #f1f5f9;
  font-size: 1.7rem;
  line-height: 1;
  padding: 6px 10px;
  margin-left: auto;
  border-radius: 8px;
  transition: background .2s ease;
}

.nav-toggle-label:hover {
  background: rgba(255, 255, 255, .08);
}

@media (max-width: 992px) {
  .nav-toggle-label {
    display: block;
  }

  nav ul {
    display: none;
    flex-direction: column;
    gap: 2px;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(11, 18, 32, .97);
    backdrop-filter: blur(12px);
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .nav-toggle:checked + .nav-toggle-label + nav ul {
    display: flex;
  }

  nav a {
    padding: 13px 16px;
  }

  nav a::after {
    display: none;
  }
}

/* ============ Sections (shared) ============ */
section {
  padding: 96px 20px;
  scroll-margin-top: var(--header-h);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-align: center;
  margin-bottom: 56px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--bg-dark-2);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ============ Buttons ============ */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 6px 20px rgba(234, 88, 12, .35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(234, 88, 12, .45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .4);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, .08);
  border-color: #fff;
  transform: translateY(-2px);
}

/* Ripple (JS injects span.ripple-effect) */
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transform: scale(0);
  opacity: .8;
  animation: ripple .6s ease-out forwards;
  pointer-events: none;
}

.btn-secondary .ripple-effect,
.service-action .ripple-effect {
  background: rgba(234, 88, 12, .22);
}

@keyframes ripple {
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* ============ Hero ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 60px) 20px 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 550px at 85% -10%, rgba(234, 88, 12, .22), transparent 60%),
    radial-gradient(850px 480px at -10% 110%, rgba(14, 165, 233, .15), transparent 60%),
    linear-gradient(160deg, var(--bg-dark-1) 0%, var(--bg-dark-2) 55%, #131c33 100%);
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
  background-size: 52px 52px;
  animation: gridMove 22s linear infinite;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(248, 250, 252, .9));
  pointer-events: none;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(52px, 52px); }
}

.hero-logo {
  height: 150px;
  width: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .45));
}

.hero-content {
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.15;
  color: #fff;
}

.hero h1 .accent {
  background: linear-gradient(135deg, #fb923c, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  margin: 0 auto 42px;
  max-width: 720px;
  color: #c7d2e3;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ About ============ */
.about {
  background: var(--surface-2);
  background-image: radial-gradient(rgba(15, 23, 42, .05) 1px, transparent 1px);
  background-size: 22px 22px;
}

.about-content {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  position: relative;
  background:
    radial-gradient(500px 260px at 80% -10%, rgba(234, 88, 12, .28), transparent 60%),
    linear-gradient(150deg, var(--bg-dark-3), var(--bg-dark-2));
  height: 420px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3.4rem;
  box-shadow: var(--shadow-2);
}

.about-slideshow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}

.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.about-slide.active {
  opacity: 1;
}

.cert-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  height: 52px;
  width: auto;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(255, 255, 255, .95);
  padding: 5px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.cert-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
}

.about-text h3 {
  font-size: 1.55rem;
  margin-bottom: 20px;
  padding-bottom: 14px;
  color: var(--bg-dark-2);
  text-transform: uppercase;
  letter-spacing: .04em;
  position: relative;
}

.about-text h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.about-text p {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-contact {
  margin-top: 24px;
}

/* ============ Services ============ */
.services {
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.services-grid > .services-row-2 {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 26px;
  text-align: center;
  box-shadow: var(--shadow-1);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #fdba74;
  box-shadow: var(--shadow-2);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 16px;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--bg-dark-2);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.service-card p {
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.65;
}

.service-action {
  display: flex;
  width: fit-content;
  margin: 22px auto 0;
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.service-action:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ============ Gallery ============ */
.gallery {
  background: var(--surface-2);
}

.gallery-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-group {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.gallery-group[open] {
  border-color: #fdba74;
  box-shadow: var(--shadow-1);
}

.gallery-group-summary {
  list-style: none;
  padding: 19px 22px;
  cursor: pointer;
  font-weight: 700;
  color: var(--bg-dark-2);
  text-transform: uppercase;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background .2s ease;
  user-select: none;
}

.gallery-group-summary::-webkit-details-marker {
  display: none;
}

.gallery-group-summary::after {
  content: "▸";
  font-size: .95rem;
  color: var(--accent);
  transition: transform .2s ease;
  flex: 0 0 auto;
}

.gallery-group[open] .gallery-group-summary::after {
  transform: rotate(90deg);
}

.gallery-group-summary:hover {
  background: #fff7ed;
}

.gallery-group-label {
  flex: 1 1 auto;
  text-align: left;
}

.gallery-group-count {
  flex: 0 0 auto;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  letter-spacing: .02em;
  text-transform: none;
}

.gallery-projects {
  padding: 4px 16px 16px;
  display: grid;
  gap: 12px;
}

.gallery-row {
  display: grid;
  grid-template-columns: 1.4fr 2.6fr auto auto;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.gallery-row:hover {
  border-color: #fdba74;
  box-shadow: var(--shadow-1);
  transform: translateY(-2px);
}

.gallery-client {
  font-weight: 700;
  color: var(--bg-dark-2);
  text-transform: uppercase;
  font-size: .92rem;
  display: none;
}

.gallery-project {
  color: var(--bg-dark-2);
  font-weight: 600;
}

.gallery-desc {
  color: var(--muted);
  font-size: .93rem;
}

.gallery-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-dark-2);
  text-decoration: none;
  font-weight: 700;
  padding: 9px 16px;
  border: 1.5px solid var(--bg-dark-2);
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gallery-open:hover {
  background: var(--bg-dark-2);
  color: #fff;
  border-color: var(--bg-dark-2);
}

.gallery-detail-link {
  color: var(--accent);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.gallery-detail-link::after {
  content: " →";
}

.gallery-detail-link:hover {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============ Modals (shared) ============ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 18, 32, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow-y: auto;
  padding: 40px 20px;
  justify-content: center;
  align-items: flex-start;
}

.modal-content {
  background: var(--surface);
  color: var(--text);
  border-radius: 18px;
  max-width: 960px;
  width: 100%;
  margin: auto;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  animation: modalIn .25s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.modal-header h3 {
  color: var(--bg-dark-2);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.modal-close {
  flex: 0 0 auto;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--muted);
  font-size: 1.05rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, transform .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}

.modal-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.modal-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-dark-2);
  cursor: zoom-in;
}

.modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.modal-photo:hover img {
  transform: scale(1.06);
}

/* ============ Legal / project-detail modal ============ */
#legalModal {
  z-index: 2600;
}

.legal-content {
  max-width: 780px;
  max-height: 85vh;
  overflow: auto;
  padding: 32px;
}

.legal-content .modal-header {
  position: sticky;
  top: -32px;
  background: var(--surface);
  z-index: 2;
  padding-top: 4px;
}

.legal-body h4 {
  margin: 20px 0 8px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  color: var(--bg-dark-2);
  font-size: 1.02rem;
}

.legal-body p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.7;
}

/* ============ Lightbox ============ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(5, 8, 15, .94);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.lightbox img {
  max-width: 92%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: 1.3rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, transform .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, .18);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: 1.7rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

/* ============ PDF modal ============ */
.pdf-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3500;
  background: rgba(5, 8, 15, .92);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.pdf-embed {
  width: 100%;
  height: 100%;
  max-width: 1100px;
  border: 0;
  background: #fff;
  border-radius: 12px;
}

.pdf-fallback {
  color: var(--text);
  text-align: center;
  padding: 40px 20px;
}

.pdf-fallback a {
  color: var(--accent);
  font-weight: 600;
}

.pdf-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: 1.3rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, transform .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-close:hover {
  background: rgba(255, 255, 255, .18);
  transform: rotate(90deg);
}

/* ============ Contact ============ */
.contact {
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(234, 88, 12, .14), transparent 60%),
    linear-gradient(160deg, var(--bg-dark-1), var(--bg-dark-2));
}

.contact .section-title {
  color: #fff;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
}

.contact-info {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  padding: 36px;
  backdrop-filter: blur(6px);
}

.contact-info h3 {
  font-size: 1.25rem;
  margin-bottom: 28px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
}

.contact-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--accent-2);
  background: rgba(234, 88, 12, .15);
  border-radius: 12px;
}

.contact-text strong {
  color: #e2e8f0;
  display: block;
  margin-bottom: 2px;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-text span,
.contact-text a {
  color: var(--muted-2);
}

.contact-email {
  color: var(--accent-2) !important;
  text-decoration: none;
}

.contact-email:hover {
  text-decoration: underline;
}

.whatsapp-link {
  color: #4ade80 !important;
  font-weight: 700;
  text-decoration: none;
}

.whatsapp-link:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--surface);
  padding: 36px;
  border-radius: 18px;
  box-shadow: var(--shadow-2);
}

.contact-form h3 {
  font-size: 1.25rem;
  margin-bottom: 28px;
  color: var(--bg-dark-2);
  text-transform: uppercase;
  letter-spacing: .05em;
}

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

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

.required-field {
  color: var(--danger);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--surface-2);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, .12);
}

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

.error-message {
  color: var(--danger);
  font-size: .88rem;
  margin-top: 6px;
  display: none;
}

.success-message {
  color: var(--success);
  font-size: .95rem;
  font-weight: 600;
  margin-top: 15px;
  display: none;
}

#submitBtn {
  width: 100%;
}

/* ============ Footer ============ */
footer {
  background: var(--bg-dark-1);
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: var(--muted-2);
  padding: 64px 20px 28px;
}

.footer-content {
  max-width: 1140px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
}

.footer-section h4 {
  font-size: .92rem;
  margin-bottom: 18px;
  padding-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  border-bottom: 2px solid rgba(234, 88, 12, .45);
}

.footer-section p,
.footer-section a {
  color: var(--muted-2);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  font-size: .95rem;
  transition: color .2s ease, padding-left .2s ease;
}

.footer-section a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 26px;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}

.footer-company {
  margin-top: 8px;
  font-size: .82rem;
  opacity: .7;
}

/* Honeypot: pushed off-screen for humans, still fillable by bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

/* ============ Scroll reveal (JS adds .reveal + .in) ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ Responsive ============ */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid > .services-row-2 {
    max-width: none;
  }
}

@media (max-width: 768px) {
  section {
    padding: 72px 16px;
  }

  .hero {
    padding: calc(var(--header-h) + 40px) 16px 64px;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    height: 320px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid > .services-row-2 {
    grid-template-columns: 1fr;
  }

  .services .service-action {
    display: flex !important;
    width: fit-content !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .gallery-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-open {
    justify-self: start;
  }

  .contact-info,
  .contact-form {
    padding: 26px;
  }

  .modal {
    padding: 20px 12px;
  }

  .legal-content {
    padding: 22px 18px;
    max-height: 88vh;
  }

  .legal-content .modal-header {
    top: -22px;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: .92rem;
  }

  .hero-logo {
    height: 110px;
    margin-bottom: 22px;
  }

  .hero h1 {
    letter-spacing: .03em;
  }

  .contact-info,
  .contact-form {
    padding: 22px 18px;
  }

  .gallery-group-summary {
    padding: 16px;
    gap: 10px;
  }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .hero::before {
    animation: none;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
