:root {
  --color-navy: #f3dfa6;
  --color-navy-2: #f5e2b3;
  --color-gold: #f3dfa6;
  --color-gold-dark: #eed49a;
  --color-white: #181713;
  --color-canvas: #0f0f0d;
  --color-light-gray: #1c1a15;
  --color-gray: #b8ae9a;
  --color-dark: #f7f1e3;
  --color-border: rgba(243, 223, 166, 0.18);
  --shadow-soft: 0 22px 55px rgba(0, 0, 0, 0.34);
  --shadow-card: 0 18px 42px rgba(0, 0, 0, 0.28);
  --radius-card: 12px;
  --radius-pill: 100px;
  --container: 1160px;
  --header-height: 84px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
}

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

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

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: #0f0f0d;
  border-bottom: 1px solid rgba(223, 227, 232, 0.75);
  backdrop-filter: blur(14px);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.scrolled {
  background: #0f0f0d;
  box-shadow: 0 12px 32px rgba(17, 26, 47, 0.12);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.brand-text {
  color: var(--color-navy);
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: var(--color-navy);
  font-size: 0.94rem;
  font-weight: 650;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--color-gold-dark);
}

.nav-link.active {
  color: var(--color-gold-dark);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  place-items: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 4px 0;
  background: var(--color-navy);
  border-radius: 0;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

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

.btn-primary {
  color: var(--color-white);
  background: var(--color-navy);
  box-shadow: 0 12px 28px rgba(17, 26, 47, 0.18);
}

.btn-primary:hover {
  background: var(--color-navy-2);
  box-shadow: 0 16px 36px rgba(17, 26, 47, 0.22);
}

.btn-outline-light {
  color: var(--color-white);
  border-color: rgba(247, 241, 227, 0.72);
  background: rgba(247, 241, 227, 0.08);
}

.btn-outline-light:hover {
  color: var(--color-navy);
  background: var(--color-white);
}

.btn-outline-dark {
  color: var(--color-navy);
  border-color: var(--color-navy);
  background: transparent;
}

.btn-outline-dark:hover {
  color: var(--color-white);
  background: var(--color-navy);
}

.btn-gold {
  color: var(--color-navy);
  background: var(--color-gold);
  box-shadow: 0 16px 32px rgba(199, 163, 74, 0.25);
}

.btn-gold:hover {
  background: #f0d28e;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 76px) 0 96px;
  color: var(--color-white);
  background: url("Proyectos/Bayon3.jpg") center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 26, 47, 0.92) 0%, rgba(17, 26, 47, 0.72) 48%, rgba(17, 26, 47, 0.42) 100%),
    rgba(0, 0, 0, 0.22);
}

.hero-content {
  position: relative;
  max-width: 790px;
}

.project-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 1000px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 20px;
  padding: 8px 14px;
  color: var(--color-navy);
  background: var(--color-gold);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(247, 241, 227, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.page-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  padding: calc(var(--header-height) + 70px) 0 86px;
  color: var(--color-white);
  background: url("Proyectos/Bayon4.jpg") center/cover no-repeat;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 26, 47, 0.94) 0%, rgba(17, 26, 47, 0.74) 54%, rgba(17, 26, 47, 0.34) 100%),
    rgba(0, 0, 0, 0.2);
}

.page-hero-content {
  position: relative;
  max-width: 760px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(247, 241, 227, 0.88);
  font-size: clamp(1.03rem, 2vw, 1.2rem);
}

.section {
  padding: 96px 0;
}

.about-section,
.projects-section {
  background: var(--color-canvas);
}

.services-section,
.contact-section {
  background: var(--color-white);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.cta-content h2 {
  margin: 0;
  color: var(--color-navy);
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-copy p,
.section-heading p,
.cta-content p {
  margin: 18px 0 0;
  color: var(--color-gray);
  font-size: 1.03rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-title {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.section-title h2 {
  min-width: 0;
}

.section-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  color: var(--color-navy);
  flex: 0 0 auto;
}

.section-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-navy);
  fill: rgba(199, 163, 74, 0.18);
  stroke-width: 1.8;
}

.cta-section .section-icon svg {
  stroke: var(--color-white);
  fill: rgba(199, 163, 74, 0.35);
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

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

.value-card,
.service-card,
.project-card,
.contact-card {
  border: 1px solid rgba(223, 227, 232, 0.95);
  border-radius: var(--radius-card);
  background: var(--color-white);
}

.value-card {
  min-height: 240px;
  padding: 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.value-card:hover,
.service-card:hover,
.project-card:hover {
  border-color: rgba(199, 163, 74, 0.55);
  box-shadow: var(--shadow-card);
  transform: translateY(-6px);
}

.value-icon {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--color-gold-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.value-card h3,
.service-card h3,
.project-card h3 {
  margin: 0 0 10px;
  color: var(--color-navy);
  font-size: 1.2rem;
  line-height: 1.2;
}

.value-card p,
.service-card p,
.project-card p {
  margin: 0;
  color: var(--color-gray);
  font-size: 0.96rem;
}

.cards-grid {
  display: grid;
  gap: 22px;
}

.services-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  min-height: 290px;
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 42px;
  color: var(--color-navy);
  border-radius: 50%;
  background: rgba(199, 163, 74, 0.18);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.projects-grid {
  grid-template-columns: repeat(3, 1fr);
}

.project-library-section {
  background:
    linear-gradient(180deg, var(--color-canvas), var(--color-white) 42%),
    var(--color-white);
}

.project-library-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.project-list-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-gallery {
  background: var(--color-light-gray);
}

.project-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--color-light-gray);
}

.project-main-image {
  border-bottom: 1px solid var(--color-border);
}

.project-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 8px;
  background: #15140f;
}

.project-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(17, 26, 47, 0.08);
  border-radius: 6px;
  background: var(--color-white);
  transition: transform var(--transition), border-color var(--transition);
}

.project-thumbs img:hover {
  border-color: rgba(199, 163, 74, 0.7);
  transform: translateY(-2px);
}

.project-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 245px;
  aspect-ratio: 4 / 3;
  padding: 26px;
  color: var(--color-navy);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(199, 163, 74, 0.18), rgba(17, 26, 47, 0.08)),
    var(--color-light-gray);
  overflow: hidden;
}

.project-placeholder::before,
.project-placeholder::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(17, 26, 47, 0.28);
  border-radius: 8px;
}

.project-placeholder::after {
  inset: auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(247, 241, 227, 0.68);
}

.project-placeholder span,
.project-placeholder strong {
  position: relative;
  z-index: 1;
  display: block;
}

.project-placeholder span {
  margin-bottom: 8px;
  color: var(--color-gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-placeholder strong {
  max-width: 250px;
  font-size: 0.92rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.project-category {
  margin-bottom: 14px;
  padding: 6px 10px;
  color: var(--color-navy);
  background: rgba(199, 163, 74, 0.16);
  font-size: 0.72rem;
}

.project-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 20px;
  color: var(--color-gold-dark);
  font-weight: 850;
}

.project-link:hover {
  color: var(--color-navy);
}

.project-full-link {
  width: 100%;
  margin-top: auto;
  padding-top: 13px;
}

.project-detail-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: calc(var(--header-height) + 80px) 0 88px;
  color: var(--color-white);
  background: var(--color-navy) center/cover no-repeat;
  overflow: hidden;
}

.project-detail-hero-content {
  position: relative;
  max-width: 860px;
}

.project-detail-hero .project-category {
  margin-bottom: 18px;
  color: var(--color-navy);
  background: var(--color-gold);
}

.project-detail-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.project-detail-hero p {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(247, 241, 227, 0.88);
  font-size: clamp(1.03rem, 2vw, 1.2rem);
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: rgba(247, 241, 227, 0.86);
  font-weight: 800;
}

.back-link:hover {
  color: var(--color-gold);
}

.project-detail-section {
  background: var(--color-white);
}

.compact-section {
  padding-top: 0;
}

.project-detail-grid,
.detail-two-column {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: 24px;
  align-items: stretch;
}

.detail-two-column {
  grid-template-columns: repeat(2, 1fr);
}

.detail-panel {
  border: 1px solid rgba(223, 227, 232, 0.95);
  border-radius: var(--radius-card);
  background: var(--color-white);
  padding: 32px;
  box-shadow: 0 10px 28px rgba(17, 26, 47, 0.06);
}

.detail-panel p {
  margin: 20px 0 0;
  color: var(--color-gray);
  font-size: 1.03rem;
}

.detail-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: var(--color-canvas);
}

.detail-meta span {
  color: var(--color-gold-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.detail-meta strong {
  display: block;
  margin-bottom: 18px;
  color: var(--color-navy);
  font-size: 1.08rem;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: var(--color-gray);
}

.detail-list li::marker {
  color: var(--color-gold-dark);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tech-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(199, 163, 74, 0.34);
  border-radius: var(--radius-pill);
  color: var(--color-navy);
  background: rgba(199, 163, 74, 0.12);
  font-size: 0.9rem;
  font-weight: 800;
}

.project-gallery-section {
  background:
    linear-gradient(180deg, var(--color-canvas), var(--color-white) 58%),
    var(--color-white);
}

.detail-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.detail-gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-card);
  background: var(--color-light-gray);
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(17, 26, 47, 0.08);
}

.detail-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 320ms ease;
}

.detail-gallery-item:hover img {
  transform: scale(1.04);
}

.project-video-section {
  padding-top: 0;
  background: var(--color-white);
}

.project-video-frame {
  margin-top: 22px;
}

.project-video-frame iframe,
.project-video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--radius-card);
  background: var(--color-navy);
}

.video-placeholder {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 32px;
  border: 1px dashed rgba(17, 26, 47, 0.24);
  border-radius: var(--radius-card);
  color: var(--color-gray);
  text-align: center;
  background: var(--color-light-gray);
}

.video-placeholder span {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  color: var(--color-navy);
}

.video-placeholder p {
  max-width: 540px;
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(5, 8, 16, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: min(100%, 1180px);
  max-height: 86vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(247, 241, 227, 0.36);
  border-radius: 50%;
  color: var(--color-white);
  background: rgba(247, 241, 227, 0.12);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.cta-section {
  padding: 70px 0;
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(199, 163, 74, 0.16), transparent 34%),
    var(--color-navy);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-content h2,
.cta-content p {
  color: var(--color-white);
}

.cta-content p {
  max-width: 650px;
  color: rgba(247, 241, 227, 0.82);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-card {
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.contact-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-item span {
  display: block;
  margin-bottom: 7px;
  color: var(--color-gold-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-item a,
.contact-item p {
  margin: 0;
  color: var(--color-navy);
  font-size: 1.08rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.site-footer {
  color: var(--color-navy);
  background: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 44px;
  padding: 64px 0 44px;
}

.footer-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--color-white);
}

.footer-brand h2,
.footer-column h3 {
  margin: 18px 0 12px;
  color: var(--color-navy);
}

.footer-brand p,
.footer-column p {
  max-width: 380px;
  margin: 0;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column a {
  transition: color var(--transition);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.social-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer-column a:hover {
  color: var(--color-gold-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding: 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .services-grid,
  .projects-grid,
  .project-library-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid,
  .project-detail-grid,
  .detail-two-column {
    grid-template-columns: 1fr;
  }

  .detail-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand-logo {
    width: 58px;
    height: 42px;
  }

  .brand-text {
    max-width: none;
    white-space: nowrap;
    line-height: 1;
    font-size: 0.92rem;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    max-height: calc(100vh - var(--header-height) - 32px);
    overflow-y: auto;
    transition: opacity var(--transition), transform var(--transition);
  }

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

  .nav-link {
    padding: 12px 10px;
    border-radius: 8px;
  }

  .nav-link:hover {
    background: var(--color-light-gray);
  }

  .nav-cta {
    width: 100%;
    margin-top: 8px;
  }

  .hero {
    min-height: 620px;
    padding-bottom: 72px;
  }

  .page-hero,
  .project-detail-hero {
    min-height: 560px;
  }

  .section {
    padding: 74px 0;
  }

  .values-grid,
  .services-grid,
  .projects-grid,
  .project-library-grid {
    grid-template-columns: 1fr;
  }

  .project-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-panel {
    padding: 26px;
  }

  .value-card,
  .service-card {
    min-height: auto;
  }

  .cta-content,
  .footer-grid {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .hero,
  .page-hero,
  .project-detail-hero {
    min-height: 520px;
    padding: calc(var(--header-height) + 52px) 0 64px;
    background-position: center top;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero p,
  .page-hero p,
  .project-detail-hero p {
    font-size: 1rem;
  }

  .project-detail-hero h1 {
    font-size: 2.4rem;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .contact-actions .btn,
  .cta-content .btn {
    width: 100%;
  }

  .section-copy h2,
  .section-heading h2,
  .cta-content h2 {
    font-size: 2rem;
  }

  .section-icon {
    width: 30px;
    height: 30px;
  }

  .section {
    padding: 64px 0;
  }

  .project-content {
    padding: 20px;
  }

  .detail-gallery-grid {
    grid-template-columns: 1fr;
  }

  .project-thumbs {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .project-thumbs img {
    flex: 0 0 96px;
    scroll-snap-align: start;
  }

  .cta-section {
    padding: 56px 0;
  }

  .contact-card {
    padding: 24px;
  }

  .footer-grid {
    gap: 28px;
    padding: 52px 0 36px;
  }

  .footer-logo {
    width: 120px;
    height: 120px;
  }
}

/* Premium dark identity */
body {
  color: var(--color-dark);
  background:
    radial-gradient(circle at 12% 0%, rgba(243, 223, 166, 0.08), transparent 28%),
    linear-gradient(180deg, #12110e 0%, var(--color-canvas) 42%, #0b0b09 100%);
}

.site-header,
.site-header.scrolled {
  background: rgba(15, 15, 13, 0.94);
  border-bottom: 1px solid rgba(243, 223, 166, 0.18);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.brand-text,
.nav-link,
.footer-brand h2,
.footer-column h3,
.value-card h3,
.service-card h3,
.project-card h3,
.section-copy h2,
.section-heading h2,
.detail-panel h2,
.detail-meta strong {
  color: var(--color-dark);
}

.brand-logo,
.footer-logo {
  background: rgba(247, 241, 227, 0.04);
  border: 1px solid rgba(243, 223, 166, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.nav-link:hover,
.nav-link.active,
.footer-column a:hover,
.project-link,
.back-link:hover {
  color: var(--color-gold);
}

.nav-toggle span {
  background: var(--color-gold);
}

.btn-primary,
.btn-gold {
  color: #15130f;
  background: linear-gradient(135deg, #f5e2b3, #e7c579);
  border-color: rgba(243, 223, 166, 0.42);
  box-shadow: 0 16px 34px rgba(243, 223, 166, 0.16);
}

.btn-primary:hover,
.btn-gold:hover {
  color: #11110f;
  background: linear-gradient(135deg, #fff0c8, #f0d28e);
  box-shadow: 0 20px 44px rgba(243, 223, 166, 0.22);
}

.btn-outline-light,
.btn-outline-dark {
  color: var(--color-gold);
  border-color: rgba(243, 223, 166, 0.62);
  background: rgba(243, 223, 166, 0.06);
}

.btn-outline-light:hover,
.btn-outline-dark:hover {
  color: #15130f;
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.hero,
.page-hero,
.project-detail-hero {
  color: var(--color-dark);
  background-color: #11110f;
}

.hero-overlay,
.page-hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 15, 13, 0.96) 0%, rgba(15, 15, 13, 0.78) 52%, rgba(15, 15, 13, 0.48) 100%),
    rgba(15, 15, 13, 0.22);
}

.hero p,
.page-hero p,
.project-detail-hero p,
.cta-content p {
  color: var(--color-gray);
}

.project-detail-hero .project-category,
.eyebrow,
.project-category {
  color: #15130f;
  background: var(--color-gold);
}

.section,
.services-section,
.contact-section,
.project-detail-section,
.project-video-section {
  background:
    linear-gradient(180deg, rgba(243, 223, 166, 0.025), transparent 22%),
    var(--color-canvas);
}

.about-section,
.projects-section,
.project-library-section,
.project-gallery-section {
  background:
    linear-gradient(180deg, #181713 0%, var(--color-canvas) 54%, #12110e 100%);
}

.section-copy p,
.section-heading p,
.value-card p,
.service-card p,
.project-card p,
.detail-panel p,
.detail-list,
.footer-brand p,
.footer-column p,
.contact-item a,
.contact-item p {
  color: var(--color-gray);
}

.value-card,
.service-card,
.project-card,
.contact-card,
.detail-panel {
  border: 1px solid rgba(243, 223, 166, 0.16);
  background:
    linear-gradient(180deg, rgba(243, 223, 166, 0.035), rgba(243, 223, 166, 0.012)),
    var(--color-white);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.value-card:hover,
.service-card:hover,
.project-card:hover,
.detail-gallery-item:hover {
  border-color: rgba(243, 223, 166, 0.52);
  box-shadow:
    0 20px 52px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(243, 223, 166, 0.12);
}

.service-icon,
.section-icon {
  color: var(--color-gold);
  background: rgba(243, 223, 166, 0.1);
}

.section-icon svg,
.service-icon svg {
  stroke: var(--color-gold);
  fill: rgba(243, 223, 166, 0.1);
}

.project-gallery,
.project-image,
.detail-gallery-item,
.project-placeholder,
.video-placeholder {
  background:
    linear-gradient(135deg, rgba(243, 223, 166, 0.08), rgba(247, 241, 227, 0.01)),
    var(--color-light-gray);
}

.project-main-image {
  border-bottom-color: rgba(243, 223, 166, 0.16);
}

.project-thumbs {
  background: #15140f;
}

.project-thumbs img {
  border-color: rgba(243, 223, 166, 0.16);
  background: #1c1a15;
}

.project-thumbs img:hover {
  border-color: rgba(243, 223, 166, 0.78);
}

.project-placeholder::before,
.project-placeholder::after {
  border-color: rgba(243, 223, 166, 0.28);
}

.project-placeholder::after {
  background: rgba(243, 223, 166, 0.1);
}

.project-placeholder span,
.contact-item span,
.detail-meta span,
.detail-list li::marker {
  color: var(--color-gold-dark);
}

.project-placeholder strong {
  color: var(--color-dark);
}

.project-full-link {
  margin-top: 22px;
}

.project-detail-hero {
  box-shadow: inset 0 -120px 90px rgba(15, 15, 13, 0.82);
}

.project-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 15, 13, 0.96) 0%, rgba(15, 15, 13, 0.78) 56%, rgba(15, 15, 13, 0.42) 100%),
    rgba(15, 15, 13, 0.2);
  z-index: 0;
}

.project-detail-hero-content {
  z-index: 1;
}

.back-link {
  color: rgba(247, 241, 227, 0.82);
}

.detail-meta {
  background:
    linear-gradient(180deg, rgba(243, 223, 166, 0.08), rgba(243, 223, 166, 0.025)),
    var(--color-light-gray);
}

.tech-list span {
  color: var(--color-gold);
  border-color: rgba(243, 223, 166, 0.28);
  background: rgba(243, 223, 166, 0.08);
}

.project-video-frame iframe,
.project-video-frame video {
  background: #0f0f0d;
}

.lightbox {
  background: rgba(8, 8, 7, 0.92);
}

.lightbox-close {
  color: var(--color-gold);
  border-color: rgba(243, 223, 166, 0.36);
  background: rgba(243, 223, 166, 0.08);
}

.cta-section {
  border-top: 1px solid rgba(243, 223, 166, 0.14);
  border-bottom: 1px solid rgba(243, 223, 166, 0.14);
  background:
    linear-gradient(135deg, rgba(243, 223, 166, 0.16), transparent 34%),
    linear-gradient(180deg, #1c1a15, #11110f);
}

.cta-content h2,
.cta-content p {
  color: var(--color-dark);
}

.contact-card {
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(243, 223, 166, 0.07);
}

.contact-item {
  border-bottom-color: rgba(243, 223, 166, 0.14);
}

.site-footer {
  color: var(--color-dark);
  border-top: 1px solid rgba(243, 223, 166, 0.16);
  background:
    linear-gradient(180deg, #12110e, #0f0f0d);
}

.footer-bottom {
  border-top-color: rgba(243, 223, 166, 0.14);
  color: var(--color-gray);
}

@media (max-width: 820px) {
  .nav-menu {
    border-color: rgba(243, 223, 166, 0.18);
    background: rgba(18, 17, 14, 0.98);
  }

  .nav-link:hover {
    background: rgba(243, 223, 166, 0.08);
  }
}

/* Clean logo and icon integration */
.brand,
.footer-brand {
  background: transparent;
}

.brand-logo,
.footer-logo {
  display: block;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: screen;
  padding: 0;
}

.brand-logo {
  width: 136px;
  height: 72px;
  object-position: center;
}

.footer-logo {
  width: 168px;
  height: 112px;
  object-position: center;
}

.section-icon,
.service-icon,
.social-icon {
  color: var(--color-gold);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.section-icon svg,
.service-icon svg,
.social-icon svg {
  stroke: currentColor;
  fill: none;
  background: transparent;
}

.social-icon svg {
  fill: currentColor;
  stroke: none;
}

.service-icon {
  place-items: start;
  width: 36px;
  height: 36px;
  margin-bottom: 34px;
}

.section-icon {
  width: 32px;
  height: 32px;
}

.service-icon svg {
  width: 34px;
  height: 34px;
}

.cta-section .section-icon svg {
  stroke: currentColor;
  fill: none;
}

@media (max-width: 820px) {
  .brand-logo {
    width: 96px;
    height: 54px;
  }

  .footer-logo {
    width: 146px;
    height: 98px;
  }
}
