/* ============================================================
   TMY COSMETICS — MAIN STYLESHEET
   ============================================================ */

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

/* --- CSS Variables --- */
:root {
  --navy:         #1a2e44;
  --navy-dark:    #111e2d;
  --navy-mid:     #243d57;
  --gold:         #b8975a;
  --gold-light:   #d4b07a;
  --text:         #1e1e1e;
  --text-mid:     #444444;
  --text-light:   #6a6a6a;
  --bg:           #ffffff;
  --bg-alt:       #f7f6f4;
  --bg-dark:      #111e2d;
  --border:       #e8e3db;
  --border-light: #f0ece6;
  --radius:       6px;
  --radius-lg:    12px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,.06);
  --shadow-md:    0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.13);
  --transition:   0.25s ease;
  --max-width:    1200px;
  --header-h:     76px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color var(--transition);
  background: var(--bg);
  color: var(--text);
}
input:focus, textarea:focus, select:focus { border-color: var(--navy); }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; font-family: 'Inter', sans-serif; font-weight: 600; }
p { color: var(--text-mid); }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tagline {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-title { margin-bottom: .75rem; }
.section-sub { color: var(--text-light); max-width: 600px; margin: 0 auto; }

.section-dark .section-title { color: #fff; }
.section-dark .section-sub { color: rgba(255,255,255,.65); }
.section-dark p { color: rgba(255,255,255,.8); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: #a07d45; transform: translateY(-1px); }

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-outline-white {
  border: 2px solid rgba(255,255,255,.8);
  color: #fff;
}
.btn-outline-white:hover { background: #fff; color: var(--navy); }

.btn-sm { padding: .6rem 1.4rem; font-size: .82rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  gap: 2rem;
}

/* Logo */
.logo-link {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo-placeholder {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .25em;
  color: var(--navy);
  border: 2px dashed var(--border);
  padding: .4rem 1rem;
  border-radius: var(--radius);
  color: var(--text-light);
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-img-footer {
  height: 40px;
  margin-bottom: 1rem;
}

/* Nav */
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-list a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: .5rem .85rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-list a:hover, .nav-list a.active { color: var(--navy); background: var(--bg-alt); }

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Language Selector */
.lang-selector { position: relative; }
.lang-current {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-mid);
  padding: .45rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  background: var(--bg);
}
.lang-current:hover { border-color: var(--navy); color: var(--navy); }
.lang-current .flag { font-size: 1.1rem; line-height: 1; }
.lang-current .chevron {
  width: 10px;
  height: 10px;
  transition: transform var(--transition);
}
.lang-selector.open .chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: all var(--transition);
  overflow: hidden;
}
.lang-selector.open .lang-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  padding: .7rem 1rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: background var(--transition);
}
.lang-btn:hover { background: var(--bg-alt); color: var(--navy); }
.lang-btn.active { color: var(--navy); font-weight: 600; background: var(--bg-alt); }
.lang-btn .flag { font-size: 1.15rem; line-height: 1; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Page offset for fixed header */
.page-content { padding-top: var(--header-h); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,30,45,.88) 0%, rgba(26,46,68,.75) 60%, rgba(0,0,0,.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  max-width: 780px;
}
.hero-tagline {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  padding: .4rem 1rem;
  border: 1px solid rgba(184,151,90,.4);
  border-radius: 2rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.18;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2.25rem;
  max-width: 560px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 6rem 0 4rem;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.page-hero .hero-overlay { background: linear-gradient(135deg, rgba(17,30,45,.9) 0%, rgba(26,46,68,.8) 100%); }
.page-hero .hero-content { max-width: var(--max-width); }
.page-hero .hero-title { font-size: clamp(1.8rem, 4vw, 3rem); }

/* ============================================================
   VALUE CARDS
   ============================================================ */
.value-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
}
.value-card:hover { border-color: var(--navy); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.value-card h4 { margin-bottom: .5rem; font-size: 1.05rem; color: var(--navy); }
.value-card p { font-size: .9rem; line-height: 1.6; }

/* ============================================================
   ABOUT SNIPPET (HOMEPAGE)
   ============================================================ */
.about-snippet { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-image-block { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-image-block img { width: 100%; height: 480px; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(17,30,45,.92);
  border: 1px solid rgba(184,151,90,.4);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  color: #fff;
  backdrop-filter: blur(4px);
}
.about-badge strong { display: block; font-size: 1.6rem; color: var(--gold-light); font-family: 'Playfair Display', serif; }
.about-badge span { font-size: .78rem; opacity: .75; letter-spacing: .05em; }
.about-text .section-tagline { display: block; text-align: left; }
.about-text h2 { margin-bottom: 1rem; }
.about-text p { margin-bottom: 1.5rem; font-size: .95rem; }

/* ============================================================
   SERVICE CARDS (HOMEPAGE OVERVIEW)
   ============================================================ */
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-num {
  font-size: 3rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--border);
  line-height: 1;
  margin-bottom: .75rem;
}
.service-card h3 { color: var(--navy); margin-bottom: .75rem; font-size: 1.2rem; }
.service-card p { font-size: .9rem; }

/* ============================================================
   PRODUCT CATEGORY CARDS
   ============================================================ */
.product-cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
}
.product-cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-cat-card:hover img { transform: scale(1.05); }
.product-cat-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(0deg, rgba(17,30,45,.92) 0%, rgba(17,30,45,.3) 100%);
  padding: 1.75rem 1.5rem 1.5rem;
}
.product-cat-overlay h3 { color: #fff; margin-bottom: .35rem; font-size: 1.3rem; }
.product-cat-overlay p { color: rgba(255,255,255,.75); font-size: .85rem; margin-bottom: 1rem; }
.product-cat-card .cat-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.process-step {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.section .process-step {
  background: var(--bg);
  border-color: var(--border);
}
.process-step:hover { border-color: var(--gold); }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: .5;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.step-body h4 { color: var(--navy); margin-bottom: .4rem; font-size: .95rem; }
.section-dark .step-body h4 { color: var(--gold-light); }
.step-body p { font-size: .85rem; line-height: 1.65; }

/* ============================================================
   QUALITY / CERT CARDS
   ============================================================ */
.cert-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.cert-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold); }
.cert-badge {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--gold-light);
}
.cert-badge strong { font-size: 1.1rem; font-weight: 700; line-height: 1; font-family: 'Inter', sans-serif; }
.cert-badge small { font-size: .55rem; letter-spacing: .08em; margin-top: 2px; opacity: .8; }
.cert-card h4 { color: var(--navy); margin-bottom: .25rem; }
.cert-card .cert-sub { font-size: .78rem; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; font-weight: 600; }
.cert-card p { font-size: .88rem; line-height: 1.65; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(184,151,90,.12) 0%, transparent 70%);
}
.cta-banner .container { position: relative; }
.cta-banner h2 { color: #fff; margin-bottom: .75rem; }
.cta-banner p { color: rgba(255,255,255,.7); margin-bottom: 2rem; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-placeholder {
  color: rgba(255,255,255,.5);
  border-color: rgba(255,255,255,.15);
  margin-bottom: 1rem;
  display: inline-block;
}
.footer-tagline { font-size: .88rem; line-height: 1.7; color: rgba(255,255,255,.55); }
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .6rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }
.footer-contact-item { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .85rem; }
.footer-contact-item .icon { font-size: 1rem; margin-top: 2px; flex-shrink: 0; color: var(--gold-light); }
.footer-contact-item span { font-size: .875rem; color: rgba(255,255,255,.6); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  gap: 1rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.35); }
.footer-bottom-links a:hover { color: rgba(255,255,255,.65); }

/* ============================================================
   ABOUT PAGE SPECIFIC
   ============================================================ */
.mission-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.mission-value {
  padding: 1.5rem;
  border-left: 3px solid var(--gold);
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.mission-value h4 { color: var(--navy); margin-bottom: .4rem; font-size: 1rem; }
.mission-value p { font-size: .875rem; }

.two-col-content { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col-content.reverse { direction: rtl; }
.two-col-content.reverse > * { direction: ltr; }
.col-image { border-radius: var(--radius-lg); overflow: hidden; }
.col-image img { width: 100%; height: 400px; object-fit: cover; }
.col-text .section-tagline { display: block; text-align: left; }
.col-text h2 { margin-bottom: 1rem; }
.col-text p { margin-bottom: 1rem; font-size: .95rem; }

.delivery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.delivery-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
}
.section .delivery-item { background: var(--bg); border-color: var(--border); }
.delivery-item .d-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(184,151,90,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.delivery-item h4 { font-size: .95rem; margin-bottom: .3rem; color: var(--navy); }
.section-dark .delivery-item h4 { color: var(--gold-light); }
.delivery-item p { font-size: .85rem; }

/* ============================================================
   SERVICES PAGE SPECIFIC
   ============================================================ */
.service-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.tier-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  background: var(--bg);
  position: relative;
  transition: all var(--transition);
}
.tier-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.tier-card.featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}
.tier-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
  background: var(--bg-alt);
  color: var(--text-light);
}
.tier-card.featured .tier-badge { background: var(--navy); color: var(--gold-light); }
.tier-card h3 { color: var(--navy); margin-bottom: .75rem; font-size: 1.25rem; }
.tier-desc { font-size: .9rem; margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--border); }
.tier-features { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.tier-feature {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .875rem;
  color: var(--text-mid);
}
.tier-feature::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* Process steps (services page) */
.process-steps-vertical { display: flex; flex-direction: column; gap: 0; }
.process-step-v {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  position: relative;
  padding-bottom: 2.5rem;
}
.process-step-v:last-child { padding-bottom: 0; }
.process-step-v:last-child .step-line { display: none; }
.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 8px;
}
.step-right { padding-top: .85rem; }
.step-right h4 { color: var(--navy); margin-bottom: .4rem; }
.step-right p { font-size: .875rem; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  gap: 1rem;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--navy); }
.faq-question.open { color: var(--navy); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: all var(--transition);
  color: var(--text-light);
}
.faq-question.open .faq-icon { background: var(--navy); border-color: var(--navy); color: #fff; transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 1.25rem;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-mid);
}
.faq-answer.open { display: block; }

/* ============================================================
   PRODUCTS PAGE SPECIFIC
   ============================================================ */
.category-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.cat-tab {
  padding: .75rem 1.75rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  border-radius: var(--radius) var(--radius) 0 0;
}
.cat-tab:hover { color: var(--navy); }
.cat-tab.active { color: var(--navy); border-bottom-color: var(--navy); background: var(--bg-alt); }

.cat-panel { display: none; }
.cat-panel.active { display: block; }

.cat-panel-header { margin-bottom: 2.5rem; }
.cat-panel-header h2 { margin-bottom: .5rem; }

.product-subcats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.subcat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  background: var(--bg);
  transition: all var(--transition);
}
.subcat-card:hover { border-color: var(--navy); box-shadow: var(--shadow-md); }
.subcat-card h4 { color: var(--navy); margin-bottom: .4rem; }
.subcat-desc { font-size: .85rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-light); }
.product-list { display: flex; flex-direction: column; gap: .35rem; }
.product-list li {
  font-size: .82rem;
  color: var(--text-mid);
  padding: .25rem 0 .25rem .9rem;
  position: relative;
}
.product-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.pl-note {
  display: inline-block;
  font-size: .75rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border-light);
  width: 100%;
}
.coming-soon-panel {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
}
.coming-soon-panel .soon-icon { font-size: 3rem; margin-bottom: 1rem; }
.coming-soon-panel h3 { color: var(--text-light); }

/* ============================================================
   QUALITY PAGE SPECIFIC
   ============================================================ */
.quality-standards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 900px; margin: 0 auto; }
.quality-standard-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: all var(--transition);
}
.quality-standard-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold); }
.qs-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.qs-badge {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--gold-light);
  flex-shrink: 0;
}
.qs-badge strong { font-size: .95rem; font-weight: 700; line-height: 1; }
.qs-badge small { font-size: .5rem; letter-spacing: .05em; }
.qs-header-text h4 { color: var(--navy); margin-bottom: .2rem; }
.qs-header-text span { font-size: .78rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.quality-standard-card p { font-size: .875rem; line-height: 1.7; }

.qc-process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 3rem; }
.qc-step {
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.qc-step:hover { border-color: var(--navy); }
.qc-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: .75rem;
}
.qc-step h4 { color: var(--navy); margin-bottom: .5rem; font-size: .95rem; }
.qc-step p { font-size: .85rem; line-height: 1.65; }

.quality-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.quality-pillar {
  padding: 1.75rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
}
.qp-icon { font-size: 2rem; margin-bottom: 1rem; }
.quality-pillar h4 { color: var(--gold-light); margin-bottom: .5rem; }
.quality-pillar p { font-size: .875rem; color: rgba(255,255,255,.65); }

/* ============================================================
   CONTACT PAGE SPECIFIC
   ============================================================ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; }
.contact-info h3 { color: var(--navy); margin-bottom: 1.75rem; }
.contact-info-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  transition: all var(--transition);
}
.contact-info-item:hover { border-color: var(--navy); }
.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ci-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: .15rem; }
.ci-value { font-size: .9rem; color: var(--text-mid); }
.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: #25d366;
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--transition);
}
.whatsapp-btn:hover { background: #1da851; transform: translateY(-2px); }
.whatsapp-btn .wa-icon { font-size: 1.4rem; }

.contact-form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { color: var(--navy); margin-bottom: .35rem; }
.contact-form-card .form-sub { font-size: .875rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-mid); margin-bottom: .4rem; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-required { font-size: .75rem; color: var(--text-light); margin-top: 1rem; }
.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: .875rem;
  color: #166534;
  margin-bottom: 1.25rem;
}
.form-success.show { display: block; }

/* ============================================================
   RESPONSIVE — TABLET (1024px and below)
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-snippet { gap: 3rem; }
  .service-tiers { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .quality-standards { grid-template-columns: 1fr; }
  .qc-process { grid-template-columns: repeat(2, 1fr); }
  .quality-pillars { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .product-subcats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — MOBILE (768px and below)
   ============================================================ */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .container { padding: 0 1.25rem; }
  .section { padding: 3.5rem 0; }

  /* Nav */
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 999;
  }
  .main-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .25rem; width: 100%; }
  .nav-list a { padding: .75rem 1rem; display: block; }
  .menu-toggle { display: flex; }

  .header-right .btn { display: none; }

  /* Grid overrides */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-snippet { grid-template-columns: 1fr; }
  .about-image-block img { height: 280px; }
  .two-col-content { grid-template-columns: 1fr; }
  .two-col-content.reverse { direction: ltr; }
  .col-image img { height: 260px; }
  .service-tiers { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .mission-values { grid-template-columns: 1fr; }
  .delivery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .product-subcats { grid-template-columns: 1fr; }
  .qc-process { grid-template-columns: 1fr; }
  .quality-standards { grid-template-columns: 1fr; }
  .quality-pillars { grid-template-columns: 1fr; }

  .hero { min-height: 100svh; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .category-tabs { overflow-x: auto; padding-bottom: 0; }
  .cat-tab { white-space: nowrap; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   RTL SUPPORT (Arabic)
   ============================================================ */
[dir="rtl"] .header-inner { flex-direction: row-reverse; }
[dir="rtl"] .main-nav { justify-content: center; }
[dir="rtl"] .header-right { flex-direction: row-reverse; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .section-tagline { display: block; text-align: right; }
[dir="rtl"] .about-text .section-tagline { text-align: left; }
[dir="rtl"] .col-text .section-tagline { text-align: right; }
[dir="rtl"] .about-snippet { direction: rtl; }
[dir="rtl"] .about-snippet > * { direction: ltr; }
[dir="rtl"] .mission-value { border-left: none; border-right: 3px solid var(--gold); border-radius: var(--radius) 0 0 var(--radius); }
[dir="rtl"] .product-list li { padding-left: 0; padding-right: .9rem; }
[dir="rtl"] .product-list li::before { left: auto; right: 0; }
[dir="rtl"] .tier-feature { flex-direction: row-reverse; justify-content: flex-end; }
[dir="rtl"] .process-step-v { direction: rtl; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .contact-layout { direction: rtl; }
[dir="rtl"] .contact-layout > * { direction: ltr; }
[dir="rtl"] .faq-question { flex-direction: row-reverse; }
[dir="rtl"] .nav-list a { text-align: right; }

@media (max-width: 768px) {
  [dir="rtl"] .header-inner { flex-direction: row-reverse; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { opacity: 0; }
.fade-in-up.visible { animation: fadeInUp .6s ease forwards; }
.fade-in-up:nth-child(2) { animation-delay: .1s; }
.fade-in-up:nth-child(3) { animation-delay: .2s; }
.fade-in-up:nth-child(4) { animation-delay: .3s; }

/* Certificate download button */
.cert-download-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.25rem;
  padding: .55rem 1.25rem;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.cert-download-btn:hover {
  background: var(--gold);
  color: #fff;
}
