/* ==========================================================================
   CÔNG TY TNHH THƯƠNG MẠI VÀ XÂY LẮP PHÚ AN
   Aesthetic: Modern Architectural Minimalism · Luxury Gold & Obsidian
   ========================================================================== */

:root {
  --bg-obsidian: #0d1014;
  --bg-obsidian-soft: #141920;
  --bg-alabaster: #f7f6f2;
  --bg-white: #ffffff;

  --text-primary: #14171c;
  --text-secondary: #525862;
  --text-muted: #7a818c;
  --text-on-dark: #f4f3ef;
  --text-on-dark-muted: rgba(244, 243, 239, 0.72);

  --gold: #c9a227;
  --gold-bright: #e0be4c;
  --gold-deep: #a68116;
  --gold-soft: rgba(201, 162, 39, 0.14);

  --border-light: rgba(20, 23, 28, 0.09);
  --border-dark: rgba(255, 255, 255, 0.12);

  --font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-soft: 0 24px 60px rgba(13, 16, 20, 0.08);
  --shadow-elevated: 0 32px 80px rgba(13, 16, 20, 0.24);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-alabaster);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

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

/* ==========================================================================
   Buttons & Eyebrows
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

.eyebrow-light {
  color: var(--gold-bright);
}

.eyebrow-line {
  width: 34px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8125rem;
}

.btn-full {
  width: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%, var(--gold-deep) 100%);
  color: #111316;
  font-weight: 600;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 162, 39, 0.32);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-on-dark);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--bg-obsidian);
  color: var(--text-on-dark);
}

.btn-dark:hover {
  background: #1d232b;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(13, 16, 20, 0.22);
}

/* ==========================================================================
   Header / Sticky Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background-color 0.35s var(--ease), padding 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom-color: var(--border-light);
  box-shadow: 0 8px 32px rgba(13, 16, 20, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

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

.logo-lightbg {
  display: none;
}

.site-header.scrolled .logo-darkbg {
  display: none;
}

.site-header.scrolled .logo-lightbg {
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.site-header.scrolled .brand-text {
  border-left-color: var(--border-light);
}

.brand-name {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text-on-dark);
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 243, 239, 0.7);
}

.site-header.scrolled .brand-name {
  color: var(--text-primary);
}

.site-header.scrolled .brand-sub {
  color: var(--text-muted);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(244, 243, 239, 0.86);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold-bright);
  transition: width 0.3s var(--ease);
}

.nav-desktop a:hover {
  color: var(--gold-bright);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.site-header.scrolled .nav-desktop a {
  color: var(--text-secondary);
}

.site-header.scrolled .nav-desktop a:hover {
  color: var(--text-primary);
}

.site-header.scrolled .nav-desktop a::after {
  background: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-on-dark);
  font-variant-numeric: tabular-nums;
  transition: color 0.25s var(--ease);
}

.header-phone:hover {
  color: var(--gold-bright);
}

.site-header.scrolled .header-phone {
  color: var(--text-primary);
}

.site-header.scrolled .header-phone:hover {
  color: var(--gold-deep);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0 9px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-on-dark);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.site-header.scrolled .menu-toggle {
  border-color: var(--border-light);
}

.site-header.scrolled .menu-toggle span {
  background: var(--text-primary);
}

.menu-toggle.open span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle.open span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  background: var(--bg-obsidian);
  border-top: 1px solid var(--border-dark);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 32px;
  gap: 16px;
}

.nav-mobile .mobile-link {
  color: var(--text-on-dark);
  font-size: 1.05rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--gold-bright);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-obsidian);
  color: var(--text-on-dark);
  padding-top: 120px;
  overflow: hidden;
}

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.03);
  filter: contrast(1.04) saturate(0.95);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(10, 13, 17, 0.88) 0%,
    rgba(10, 13, 17, 0.64) 48%,
    rgba(10, 13, 17, 0.34) 100%
  );
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 25% 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-block: auto;
  padding: 56px 0 64px;
}

.hero-copy {
  max-width: 720px;
}

.hero-title {
  margin: 0 0 24px;
  font-size: clamp(2.4rem, 5.2vw, 4.35rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.hero-title-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-bright);
  letter-spacing: 0;
}

.hero-desc {
  margin: 0 0 38px;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  font-weight: 300;
  color: var(--text-on-dark-muted);
  max-width: 600px;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-metrics {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 16, 20, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

.metric-item {
  padding: 26px 24px 26px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 24px;
}

.metric-item:first-child {
  padding-left: 0;
}

.metric-item:last-child {
  border-right: none;
}

.metric-value {
  display: block;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.metric-value .gold {
  color: var(--gold-bright);
}

.metric-mono {
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  letter-spacing: 0.05em;
  padding-top: 6px;
}

.metric-label {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: rgba(244, 243, 239, 0.65);
}

/* ==========================================================================
   Shared Sections
   ========================================================================== */

.section {
  padding: 112px 0;
}

.section-light {
  background: var(--bg-alabaster);
}

.section-white {
  background: var(--bg-white);
}

.section-dark {
  background: var(--bg-obsidian);
  color: var(--text-on-dark);
}

.section-title {
  margin: 0 0 20px;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.text-white {
  color: #ffffff;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}

.section-subtitle {
  max-width: 440px;
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.lead-text {
  font-size: 1.075rem;
  color: var(--text-primary);
  margin: 0 0 18px;
  line-height: 1.75;
}

.body-text {
  color: var(--text-secondary);
  margin: 0 0 28px;
  font-size: 0.9625rem;
  line-height: 1.8;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 72px;
  align-items: center;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.pillar-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-deep);
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.pillar h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pillar p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.about-visual {
  position: relative;
}

.visual-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.visual-frame img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.visual-frame:hover img {
  transform: scale(1.03);
}

.quote-card {
  position: relative;
  margin-top: -56px;
  margin-left: 36px;
  background: var(--bg-obsidian);
  color: var(--text-on-dark);
  padding: 28px 32px;
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-elevated);
}

.quote-mark {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  line-height: 0.7;
  color: var(--gold-bright);
  margin-bottom: 10px;
}

.quote-card p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(244, 243, 239, 0.92);
}

.quote-author {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
}

.service-card {
  padding: 36px 28px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-white);
  position: relative;
  transition: background-color 0.35s var(--ease), transform 0.35s var(--ease);
}

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

.service-card:hover {
  background: #fcfbf8;
}

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

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.service-index {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
}

.service-icon {
  color: var(--text-primary);
  opacity: 0.85;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
}

.service-card p {
  margin: 0 0 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.835rem;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

/* ==========================================================================
   Projects Section (Dark Gallery)
   ========================================================================== */

.section-head-dark {
  align-items: flex-end;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(244, 243, 239, 0.78);
  padding: 9px 18px;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.filter-btn:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #111316;
  font-weight: 600;
}

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

.project-card {
  background: var(--bg-obsidian-soft);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.project-card.hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 190, 76, 0.45);
}

.project-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

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

.project-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(13, 16, 20, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

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

.project-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(244, 243, 239, 0.56);
  margin-bottom: 10px;
}

.project-body h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
}

.project-body p {
  margin: 0 0 24px;
  font-size: 0.885rem;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  flex: 1;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: gap 0.25s var(--ease);
}

.project-link:hover {
  gap: 13px;
}

/* ==========================================================================
   Process & Legal Profile
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.process-step {
  padding-top: 24px;
  border-top: 1px solid rgba(20, 23, 28, 0.16);
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--gold);
}

.step-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 14px;
}

.process-step h3 {
  margin: 0 0 10px;
  font-size: 1.025rem;
  font-weight: 600;
}

.process-step p {
  margin: 0;
  font-size: 0.885rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.profile-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--gold);
  padding: 40px 44px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.profile-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.profile-card-left h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.profile-card-left p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.profile-card-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

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

.profile-key {
  color: var(--text-muted);
  font-weight: 500;
}

.profile-val {
  color: var(--text-primary);
  font-weight: 500;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  background: var(--bg-alabaster);
  color: var(--gold-deep);
  border-radius: var(--radius-sm);
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-value {
  margin: 0;
  font-size: 0.9625rem;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-value a:hover {
  color: var(--gold-deep);
}

.contact-form-wrap {
  background: var(--bg-alabaster);
  border: 1px solid var(--border-light);
  padding: 42px;
  border-radius: var(--radius-sm);
}

.contact-form h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 600;
}

.form-note {
  margin: 0 0 28px;
  font-size: 0.885rem;
  color: var(--text-secondary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

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

.form-group label span {
  color: #b42318;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(20, 23, 28, 0.15);
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.form-status {
  margin-top: 16px;
  font-size: 0.875rem;
  min-height: 22px;
}

.form-status.success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.form-status.error {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bg-obsidian);
  color: var(--text-on-dark);
  padding: 72px 0 36px;
  border-top: 1px solid var(--border-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1.1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand h4 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.footer-brand p {
  margin: 0;
  max-width: 360px;
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
}

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

.footer-col h5 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.footer-col a,
.footer-col p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.footer-tax {
  color: rgba(244, 243, 239, 0.5) !important;
  font-size: 0.8125rem !important;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  font-size: 0.8125rem;
  color: rgba(244, 243, 239, 0.55);
}

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

/* ==========================================================================
   Project Modal
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 17, 0.78);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(13, 16, 20, 0.72);
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
}

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

.modal-body {
  padding: 32px 36px 36px;
}

.modal-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.modal-body h3 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  font-weight: 600;
}

.modal-body p {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}

.modal-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  padding: 20px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.spec-item span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.spec-item strong {
  font-size: 0.92rem;
  color: var(--text-primary);
}

/* ==========================================================================
   Scroll Reveal Animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid,
  .contact-grid,
  .profile-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .header-phone {
    display: none;
  }
}

@media (max-width: 820px) {
  .nav-desktop,
  .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric-item {
    padding: 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .metric-item:nth-child(2n) {
    border-right: none;
  }
  .section {
    padding: 76px 0;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .pillars-grid,
  .services-grid,
  .projects-grid,
  .process-grid,
  .form-row,
  .footer-top,
  .modal-specs {
    grid-template-columns: 1fr;
  }
  .quote-card {
    margin-left: 0;
    margin-top: -24px;
  }
  .contact-form-wrap,
  .profile-card {
    padding: 28px 22px;
  }
  .profile-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
