/* ==========================================================================
   Cosmetica International — Official Trilingual Website Stylesheet (EN/FR/AR)
   Brand Palette Derived from Original Logo:
   - Brand Gold/Bronze: #9E6932 / #B87B3A / #7A4E21
   - Brand Crimson Red: #EA052C / #C20424
   - Warm Ivory & Champagne Surfaces: #FDFBF7 / #F6F0E6
   ========================================================================== */

:root {
  --brand-primary: #9e6932;
  --brand-primary-light: #c89254;
  --brand-primary-dark: #73491d;
  --brand-secondary: #ea052c;
  --brand-secondary-dark: #b80422;
  --bg-ivory: #fdfbf7;
  --bg-champagne: #f6EFE4;
  --bg-surface: #ffffff;
  --bg-dark: #1d1714;
  --text-main: #211a16;
  --text-muted: #5c5048;
  --text-light: #f9f5ef;
  --border-warm: #e6dac8;
  --shadow-soft: 0 12px 32px rgba(115, 73, 29, 0.08);
  --shadow-hover: 0 18px 40px rgba(115, 73, 29, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-arabic: 'Cairo', 'Plus Jakarta Sans', sans-serif;
}

html[lang="ar"] {
  --font-sans: var(--font-arabic);
  --font-serif: var(--font-arabic);
}

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

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

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Direction-aware arrow flip in RTL */
.dir-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

html[dir="rtl"] .dir-arrow {
  transform: scaleX(-1);
}

/* ==========================================================================
   Top Info Bar
   ========================================================================== */
.topbar {
  background: linear-gradient(90deg, #1d1714 0%, #2e221b 100%);
  color: #f3ece2;
  font-size: 0.85rem;
  padding-block: 0.55rem;
  border-bottom: 1px solid rgba(200, 146, 84, 0.25);
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.topbar-item,
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.topbar-link:hover {
  color: var(--brand-primary-light);
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-divider {
  opacity: 0.35;
}

.icon-svg {
  width: 16px;
  height: 16px;
  fill: var(--brand-primary-light);
  flex-shrink: 0;
}

/* ==========================================================================
   Header & Animated Original Logo
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-warm);
  box-shadow: 0 4px 20px rgba(33, 26, 22, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 92px;
  padding-block: 0.5rem;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-badge-shell {
  position: relative;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #ffffff 0%, #faf5ec 100%);
  border: 1px solid rgba(158, 105, 50, 0.22);
  box-shadow: 0 6px 18px rgba(158, 105, 50, 0.10);
  animation: logoEntrance 0.9s cubic-bezier(0.22, 1, 0.36, 1) both,
             logoFloatGlow 5s ease-in-out infinite alternate;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.logo-badge-shell:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(234, 5, 44, 0.45);
  box-shadow: 0 10px 26px rgba(158, 105, 50, 0.22), 0 0 14px rgba(234, 5, 44, 0.12);
}

.brand-logo-img {
  width: 175px;
  height: auto;
  max-height: 76px;
  object-fit: contain;
}

@keyframes logoEntrance {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes logoFloatGlow {
  0% {
    box-shadow: 0 6px 18px rgba(158, 105, 50, 0.10);
  }
  100% {
    box-shadow: 0 8px 24px rgba(158, 105, 50, 0.22), 0 0 10px rgba(234, 5, 44, 0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-badge-shell {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 1.65rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-main);
  padding-block: 0.4rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--brand-primary-dark);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Trilingual Switcher (EN / FR / AR) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-champagne);
  padding: 0.22rem;
  border-radius: 999px;
  border: 1px solid var(--border-warm);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(115, 73, 29, 0.25);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.82rem 1.55rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.86rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-secondary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(234, 5, 44, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(234, 5, 44, 0.32);
}

.btn-outline {
  background: transparent;
  border-color: var(--brand-primary);
  color: var(--brand-primary-dark);
}

.btn-outline:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

.btn-block {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--bg-champagne);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 9px;
  cursor: pointer;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding-block: 4.2rem 5rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(200, 146, 84, 0.16), transparent 45%),
    radial-gradient(circle at 12% 80%, rgba(234, 5, 44, 0.07), transparent 40%),
    linear-gradient(180deg, #fdfbf7 0%, #f6efe4 100%);
  border-bottom: 1px solid var(--border-warm);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 3.2rem;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(158, 105, 50, 0.12);
  border: 1px solid rgba(158, 105, 50, 0.32);
  color: var(--brand-primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-secondary);
  box-shadow: 0 0 0 4px rgba(234, 5, 44, 0.2);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.45rem);
  line-height: 1.14;
  color: var(--text-main);
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.06rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 60ch;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.6rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-warm);
}

.metric-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.metric-value {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand-primary-dark);
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(115, 73, 29, 0.18);
  border: 3px solid #ffffff;
}

.hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.hero-floating-card {
  position: absolute;
  bottom: 1.25rem;
  inset-inline-start: 1.25rem;
  inset-inline-end: 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid rgba(158, 105, 50, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.floating-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.floating-text {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.floating-text strong {
  color: var(--text-main);
  font-size: 0.95rem;
}

.floating-text span {
  color: var(--text-muted);
}

/* ==========================================================================
   Common Section Styles
   ========================================================================== */
.section {
  padding-block: 5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-secondary);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 2.8rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  background-color: var(--bg-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 3.5rem;
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-warm);
}

.about-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-caption-ribbon {
  background: linear-gradient(90deg, var(--brand-primary-dark), var(--brand-primary));
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.75rem 1.2rem;
  text-align: center;
}

.section-lead {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.95rem;
}

.section-body-text {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 1.85rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: var(--bg-ivory);
  border: 1px solid var(--border-warm);
}

.pillar-icon {
  font-weight: 800;
  font-size: 0.9rem;
  color: #ffffff;
  background: var(--brand-primary);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.pillar-heading {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-credentials-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #faf4ea 0%, #f3e6d3 100%);
  border-inline-start: 4px solid var(--brand-secondary);
}

.credential-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.credential-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.credential-val {
  font-size: 0.96rem;
  color: var(--text-main);
  font-weight: 800;
}

/* ==========================================================================
   Products & Collections Section
   ========================================================================== */
.products-section {
  background: var(--bg-ivory);
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  border: 1px solid var(--border-warm);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary-dark);
}

.filter-btn.active {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(115, 73, 29, 0.22);
}

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

.product-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-card[hidden] {
  display: none !important;
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f4ede2;
}

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

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

.product-badge {
  position: absolute;
  top: 0.9rem;
  inset-inline-start: 0.9rem;
  z-index: 2;
  background: rgba(29, 23, 20, 0.84);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.32rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 146, 84, 0.45);
}

.product-body {
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.product-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.35rem;
  flex-grow: 1;
}

.product-inquire-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-secondary);
}

.product-inquire-link:hover {
  color: var(--brand-primary-dark);
}

/* ==========================================================================
   Excellence Section
   ========================================================================== */
.excellence-section {
  background: linear-gradient(180deg, #ffffff 0%, #faf5ed 100%);
}

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

.exc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.45rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}

.exc-card:hover {
  transform: translateY(-4px);
}

.exc-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(158, 105, 50, 0.15), rgba(234, 5, 44, 0.1));
  color: var(--brand-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}

.exc-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--text-main);
}

.exc-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  background: var(--bg-champagne);
  border-top: 1px solid var(--border-warm);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.contact-intro {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-surface);
  padding: 1.15rem 1.3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-soft);
}

.contact-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(158, 105, 50, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-detail-val {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-detail-val a {
  color: var(--brand-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-sep {
  margin-inline: 0.45rem;
  opacity: 0.45;
}

.contact-form-panel {
  background: var(--bg-surface);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-soft);
}

.form-heading {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.form-subtext {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  background: var(--bg-ivory);
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(158, 105, 50, 0.16);
  background: #ffffff;
}

.form-toast {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: #eef8f1;
  border: 1px solid #2e7d32;
  color: #1b5e20;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-shell {
  display: inline-block;
  background: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 165px;
  height: auto;
  object-fit: contain;
}

.footer-desc {
  color: #cbbfb2;
  font-size: 0.92rem;
  max-width: 42ch;
}

.footer-heading {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--brand-primary-light);
  margin-bottom: 1.1rem;
}

.footer-nav-list,
.footer-legal-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #dfd5c8;
}

.footer-nav-list a:hover,
.footer-legal-list a:hover {
  color: var(--brand-primary-light);
}

.footer-bottom {
  padding-block: 1.35rem;
  font-size: 0.86rem;
  color: #b5a899;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-lang-shortcut {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-lang-link {
  background: none;
  border: none;
  color: #dfd5c8;
  font-family: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-lang-link:hover {
  color: var(--brand-primary-light);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .excellence-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-warm);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
    padding: 1.25rem 1.5rem;
    display: none;
  }

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

  .main-nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .products-grid,
  .excellence-grid,
  .form-row-two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo-img {
    width: 140px;
  }
}

/* Mobile 375px header & container fit refinements */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .container {
    padding-inline: 1rem;
  }
  .header-inner {
    gap: 0.5rem;
    min-height: 76px;
  }
  .logo-badge-shell {
    padding: 0.25rem 0.5rem;
  }
  .brand-logo-img {
    width: 112px;
    max-height: 56px;
  }
  .header-actions {
    gap: 0.45rem;
  }
  .lang-btn {
    font-size: 0.75rem;
    padding: 0.28rem 0.48rem;
  }
  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
    padding: 8px;
  }
  .hero-section {
    padding-block: 2.5rem 3.5rem;
  }
  .contact-form-panel {
    padding: 1.35rem;
  }
}
