/* ============================================================
   DEPENDENCIA FABRIC & TEXTILE TRADING CO. L.L.C
   style.css – Corporate Textile Buying House
   ============================================================ */

/* ---- Google Fonts: Cormorant Garamond + DM Sans ---- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  /* Brand Colors – deep navy & warm gold (professional buying house) */
  --navy:        #0d1b2a;
  --navy-mid:    #1a2f4a;
  --navy-light:  #1e3a5f;
  --gold:        #c9a84c;
  --gold-light:  #e2c97e;
  --gold-pale:   #f5edd3;
  --white:       #ffffff;
  --off-white:   #f8f6f1;
  --gray-100:    #f2f0ec;
  --gray-200:    #e4e0d9;
  --gray-400:    #a09b8f;
  --gray-600:    #6b6258;
  --gray-800:    #3a342d;
  --text-dark:   #1a1410;
  --text-body:   #4a4540;
  --text-muted:  #7a746e;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad: 96px;
  --container:   1240px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast: 0.2s;
  --t-mid:  0.4s;
  --t-slow: 0.7s;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(13,27,42,0.08);
  --shadow-md: 0 8px 32px rgba(13,27,42,0.12);
  --shadow-lg: 0 20px 60px rgba(13,27,42,0.16);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font-body); font-size: 0.9rem; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-pad) 0; }
.hide-sm { display: inline; }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed; inset: 0;
  background: var(--navy);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { text-align: center; }

.loader-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  animation: pulse-logo 1.4s ease infinite;
}
@keyframes pulse-logo {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.loader-bar {
  width: 180px;
  height: 2px;
  background: rgba(201,168,76,0.2);
  border-radius: 2px;
  overflow: hidden;
}
.loader-bar span {
  display: block;
  height: 100%;
  background: var(--gold);
  animation: loader-fill 1.8s ease forwards;
}
@keyframes loader-fill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ============================================================
   HEADER TOP BAR
   ============================================================ */
.header-top {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 9px 0;
  transition: height 0.3s, padding 0.3s;
}
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ht-info { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.ht-info span { display: flex; align-items: center; gap: 6px; }
.ht-info i { color: var(--gold); font-size: 0.72rem; }
.ht-social { display: flex; gap: 12px; }
.ht-social a {
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  width: 26px; height: 26px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.ht-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--t-mid), background var(--t-mid);
}
#navbar.scrolled {
  box-shadow: 0 4px 24px rgba(13,27,42,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.nav-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-transform: uppercase;
}
.nav-logo .logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
}

/* Nav Links */
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-link {
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-800);
  border-radius: 4px;
  position: relative;
  transition: color var(--t-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--t-mid) var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after { transform: translateX(-50%) scaleX(1); }

/* CTA Button */
.btn-nav {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: 4px;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}
.btn-nav:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1010;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.05);
  animation: hero-zoom 12s ease forwards;
}
@keyframes hero-zoom {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,27,42,0.85) 0%,
    rgba(13,27,42,0.55) 60%,
    rgba(13,27,42,0.25) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 22px;
  opacity: 0;
  animation: fade-up 0.7s 0.4s var(--ease) forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
  opacity: 0;
  animation: fade-up 0.8s 0.65s var(--ease) forwards;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
  font-weight: 500;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  margin-bottom: 38px;
  font-weight: 300;
  opacity: 0;
  animation: fade-up 0.8s 0.85s var(--ease) forwards;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s 1.05s var(--ease) forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 4px;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  animation: bounce 2s ease infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--navy);
  padding: 44px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-item {
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 300;
}
.stat-item p {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  font-weight: 400;
}

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.section-label.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 20px;
}
.section-title.light { color: var(--white); }

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 580px;
  font-weight: 300;
}

.section-header.center {
  text-align: center;
  margin-bottom: 56px;
}
.section-header.center .section-desc { margin: 0 auto; }

/* Fade-up animation */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

.about-images {
  position: relative;
}
.about-img-main {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  max-height: 560px;
}
.about-img-main img {
  width: 100%; height: 100%;
  transition: transform 0.8s var(--ease);
}
.about-img-main:hover img { transform: scale(1.04); }

.about-img-secondary {
  position: absolute;
  bottom: -32px;
  right: -40px;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 5px solid var(--white);
}
.about-img-secondary img { width: 100%; height: 100%; }

.about-badge-card {
  position: absolute;
  top: 40px;
  right: -50px;
  background: var(--gold);
  color: var(--navy);
  padding: 20px 22px;
  border-radius: 4px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.badge-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-top: 4px;
}

.about-content { padding: 20px 0; }

.about-lead {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--navy-mid);
  line-height: 1.65;
  margin-bottom: 18px;
}

.about-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 28px;
  font-weight: 300;
}

.about-checklist {
  margin-bottom: 36px;
}
.about-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 400;
}
.about-checklist li:last-child { border-bottom: none; }
.about-checklist i { color: var(--gold); font-size: 0.85rem; flex-shrink: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--off-white);
}

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

.service-card {
  background: var(--white);
  border-radius: 6px;
  padding: 36px 32px;
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), border-color var(--t-mid);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  border-radius: 0 0 2px 2px;
  transition: height 0.4s var(--ease);
}
.service-card:hover::before { height: 100%; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 54px; height: 54px;
  background: var(--gold-pale);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background var(--t-mid);
}
.service-icon i {
  font-size: 1.25rem;
  color: var(--gold);
  transition: color var(--t-mid);
}
.service-card:hover .service-icon { background: var(--gold); }
.service-card:hover .service-icon i { color: var(--white); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 20px;
}
.service-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t-fast), color var(--t-fast);
}
.service-link:hover { gap: 10px; color: var(--navy); }
.service-link i { font-size: 0.7rem; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { background: var(--white); }

.filter-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 9px 22px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--gray-200);
  border-radius: 40px;
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.product-card {
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), opacity 0.4s, display 0.4s;
}
.product-card.hidden {
  display: none;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }

.product-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.82) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--t-mid);
}
.product-card:hover .product-overlay { opacity: 1; }

.product-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 6px;
  width: fit-content;
}
.product-overlay p {
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 400;
  line-height: 1.4;
}

.product-info {
  padding: 18px 20px 22px;
}
.product-info h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.product-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-us {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.why-us-bg {
  position: absolute; inset: 0;
}
.why-us-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.why-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,0.93) 0%,
    rgba(13,27,42,0.80) 100%
  );
}
.why-content {
  position: relative;
  z-index: 2;
}
.why-content .section-title { margin-bottom: 48px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-item {
  padding: 32px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  text-align: center;
  transition: background var(--t-mid), border-color var(--t-mid), transform var(--t-mid);
}
.why-item:hover {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-6px);
}

.why-icon {
  width: 60px; height: 60px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(201,168,76,0.3);
  transition: background var(--t-mid);
}
.why-icon i {
  font-size: 1.3rem;
  color: var(--gold);
}
.why-item:hover .why-icon { background: var(--gold); }
.why-item:hover .why-icon i { color: var(--navy); }

.why-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
}
.why-item p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  font-weight: 300;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--navy);
  border-radius: 6px;
  padding: 40px 36px;
  height: 100%;
}

.ci-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ci-item:last-of-type { margin-bottom: 24px; padding-bottom: 24px; border-bottom: none; }

.ci-icon {
  width: 42px; height: 42px;
  background: rgba(201,168,76,0.15);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(201,168,76,0.2);
}
.ci-icon i { color: var(--gold); font-size: 0.9rem; }

.ci-text h5 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.ci-text p, .ci-text a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  font-weight: 300;
}
.ci-text a:hover { color: var(--gold); }

.ci-socials {
  display: flex; gap: 10px; margin-top: 8px;
}
.ci-socials a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.ci-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: 6px;
  padding: 40px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  font-weight: 400;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.btn-submit {
  width: 100%;
  justify-content: center;
  font-size: 0.85rem;
  padding: 15px;
  margin-top: 4px;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 4px;
  color: #166534;
  font-size: 0.88rem;
  font-weight: 500;
  align-items: center;
  gap: 8px;
}
.form-success.show { display: flex; }

/* ============================================================
   MAP
   ============================================================ */
.map-section {
  height: 380px;
  overflow: hidden;
  border-top: 3px solid var(--gold);
}
.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(25%);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--navy); }

.footer-top { padding: 70px 0 50px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1.8fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}
.footer-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
}
.footer-logo .logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
}

.footer-about {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 22px;
  font-weight: 300;
}

.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.75rem;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,168,76,0.3);
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  transition: color var(--t-fast), padding-left var(--t-fast);
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 6px; }

.footer-contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.footer-contact-list i {
  color: var(--gold);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-list span,
.footer-contact-list a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  font-weight: 300;
}
.footer-contact-list a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--t-mid), transform var(--t-mid), background var(--t-fast);
  z-index: 999;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-light); }

/* ============================================================
   RESPONSIVE – TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }

  .about-grid { gap: 48px; }
  .about-img-secondary { right: -20px; }
  .about-badge-card { right: -24px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:last-child { border-bottom: none; }
}

/* ============================================================
   RESPONSIVE – MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 60px; }
  .hide-sm { display: none; }

  /* Header top */
  .header-top { display: none; }

  /* Navbar mobile */
  .hamburger { display: flex; }
  .btn-nav { display: none; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 90px 32px 40px;
    gap: 4px;
    transition: right 0.4s var(--ease);
    z-index: 1005;
    box-shadow: -8px 0 40px rgba(0,0,0,0.25);
  }
  .nav-links.open { right: 0; }
  .nav-link {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    padding: 12px 16px;
    width: 100%;
    border-radius: 4px;
    transition: background var(--t-fast), color var(--t-fast);
  }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.active { color: var(--gold); background: rgba(201,168,76,0.08); }

  /* Mobile overlay */
  .nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1004;
  }
  .nav-overlay.show { display: block; }

  /* Hero */
  .hero-content { max-width: 100%; }
  .hero-title { font-size: 2.6rem; }
  .hero-subtitle { font-size: 0.92rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-images {
    max-width: 500px;
    margin: 0 auto;
  }
  .about-img-secondary { right: 0; bottom: -20px; }
  .about-badge-card { right: 50%; transform: translateX(50%); top: -20px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Products */
  .products-grid { grid-template-columns: 1fr 1fr; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
}

/* ============================================================
   RESPONSIVE – SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .products-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .filter-tabs { gap: 6px; }
  .filter-btn { padding: 7px 14px; font-size: 0.72rem; }
  .map-section { height: 260px; }
}
