/* ============================================================
   TianSheng — 高端门窗系统 · Schüco-Level Brand Stylesheet
   ============================================================ */

/* ----- Root Variables ----- */
:root {
  --gold:        #c9a84c;
  --gold-dark:   #a8882e;
  --gold-light:  #e0c87a;
  --dark:        #1a1a2e;
  --dark-2:      #16213e;
  --dark-3:      #0f3460;
  --white:       #ffffff;
  --off-white:   #f8f7f4;
  --gray-50:     #faf9f7;
  --gray-100:    #f2f0ec;
  --gray-200:    #e2dfd8;
  --gray-300:    #c5c1b8;
  --gray-400:    #9a958c;
  --gray-500:    #6b655c;
  --gray-600:    #4a4540;
  --gray-700:    #2d2925;
  --text:        #1a1a2e;
  --text-light:  #6b655c;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition:  0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.04);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.06);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.08);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.3);
  --radius:      12px;
  --radius-sm:   6px;
}

/* ----- 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);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}

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

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

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

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

.logo i {
  color: var(--gold);
  font-size: 1.3rem;
}

.logo span {
  color: var(--gold);
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
}

.nav-cta:hover {
  background: var(--gold-dark);
  box-shadow: var(--shadow-gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--dark);
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero.loaded .hero-bg img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.95) 0%,
    rgba(26, 26, 46, 0.7) 50%,
    rgba(26, 26, 46, 0.4) 100%
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero h1 .highlight {
  color: var(--gold);
  position: relative;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 540px;
}

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

.hero-stats {
  display: flex;
  gap: 50px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.hero-stat h3 .gold {
  color: var(--gold);
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 0.5; }
  51% { transform: scaleY(1); transform-origin: bottom; opacity: 0.5; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 1; }
}

/* ============================================================
   ABOUT / PHILOSOPHY
   ============================================================ */
.about-section {
  background: var(--white);
}

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

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius);
  pointer-events: none;
}

.about-image-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(10px);
  padding: 20px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.about-image-badge h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.about-image-badge p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
}

.about-feature i {
  color: var(--gold);
  font-size: 1.1rem;
}

.about-feature span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-section {
  background: var(--gray-50);
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 168, 76, 0.2);
}

.product-card-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 50px;
  text-transform: uppercase;
}

.product-card-body {
  padding: 24px;
}

.product-card-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-card-specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.product-card-spec {
  font-size: 0.75rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-card-spec i {
  color: var(--gold);
  font-size: 0.7rem;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold);
  margin-top: 16px;
  transition: gap var(--transition);
}

.product-card-link:hover {
  gap: 10px;
}

/* ============================================================
   PRODUCT DETAIL (Modal)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--white);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
}

.modal-close:hover {
  background: var(--gold);
  color: var(--white);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-image {
  position: relative;
  min-height: 400px;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.modal-body {
  padding: 40px;
}

.modal-body h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.modal-body .badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 50px;
  margin-bottom: 16px;
}

.modal-body .desc {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.modal-specs h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal-specs ul {
  margin-bottom: 24px;
}

.modal-specs li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
  color: var(--gray-600);
  display: flex;
  gap: 8px;
}

.modal-specs li::before {
  content: '—';
  color: var(--gold);
}

/* ============================================================
   TECHNICAL SPECS / CERTIFICATIONS
   ============================================================ */
.tech-section {
  background: var(--white);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.tech-card {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.tech-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.tech-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(201, 168, 76, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-card-icon i {
  font-size: 1.5rem;
  color: var(--gold);
}

.tech-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.tech-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-section {
  background: var(--dark);
  color: var(--white);
}

.projects-section .section-title {
  color: var(--white);
}

.projects-section .section-subtitle {
  color: rgba(255,255,255,0.5);
}

.projects-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
  color: rgba(255,255,255,0.6);
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

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

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

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

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.95) 0%, rgba(26,26,46,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card:hover .project-card-overlay {
  opacity: 1;
}

.project-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 168, 76, 0.2);
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 50px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.project-card-overlay h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 6px;
}

.project-card-overlay p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* ============================================================
   VALUES
   ============================================================ */
.values-section {
  background: var(--white);
}

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

.value-card {
  padding: 40px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-align: center;
}

.value-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(201, 168, 76, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand h3 {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand h3 i {
  color: var(--gold);
}

.footer-brand h3 span {
  color: var(--gold);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 0.9rem;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-col ul li i {
  width: 20px;
  color: var(--gold);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 30px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--gold);
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}

.page-header h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255,255,255,0.5);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  margin-top: 12px;
}

.breadcrumb a {
  color: var(--gold);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info h2,
.contact-form h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--text);
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon i {
  color: var(--white);
  font-size: 1.2rem;
}

.info-item h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text);
}

.info-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: all var(--transition);
  background: var(--white);
  color: var(--text);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.form-submit:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.map-section {
  height: 450px;
  position: relative;
  overflow: hidden;
}

.map-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(26, 32, 44, 0.85);
  padding: 30px 50px;
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(4px);
}

.map-overlay i {
  color: var(--gold);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.map-overlay h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.map-overlay p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid-reverse .about-grid {
  direction: rtl;
}

.about-grid-reverse .about-content {
  direction: ltr;
}

.about-page-story {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-page-story p {
  color: var(--text-light);
  line-height: 1.9;
  font-size: 1.05rem;
}

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.product-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  margin-bottom: 40px;
  transition: box-shadow var(--transition);
}

.product-detail-card:hover {
  box-shadow: var(--shadow-md);
}

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

.product-detail-img {
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.product-detail-content {
  padding: 40px;
}

.product-detail-content .badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 168, 76, 0.12);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 50px;
  margin-bottom: 12px;
}

.product-detail-content h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.product-detail-content > p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.product-detail-content h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 8px;
  margin-top: 20px;
}

.product-detail-content ul {
  margin-bottom: 20px;
}

.product-detail-content li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  display: flex;
  gap: 8px;
}

.product-detail-content li::before {
  content: '—';
  color: var(--gold);
}

.product-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 12px 28px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-light);
}

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

.tab-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ============================================================
   PROJECTS PAGE (projects.html)
   ============================================================ */
.projects-counter-section {
  background: var(--gray-50);
  text-align: center;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.counter-card {
  padding: 40px 20px;
}

.counter-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.counter-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .section-title { font-size: 2rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
  .contact-grid { gap: 40px; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-image { min-height: 300px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 20px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 100;
  }
  .nav-links.active { right: 0; }

  .hero { min-height: 90vh; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .about-image img { height: 300px; }
  
  .products-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  
  .page-header h1 { font-size: 2rem; }
  
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-detail-img { min-height: 250px; }
  .product-detail-content { padding: 24px; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  
  .counter-grid { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 1.6rem; }
  
  .modal-body { padding: 24px; }
  .map-overlay { padding: 20px 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .tech-grid { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: 1fr 1fr; }
}

/* ----- Case Studies (Projects page) ----- */
.case-study {
  margin-top: 20px;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
}
.case-study-toggle {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  transition: color 0.3s;
}
.case-study-toggle:hover { color: var(--gold-dark); }
.case-study-toggle i { transition: transform 0.3s; }
.case-study-toggle.active i { transform: rotate(180deg); }
.case-study-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0;
}
.case-study-body.open {
  max-height: 1000px;
  padding: 16px 0 8px;
}
.case-study-body h4 {
  color: var(--dark);
  font-size: 0.95rem;
  margin-bottom: 6px;
  margin-top: 14px;
}
.case-study-body h4:first-child { margin-top: 0; }
.case-study-body p {
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}
.case-study-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
.case-study-body ul li {
  color: var(--gray-500);
  font-size: 0.85rem;
  padding: 3px 0;
  padding-left: 16px;
  position: relative;
}
.case-study-body ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
}
