/* ============================================
   BYTEPATH — Main Stylesheet
   Version: 1.0
   Font: Plus Jakarta Sans (premium feel, not generic)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Brand Colours */
  --blue:        #0C447C;
  --blue-dark:   #0A3A6B;
  --blue-light:  #1459A0;
  --gold:        #E6B84A;
  --gold-light:  #F0CC6A;
  --gold-dark:   #C99E35;
  --warm-white:  #F0EFE9;
  --warm-grey:   #888780;
  --text-dark:   #1A1A2E;
  --text-mid:    #444455;
  --text-light:  #888780;
  --white:       #FFFFFF;

  /* Typography */
  --font:        'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --space-xs:    0.5rem;
  --space-sm:    1rem;
  --space-md:    2rem;
  --space-lg:    4rem;
  --space-xl:    8rem;

  /* Layout */
  --max-width:   1200px;
  --radius:      12px;
  --radius-lg:   24px;

  /* Shadows */
  --shadow-sm:   0 2px 12px rgba(12, 68, 124, 0.08);
  --shadow-md:   0 8px 32px rgba(12, 68, 124, 0.12);
  --shadow-lg:   0 24px 64px rgba(12, 68, 124, 0.16);

  /* Transitions */
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--warm-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5 {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 700; }

p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.text-gold { color: var(--gold); }
.text-blue { color: var(--blue); }
.text-light { color: var(--text-light); }

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--space-xl) 0;
}

.section-sm {
  padding: var(--space-lg) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.section-heading {
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
}

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

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--blue);
  box-shadow: 0 4px 16px rgba(230, 184, 74, 0.35);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 184, 74, 0.45);
}

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

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(12, 68, 124, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.875rem 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo .logo-byte { color: var(--white); }
.nav-logo .logo-path { color: var(--gold); }

.nav-logo svg {
  width: 36px;
  height: 36px;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

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

.nav-cta {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--blue);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
}

/* Geometric background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(230, 184, 74, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(230, 184, 74, 0.05) 0%, transparent 40%);
}

/* Grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(230, 184, 74, 0.12);
  border: 1px solid rgba(230, 184, 74, 0.25);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-eyebrow span {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Hero visual — floating card mockup */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 420px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-card-bars {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}

.hero-card-bar {
  height: 8px;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}

.hero-card-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  animation: barGrow 2s ease-out forwards;
}

@keyframes barGrow {
  from { width: 0; }
}

.hero-card-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.hero-card-metric-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.hero-card-metric-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
}

/* Floating badges */
.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
}

.hero-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.hero-badge-1 {
  top: -1.5rem;
  right: -1.5rem;
  animation: float 5s ease-in-out infinite 1s;
}

.hero-badge-2 {
  bottom: -1.5rem;
  left: -1.5rem;
  animation: float 7s ease-in-out infinite 0.5s;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--white);
  padding: 2rem 0;
  border-bottom: 1px solid rgba(12, 68, 124, 0.06);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-bar-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

.trust-bar-divider {
  width: 1px;
  height: 20px;
  background: rgba(12, 68, 124, 0.1);
}

.trust-industries {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-industry {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 0.375rem;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.trust-industry:hover { opacity: 1; }

.trust-industry span {
  font-size: 1rem;
}

/* ============================================
   ABOUT / STORY SECTION
   ============================================ */
.about {
  background: var(--warm-white);
}

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

.about-visual {
  position: relative;
}

.about-card-main {
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-card-main::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(230, 184, 74, 0.08);
}

.about-card-main::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.about-quote {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.about-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--gold);
  line-height: 0;
  position: absolute;
  top: 1.5rem;
  left: -0.5rem;
  font-weight: 800;
  opacity: 0.4;
}

.about-quote-text {
  padding-left: 1rem;
  position: relative;
  z-index: 1;
}

.about-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.about-stat {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.about-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
}

.about-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.2rem;
  font-weight: 500;
}

.about-card-floating {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-card-floating-icon {
  width: 40px;
  height: 40px;
  background: rgba(230, 184, 74, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.about-card-floating-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.about-card-floating-text span {
  font-size: 0.75rem;
  color: var(--text-light);
}

.about-content .section-sub {
  margin-bottom: 2rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(12, 68, 124, 0.06);
  transition: var(--transition);
}

.about-feature:hover {
  border-color: rgba(230, 184, 74, 0.3);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(12, 68, 124, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-feature-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.about-feature-text span {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--blue);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.services .section-heading { color: var(--white); }
.services .section-sub { color: rgba(255,255,255,0.6); }

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(230, 184, 74, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0,0,0,0.2);
}

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

.service-card.featured {
  background: var(--gold);
  border-color: transparent;
}

.service-card.featured .service-tier,
.service-card.featured .service-name,
.service-card.featured .service-desc,
.service-card.featured .service-feature,
.service-card.featured .service-price,
.service-card.featured .service-price-from {
  color: var(--blue);
}

.service-card.featured .service-feature::before {
  background: var(--blue);
}

.service-card.featured::before {
  background: var(--blue);
}

.service-card.featured .service-badge {
  background: var(--blue);
  color: var(--gold);
}

.service-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(230, 184, 74, 0.15);
  color: var(--gold);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.service-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

.service-feature {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-feature::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.service-price-wrap {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.service-card.featured .service-price-wrap {
  border-top-color: rgba(12, 68, 124, 0.2);
}

.service-price-from {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.service-price-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.25rem;
}

.services-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  position: relative;
  z-index: 1;
}

.services-note a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
  background: var(--warm-white);
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.portfolio-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid rgba(12, 68, 124, 0.15);
  color: var(--text-light);
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
  font-family: var(--font);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

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

.portfolio-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(12, 68, 124, 0.06);
  transition: var(--transition);
  group: true;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 184, 74, 0.3);
}

.portfolio-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-thumb-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-thumb-inner {
  transform: scale(1.05);
}

.portfolio-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 68, 124, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-thumb-overlay {
  opacity: 1;
}

.portfolio-thumb-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--blue);
  padding: 0.625rem 1.25rem;
  border-radius: 100px;
  font-size: 0.825rem;
  font-weight: 700;
  transform: translateY(8px);
  transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-thumb-link {
  transform: translateY(0);
}

.portfolio-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(230, 184, 74, 0.15);
  border: 1px solid rgba(230, 184, 74, 0.3);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
}

.portfolio-body {
  padding: 1.5rem;
}

.portfolio-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.portfolio-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.portfolio-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.55;
}

/* Enterprise portfolio card — larger */
.portfolio-card.enterprise {
  grid-column: span 1;
  border-color: rgba(12, 68, 124, 0.15);
}

.portfolio-card.enterprise .portfolio-thumb {
  height: 240px;
}

.portfolio-card.enterprise .portfolio-tag {
  background: rgba(12, 68, 124, 0.9);
  border-color: rgba(255,255,255,0.2);
  color: var(--gold);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue), var(--gold));
  opacity: 0.2;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(12, 68, 124, 0.25);
  transition: var(--transition);
}

.process-step:hover .process-num {
  background: var(--gold);
  color: var(--blue);
  transform: scale(1.1);
}

.process-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.process-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--blue);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 6rem 0;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(230, 184, 74, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.cta-section .section-heading {
  color: var(--white);
  max-width: 600px;
  margin: 0 auto 1rem;
}

.cta-section .section-sub {
  color: rgba(255,255,255,0.6);
  margin: 0 auto 2.5rem;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero {
  background: var(--blue);
  padding: 10rem 0 6rem;
  text-align: center;
}

.contact-hero h1 { color: var(--white); }
.contact-hero p { color: rgba(255,255,255,0.65); max-width: 480px; margin: 1rem auto 0; }

.contact-body {
  padding: var(--space-xl) 0;
}

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

.contact-info h3 {
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 1rem;
}

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

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(12, 68, 124, 0.08);
  transition: var(--transition);
  text-decoration: none;
}

.contact-method:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-method-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.contact-method-text span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.contact-availability {
  background: rgba(12, 68, 124, 0.05);
  border-radius: var(--radius);
  padding: 1.25rem;
  border-left: 3px solid var(--gold);
}

.contact-availability strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.contact-availability span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(12, 68, 124, 0.06);
}

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

.contact-form-wrap p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

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

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 2px solid rgba(12, 68, 124, 0.1);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--warm-white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(12, 68, 124, 0.06);
}

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

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--gold);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 184, 74, 0.35);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-success h4 {
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.9rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-dark);
  padding: 4rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.footer-brand-name span { color: var(--gold); }

.footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 260px;
}

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

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: var(--transition);
  text-decoration: none;
}

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

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
  text-decoration: none;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

.footer-copy span { color: var(--gold); }

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
}

.whatsapp-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: whatsappPulse 2.5s ease-out infinite;
  z-index: -1;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background: var(--text-dark);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--blue);
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.6); max-width: 560px; font-size: 1.1rem; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}

.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-left"] {
  transform: translateX(-24px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-right"] {
  transform: translateX(24px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
}

@media (max-width: 768px) {
  :root { --space-xl: 5rem; --space-lg: 3rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--blue);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open a { font-size: 1.5rem; }
  .nav-hamburger { display: flex; z-index: 1000; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .trust-bar-inner { gap: 1.5rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .whatsapp-float { bottom: 1.5rem; right: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero { padding: 7rem 0 4rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .services-header { flex-direction: column; align-items: flex-start; }
}
