/* ═══════════════════════════════════════════════════════
   SUMASV — Premium Corporate Website
   Suministros y Mantenimientos S.A.S de C.V.
   ═══════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
  /* Brand Colors */
  --navy-deep: #08121E;
  --navy-dark: #0B1A28;
  --navy-mid: #0F2236;
  --navy-light: #152D45;
  --orange-primary: #F47216;
  --orange-bright: #FF7A1A;
  --orange-light: #FF8F3F;
  --orange-glow: rgba(244, 114, 22, 0.15);
  --gold: #D4AF37;
  --gold-light: #E8C84A;
  --white: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-400: #CED4DA;
  --gray-500: #ADB5BD;
  --gray-600: #6C757D;
  --gray-700: #495057;
  --gray-800: #343A40;
  --gray-900: #212529;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --section-padding: clamp(4rem, 8vw, 8rem);
  --container-max: 1280px;
  --container-wide: 1440px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-base: 0.3s var(--ease-smooth);
  --transition-slow: 0.6s var(--ease-smooth);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.25);
  --shadow-glow: 0 0 30px rgba(244, 114, 22, 0.2);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

.text-orange { color: var(--orange-primary); }
.text-white { color: var(--white); }
.text-navy { color: var(--navy-dark); }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* ─── Section Label ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange-primary);
  margin-bottom: 1.5rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--orange-primary);
}

.section-label--light {
  color: rgba(255, 255, 255, 0.6);
}

.section-label--light::before {
  background: rgba(255, 255, 255, 0.3);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  background: var(--orange-primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--orange-primary);
  color: var(--orange-primary);
  transform: translateY(-2px);
}

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

.btn-dark:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn i {
  font-size: 0.9rem;
  transition: transform var(--transition-base);
}

.btn:hover i {
  transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(8, 18, 30, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.header-logo img {
  height: 48px;
  width: auto;
  transition: height var(--transition-base);
}

.header.scrolled .header-logo img {
  height: 38px;
}

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

.header-logo-text .brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.header-logo-text .brand-tagline {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.04em;
  transition: color var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--orange-primary);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 20px;
}

.nav-cta {
  margin-left: 1.5rem;
}

.nav-cta .btn {
  padding: 0.7rem 1.5rem;
  font-size: 0.78rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-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;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 18, 30, 0.88) 0%,
    rgba(11, 26, 40, 0.7) 40%,
    rgba(11, 26, 40, 0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  padding-top: 6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(244, 114, 22, 0.12);
  border: 1px solid rgba(244, 114, 22, 0.25);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--orange-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-badge i {
  font-size: 0.65rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero h1 em {
  font-style: italic;
  color: var(--orange-primary);
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

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

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

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange-primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

/* Hero Visual Side */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.hero-visual-card .kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.kpi-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: all var(--transition-base);
}

.kpi-item:hover {
  background: rgba(244, 114, 22, 0.08);
  border-color: rgba(244, 114, 22, 0.2);
}

.kpi-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(244, 114, 22, 0.1);
  color: var(--orange-primary);
  font-size: 1.2rem;
}

.kpi-item h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.kpi-item p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════════════════════ */
.about {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-main {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-main img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  padding: 1.5rem;
  background: var(--orange-primary);
  border-radius: 12px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.about-image-accent .accent-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.about-image-accent .accent-text {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
}

.about-content h2 {
  color: var(--navy-dark);
  margin-bottom: 1.5rem;
}

.about-content h2 em {
  font-style: italic;
  color: var(--orange-primary);
}

.about-text {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 10px;
  transition: background var(--transition-base);
}

.about-feature:hover {
  background: var(--gray-100);
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--orange-glow);
  color: var(--orange-primary);
  font-size: 0.85rem;
}

.about-feature h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 0.15rem;
}

.about-feature p {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* ═══════════════════════════════════════════════════════
   VALUES SECTION
   ═══════════════════════════════════════════════════════ */
.values {
  padding: var(--section-padding) 0;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

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

.values-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.values-header h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.values-header p {
  color: rgba(255,255,255,0.5);
  font-size: 1.05rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.value-card {
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.value-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-4px);
  border-color: rgba(244,114,22,0.2);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-number {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange-primary);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.value-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(244, 114, 22, 0.1);
  color: var(--orange-primary);
  font-size: 1.3rem;
}

.value-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════ */
.services {
  padding: var(--section-padding) 0;
  background: var(--gray-100);
}

.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.services-header h2 {
  color: var(--navy-dark);
  margin-bottom: 1rem;
}

.services-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

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

.service-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
}

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

.service-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8,18,30,0.6) 100%);
}

.service-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange-primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 10px;
  z-index: 1;
}

.service-card-body {
  padding: 2rem;
}

.service-line {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange-primary);
  margin-bottom: 0.5rem;
}

.service-card-body h3 {
  font-size: 1.3rem;
  color: var(--navy-dark);
  margin-bottom: 1rem;
}

.service-card-body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-card-body ul {
  margin-bottom: 1.5rem;
}

.service-card-body li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: var(--gray-700);
}

.service-card-body li i {
  color: var(--orange-primary);
  font-size: 0.6rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange-primary);
  transition: gap var(--transition-base);
}

.service-link:hover {
  gap: 0.8rem;
}

/* ═══════════════════════════════════════════════════════
   AREAS SECTION (Hidrocarburos + Industrial)
   ═══════════════════════════════════════════════════════ */
.areas {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.areas-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.areas-intro h2 {
  color: var(--navy-dark);
  margin-bottom: 1rem;
}

.areas-intro p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

.area-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--gray-200);
}

.area-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.area-block.reversed {
  direction: rtl;
}

.area-block.reversed > * {
  direction: ltr;
}

.area-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.area-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.area-visual-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--orange-primary);
  color: var(--white);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
}

.area-content h3 {
  color: var(--navy-dark);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.area-content h3 em {
  font-style: italic;
  color: var(--orange-primary);
}

.area-content > p {
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.area-services-list {
  display: grid;
  gap: 0.75rem;
}

.area-service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--gray-100);
  border-radius: 10px;
  transition: all var(--transition-base);
}

.area-service-item:hover {
  background: var(--orange-glow);
  transform: translateX(4px);
}

.area-service-item i {
  color: var(--orange-primary);
  margin-top: 3px;
  font-size: 0.75rem;
  min-width: 16px;
}

.area-service-item span {
  font-size: 0.88rem;
  color: var(--gray-700);
}

/* ═══════════════════════════════════════════════════════
   CERTIFICATIONS SECTION
   ═══════════════════════════════════════════════════════ */
.certifications {
  padding: var(--section-padding) 0;
  background: var(--navy-deep);
  position: relative;
}

.certifications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.certifications-content h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.certifications-content h2 em {
  font-style: italic;
  color: var(--orange-primary);
}

.certifications-content > p {
  color: rgba(255,255,255,0.5);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.cert-cards {
  display: grid;
  gap: 1.5rem;
}

.cert-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: all var(--transition-base);
}

.cert-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(244,114,22,0.2);
}

.cert-card-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange-primary);
  line-height: 1;
  min-width: 50px;
}

.cert-card-content h4 {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  color: var(--orange-primary);
}

.cert-card-content h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.cert-card-content p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.certifications-visual {
  position: relative;
}

.certifications-visual img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
}

/* ═══════════════════════════════════════════════════════
   WHY CHOOSE US
   ═══════════════════════════════════════════════════════ */
.why-us {
  padding: var(--section-padding) 0;
  background: var(--gray-100);
}

.why-us-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.why-us-header h2 {
  color: var(--navy-dark);
  margin-bottom: 1rem;
}

.why-us-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

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

.reason-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.reason-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.reason-card:hover::before {
  transform: scaleX(1);
}

.reason-card.featured {
  background: var(--orange-primary);
  color: var(--white);
}

.reason-card.featured::before {
  background: var(--navy-dark);
}

.reason-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange-primary);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.reason-card.featured .reason-number {
  color: var(--white);
  opacity: 0.5;
}

.reason-card h4 {
  font-size: 0.88rem;
  color: var(--navy-dark);
  margin-bottom: 0.3rem;
}

.reason-card.featured h4 {
  color: var(--white);
}

.reason-card p {
  font-size: 0.78rem;
  color: var(--gray-500);
}

.reason-card.featured p {
  color: rgba(255,255,255,0.8);
}

/* ═══════════════════════════════════════════════════════
   PROMISE / CTA SECTION
   ═══════════════════════════════════════════════════════ */
.promise {
  position: relative;
  padding: var(--section-padding) 0;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.promise-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.promise-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.promise-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 18, 30, 0.85) 0%,
    rgba(11, 26, 40, 0.65) 50%,
    rgba(11, 26, 40, 0.5) 100%
  );
}

.promise-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.promise h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.promise h2 em {
  font-style: italic;
  color: var(--orange-primary);
}

.promise-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.promise-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.promise-metric {
  padding: 1.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.promise-metric-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange-primary);
  margin-bottom: 0.3rem;
}

.promise-metric-value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════ */
.contact {
  padding: var(--section-padding) 0;
  background: var(--navy-deep);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,114,22,0.3), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-info h2 em {
  font-style: italic;
  color: var(--orange-primary);
}

.contact-info > p {
  color: rgba(255,255,255,0.5);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  transition: all var(--transition-base);
}

.contact-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(244,114,22,0.2);
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(244, 114, 22, 0.1);
  color: var(--orange-primary);
  font-size: 1.2rem;
}

.contact-card h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-primary);
  margin-bottom: 0.25rem;
}

.contact-card p {
  font-size: 1rem;
  color: var(--white);
  font-weight: 500;
}

.contact-card .sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: var(--white);
  font-size: 1.5rem;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: all var(--transition-base);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* Contact Form */
.contact-form-wrapper {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2.5rem;
}

.contact-form-wrapper h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition-base);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange-primary);
  background: rgba(244, 114, 22, 0.05);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option {
  background: var(--navy-dark);
  color: var(--white);
}

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

.form-submit {
  margin-top: 1rem;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 1.1rem;
}

/* Form Success Message */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: block;
}

.form-success i {
  font-size: 3rem;
  color: #25D366;
  margin-bottom: 1rem;
}

.form-success h4 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
  padding: 4rem 0 2rem;
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand img {
  height: 45px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-slogan {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--orange-primary);
  opacity: 0.7;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  transition: all var(--transition-base);
}

.footer-col ul li a:hover {
  color: var(--orange-primary);
  padding-left: 4px;
}

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

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--orange-primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════ */

/* Tablets */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .area-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .area-block.reversed {
    direction: ltr;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .certifications-visual {
    order: -1;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .footer-brand {
    grid-column: span 2;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(8, 18, 30, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: right var(--transition-base);
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  }

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

  .nav-link {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .hero-stat-number {
    font-size: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

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

  .about-features {
    grid-template-columns: 1fr;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

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

/* Small Phones */
@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-stat-number {
    font-size: 1.3rem;
    min-width: 60px;
  }

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* ─── Loader ─── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-logo img {
  height: 60px;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
}

/* ─── Back to Top ─── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 6rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-dark);
  color: var(--orange-primary);
  border: 1px solid rgba(244,114,22,0.2);
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 998;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--orange-primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ─── Mobile overlay ─── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
