/* ============================================
   HENRY INTERNATIONAL — Main Stylesheet
   Design: Schwab-inspired financial/corporate
   Redesign: Minimal holding company site
   ============================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #00295b;
  --navy-dark:   #001a3d;
  --navy-light:  #0d3d73;
  --blue:        #0066cc;
  --blue-hover:  #0052a3;
  --blue-light:  #e8f0fb;
  --teal:        #00a19a;
  --green:       #1a7a4a;
  --white:       #ffffff;
  --off-white:   #f5f7fb;
  --light-gray:  #eef1f7;
  --mid-gray:    #c8cdd8;
  --text-dark:   #0d1b2a;
  --text-body:   #384557;
  --text-muted:  #6b7a93;
  --border:      #dde2ec;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.13), 0 4px 8px rgba(0,0,0,.07);
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAVIGATION ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-container {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 32px;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.logo-text {
  font-size: 1.05rem;
  color: var(--navy);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.logo-text strong {
  font-weight: 700;
  display: block;
  line-height: 1.1;
  font-size: 0.98rem;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--blue); background: var(--blue-light); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 2px solid transparent;
}
.btn-primary:hover { background: var(--blue-hover); }
.btn-sm { padding: 7px 16px; font-size: 0.83rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ---- HERO ---- */
.hero {
  position: relative;
  background: var(--navy-dark);
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,102,204,.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 100%, rgba(0,161,154,.12) 0%, transparent 50%),
    linear-gradient(135deg, #001a3d 0%, #00295b 40%, #0d3d73 100%);
}
.hero-bg-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: 760px;
}
.hero-eyebrow { margin-bottom: 20px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}
.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-accent { color: #7eb8ff; }
.hero-sub {
  font-size: 1.12rem;
  color: rgba(255,255,255,.75);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat { padding: 0 28px 0 0; }
.stat:first-child { padding-left: 0; }
.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.15);
  margin: 0 28px 0 0;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll-indicator span {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  font-weight: 600;
}
.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ---- SECTIONS ---- */
.section { padding: 88px 0; }
.bg-light { background: var(--off-white); }
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-heading {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.section-body {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 580px;
}
.section-header-centered { text-align: center; margin-bottom: 48px; }

/* ---- TWO-COL LAYOUT ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.two-col-visual { display: flex; justify-content: center; }

/* ---- ABOUT VISUAL ---- */
.about-visual-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
  text-align: center;
  max-width: 320px;
  width: 100%;
}
.av-logo {
  width: 64px;
  height: 64px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  margin: 0 auto 16px;
}
.av-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}
.av-locations {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.av-locations span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---- PORTFOLIO ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.portfolio-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #b0c4de;
  transform: translateY(-2px);
}
.pc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.pc-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.pc-icon svg { width: 20px; height: 20px; }
.pc-icon-blue  { background: #dbeafe; color: #1d4ed8; }
.pc-icon-green { background: #d1fae5; color: #065f46; }
.pc-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.pc-title { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; line-height: 1.3; }
.pc-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ---- CONTACT ---- */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; margin: 28px 0 32px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-body);
}
.contact-item svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.contact-form-wrap {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,102,204,.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--mid-gray); }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--navy-dark);
  padding: 40px 0;
  color: var(--white);
}
.footer-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.footer-simple .logo-mark {
  background: rgba(255,255,255,.12);
  color: var(--white);
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,.35);
}
.footer-locations {
  font-size: 0.8rem;
  color: rgba(255,255,255,.25);
}
.logo-light .logo-mark { background: rgba(255,255,255,.12); color: var(--white); }

/* ---- ANIMATIONS ---- */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .section { padding: 56px 0; }

  /* Mobile nav */
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 24px 40px;
    gap: 0;
    transform: translateX(-100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 999;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-item { width: 100%; }
  .nav-link { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .mobile-toggle { display: flex; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-content { padding: 60px 24px; }
  .hero-cta-group .btn { width: fit-content; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .stat-divider { display: none; }
  .stat { padding: 0; }

  /* Layouts */
  .two-col { grid-template-columns: 1fr; gap: 40px; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-simple { padding: 0 12px; }
                 }
