/* ═══════════════════════════════════════════════════════════
   DCI MANUFACTURING — US ONE-PAGE WEBSITE
   Brand Colors: #019bbd (Cyan/Teal) | #747e8a (Gray)
   Typography: Gilroy (with system fallbacks)
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --cyan: #019bbd;
  --cyan-dark: #017d99;
  --cyan-light: #e6f6fa;
  --cyan-10: rgba(1, 155, 189, 0.10);
  --gray: #747e8a;
  --gray-dark: #4a5260;
  --gray-light: #f4f5f6;
  --dark: #1e2530;
  --white: #ffffff;
  --text: #2c3240;
  --text-light: #5a6274;
  --border: #e0e3e8;
  --shadow-sm: 0 1px 3px rgba(30,37,48,0.06);
  --shadow-md: 0 4px 16px rgba(30,37,48,0.08);
  --shadow-lg: 0 8px 32px rgba(30,37,48,0.10);
  --shadow-xl: 0 16px 48px rgba(30,37,48,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

body {
  font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

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

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

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

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

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── SECTION UTILITIES ─── */
.section {
  padding: 80px 0;
}

.section--gray {
  background: var(--gray-light);
}

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

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark p {
  color: rgba(255,255,255,0.75);
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section__title {
  margin-bottom: 16px;
}

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

.section--dark .section__subtitle {
  color: rgba(255,255,255,0.7);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--cyan-dark);
  border-color: var(--cyan-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1,155,189,0.3);
}

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

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

.btn--outline-dark {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
}

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

/* ─── HEADER / NAVBAR ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.header--scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo img {
  height: 40px;
  width: auto;
}

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

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link--active {
  color: var(--cyan);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* Mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

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

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

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

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

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, #2a3444 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background:
    radial-gradient(circle at 20% 50%, var(--cyan) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--cyan) 0%, transparent 40%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 60px 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(1, 155, 189, 0.15);
  border: 1px solid rgba(1, 155, 189, 0.3);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero__title {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  line-height: 1.1;
}

.hero__title span {
  color: var(--cyan);
}

.hero__text {
  font-size: 1.1875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 4px;
}

.hero__stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* ─── ABOUT ─── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__content h2 {
  margin-bottom: 24px;
}

.about__content p {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--gray-light);
  border-radius: var(--radius);
}

.about__feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-10);
  border-radius: var(--radius);
  color: var(--cyan);
}

.about__feature-icon svg {
  width: 20px;
  height: 20px;
}

.about__feature-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
}

.about__visual {
  position: relative;
}

.about__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__image-content {
  padding: 48px;
  text-align: center;
  color: white;
}

.about__image-content .big-number {
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.about__image-content .label {
  font-size: 1.25rem;
  font-weight: 500;
  opacity: 0.9;
}

.about__accent-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
}

.about__accent-icon {
  width: 48px;
  height: 48px;
  background: var(--cyan-10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.about__accent-icon svg {
  width: 24px;
  height: 24px;
}

.about__accent-text strong {
  display: block;
  font-size: 1rem;
  color: var(--dark);
}

.about__accent-text span {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ─── SERVICES ─── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(1,155,189,0.2);
}

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

.service-block__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-10);
  border-radius: 12px;
  color: var(--cyan);
  margin-bottom: 20px;
}

.service-block__icon svg {
  width: 26px;
  height: 26px;
}

.service-block__number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.service-block__title {
  font-size: 1.125rem;
  margin-bottom: 16px;
  line-height: 1.3;
}

.service-block__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-block__list li {
  font-size: 0.875rem;
  color: var(--text-light);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.service-block__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
}

/* ─── CAPABILITIES ─── */
.capabilities__intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

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

.cap-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.cap-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(1,155,189,0.15);
}

.cap-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cap-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-10);
  border-radius: var(--radius);
  color: var(--cyan);
  flex-shrink: 0;
}

.cap-card__icon svg {
  width: 20px;
  height: 20px;
}

.cap-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}

.cap-card__text {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ─── FACILITIES (Infrastructure) ─── */
.facilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.facility-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  transition: all var(--transition);
}

.facility-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(1,155,189,0.4);
  transform: translateY(-4px);
}

.facility-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(1, 155, 189, 0.15);
  border-radius: 50%;
  color: var(--cyan);
}

.facility-card__icon svg {
  width: 28px;
  height: 28px;
}

.facility-card__title {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 8px;
}

.facility-card__area {
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 4px;
}

.facility-card__label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.facility-card__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.facilities__certifications {
  margin-top: 48px;
  text-align: center;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cert-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.cert-badge svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

/* ─── INDUSTRIES ─── */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.industry-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.industry-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.industry-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-10);
  border-radius: 50%;
  color: var(--cyan);
}

.industry-card__icon svg {
  width: 28px;
  height: 28px;
}

.industry-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark);
}

/* ─── iRAYPLE PARTNERSHIP ─── */
.partnership {
  background: linear-gradient(135deg, var(--cyan-light) 0%, #f0fafb 100%);
}

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

.partnership__content h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.partnership__content p {
  font-size: 1rem;
  line-height: 1.7;
}

.partnership__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.partnership__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark);
}

.partnership__feature svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
  flex-shrink: 0;
}

.partnership__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partnership__logo-box {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 40px 48px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.partnership__x {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gray);
}

/* ─── WHY DCI ─── */
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.why-card:hover {
  border-color: rgba(1,155,189,0.2);
  box-shadow: var(--shadow-md);
}

.why-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan-10);
  border-radius: 50%;
  color: var(--cyan);
}

.why-card__icon svg {
  width: 32px;
  height: 32px;
}

.why-card__title {
  margin-bottom: 12px;
}

.why-card__text {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ─── CTA SECTION ─── */
.cta {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 30% 50%, var(--white) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, var(--white) 0%, transparent 40%);
}

.cta__content {
  position: relative;
  z-index: 2;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  max-width: 540px;
  margin: 0 auto 32px;
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta .btn--white {
  background: var(--white);
  color: var(--cyan);
  border-color: var(--white);
  font-weight: 700;
}

.cta .btn--white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ─── FOOTER ─── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  overflow: hidden;
}

.footer__logo img {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}

.footer__brand-name {
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border-left: 3px solid rgba(1, 155, 189, 0.6);
  padding-left: 14px;
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}

.footer__title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--cyan);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.875rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

.footer__bottom a {
  color: rgba(255,255,255,0.35);
}

.footer__bottom a:hover {
  color: var(--cyan);
}

/* ─── SCROLL ANIMATIONS ─── */
/* Only hide elements when JS is confirmed available */
.js .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in--visible,
.js .fade-in--visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Safety fallback: if JS loads but animations don't fire, show content after 3s */
@keyframes safety-reveal {
  to { opacity: 1; transform: translateY(0); }
}
.js .fade-in {
  animation: safety-reveal 0s 3s forwards;
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ─── BACK TO TOP BUTTON ─── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #019bbd;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
}

.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #017a96;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    gap: 40px;
  }

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

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

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

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    z-index: 999;
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
  }

  .menu-toggle {
    display: flex;
  }

  .hero__content {
    padding: 40px 0;
  }

  .hero__stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero__stat-number {
    font-size: 2rem;
  }

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

  .about__visual {
    order: -1;
  }

  .about__accent-card {
    bottom: -16px;
    right: auto;
    left: 16px;
  }

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

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

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

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

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

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

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

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

  .cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .partnership__logo-box {
    flex-direction: column;
    padding: 32px;
  }
}
