/* ============================================
   Cross-Border Freight Forwarding Website
   Core Stylesheet
   ============================================ */

/* ===== CSS Variables ===== */
:root {
  --color-primary: #1a56db;
  --color-primary-dark: #1e40af;
  --color-primary-light: #3b82f6;
  --color-accent: #f97316;
  --color-accent-dark: #ea580c;
  --color-dark: #1e293b;
  --color-gray-900: #0f172a;
  --color-gray-700: #334155;
  --color-gray-500: #64748b;
  --color-gray-300: #cbd5e1;
  --color-gray-100: #f1f5f9;
  --color-gray-50: #f8fafc;
  --color-white: #ffffff;
  --color-success: #16a34a;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #128c7e;

  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition: all 0.3s ease;
  --max-width: 1200px;
}

/* ===== Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-gray-700);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.3;
}

/* ===== Container ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-accent:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-dark);
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo .logo-text span:first-child {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
}

.nav-logo .logo-text span:last-child {
  font-size: 0.7rem;
  color: var(--color-gray-500);
  font-weight: 500;
}

.nav-logo .logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-gray-700);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--color-gray-100);
  border-radius: var(--radius-full);
  padding: 4px;
}

.lang-btn {
  padding: 6px 14px;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-gray-500);
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

/* Currency Switcher */
.currency-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--color-gray-100);
  border-radius: var(--radius-full);
  padding: 4px;
}

.currency-btn {
  padding: 6px 12px;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-gray-500);
  transition: var(--transition);
}

.currency-btn.active {
  background: var(--color-white);
  color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: url('../images/matou1.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.88) 0%, rgba(30,58,95,0.82) 50%, rgba(26,86,219,0.68) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, var(--color-accent), #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  text-align: left;
}

.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: white;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Section General ===== */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-gray-100);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-header h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--color-primary-light);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  font-size: 1.5rem;
}

.service-card:nth-child(2) .service-icon {
  background: linear-gradient(135deg, var(--color-accent), #fbbf24);
}

.service-card:nth-child(3) .service-icon {
  background: linear-gradient(135deg, var(--color-success), #4ade80);
}

.service-card:nth-child(4) .service-icon {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--color-gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card .service-features {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-card .service-features span {
  padding: 4px 12px;
  background: var(--color-gray-50);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--color-gray-700);
  font-weight: 500;
}

/* ===== How It Works ===== */
.how-it-works {
  background: var(--color-gray-50);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0.2;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-white);
  border: 3px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.step-item:hover .step-num {
  background: var(--color-primary);
  color: white;
  transform: scale(1.1);
}

.step-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  line-height: 1.6;
}

/* ===== Why Choose Us ===== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.why-image {
  position: relative;
}

.why-image img.why-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  object-fit: cover;
  display: block;
}

.why-image .badge-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-white);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.why-image .badge-float .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
}

.why-image .badge-float .label {
  font-size: 0.85rem;
  color: var(--color-gray-500);
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-feature {
  display: flex;
  gap: 16px;
}

.why-feature .icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-primary);
}

.why-feature h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.why-feature p {
  font-size: 0.95rem;
  color: var(--color-gray-500);
  line-height: 1.7;
}

/* ===== Slogan Banner ===== */
.slogan-banner {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary-dark) 100%);
  padding: 28px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.slogan-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

.slogan-banner p {
  position: relative;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.slogan-banner p::before,
.slogan-banner p::after {
  content: '"';
  font-size: 2rem;
  color: var(--color-accent);
  vertical-align: -6px;
  margin: 0 6px;
  font-weight: 700;
}

/* ===== Benefits Section ===== */
.benefits-section {
  background: var(--color-white);
  padding: 80px 0;
}

.inspection-commitment {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 48px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.inspection-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  line-height: 1;
}

.inspection-text h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
}

.inspection-text p {
  font-size: 1.05rem;
  color: var(--color-gray-700);
  line-height: 1.7;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--color-gray-50);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  border: 1px solid transparent;
}

.benefit-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
  background: #fff;
}

.benefit-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  line-height: 1;
}

.benefit-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--color-dark);
}

.benefit-item p {
  font-size: 0.95rem;
  color: var(--color-gray-500);
  line-height: 1.7;
}

/* ===== Cases Section ===== */
.cases-section {
  background: var(--color-gray-50);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.case-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.case-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.case-card .case-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.case-card .case-body {
  padding: 24px;
}

.case-card .case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #dbeafe;
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.case-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.case-card p {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.case-card .case-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--color-gray-100);
  font-size: 0.85rem;
  color: var(--color-gray-500);
}

.case-card .case-meta .route {
  font-weight: 600;
  color: var(--color-primary);
}

/* ===== Blog Section ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.blog-card .blog-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.blog-card .blog-body {
  padding: 24px;
}

.blog-card .blog-date {
  font-size: 0.8rem;
  color: var(--color-gray-500);
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-card:hover h3 {
  color: var(--color-primary);
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-card .blog-read {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  padding: 80px 0;
  background: url('../images/kache2.jpg') center/cover no-repeat;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30,64,175,0.92), rgba(26,86,219,0.85));
  z-index: 0;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.4rem;
  color: white;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-gray-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand .nav-logo span:first-child {
  color: white;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom .payment-badges {
  display: flex;
  gap: 8px;
}

.footer-bottom .payment-badges span {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.whatsapp-btn-main {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
}

.whatsapp-btn-main::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  opacity: 0.3;
  animation: ripple 2s infinite;
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.3; }
  100% { transform: scale(1.5); opacity: 0; }
}

.whatsapp-btn-main:hover {
  background: var(--color-whatsapp-dark);
  transform: scale(1.1);
}

.whatsapp-btn-main svg {
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 1;
}

.whatsapp-tooltip {
  background: white;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 280px;
  opacity: 0;
  transform: translateX(20px);
  transition: var(--transition);
  pointer-events: none;
  white-space: nowrap;
}

.whatsapp-float.show-tooltip .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-tooltip .tooltip-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-tooltip .tooltip-text {
  font-size: 0.85rem;
  color: var(--color-dark);
  font-weight: 500;
}

.whatsapp-tooltip .tooltip-text small {
  display: block;
  color: var(--color-gray-500);
  font-weight: 400;
  font-size: 0.75rem;
}

/* ===== Page Header (for inner pages) ===== */
.page-header {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--color-gray-900), var(--color-primary-dark));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpattern id='grid' width='10' height='10' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 10 0 L 0 0 0 10' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='0.5'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23grid)'/%3E%3C/svg%3E");
}

/* Page header with background image */
.page-header.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header.has-bg::before {
  background: linear-gradient(135deg, rgba(15,23,42,0.85), rgba(30,64,175,0.8));
  z-index: 1;
}

.page-header.has-bg::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.page-header.has-bg h1,
.page-header.has-bg p,
.page-header.has-bg .breadcrumb {
  z-index: 2;
}

.page-header h1 {
  position: relative;
  color: white;
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.page-header p {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.breadcrumb {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

/* ===== About Page ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-intro .about-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-intro .about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-intro .about-text h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.about-intro .about-text p {
  color: var(--color-gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.value-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  line-height: 1.7;
}

/* ===== Blog Article Page ===== */
.article-hero {
  padding: 140px 0 60px;
  background: var(--color-gray-50);
  text-align: center;
}

.article-hero .article-tag {
  display: inline-block;
  padding: 6px 16px;
  background: #dbeafe;
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.article-hero h1 {
  font-size: 2.4rem;
  max-width: 800px;
  margin: 0 auto 16px;
}

.article-hero .article-meta {
  font-size: 0.9rem;
  color: var(--color-gray-500);
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0;
}

.article-body h2 {
  font-size: 1.6rem;
  margin: 32px 0 16px;
}

.article-body h3 {
  font-size: 1.25rem;
  margin: 24px 0 12px;
}

.article-body p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--color-gray-700);
}

.article-body ul, .article-body ol {
  margin: 16px 0 16px 24px;
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--color-gray-700);
}

.article-body blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 16px 24px;
  background: var(--color-gray-50);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--color-gray-700);
}

/* ===== Legal Pages ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0;
}

.legal-content h1 {
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.legal-content .last-updated {
  font-size: 0.85rem;
  color: var(--color-gray-500);
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--color-gray-700);
}

.legal-content ul {
  margin: 12px 0 16px 24px;
  list-style: disc;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ===== Contact Form ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.recaptcha-wrap {
  margin: 20px 0;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-200%);
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions .lang-switcher,
  .nav-actions .currency-switcher {
    display: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-btn-main {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 640px) {
  section {
    padding: 56px 0;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .slogan-banner p {
    font-size: 1.05rem;
  }

  .inspection-commitment {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .article-body h2 {
    font-size: 1.3rem;
  }

  .whatsapp-tooltip {
    display: none;
  }
}
