/* ===== Variables ===== */
:root {
  --color-primary: #c8790a;
  --color-primary-dark: #a66308;
  --color-primary-light: #f5e6c8;
  --color-dark: #1a1f26;
  --color-dark-soft: #2a3140;
  --color-gray-100: #f4f5f7;
  --color-gray-200: #e8eaed;
  --color-gray-500: #6b7280;
  --color-gray-700: #374151;
  --color-white: #ffffff;
  --font-heading: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --header-height: 80px;
  --transition: 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-gray-700);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button, input, textarea {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 121, 10, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.btn--icon {
  padding: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn--icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn--full {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header--scrolled {
  border-bottom-color: var(--color-gray-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo__img {
  border-radius: 8px;
  object-fit: contain;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__text strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
}

.logo__text small {
  font-size: 0.7rem;
  color: var(--color-gray-500);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav__indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--color-primary);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition:
    left 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.15s ease;
}

.nav__link {
  position: relative;
  padding: 0.5rem 0.875rem 0.625rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-gray-700);
  background: transparent;
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--color-dark);
}

.nav__link.active {
  color: var(--color-primary);
  font-weight: 600;
}

.nav__cta {
  margin-left: 0.25rem;
  flex-shrink: 0;
}

.nav__cta.active {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 31, 38, 0.88) 0%,
    rgba(26, 31, 38, 0.65) 50%,
    rgba(26, 31, 38, 0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 4rem;
  max-width: 720px;
}

.hero__label {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(200, 121, 10, 0.2);
  border: 1px solid rgba(200, 121, 10, 0.4);
  border-radius: 999px;
  color: var(--color-primary-light);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.hero__title span {
  color: var(--color-primary);
}

.hero__text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.stat span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Sections ===== */
.section {
  padding-block: 5rem;
}

.section--dark {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.85);
}

.section--gray {
  background: var(--color-gray-100);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-label--light {
  color: var(--color-primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.section-title--light {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-gray-500);
  max-width: 560px;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin-inline: auto;
}

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__content p {
  margin-bottom: 1rem;
}

.about__content .btn {
  margin-top: 1.5rem;
}

.about__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about__badge strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-size: 1.05rem;
}

.about__badge span {
  font-size: 0.85rem;
  color: var(--color-gray-500);
}

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature {
  padding: 2rem;
  background: var(--color-dark-soft);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform var(--transition);
}

.feature:hover {
  transform: translateY(-4px);
}

.feature__icon {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  opacity: 0.6;
  margin-bottom: 1rem;
  line-height: 1;
}

.feature h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.feature p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ===== Services ===== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service {
  padding: 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.service:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-primary-light);
}

.service p {
  font-size: 0.925rem;
  color: var(--color-gray-500);
}

/* ===== Projects ===== */
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 31, 38, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.project-card__overlay h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
}

.project-card__overlay span {
  font-size: 0.8rem;
  color: var(--color-primary-light);
  margin-top: 0.25rem;
}

/* ===== Quote / Form ===== */
.quote {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.quote__list {
  margin: 1.5rem 0;
}

.quote__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-gray-500);
}

.quote__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.quote__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.quote__contact a {
  color: var(--color-primary);
  font-weight: 600;
  transition: color var(--transition);
}

.quote__contact a:hover {
  color: var(--color-primary-dark);
}

.quote__form {
  background: var(--color-gray-100);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--color-dark);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-dark);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(200, 121, 10, 0.15);
}

.form-group input[type="file"] {
  padding: 0.5rem;
  font-size: 0.875rem;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  text-align: center;
  min-height: 1.25rem;
}

.form-note.success {
  color: #059669;
}

.form-note.error {
  color: #dc2626;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ===== Contact ===== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.contact__item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.contact__item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.contact__item a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.contact__item a:hover {
  color: var(--color-primary);
}

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-dark-soft);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand img {
  border-radius: 6px;
  object-fit: contain;
}

.footer__brand strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-white);
  font-size: 0.95rem;
}

.footer__brand span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__content {
  width: min(96vw, 1400px);
  max-height: 92vh;
  padding: 0 4rem;
  text-align: center;
}

.lightbox__content img {
  display: block;
  width: 100%;
  max-height: calc(92vh - 3rem);
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  margin-inline: auto;
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox__close:hover {
  opacity: 1;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--color-white);
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
  left: 1.5rem;
}

.lightbox__nav--next {
  right: 1.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .about,
  .quote,
  .contact {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .features,
  .services,
  .projects {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__links {
    flex-direction: column;
    width: 100%;
    gap: 0.25rem;
  }

  .nav__indicator {
    display: none;
  }

  .nav__link.active {
    color: var(--color-primary);
    background: var(--color-primary-light);
    border-radius: 8px;
  }

  .nav__link {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 0.5rem;
    width: 100%;
  }

  .features,
  .services,
  .projects {
    grid-template-columns: 1fr;
  }

  .contact__items {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    gap: 1.5rem;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .lightbox__content {
    width: 100%;
    padding: 0 3rem;
  }

  .lightbox__content img {
    max-height: calc(88vh - 2.5rem);
  }

  .lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }

  .lightbox__nav--prev {
    left: 0.5rem;
  }

  .lightbox__nav--next {
    right: 0.5rem;
  }
}
