/* ============================================
   Kaoska Staffing & Recruitment — Styles
   ============================================ */

:root {
  --navy: #0a1628;
  --navy-mid: #122036;
  --navy-light: #1a2d4a;
  --deep-blue: #1e3a5f;
  --accent: #c9a227;
  --accent-hover: #dbb42e;
  --accent-teal: #2a9d8f;
  --accent-teal-hover: #238b7e;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --light-grey: #e8ecf1;
  --text: #1a2332;
  --text-muted: #5a6577;
  --text-on-dark: #e8ecf1;
  --text-muted-dark: #a0aec0;
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 16px 48px rgba(10, 22, 40, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section {
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  position: relative;
}

.section--alt {
  background: var(--off-white);
}

.section--dark {
  background: var(--navy);
  color: var(--text-on-dark);
}

/* Subtle section divider line for light sections */
.section--divided::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, 92%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--light-grey) 15%,
    var(--light-grey) 85%,
    transparent 100%
  );
}

.section--alt.section--divided::before {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(10, 22, 40, 0.08) 15%,
    rgba(10, 22, 40, 0.08) 85%,
    transparent 100%
  );
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section--dark .section__eyebrow {
  color: var(--accent);
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--navy);
}

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

.section__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section--dark .section__lead {
  color: var(--text-muted-dark);
}

.section__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section__header .section__lead {
  margin-inline: auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--accent);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.45);
}

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

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

.btn--teal {
  background: var(--accent-teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(42, 157, 143, 0.3);
}

.btn--teal:hover {
  background: var(--accent-teal-hover);
}

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

.btn--dark:hover {
  background: var(--navy-light);
}

.btn--full {
  width: 100%;
}

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex-shrink: 0;
}

.logo__name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
}

.logo__sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}

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

.nav__link {
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted-dark);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: background var(--transition);
}

.header__phone:hover {
  background: rgba(201, 162, 39, 0.25);
}

.header__phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: calc(88vh - var(--header-h));
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding: 4.5rem 0 4rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(30, 58, 95, 0.7) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(42, 157, 143, 0.12) 0%, transparent 50%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 50%, var(--deep-blue) 100%);
  pointer-events: none;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.15);
}

.hero__shape--1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -80px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
}

.hero__shape--2 {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: 5%;
  background: radial-gradient(circle, rgba(42, 157, 143, 0.1) 0%, transparent 70%);
  border-color: rgba(42, 157, 143, 0.15);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 100px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.hero__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero__title {
  font-size: clamp(2.15rem, 4.8vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 16ch;
}

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

.hero__desc {
  font-size: 1.05rem;
  color: var(--text-muted-dark);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
}

.hero__actions .btn--primary {
  min-width: 168px;
  padding: 0.95rem 1.9rem;
  font-size: 1rem;
}

.hero__actions .btn--primary::after {
  content: "→";
  margin-left: 0.15rem;
  transition: transform var(--transition);
}

.hero__actions .btn--primary:hover::after {
  transform: translateX(3px);
}

/* ---- Stats bar ---- */
.stats {
  position: relative;
  z-index: 2;
  width: 100%;
  background: linear-gradient(180deg, var(--navy-mid) 0%, #0e1a2e 100%);
  border-top: 1px solid rgba(201, 162, 39, 0.35);
  border-bottom: 3px solid var(--accent);
  padding: 2.75rem 0 3rem;
  margin-top: -1px;
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.35);
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(201, 162, 39, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat {
  padding: 0.5rem 1.25rem;
  position: relative;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(201, 162, 39, 0.35),
    transparent
  );
}

.stat__number {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  margin-top: 0.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---- About ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about__text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

.about__mission {
  background: var(--off-white);
  border-left: 4px solid var(--accent);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 0.5rem;
}

.about__mission h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.about__mission p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.values {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.value-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(42, 157, 143, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  color: var(--accent);
}

.value-card__icon svg {
  width: 22px;
  height: 22px;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.value-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---- Industries ---- */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
}

.industry-card {
  grid-column: span 3; /* 4 per row on desktop */
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 2.15rem 1.85rem;
  box-shadow: var(--shadow-sm);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition),
    border-color var(--transition), background var(--transition);
}

/* Last 3 of 7: equal thirds, balanced second row */
.industry-card:nth-child(n + 5) {
  grid-column: span 4;
}

.industry-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.55);
  background: #fffef9;
}

.industry-card:hover .industry-card__icon {
  background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
  box-shadow: 0 6px 16px rgba(10, 22, 40, 0.25);
}

.industry-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
  transition: background var(--transition), box-shadow var(--transition);
}

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

.industry-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.industry-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

/* ---- Services ---- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-teal));
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card__num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---- Testimonials ---- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.testimonial-card {
  background: linear-gradient(165deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem 1.85rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.testimonial-card__quote {
  font-size: 3rem;
  line-height: 0.8;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  margin-bottom: 0.85rem;
  opacity: 0.9;
  height: 1.6rem;
}

.testimonial-card blockquote {
  font-size: 1.02rem;
  color: var(--text-on-dark);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.75rem;
  font-weight: 400;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.35rem;
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}

.testimonial-card__role {
  font-size: 0.8rem;
  color: var(--text-muted-dark);
}

/* ---- Careers ---- */
.careers {
  position: relative;
  overflow: hidden;
}

.careers__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(201, 162, 39, 0.1) 0%, transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
  pointer-events: none;
}

.careers__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}

.careers__content .section__title {
  margin-bottom: 1.25rem;
}

.careers__content p {
  color: var(--text-muted-dark);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  max-width: 520px;
}

.careers__content p:last-of-type {
  margin-bottom: 2rem;
}

.careers__visual {
  display: flex;
  justify-content: center;
}

.careers__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(8px);
  max-width: 280px;
}

.careers__card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.careers__card-icon svg {
  width: 36px;
  height: 36px;
}

.careers__card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.careers__card p {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  margin: 0;
}

/* ---- Contact ---- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contact__info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.contact__info-item:hover {
  box-shadow: var(--shadow-md);
}

.contact__info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

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

.contact__info-item h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact__info-item a,
.contact__info-item span {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.contact__info-item a:hover {
  color: var(--accent-teal);
}

.contact__form-wrap {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.contact__form-wrap h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.contact__form-wrap > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--light-grey);
  border-radius: 8px;
  background: var(--off-white);
  color: var(--text);
  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(--accent-teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.15);
  background: var(--white);
}

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

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

.form-success.is-visible {
  display: block;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(42, 157, 143, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal);
}

.form-success__icon svg {
  width: 32px;
  height: 32px;
}

.form-success h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-muted);
}

.form.is-hidden {
  display: none;
}

/* ---- Footer ---- */
.footer {
  background: var(--navy);
  color: var(--text-on-dark);
  padding: 3.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand .logo__name {
  font-size: 1.5rem;
}

.footer__brand p {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  max-width: 280px;
  line-height: 1.6;
}

.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__links a {
  font-size: 0.925rem;
  color: var(--text-muted-dark);
  transition: color var(--transition);
}

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

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted-dark);
  transition: background var(--transition), color var(--transition),
    border-color var(--transition);
}

.footer__social a:hover {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--navy);
  font-weight: 600;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .about__grid,
  .careers__inner,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .industry-card,
  .industry-card:nth-child(n + 5) {
    grid-column: auto;
  }

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

  .stat:not(:last-child)::after {
    display: none;
  }

  .stats__grid {
    gap: 1.5rem;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  .careers__visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .header__phone {
    display: none;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-mid);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition),
      visibility var(--transition);
    box-shadow: var(--shadow-lg);
  }

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

  .nav__link {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .nav__phone-mobile {
    display: flex !important;
    margin-top: 0.5rem;
    justify-content: center;
  }

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

  .section {
    padding: 3.75rem 0;
  }

  .hero {
    min-height: auto;
    padding: 3.25rem 0 3.5rem;
  }

  .hero__title {
    max-width: none;
  }

  .stats {
    padding: 2.25rem 0;
  }
}

@media (max-width: 560px) {
  .industries__grid,
  .services__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    min-height: 0;
  }

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

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

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

.nav__phone-mobile {
  display: none;
}
