/* ============================================================
   NATIONAL METAL CRAFT — Master Stylesheet
   Heritage & Islamic Aesthetic: Dark + Gold
   ============================================================ */

/* ---------- Google Fonts are loaded in each HTML <head> ---------- */

/* ============================
   CSS CUSTOM PROPERTIES
   ============================ */
:root {
  /* Palette */
  --bg-dark:        #1A1A1A;
  --bg-card:        #242424;
  --bg-elevated:    #2C2C2C;
  --gold:           #C9A84C;
  --gold-hover:     #E8C97A;
  --gold-dark:      #B8943C;
  --text-body:      #F5F0E8;
  --text-muted:     #9A9080;
  --border:         #333333;
  --whatsapp:       #075E54;
  --whatsapp-hover: #0a7366;
  --success-bg:     #1C2E1C;

  /* Typography */
  --font-heading:   'Cinzel', serif;
  --font-body:      'Inter', sans-serif;
  --font-arabic:    'Amiri', serif;

  /* Sizing */
  --max-width:      1200px;
  --section-py:     96px;
  --section-py-m:   56px;
  --card-gap:       24px;
  --card-pad:       28px;
  --nav-height:     72px;
}

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background-color: var(--bg-dark);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-hover);
}

ul, ol {
  list-style: none;
}

/* ============================
   UTILITY
   ============================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: var(--section-py) 0;
}

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--text-muted); }

/* Gold divider */
.gold-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  border: none;
  margin: 24px auto;
}

/* Section heading block */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 34px;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  font-size: 16px;
}

/* ============================
   TYPOGRAPHY
   ============================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1.3;
}

h1 { font-size: 52px; }
h2 { font-size: 34px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--bg-dark);
}

.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  color: #fff;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* WhatsApp inline SVG icon */
.btn-whatsapp svg,
.whatsapp-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ============================
   NAVIGATION
   ============================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: background 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(26, 26, 26, 0.98);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-logo:hover {
  color: var(--gold-hover);
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #BEA85B;
  text-shadow: 0 0 10px rgba(190, 168, 91, 0.5);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  border-bottom: 2px solid #BEA85B;
  padding-bottom: 2px;
}

.nav-links a.active::after {
  display: none !important;
}

/* WhatsApp nav button */
.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--whatsapp);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 3px;
  font-size: 12px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.nav-whatsapp:hover {
  background: var(--whatsapp-hover);
  color: #fff !important;
}

.nav-whatsapp::after {
  display: none !important;
}

.nav-whatsapp svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: #BEA85B;
}

.mobile-nav a.active {
  border-bottom: 2px solid #BEA85B !important;
  text-shadow: 0 0 8px rgba(190, 168, 91, 0.4);
}

.mobile-nav .nav-whatsapp {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding: 12px 24px !important;
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: var(--nav-height) 24px 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.55) 100%);
  z-index: 1;
}

.hero .hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-width='0.5'%3E%3Cpolygon points='40,4 52.36,15.64 64.72,4 64.72,24.72 76.36,12.36 64.72,24.72 76.36,40 64.72,40 64.72,55.28 76.36,67.64 64.72,55.28 52.36,64.36 40,76 27.64,64.36 15.28,55.28 3.64,67.64 15.28,55.28 15.28,40 3.64,40 15.28,24.72 3.64,12.36 15.28,24.72 15.28,4 27.64,15.64'/%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3Cline x1='40' y1='0' x2='40' y2='80'/%3E%3Cline x1='0' y1='40' x2='80' y2='40'/%3E%3Cline x1='0' y1='0' x2='80' y2='80'/%3E%3Cline x1='80' y1='0' x2='0' y2='80'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  padding: 0 24px;
}

.hero h1 {
  font-size: 60px;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.hero .subtitle {
  font-size: 19px;
  color: var(--text-body);
  margin-bottom: 40px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  color: var(--gold);
  opacity: 0.7;
  animation: bounceChevron 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
  color: var(--gold-hover);
}

.scroll-indicator svg {
  width: 32px;
  height: 32px;
}

@keyframes bounceChevron {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Hero placeholder image */
.hero-image-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
}

.hero-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-width='0.3'%3E%3Cpolygon points='40,4 52.36,15.64 64.72,4 64.72,24.72 76.36,12.36 64.72,24.72 76.36,40 64.72,40 64.72,55.28 76.36,67.64 64.72,55.28 52.36,64.36 40,76 27.64,64.36 15.28,55.28 3.64,67.64 15.28,55.28 15.28,40 3.64,40 15.28,24.72 3.64,12.36 15.28,24.72 15.28,4 27.64,15.64'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  opacity: 0.12;
}

/* ============================
   IMAGE PLACEHOLDERS (global)
   ============================ */
.img-placeholder {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
}

.img-placeholder.ratio-16-9 { aspect-ratio: 16 / 9; }
.img-placeholder.ratio-4-3  { aspect-ratio: 4 / 3; }
.img-placeholder.ratio-3-2  { aspect-ratio: 3 / 2; }

.img-placeholder .placeholder-icon {
  width: 48px;
  height: 48px;
  opacity: 0.2;
}

.img-placeholder .placeholder-label {
  font-size: 13px;
  font-family: var(--font-body);
  color: var(--gold);
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.img-placeholder img,
.hero-image-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* ============================
   TRUST BAR
   ============================ */
.trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 48px 0;
}

.trust-item {
  padding: 16px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  color: var(--gold);
}

.trust-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.trust-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================
   SERVICE CARDS (Home)
   ============================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: var(--card-pad);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.08);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--gold);
}

.service-card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-card .card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-card .card-link:hover {
  color: var(--gold-hover);
}

/* ============================
   PORTFOLIO CARDS (Home + Portfolio page)
   ============================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, opacity 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.portfolio-card .img-placeholder {
  border: none;
  border-radius: 0;
}

.portfolio-card-body {
  padding: 20px 24px;
}

.category-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.portfolio-card-body h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.portfolio-card-body .material {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.portfolio-card-body .card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================
   WHY CHOOSE US
   ============================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

.why-item {
  text-align: center;
  padding: 20px;
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}

.why-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item h3 {
  margin-bottom: 12px;
}

.why-item p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================
   WHATSAPP CTA BANNER
   ============================ */
.whatsapp-banner {
  background: var(--gold);
  text-align: center;
}

.whatsapp-banner h2 {
  color: var(--bg-dark);
  margin-bottom: 12px;
}

.whatsapp-banner p {
  color: var(--bg-dark);
  opacity: 0.85;
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.whatsapp-banner .btn-whatsapp {
  background: var(--bg-dark);
  color: #fff;
  font-size: 14px;
}

.whatsapp-banner .btn-whatsapp:hover {
  background: #111;
}

/* ============================
   PAGE HERO (interior pages)
   ============================ */
.page-hero {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-width='0.5'%3E%3Cpolygon points='40,4 52.36,15.64 64.72,4 64.72,24.72 76.36,12.36 64.72,24.72 76.36,40 64.72,40 64.72,55.28 76.36,67.64 64.72,55.28 52.36,64.36 40,76 27.64,64.36 15.28,55.28 3.64,67.64 15.28,55.28 15.28,40 3.64,40 15.28,24.72 3.64,12.36 15.28,24.72 15.28,4 27.64,15.64'/%3E%3Ccircle cx='40' cy='40' r='12'/%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3Cline x1='40' y1='0' x2='40' y2='80'/%3E%3Cline x1='0' y1='40' x2='80' y2='40'/%3E%3Cline x1='0' y1='0' x2='80' y2='80'/%3E%3Cline x1='80' y1='0' x2='0' y2='80'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.page-hero p {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
}

/* ============================
   SERVICES PAGE — full sections
   ============================ */
.service-section {
  border-bottom: 1px solid var(--border);
}

.service-section:last-of-type {
  border-bottom: none;
}

.service-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.service-section:nth-child(even) .service-section-inner {
  direction: rtl;
}

.service-section:nth-child(even) .service-section-inner > * {
  direction: ltr;
}

.service-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.service-text ul {
  margin-bottom: 28px;
}

.service-text ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
}

.service-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

/* ============================
   PORTFOLIO PAGE — filters
   ============================ */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-tab {
  background: transparent;
  border: 1px solid #333333;
  color: #F5F0E8;
  padding: 8px 20px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover,
.filter-tab.active {
  border-color: #BEA85B;
  color: #BEA85B;
  background: rgba(190, 168, 91, 0.08);
}

/* Portfolio full grid */
.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

.portfolio-card.hidden {
  display: none;
}

/* ============================
   ABOUT PAGE
   ============================ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-story-text h2 {
  font-size: 30px;
  margin-bottom: 24px;
  line-height: 1.35;
}

.about-story-text p {
  margin-bottom: 20px;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.8;
}

/* What we do */
.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

.what-we-do-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: var(--card-pad);
  text-align: center;
  transition: border-color 0.3s ease;
}

.what-we-do-item:hover {
  border-color: var(--gold);
}

.what-we-do-item .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
}

.what-we-do-item .icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

.what-we-do-item h3 {
  margin-bottom: 10px;
}

.what-we-do-item p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 24px 16px;
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.25;
  margin-bottom: 12px;
  line-height: 1;
}

.process-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Process connector line */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 56px;
  right: -16px;
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.3;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: var(--card-pad);
  border-top: 3px solid var(--gold);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-card h3 {
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================
   FORMS (Order + Contact)
   ============================ */
.form-container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 12px 16px;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  resize: vertical;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239A9080' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input[type="file"] {
  padding: 10px 16px;
  cursor: pointer;
}

.form-group input[type="file"]::file-selector-button {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-body);
  padding: 6px 14px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  margin-right: 12px;
}

/* Radio buttons */
.radio-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 0;
}

.radio-group input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

/* Form row for side-by-side */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Thank-you message */
.thank-you {
  display: none;
  background: var(--success-bg);
  border: 1px solid #2A4A2A;
  border-radius: 4px;
  padding: 48px;
  text-align: center;
}

.thank-you.visible {
  display: block;
}

.thank-you h3 {
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 24px;
}

.thank-you p {
  margin-bottom: 24px;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.7;
}

/* WhatsApp fallback below form */
.form-fallback {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.form-fallback p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ============================
   CONTACT PAGE
   ============================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-info-block {
  margin-bottom: 32px;
}

.contact-info-block h3 {
  margin-bottom: 20px;
  font-size: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-detail .detail-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-detail .detail-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
}

.contact-detail .detail-text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
}

.contact-detail .detail-text a {
  color: var(--gold);
}

/* WhatsApp card */
.whatsapp-card {
  background: rgba(37, 211, 102, 0.06);
  border: 1.5px solid var(--whatsapp);
  border-radius: 4px;
  padding: 28px;
  margin-top: 24px;
}

.whatsapp-card h3 {
  font-size: 18px;
  color: var(--whatsapp);
  margin-bottom: 12px;
}

.whatsapp-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

/* Contact form (right col) */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px;
}

.contact-form-wrap h3 {
  margin-bottom: 24px;
}

/* Map placeholder */
.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 64px;
}

.map-placeholder .placeholder-label {
  font-size: 14px;
  color: var(--gold);
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  position: relative;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

/* Geometric SVG border above footer */
.footer-border {
  width: 100%;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='20' viewBox='0 0 60 20'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-width='0.6'%3E%3Cpath d='M0,10 L10,0 L20,10 L30,0 L40,10 L50,0 L60,10'/%3E%3Cpath d='M0,10 L10,20 L20,10 L30,20 L40,10 L50,20 L60,10'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 60px 20px;
  background-position: center;
  opacity: 0.35;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 20px;
}

.footer-brand .tagline {
  font-style: italic;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.footer-links h3 {
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links ul li a:hover {
  color: var(--gold);
}

.footer-contact h3 {
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-contact p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-contact .btn-whatsapp {
  margin-top: 16px;
  font-size: 12px;
  padding: 10px 20px !important;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 20px 24px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ============================
   RESPONSIVE — TABLET (≤ 992px)
   ============================ */
@media (max-width: 992px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }

  .hero h1 { font-size: 46px; }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .why-grid,
  .what-we-do-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid,
  .portfolio-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .service-section-inner,
  .about-story {
    grid-template-columns: 1fr;
  }

  .service-section:nth-child(even) .service-section-inner {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .form-container {
    padding: 36px;
  }
}

/* ============================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================ */
@media (max-width: 768px) {
  :root {
    --section-py: 56px;
  }

  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }

  .hero-text h1 { font-size: 34px; }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 32px 0;
  }

  .trust-number {
    font-size: 28px;
  }

  .services-grid,
  .portfolio-grid,
  .portfolio-full-grid,
  .why-grid,
  .what-we-do-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .form-container {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .filter-tabs {
    gap: 8px;
  }

  .filter-tab {
    padding: 6px 14px;
    font-size: 12px;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

/* ============================
   RESPONSIVE — SMALL (≤ 480px)
   ============================ */
@media (max-width: 480px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }

  .hero h1 { font-size: 28px; }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .container {
    padding: 0 16px;
  }

  .radio-group {
    flex-direction: column;
    gap: 12px;
  }
}

/* ============================
   ANIMATION SUPPORT
   ============================ */

/* Word-split hero headline */
.hero h1 .word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.hero h1 .word {
  display: inline-block;
}

/* GPU hint for animated elements */
.will-animate {
  will-change: transform, opacity;
}

/* Page transition overlay */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background: #1A1A1A;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
}

/* ============================
   SCROLL REVEAL ANIMATIONS
   ============================ */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-animate {
  opacity: 0;
  transform: translateY(30px);
  animation: heroEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes heroEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card, .portfolio-card, .why-item, .what-we-do-item, .value-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover, .portfolio-card:hover, .what-we-do-item:hover, .value-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.1);
}

.why-item:hover {
  transform: translateY(-4px);
}

/* Reduced motion overrides */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero h1 .word,
  .hero h1 .word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

  .page-transition-overlay {
    display: none !important;
  }
}

