/* ==========================================================================
   TEFOLI R&D - Modern Warm Red Design System
   Pure CSS3 Architecture (No Bootstrap Dependency)
   Typography: Roboto (Google Fonts)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,700&display=swap');

:root {
  /* Warm Red Palette */
  --red-50: #FFF3F2;
  --red-100: #FFE5E2;
  --red-200: #FFCCC7;
  --red-300: #FFA8A0;
  --red-400: #F76B5F;
  --red-500: #E03131;
  --red-600: #C92A2A; /* Primary Brand Warm Red */
  --red-700: #A61E16;
  --red-800: #82150E;
  --red-900: #540D09;

  /* Accent Warm Glow */
  --coral-accent: #FF6B4A;
  --amber-warm: #FD7E14;

  /* Dark Theme Surfaces (Warm Undertone) */
  --dark-bg: #120A0A;
  --dark-surface: #1C1211;
  --dark-card: #251817;
  --dark-card-hover: #32201F;
  --dark-border: rgba(201, 42, 42, 0.22);
  --dark-border-light: rgba(255, 255, 255, 0.08);

  /* Light Theme Surfaces */
  --light-bg: #FCFAFA;
  --light-surface: #F5EFEF;
  --light-card: #FFFFFF;
  --light-border: rgba(201, 42, 42, 0.12);

  /* Text Colors */
  --text-primary: #1C1413;
  --text-secondary: #5C4E4B;
  --text-muted: #877774;
  --text-white: #FFFFFF;
  --text-white-muted: rgba(255, 255, 255, 0.76);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #C92A2A 0%, #E03131 52%, #FF6B4A 100%);
  --grad-hero: linear-gradient(135deg, rgba(18, 10, 10, 0.94) 0%, rgba(130, 21, 14, 0.88) 100%);
  --grad-card: linear-gradient(180deg, rgba(201, 42, 42, 0.04) 0%, rgba(201, 42, 42, 0) 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(201, 42, 42, 0.08) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(18, 10, 10, 0.06);
  --shadow-md: 0 8px 24px rgba(18, 10, 10, 0.08);
  --shadow-lg: 0 16px 40px rgba(18, 10, 10, 0.12);
  --shadow-red: 0 10px 30px rgba(201, 42, 42, 0.28);
  --shadow-red-lg: 0 18px 45px rgba(201, 42, 42, 0.4);

  /* Layout & Spacing */
  --container-max: 1220px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --tr-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--light-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.25rem; font-weight: 700; }
h5 { font-size: 1.1rem; font-weight: 600; }

p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

p:last-child {
  margin-bottom: 0;
}

.text-white { color: var(--text-white) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-red { color: var(--red-600) !important; }
.text-center { text-align: center; }

/* Section Badges / Eyebrows */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--red-600);
  background: var(--red-50);
  border: 1px solid var(--red-200);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.eyebrow.eyebrow-dark {
  background: rgba(201, 42, 42, 0.18);
  border-color: rgba(255, 107, 74, 0.35);
  color: #FFA8A0;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin-bottom: 1rem;
  position: relative;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Layout Containers & Grid
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-fluid {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-sm {
  padding: 4rem 0;
}

.section-dark {
  background-color: var(--dark-bg);
  color: var(--text-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-white);
}

.section-dark p {
  color: var(--text-white-muted);
}

/* Responsive Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

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

.grid-auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--tr-smooth);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--text-white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-red-lg);
  color: var(--text-white);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--red-500);
  color: var(--red-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-red {
  background: transparent;
  color: var(--red-600);
  border: 1.5px solid var(--red-600);
}

.btn-outline-red:hover {
  background: var(--red-600);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--tr-smooth);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(20, 12, 11, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 42, 42, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.site-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand Logo Component */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  z-index: 1002;
}

.brand-logo .logo-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-primary);
  border-radius: 12px;
  padding: 7px;
  box-shadow: 0 4px 14px rgba(201, 42, 42, 0.4);
  transition: transform var(--tr-fast);
}

.brand-logo:hover .logo-icon-wrap {
  transform: scale(1.05) rotate(-3deg);
}

.brand-logo .logo-icon-wrap svg {
  width: 100%;
  height: 100%;
  color: #FFFFFF;
}

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

.brand-logo .brand-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #FFFFFF;
  line-height: 1.1;
}

.brand-logo .brand-tagline {
  font-family: 'Roboto', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2.2px;
  color: var(--coral-accent);
  text-transform: uppercase;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--tr-fast);
  letter-spacing: 0.5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--grad-primary);
  border-radius: 2px;
  transition: width var(--tr-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF;
}

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

.nav-cta-btn {
  margin-left: 0.5rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  z-index: 1002;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFFFFF;
  margin: 2.5px 0;
  transition: all var(--tr-smooth);
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 3rem) 0 5rem;
  background: var(--dark-bg);
  overflow: hidden;
}

.hero-bg-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: saturate(1.2);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(201, 42, 42, 0.35) 0%, transparent 60%),
              linear-gradient(180deg, rgba(18, 10, 10, 0.8) 0%, rgba(18, 10, 10, 0.98) 100%);
  z-index: 2;
}

.hero-glow-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 49, 49, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  top: 15%;
  right: -100px;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero-title {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.hero-title .highlight-red {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item .stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.stat-item .stat-number .stat-plus {
  color: var(--coral-accent);
}

.stat-item .stat-label {
  font-size: 0.875rem;
  color: var(--text-white-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Page Headers (for Inner Pages)
   ========================================================================== */
.page-header-banner {
  position: relative;
  background: var(--dark-bg);
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 42, 42, 0.2);
}

.page-header-banner .banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: 1;
}

.page-header-banner .banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(18, 10, 10, 0.95) 0%, rgba(130, 21, 14, 0.85) 100%);
  z-index: 2;
}

.page-header-banner .banner-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 1rem;
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-nav a:hover {
  color: var(--coral-accent);
}

.breadcrumb-nav span.current {
  color: var(--coral-accent);
}

/* ==========================================================================
   Card Components
   ========================================================================== */
/* Service Cards */
.service-card {
  background: var(--light-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--tr-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--tr-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 42, 42, 0.35);
  box-shadow: 0 20px 40px rgba(201, 42, 42, 0.12);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .card-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: var(--red-50);
  border: 1px solid var(--red-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-600);
  margin-bottom: 1.75rem;
  transition: all var(--tr-smooth);
}

.service-card:hover .card-icon-wrap {
  background: var(--grad-primary);
  color: #FFFFFF;
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 8px 20px rgba(201, 42, 42, 0.3);
}

.service-card .card-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card .card-title a {
  color: var(--text-primary);
}

.service-card .card-title a:hover {
  color: var(--red-600);
}

.service-card .card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--red-600);
  letter-spacing: 0.3px;
  transition: gap var(--tr-fast);
}

.service-card .card-link:hover {
  gap: 0.85rem;
  color: var(--red-700);
}

/* Industry Showcase Cards */
.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--tr-smooth);
  text-decoration: none;
}

.industry-card .card-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.industry-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(18, 10, 10, 0.15) 0%, rgba(18, 10, 10, 0.82) 55%, rgba(130, 21, 14, 0.95) 100%);
  z-index: 2;
  transition: opacity var(--tr-smooth);
}

.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(201, 42, 42, 0.3);
}

.industry-card:hover .card-bg-img {
  transform: scale(1.08);
}

.industry-card .card-content {
  position: relative;
  z-index: 3;
}

.industry-card .card-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--coral-accent);
  margin-bottom: 0.5rem;
}

.industry-card .card-title {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.industry-card .card-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   About Section & Media
   ========================================================================== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual .main-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(201, 42, 42, 0.18);
}

.about-visual .floating-img-box {
  position: absolute;
  bottom: -2.5rem;
  right: -2rem;
  width: 58%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  border: 4px solid #FFFFFF;
  background: #FFFFFF;
}

.about-feature-list {
  margin: 1.75rem 0 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.feature-check-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--red-50);
  color: var(--red-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  border: 1px solid var(--red-200);
}

/* ==========================================================================
   Detail Pages: Articles & Content
   ========================================================================== */
.article-container {
  max-width: 880px;
  margin: 0 auto;
}

.article-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5 {
  color: var(--text-primary);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body ul.feature-checklist {
  margin: 1.25rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-body ul.feature-checklist li {
  position: relative;
  padding-left: 2rem;
  line-height: 1.65;
}

.article-body ul.feature-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--red-50);
  border: 1px solid var(--red-200);
  color: var(--red-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.article-img-frame {
  margin: 2.5rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-border);
}

.quote-box {
  background: var(--red-50);
  border-left: 4px solid var(--red-600);
  padding: 1.75rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
}

.quote-box .quote-author {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--red-700);
  margin-top: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Contact Page Elements
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
}

.contact-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-md);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-md);
  background: var(--red-50);
  border: 1px solid var(--red-200);
  color: var(--red-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-info-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.contact-info-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border: 1.5px solid #E2D9D8;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--tr-fast);
}

.form-control:focus {
  border-color: var(--red-600);
  box-shadow: 0 0 0 3px rgba(201, 42, 42, 0.15);
}

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

.map-wrapper {
  margin-bottom: 3.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-border);
  height: 420px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.toast-msg {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  display: none;
  font-size: 0.95rem;
}

.toast-msg.success {
  background: #EBFBEE;
  color: #2B8A3E;
  border: 1px solid #B2F2BB;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--dark-bg);
  background-image: radial-gradient(circle at 10% 90%, rgba(201, 42, 42, 0.18) 0%, transparent 40%),
                    radial-gradient(circle at 90% 10%, rgba(224, 49, 49, 0.1) 0%, transparent 40%);
  color: var(--text-white);
  padding: 5rem 0 2rem;
  position: relative;
  border-top: 1px solid rgba(201, 42, 42, 0.25);
}

.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-company-desc {
  color: var(--text-white-muted);
  font-size: 0.925rem;
  margin: 1.25rem 0 1.5rem;
  line-height: 1.7;
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--grad-primary);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list a {
  color: var(--text-white-muted);
  font-size: 0.925rem;
  transition: all var(--tr-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-nav-list a:hover {
  color: var(--coral-accent);
  transform: translateX(4px);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-white-muted);
  font-size: 0.925rem;
  line-height: 1.55;
}

.footer-contact-item svg {
  color: var(--coral-accent);
  margin-top: 0.2rem;
  min-width: 16px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Back To Top Floating Button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-red);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--tr-smooth);
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-red-lg);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .site-footer .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .about-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-visual {
    max-width: 520px;
    margin: 0 auto;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

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

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 380px;
    height: 100vh;
    background: rgba(20, 12, 11, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-height) + 2rem) 2rem 3rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(201, 42, 42, 0.3);
    transition: right var(--tr-smooth);
    z-index: 1001;
    overflow-y: auto;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1.25rem;
  }

  .nav-link {
    font-size: 1.15rem;
    width: 100%;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-cta-btn {
    margin-left: 0;
    margin-top: 1.5rem;
    width: 100%;
  }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  .site-footer .footer-top {
    grid-template-columns: 1fr;
  }

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

  .about-visual .floating-img-box {
    position: static;
    width: 100%;
    margin-top: 1.5rem;
  }

  .contact-card {
    padding: 2rem 1.5rem;
  }
}

/* ==========================================================================
   Language Switcher Component (Hidden per request)
   ========================================================================== */
.lang-switcher {
  display: none !important;
}

.lang-btn {
  display: none !important;
}

.mobile-lang-wrap {
  display: none !important;
}

/* ==========================================================================
   Site Preloader & Logo Drawing Animation
   ========================================================================== */
.site-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #1C1010 0%, #0D0707 100%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.site-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 2rem;
}

.preloader-logo-wrap {
  width: 110px;
  height: 110px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.preloader-logo-wrap::before {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 49, 49, 0.28) 0%, transparent 70%);
  animation: preloaderAuraPulse 2s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes preloaderAuraPulse {
  0% { transform: scale(0.85); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 1; }
}

.preloader-logo-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 4px 20px rgba(201, 42, 42, 0.3));
}

.preloader-draw-path {
  fill: url(#preloaderRedGrad);
  fill-opacity: 0;
  stroke: url(#preloaderRedGrad);
  stroke-width: 44px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dashoffset 1.35s cubic-bezier(0.4, 0, 0.2, 1),
              fill-opacity 0.5s ease 1.05s;
}

.preloader-logo-svg.completed .preloader-draw-path {
  fill-opacity: 1;
}

.preloader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  animation: preloaderBrandSlideUp 0.6s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes preloaderBrandSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.preloader-title {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 5px;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.preloader-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  color: var(--color-primary-light);
  margin-top: 0.4rem;
  text-transform: uppercase;
}

.preloader-progress {
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  margin-top: 1.75rem;
  overflow: hidden;
}

.preloader-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #C92A2A, #FF6B4A);
  border-radius: 99px;
  box-shadow: 0 0 10px rgba(255, 107, 74, 0.8);
  animation: preloaderBarFill 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes preloaderBarFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

