/* =========================================
   THAMEEN ALMAASA TRADING LLC - STYLESHEET
   Professional Trading Company Website
========================================= */

:root {
  /* Corporate palette: navy-blue + black primary + orange accent + slate neutrals.
     (Primary kept under --navy-*, accent under --gold-*, so all existing rules cascade.) */
  --navy: #0E2240;
  --navy-light: #0A1526;
  --navy-lighter: #1A3F70;
  --gold: #F97316;
  --gold-light: #FDBA74;
  --gold-dark: #EA580C;
  --white: #FFFFFF;
  --bg: #FBFBFC;
  --gray-50: #F7F9FC;
  --gray-100: #EEF2F8;
  --gray-200: #E3E9F1;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --success: #10B981;
  --border-radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04), 0 2px 6px rgba(15,23,42,0.05);
  --shadow: 0 6px 16px -6px rgba(15,23,42,0.10), 0 12px 32px -12px rgba(15,23,42,0.12);
  --shadow-lg: 0 16px 32px -12px rgba(15,23,42,0.14), 0 36px 64px -24px rgba(15,23,42,0.24);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--gray-700);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02','cv03','cv04','cv11';
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--gold);
}

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

/* ===== SCROLL REVEAL (progressive enhancement, applied via JS) ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-top {
  background: var(--navy);
  color: var(--white);
  padding: 8px 0;
  font-size: 13px;
}

.header-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-top a {
  color: var(--gold-light);
  margin-left: 16px;
}

.header-main {
  padding: 16px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--navy), var(--gold));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 28px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

/* Full horizontal logo lockup (icon + wordmark baked in) */
.logo-full {
  height: 46px;
  width: auto;
  display: block;
}
.footer-brand .logo-full {
  height: 52px;
}
@media (max-width: 600px) {
  .logo-full { height: 38px; }
}

/* Brand mark — bare icon, no square background */
.logo-icon.logo-icon--mark {
  background: none;
  box-shadow: none;
  border-radius: 0;
  width: 58px;
  height: 58px;
}
.logo-icon--mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: 1.5px;
}

.logo-subtitle {
  font-size: 11px;
  color: #E1602E;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  margin-top: 5px;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: var(--gray-50);
}

/* ===== MEGA MENU ===== */
.mega-menu {
  position: fixed;
  top: auto;
  left: 0;
  right: 0;
  width: 100%;
  background: white;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 99;
  max-height: 0;
  overflow: hidden;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 800px;
}

.mega-menu-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.3fr;
  gap: 48px;
}

.mega-column h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
}

.mega-column ul {
  list-style: none;
  padding: 0;
}

.mega-column li {
  margin-bottom: 10px;
}

.mega-column a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--gray-700);
  transition: all 0.25s;
  font-weight: 500;
}

.mega-column a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.mega-column a .icon {
  width: 20px;
  color: var(--gold);
  font-size: 13px;
}

.mega-feature {
  background: linear-gradient(135deg, var(--navy), var(--navy-lighter));
  padding: 32px;
  border-radius: var(--border-radius);
  color: white;
  position: relative;
  overflow: hidden;
}

.mega-feature::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.2), transparent 70%);
  border-radius: 50%;
}

.mega-feature-label {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.mega-feature h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.mega-feature p {
  color: var(--gray-300);
  font-size: 13px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.mega-feature a {
  display: inline-block;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}

.mega-feature a:hover {
  background: var(--gold-light);
  color: var(--navy);
}

.cta-button {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  padding: 14px 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), filter 0.35s var(--ease);
  display: inline-block;
  box-shadow: 0 6px 18px -6px rgba(249, 115, 22,0.55);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -8px rgba(249, 115, 22,0.6);
  filter: brightness(1.06);
  color: var(--navy);
}

.cta-button:active {
  transform: translateY(-1px);
}

.cta-button-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-300);
  padding: 12.5px 28px;
  box-shadow: none;
}

.cta-button-outline:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  filter: none;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy-lighter) 100%);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.hero-tagline {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: 25px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 64px;
  color: white;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero h1 .gold {
  color: var(--gold);
  font-style: normal;
}

.hero p {
  font-size: 20px;
  color: var(--gray-300);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.hero-stat-label {
  color: var(--gray-300);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 8px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

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

.section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 20px;
}

.section h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.section-header p {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 700px;
  margin: 0 auto;
}

.section-gray {
  background: var(--gray-50);
}

.section-navy {
  background: var(--navy);
  color: white;
}

.section-navy h2 {
  color: white;
}

.section-navy .section-header p {
  color: var(--gray-300);
}

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  padding: 32px 24px 36px;
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(249, 115, 22,0.5);
}

.category-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy), var(--navy-lighter));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 36px;
  margin: 0 auto 24px;
  transition: all 0.3s;
}

.category-card:hover .category-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
}

.category-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

/* Category tile showing a real product photo (white so the product reads clearly) */
.category-icon.category-icon--photo,
.category-card:hover .category-icon.category-icon--photo {
  background: #fff;
  border: 1px solid var(--gray-200);
  padding: 7px;
}

.category-icon--photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Partner brand logo tile — white mark centered on the navy square */
.category-icon.category-icon--logo {
  padding: 18px;
}
.category-icon--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto 24px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s;
}

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

.category-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.category-card p {
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 20px;
}

.category-card a {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(249, 115, 22,0.5);
}

.product-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--gray-400);
  position: relative;
  overflow: hidden;
}

.product-image--photo {
  background: #fff;
  padding: 9mm;
}

.product-image.product-image--cover {
  padding: 0;
}

.product-image.product-image--cover img {
  object-fit: cover;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}

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

.product-image .badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-info {
  padding: 24px;
}

.product-category {
  color: var(--gold-dark);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 8px;
}

.product-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.product-info p {
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.product-price {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature {
  text-align: center;
  padding: 32px;
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0.2));
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 40px;
  margin: 0 auto 24px;
}

.feature h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.feature p {
  color: var(--gray-500);
  line-height: 1.6;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), var(--navy-lighter));
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.15), transparent 70%);
}

.cta-banner-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: white;
  font-size: 48px;
  margin-bottom: 20px;
}

.cta-banner p {
  color: var(--gray-300);
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: var(--gray-300);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand .logo-name {
  color: white;
}

.footer-brand .logo-subtitle {
  color: var(--gold-light);
}

.footer-about {
  margin-top: 20px;
  color: var(--gray-400);
  line-height: 1.8;
}

.footer h4 {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: var(--gray-400);
  font-size: 14px;
  transition: all 0.3s;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--gray-400);
}

.footer-contact-item span:first-child {
  color: var(--gold);
  font-size: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray-500);
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gray-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 14px;
}

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

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-lighter));
  padding: 120px 0 80px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Banner variant: category image behind a dark overlay (set --banner per page) */
.page-header--banner {
  background-image:
    linear-gradient(135deg, rgba(14,34,64,0.90), rgba(10,21,38,0.82)),
    var(--banner);
  background-size: cover;
  background-position: center;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12), transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  color: white;
  font-size: 56px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 18px;
  color: var(--gray-300);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--gray-400);
  position: relative;
  z-index: 1;
}

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

/* ===== CONTENT SECTIONS ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.content-block h3 {
  font-size: 32px;
  margin-bottom: 20px;
}

.content-block p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-block ul {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}

.content-block ul li {
  padding: 12px 0 12px 32px;
  position: relative;
  color: var(--gray-600);
}

.content-block ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 12px;
  width: 22px;
  height: 22px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.image-block {
  background: linear-gradient(135deg, var(--navy), var(--navy-lighter));
  aspect-ratio: 1;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 120px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.4), rgba(30,58,95,0.2));
  pointer-events: none;
}

/* Photo variant: full image, no crop, no dark overlay (matches home category cards) */
.image-block.image-block--photo {
  aspect-ratio: 3 / 2;
  background: #fff;
  padding: 0.5mm;
}

.image-block.image-block--photo img {
  object-fit: contain;
}

.image-block.image-block--photo::after {
  display: none;
}

/* ===== FORMS ===== */
.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 48px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

/* ===== CONTACT GRID ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.contact-card {
  background: white;
  padding: 40px 32px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

.contact-card .icon {
  width: 70px;
  height: 70px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 24px;
}

.contact-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.contact-card p,
.contact-card a {
  color: var(--gray-600);
  font-size: 15px;
}

/* ===== FAQ ===== */
.faq-item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  padding: 32px;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.faq-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-item h3::before {
  content: 'Q';
  width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.faq-item p {
  color: var(--gray-600);
  padding-left: 44px;
  line-height: 1.8;
}

/* ===== TABLE ===== */
.table-wrapper {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: var(--navy);
  color: white;
}

th {
  padding: 18px 24px;
  text-align: left;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
}

tr:hover td {
  background: var(--gray-50);
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.team-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy), var(--navy-lighter));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 100px;
}

.team-info {
  padding: 32px 24px;
}

.team-info h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.team-role {
  color: var(--gold-dark);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 16px;
}

.team-info p {
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding: 40px 0;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 32px;
  margin-bottom: 60px;
  align-items: center;
}

.timeline-year {
  width: 80px;
  height: 80px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.timeline-content {
  background: white;
  padding: 28px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.timeline-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--gray-600);
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 48px; }
  .section h2 { font-size: 36px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hero { padding: 60px 0; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .section { padding: 60px 0; }
  .section h2 { font-size: 30px; }
  .categories-grid,
  .products-grid,
  .footer-grid,
  .team-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrapper { padding: 28px; }
  .timeline::before { left: 30px; }
  .timeline-item { grid-template-columns: 60px 1fr; }
  .timeline-year { width: 60px; height: 60px; font-size: 14px; }
  .page-header h1 { font-size: 36px; }
}

/* ------------------------------------------------------------------ *
 * OLDER-SAFARI FALLBACK
 * Safari < 15 has no `aspect-ratio`; those boxes would collapse and the
 * page would look different from Chrome. This block ONLY applies when the
 * browser lacks aspect-ratio, so modern browsers are unaffected.
 * ------------------------------------------------------------------ */
@supports not (aspect-ratio: 1 / 1) {
  .product-image { height: 230px; }
  .category-photo { height: 220px; }
  .image-block { height: 420px; }
  .image-block.image-block--photo { height: 340px; }
  .team-image { height: 300px; }
  .category-icon { height: 80px; }
  /* keep the filling images correct inside the fixed-height boxes */
  .product-image img,
  .category-photo img,
  .image-block img,
  .team-image img { width: 100%; height: 100%; }
}
