/* ============================================================
   LACUNA Inc. — Main Stylesheet
   Brand: Deep Blue & White | Professional | Growth-Focused
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --blue-primary:   #0047CC;
  --blue-dark:      #003DA5;
  --blue-deeper:    #002B7F;
  --blue-light:     #1A5CE6;
  --blue-pale:      #E8F0FE;
  --blue-accent:    #4A90E2;
  --white:          #FFFFFF;
  --off-white:      #F8F9FC;
  --gray-100:       #F1F4F9;
  --gray-200:       #E2E8F0;
  --gray-300:       #CBD5E1;
  --gray-500:       #64748B;
  --gray-700:       #334155;
  --gray-900:       #0F172A;
  --text-dark:      #0D1B3E;
  --text-body:      #334155;
  --text-muted:     #64748B;
  --success:        #16A34A;
  --success-light:  #DCFCE7;
  --error:          #DC2626;
  --error-light:    #FEE2E2;
  --gold-accent:    #F59E0B;

  --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:     'Playfair Display', Georgia, serif;

  --shadow-sm:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:      0 4px 16px rgba(0,71,204,.12);
  --shadow-lg:      0 10px 40px rgba(0,71,204,.16);
  --shadow-xl:      0 20px 60px rgba(0,71,204,.20);

  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      32px;
  --radius-full:    9999px;

  --transition:     all .25s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .4s cubic-bezier(.4,0,.2,1);

  --container:      1200px;
  --nav-height:     80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--blue-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--blue-dark); }

ul, ol { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

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

/* ---- Layout ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-lg {
  padding: 120px 0;
}

/* ---- Grid ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- Flex Utilities ---- */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--blue-pale);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
  box-shadow: 0 4px 20px rgba(0,71,204,.30);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,71,204,.40);
}

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

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

.btn-white {
  background: var(--white);
  color: var(--blue-primary);
  border-color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-lg {
  font-size: 1.05rem;
  padding: 18px 40px;
}

.btn-sm {
  font-size: .85rem;
  padding: 10px 22px;
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: var(--transition-slow);
}

.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--gray-200), 0 4px 20px rgba(0,0,0,.06);
}

.navbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  text-decoration: none;
  transition: var(--transition);
}

.navbar.scrolled .navbar-brand { color: var(--text-dark); }

.brand-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--blue-accent);
  border-radius: 50%;
  margin-left: 2px;
}

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

.nav-link {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.navbar.scrolled .nav-link { color: var(--text-body); }
.navbar.scrolled .nav-link::after { background: var(--blue-primary); }
.navbar.scrolled .nav-link:hover { color: var(--blue-primary); }

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

.nav-btn-apply {
  background: var(--blue-primary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: .88rem;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(0,71,204,.35);
}

.nav-btn-apply:hover {
  background: var(--blue-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-btn-apply::after { display: none !important; }

.navbar.scrolled .nav-btn-apply {
  color: var(--white) !important;
}

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

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

.navbar.scrolled .menu-toggle span { background: var(--text-dark); }

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(340px, 100vw);
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 40px rgba(0,0,0,.15);
  z-index: 999;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-height) + 24px) 32px 40px;
  gap: 8px;
}

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

.mobile-nav .nav-link {
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  display: block;
}

.mobile-nav .nav-link::after { background: var(--blue-primary); }
.mobile-nav .nav-link:hover { color: var(--blue-primary); }

.mobile-nav .btn { margin-top: 16px; width: 100%; justify-content: center; }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}

.nav-overlay.active { opacity: 1; pointer-events: all; }

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-deeper);
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,43,127,.90) 0%,
    rgba(0,71,204,.75) 50%,
    rgba(0,43,127,.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.8); }
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 800px;
}

.hero-title span {
  background: linear-gradient(135deg, #74B3FF, #A8D4FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.80);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.5);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-primary);
  font-size: 1.5rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.card-text {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- About / Mission ---- */
.mission-section {
  background: var(--off-white);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.mission-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}

.mission-image-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  font-size: 1.25rem;
}

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

.badge-text span {
  font-size: .8rem;
  color: var(--text-muted);
}

.mission-content .section-label { display: inline-block; }

.mission-content p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 20px;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.value-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-content strong {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.value-content span {
  font-size: .9rem;
  color: var(--text-muted);
}

/* ---- Services / Why Choose ---- */
.services-section { background: var(--white); }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  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(--blue-primary), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(0,71,204,.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(0,71,204,.25);
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-text {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- Careers Section ---- */
.careers-section { background: var(--off-white); }

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-card:hover {
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.job-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.job-badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue-primary);
  background: var(--blue-pale);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.job-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.job-desc {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

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

.job-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .83rem;
  color: var(--text-muted);
}

/* ---- Team / Culture Section ---- */
.culture-section {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 60%, var(--blue-primary) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.culture-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
  border-radius: 50%;
}

.culture-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(74,144,226,.15) 0%, transparent 70%);
  border-radius: 50%;
}

.culture-section .section-label {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
}

.culture-section .section-title { color: var(--white); }
.culture-section .section-subtitle { color: rgba(255,255,255,.75); }

.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.culture-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.culture-card:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.30);
  transform: translateY(-4px);
}

.culture-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px;
}

.culture-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.culture-text {
  font-size: .92rem;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
}

/* ---- Photo Gallery ---- */
.gallery-section { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item.featured {
  grid-column: span 2;
}

.gallery-item.featured img {
  height: 400px;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,43,127,.7) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-text {
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
}

/* ---- Contact / CTA Section ---- */
.cta-section {
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  font-size: .95rem;
}

.contact-detail span {
  font-size: .9rem;
  color: var(--text-muted);
}

/* ---- Forms ---- */
.form-section {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-section h3 {
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-section p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

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

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

label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: .95rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(0,71,204,.12);
}

.form-control::placeholder { color: var(--gray-300); }

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

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-hint {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue-primary);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-check label {
  font-size: .88rem;
  font-weight: 400;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: 0;
}

.form-check label a {
  color: var(--blue-primary);
  font-weight: 500;
}

/* File Upload */
.file-upload-wrap {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.file-upload-wrap:hover,
.file-upload-wrap.dragover {
  border-color: var(--blue-primary);
  background: var(--blue-pale);
}

.file-upload-wrap input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-upload-icon {
  font-size: 2rem;
  color: var(--blue-primary);
  margin-bottom: 10px;
}

.file-upload-text {
  font-size: .9rem;
  color: var(--text-muted);
}

.file-upload-text strong {
  color: var(--blue-primary);
  font-weight: 600;
}

/* ---- Alert / Notification ---- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  font-size: .92rem;
  margin-bottom: 24px;
  border: 1px solid transparent;
}

.alert-success {
  background: var(--success-light);
  border-color: #86EFAC;
  color: #14532D;
}

.alert-error {
  background: var(--error-light);
  border-color: #FCA5A5;
  color: #7F1D1D;
}

.alert-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }

.alert-title {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 3px;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
  border-left: 4px solid var(--success);
  z-index: 9999;
  max-width: 380px;
  transform: translateY(100px);
  opacity: 0;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon { font-size: 1.4rem; }

.toast-title {
  font-weight: 700;
  color: var(--text-dark);
  font-size: .95rem;
  margin-bottom: 3px;
}

.toast-msg {
  font-size: .85rem;
  color: var(--text-muted);
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: calc(var(--nav-height) + 64px) 0 80px;
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 70%, var(--blue-primary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
}

.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,.4); }

/* ---- Apply Page ---- */
.apply-section {
  padding: 80px 0;
  background: var(--off-white);
}

.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.apply-sidebar h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.apply-sidebar p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.perks-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  color: var(--text-body);
}

.perk-check {
  width: 22px;
  height: 22px;
  background: var(--success-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: .75rem;
  flex-shrink: 0;
}

/* ---- Terms & Privacy Pages ---- */
.legal-section {
  padding: 80px 0;
  background: var(--white);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 40px 0 14px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}

.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.legal-content h3 {
  font-size: 1.15rem;
  color: var(--text-dark);
  margin: 24px 0 10px;
}

.legal-content p {
  font-size: .97rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  font-size: .97rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--blue-primary);
  font-weight: 500;
}

.legal-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-pale);
  color: var(--blue-dark);
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 32px;
}

/* ---- Footer ---- */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.7);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: .92rem;
  line-height: 1.65;
  margin-bottom: 28px;
  color: rgba(255,255,255,.55);
}

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

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h5 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: .84rem;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal a:hover { color: var(--white); }

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .4s; }

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.text-blue   { color: var(--blue-primary); }
.text-white  { color: var(--white); }
.text-muted  { color: var(--text-muted); }
.mt-auto     { margin-top: auto; }
.w-full      { width: 100%; }
.hidden      { display: none !important; }
.sr-only     { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---- Divider ---- */
.divider {
  height: 1px;
  background: var(--gray-200);
  margin: 48px 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --nav-height: 70px; }

  .mission-grid,
  .contact-grid,
  .apply-grid { grid-template-columns: 1fr; gap: 48px; }

  .mission-image-wrap { max-width: 500px; margin: 0 auto; }
  .mission-image-wrap img { height: 380px; }

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

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.featured { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-lg { padding: 80px 0; }

  .navbar-nav,
  .navbar-actions { display: none; }
  .menu-toggle { display: flex; }

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

  .hero-stats { gap: 24px; }
  .stat-number { font-size: 1.6rem; }

  .form-row { grid-template-columns: 1fr; }
  .form-section { padding: 32px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }

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

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.featured { grid-column: span 1; }
  .gallery-item img, .gallery-item.featured img { height: 240px; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .toast { left: 16px; right: 16px; bottom: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero-title { font-size: 2.2rem; }
  .section-header { margin-bottom: 40px; }
  .btn-lg { padding: 15px 28px; font-size: .95rem; }
}

/* ---- Print Styles ---- */
@media print {
  .navbar, .footer, .btn, .menu-toggle, .hero-scroll { display: none; }
  body { font-size: 12pt; }
  .page-hero { padding: 20px 0; background: none; }
  .page-hero h1, .page-hero p { color: var(--text-dark); }
}

/* ---- Accessibility ---- */
:focus-visible {
  outline: 3px solid var(--blue-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---- Structured Data / Schema helper ---- */
.schema-hidden { display: none; }
