/* ============================================
   Eastern Industries — Corporate Styles
   ============================================ */

:root {
  --color-primary: #1a4b8c;
  --color-primary-dark: #0f3460;
  --color-primary-light: #2563b8;
  --color-accent: #3b82f6;
  --color-steel: #64748b;
  --color-steel-light: #94a3b8;
  --color-grey-50: #f8fafc;
  --color-grey-100: #f1f5f9;
  --color-grey-200: #e2e8f0;
  --color-grey-300: #cbd5e1;
  --color-grey-700: #334155;
  --color-grey-800: #1e293b;
  --color-grey-900: #0f172a;
  --color-white: #ffffff;
  --color-success: #059669;

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --header-height: 72px;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-grey-700);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Typography ---- */

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.375rem);
  font-weight: 700;
  color: var(--color-grey-900);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--color-steel);
  max-width: 640px;
}

.section-header {
  margin-bottom: 48px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-desc {
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--color-grey-50);
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn--full {
  width: 100%;
}

/* ---- Header ---- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header--scrolled {
  border-bottom-color: var(--color-grey-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__text strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-grey-900);
}

.logo__text small {
  font-size: 0.6875rem;
  color: var(--color-steel);
  font-weight: 500;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: block;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-grey-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary);
  background: var(--color-grey-100);
}

.nav__link--cta {
  background: var(--color-primary);
  color: var(--color-white) !important;
  margin-left: 8px;
}

.nav__link--cta:hover {
  background: var(--color-primary-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-grey-800);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle--open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 52, 96, 0.92) 0%,
    rgba(26, 75, 140, 0.85) 50%,
    rgba(15, 23, 42, 0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 80px 24px;
  color: var(--color-white);
}

.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--color-white);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  max-width: 680px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---- Highlights ---- */

.highlights {
  margin-top: -64px;
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

.highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.highlight-card {
  background: var(--color-white);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-grey-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
}

.highlight-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-grey-100);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  color: var(--color-primary);
}

.highlight-card__icon svg {
  width: 24px;
  height: 24px;
}

.highlight-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-grey-900);
  margin-bottom: 8px;
  line-height: 1.35;
}

.highlight-card p {
  font-size: 0.875rem;
  color: var(--color-steel);
  line-height: 1.55;
}

/* ---- About ---- */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--color-white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about__badge-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.about__badge-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-grey-700);
  line-height: 1.3;
}

.about__content p {
  margin-bottom: 16px;
  color: var(--color-steel);
}

.about__list {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.about__list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-grey-800);
}

.about__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* ---- Services ---- */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-white);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-grey-200);
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card--featured {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  border-color: transparent;
  color: var(--color-white);
}

.service-card--featured:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.service-card--featured h3,
.service-card--featured p {
  color: var(--color-white);
}

.service-card--featured .service-card__icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-grey-100);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--color-primary);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-grey-900);
  margin-bottom: 12px;
  line-height: 1.35;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--color-steel);
  line-height: 1.6;
}

/* ---- Industries ---- */

.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.industry-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-grey-800);
  transition: all var(--transition);
}

.industry-item:hover {
  border-color: var(--color-primary);
  background: var(--color-grey-50);
}

.industry-item__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

.industries__image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industries__image-row img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ---- Why Choose Us ---- */

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.why-us__list {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.why-us__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-grey-800);
  line-height: 1.5;
}

.why-us__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 75, 140, 0.1);
  border-radius: 50%;
  color: var(--color-primary);
  margin-top: 1px;
}

.why-us__check svg {
  width: 14px;
  height: 14px;
}

.why-us__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.why-us__visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.why-us__stat {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--color-white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.why-us__stat strong {
  display: block;
  font-size: 1rem;
  color: var(--color-grey-900);
  margin-bottom: 4px;
}

.why-us__stat span {
  font-size: 0.8125rem;
  color: var(--color-steel);
}

/* ---- Process ---- */

.process__timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.process__timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--color-grey-200);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}

.process-step__number {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-md);
}

.process-step h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-grey-900);
  margin-bottom: 10px;
  line-height: 1.4;
}

.process-step p {
  font-size: 0.8125rem;
  color: var(--color-steel);
  line-height: 1.55;
}

/* ---- Contact ---- */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact__intro {
  font-size: 1.0625rem;
  color: var(--color-steel);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact__details {
  display: grid;
  gap: 20px;
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact__detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

.contact__detail-icon svg {
  width: 20px;
  height: 20px;
}

.contact__detail strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-grey-900);
  margin-bottom: 2px;
}

.contact__detail span,
.contact__detail a {
  font-size: 0.9375rem;
  color: var(--color-steel);
}

.contact-form {
  background: var(--color-white);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-grey-200);
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-grey-800);
  margin-bottom: 8px;
}

.required {
  color: #dc2626;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--color-grey-800);
  background: var(--color-grey-50);
  border: 1px solid var(--color-grey-200);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 75, 140, 0.12);
  background: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-steel-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #dc2626;
}

.form-status {
  margin-top: 16px;
  font-size: 0.875rem;
  text-align: center;
  min-height: 1.25rem;
}

.form-status--success {
  color: var(--color-success);
}

.form-status--error {
  color: #dc2626;
}

/* ---- Footer ---- */

.footer {
  background: var(--color-grey-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand p {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 320px;
}

.logo--footer .logo__text strong {
  color: var(--color-white);
}

.logo--footer .logo__text small {
  color: rgba(255, 255, 255, 0.5);
}

.footer__links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links ul {
  display: grid;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.8125rem;
}

.footer__bottom p:last-child {
  color: rgba(255, 255, 255, 0.4);
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .highlights__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card--featured {
    grid-column: span 2;
  }

  .process__timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .process__timeline::before {
    display: none;
  }

  .about__grid,
  .why-us__grid,
  .contact__grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-grey-200);
    box-shadow: var(--shadow-lg);
    padding: 16px 24px 24px;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav__link {
    padding: 12px 16px;
  }

  .nav__link--cta {
    margin-left: 0;
    text-align: center;
    margin-top: 8px;
  }

  .hero {
    min-height: 85vh;
  }

  .hero__content {
    padding: 60px 24px;
  }

  .highlights {
    margin-top: 0;
    padding-top: 48px;
  }

  .highlights__grid {
    grid-template-columns: 1fr;
  }

  .about__grid,
  .why-us__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__image img,
  .why-us__visual img {
    height: 320px;
  }

  .why-us__visual {
    order: -1;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card--featured {
    grid-column: span 1;
  }

  .industries__grid {
    grid-template-columns: 1fr;
  }

  .industries__image-row {
    grid-template-columns: 1fr;
  }

  .industries__image-row img {
    height: 180px;
  }

  .process__timeline {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .process-step {
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 0;
  }

  .process-step__number {
    margin: 0;
    width: 56px;
    height: 56px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}
