/* NEOSOLUTION DIGITAL — Premium design system */
:root {
  --blue: #0088ff;
  --blue-dark: #0066cc;
  --blue-glow: rgba(0, 136, 255, 0.25);
  --orange: #ff6600;
  --orange-dark: #e55a00;
  --orange-glow: rgba(255, 102, 0, 0.3);
  --navy: #07111f;
  --navy-mid: #0f1f35;
  --navy-card: #152a45;
  --slate: #5c6b82;
  --slate-light: #8b9cb3;
  --white: #ffffff;
  --off-white: #f4f7fb;
  --cream: #fafbfe;
  --border: rgba(15, 31, 53, 0.08);
  --border-strong: rgba(0, 136, 255, 0.2);
  --shadow-sm: 0 2px 12px rgba(7, 17, 31, 0.06);
  --shadow: 0 8px 32px rgba(7, 17, 31, 0.1);
  --shadow-lg: 0 24px 64px rgba(7, 17, 31, 0.14);
  --shadow-blue: 0 12px 40px var(--blue-glow);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --font: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.35s var(--ease);
  --header-h: 88px;
}

*, *::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);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

.container { width: min(1240px, 92vw); margin-inline: auto; }

/* ─── Logo (nav + footer) ─── */
.logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.logo-box--nav {
  padding: 6px 14px;
  height: 58px;
}

.logo-box--footer {
  padding: 10px 16px;
  height: auto;
  min-height: 72px;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.98);
}

.logo-img {
  height: 100%;
  width: auto;
  max-height: 44px;
  max-width: 200px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.logo-box--footer .logo-img {
  max-height: 52px;
  max-width: 240px;
  width: auto;
  height: auto;
}

.nav__logo:hover .logo-box,
.footer__logo-link:hover .logo-box {
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

/* ─── Background mesh ─── */
.pixel-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(0, 136, 255, 0.07), transparent),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(255, 102, 0, 0.06), transparent);
}

.pixel-bg::before {
  content: '';
  position: absolute;
  top: 12%;
  right: 6%;
  width: 100px;
  height: 100px;
  background:
    linear-gradient(90deg, var(--blue) 50%, transparent 50%) 0 0 / 7px 7px,
    linear-gradient(90deg, var(--orange) 50%, transparent 50%) 3px 3px / 7px 7px;
  opacity: 0.12;
  animation: float 9s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ─── Typography ─── */
.text-gradient {
  background: linear-gradient(120deg, var(--orange) 0%, var(--blue) 55%, var(--blue-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-orange { color: var(--orange); }
.text-blue { color: var(--blue); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0, 136, 255, 0.08);
  border: 1px solid rgba(0, 136, 255, 0.15);
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  box-shadow: 0 6px 24px var(--orange-glow);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--orange-glow);
}

.btn--outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--lg { padding: 1.05rem 2.35rem; font-size: 1.05rem; }
.btn--full { width: 100%; }

.btn svg { width: 18px; height: 18px; }

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(250, 251, 254, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link,
.nav__menu > li > a:not(.nav__cta) {
  padding: 0.5rem 0.9rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--navy-mid);
  border-radius: 8px;
  transition: var(--transition);
}

.nav__link:hover,
.nav__menu > li > a:not(.nav__cta):hover {
  color: var(--blue);
  background: rgba(0, 136, 255, 0.06);
}

.nav__link.is-active,
.nav__menu a.is-active:not(.nav__cta) {
  color: var(--blue);
  background: rgba(0, 136, 255, 0.1);
  font-weight: 600;
}

.nav__cta {
  margin-left: 0.5rem;
  padding: 0.65rem 1.35rem !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark)) !important;
  color: var(--white) !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-blue);
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px var(--blue-glow);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* ─── Page hero (inner pages) ─── */
.page-hero {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 55%, #1a3358 100%);
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 102, 0, 0.15), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(0, 136, 255, 0.2), transparent 45%);
  pointer-events: none;
}

.page-hero .container { position: relative; }

.page-hero__breadcrumb {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.page-hero__breadcrumb a:hover { color: var(--orange-light, #ff8533); }

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.125rem;
  opacity: 0.85;
  max-width: 560px;
}

/* ─── Home hero ─── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--white) 45%, var(--off-white) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
  padding: 3rem 0 5rem;
}

.hero__title {
  font-size: clamp(2.35rem, 4.8vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero__desc {
  font-size: 1.125rem;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat span { font-size: 0.82rem; color: var(--slate); font-weight: 500; }

/* Hero showcase — real images */
.hero-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  position: relative;
}

.showcase-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  color: inherit;
  text-decoration: none;
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(7, 17, 31, 0.18);
}

.showcase-card--main {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.showcase-card:not(.showcase-card--main) {
  aspect-ratio: 4 / 3;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.showcase-card:hover img { transform: scale(1.06); }

.showcase-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 17, 31, 0.88) 0%, rgba(7, 17, 31, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.5rem;
  color: var(--white);
}

.showcase-card__overlay h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.showcase-card__overlay p {
  font-size: 0.8rem;
  opacity: 0.85;
}

.showcase-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
}

.showcase-card--main .showcase-card__tag { color: var(--blue); }
.showcase-card:nth-child(2) .showcase-card__tag { color: var(--orange); }
.showcase-card:nth-child(3) .showcase-card__tag { color: var(--blue-dark); }

.hero-showcase__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, var(--blue-glow), transparent 65%);
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
}

/* ─── Sections ─── */
.section {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0;
}

.section--alt { background: var(--off-white); }
.section--dark {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
}

.section__header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section__header--center {
  text-align: center;
  margin-inline: auto;
}

.section__label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.65rem;
}

.section__title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.section__desc {
  color: var(--slate);
  font-size: 1.05rem;
}

.section--dark .section__desc { color: var(--slate-light); }

/* ─── Service cards ─── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.service-card__thumb {
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.service-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.service-card:hover .service-card__thumb img { transform: scale(1.05); }

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.service-card__icon svg { width: 24px; height: 24px; }
.service-card__icon--blue { background: rgba(0, 136, 255, 0.12); color: var(--blue); }
.service-card__icon--orange { background: rgba(255, 102, 0, 0.12); color: var(--orange); }

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-card > p {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.service-card ul {
  font-size: 0.85rem;
  color: var(--slate-light);
  margin-bottom: 1.25rem;
}

.service-card li {
  padding: 0.2rem 0 0.2rem 1rem;
  position: relative;
}

.service-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.service-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-card__link:hover { color: var(--orange); gap: 0.55rem; }

/* ─── Tech stack ─── */
.tech-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.tech-section h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.tech-section > p {
  color: var(--slate);
  margin-bottom: 2rem;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--navy);
  transition: var(--transition);
}

.tech-pill:hover {
  background: linear-gradient(135deg, var(--orange), var(--blue));
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
}

.tech-pill--featured {
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.12), rgba(0, 136, 255, 0.12));
  border-color: var(--border-strong);
  font-weight: 700;
}

.tech-pill--featured::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--blue));
}

/* ─── Expertise layout ─── */
.expertise-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.expertise-visual img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.expertise-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.expertise-check {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
}

.expertise-list strong { display: block; margin-bottom: 0.2rem; }
.expertise-list p { font-size: 0.92rem; color: var(--slate); margin: 0; }

/* ─── Process ─── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.process-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.process-card:hover::before { transform: scaleX(1); }

.process-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.process-num {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.process-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-card p { font-size: 0.9rem; color: var(--slate); }

/* ─── Team ─── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.team-card__photo {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 17, 31, 0.4), transparent 50%);
}

.team-card__body { padding: 1.35rem 1rem 1.5rem; }

.team-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.team-card .role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--slate);
}

/* ─── About values ─── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.value-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.value-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.92rem; color: var(--slate); }

/* ─── CTA banner ─── */
.cta-banner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0;
  background:
    linear-gradient(135deg, var(--navy) 0%, #122a4a 50%, var(--navy-mid) 100%);
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--orange-glow), transparent 70%);
  top: -100px;
  right: -100px;
}

.cta-banner__inner {
  position: relative;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-banner p { opacity: 0.88; margin-bottom: 1.75rem; max-width: 520px; margin-inline: auto; }

.cta-banner__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Contact ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info p { color: var(--slate); margin-bottom: 2rem; }

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 136, 255, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card__icon svg { width: 22px; height: 22px; }

.contact-card strong { display: block; font-size: 0.85rem; color: var(--slate); }
.contact-card a, .contact-card span { font-weight: 600; color: var(--navy); }

.contact-form {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 1.2rem; }

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--off-white);
  transition: var(--transition);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 136, 255, 0.12);
  background: var(--white);
}

.form-row textarea { resize: vertical; min-height: 130px; }

.form-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  min-height: 1.4em;
}

.form-note.success { color: #059669; }
.form-note.error { color: #dc2626; }

/* ─── Preview cards (home) ─── */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.preview-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
}

.preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.preview-card:hover img { transform: scale(1.08); }

.preview-card__content {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 17, 31, 0.9), transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: var(--white);
}

.preview-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.35rem; }
.preview-card p { font-size: 0.85rem; opacity: 0.9; margin-bottom: 0.75rem; }
.preview-card .link { font-size: 0.85rem; font-weight: 600; color: var(--orange-light, #ff8533); }

/* ─── Footer ─── */
.footer {
  position: relative;
  z-index: 1;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 4rem;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 1.25rem 0 1.5rem;
  max-width: 300px;
  opacity: 0.8;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--blue);
  color: var(--white);
}

.footer__social svg { width: 18px; height: 18px; }

.footer__col h4 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer__col a {
  display: block;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  opacity: 0.75;
  transition: var(--transition);
}

.footer__col a:hover { opacity: 1; color: #ff8533; }

.footer__contact-col a { margin-bottom: 0.5rem; }

.footer__bar {
  padding: 1.5rem 0 2rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.55;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__line {
  height: 3px;
  width: 100px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, var(--orange) 50%, var(--blue) 50%);
  border-radius: 2px;
}

/* ─── Home: services grid (6) ─── */
.home-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.home-service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.home-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.home-service-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--off-white);
}

.home-service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.home-service-card:hover .home-service-card__img img { transform: scale(1.06); }

.home-service-card__body {
  padding: 1.35rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.home-service-card p {
  font-size: 0.9rem;
  color: var(--slate);
  flex: 1;
  margin-bottom: 1rem;
}

.home-service-card .btn-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.home-service-card .btn-link:hover { color: var(--orange); }

/* Trust bar */
.trust-bar {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 0;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-bar strong {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.trust-bar span { font-size: 0.88rem; opacity: 0.8; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.testimonial-card__stars {
  color: var(--orange);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-card cite span {
  display: block;
  font-weight: 500;
  color: var(--slate-light);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

/* About teaser */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-teaser img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* FAQ */
.faq-list { max-width: 760px; margin-inline: auto; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--blue);
  font-weight: 400;
  flex-shrink: 0;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item__answer {
  padding: 0 1.35rem 1.15rem;
  color: var(--slate);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0;
}

/* ─── Service detail pages ─── */
.service-detail-hero {
  position: relative;
  z-index: 1;
  margin-top: -2rem;
  padding-bottom: 3rem;
}

.service-detail-hero .container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 21/9;
  max-height: 420px;
}

.service-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.service-detail-main h2 {
  font-size: 1.65rem;
  font-weight: 800;
  margin: 2rem 0 1rem;
}

.service-detail-main h2:first-child { margin-top: 0; }

.service-detail-main p {
  color: var(--slate);
  margin-bottom: 1rem;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--navy-mid);
  padding: 0.75rem;
  background: var(--off-white);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.feature-list li::before {
  content: '✓';
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--blue));
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.service-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.service-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.service-sidebar ul {
  margin-bottom: 1.5rem;
}

.service-sidebar li {
  font-size: 0.88rem;
  color: var(--slate);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

.service-sidebar li:last-child { border-bottom: none; }

.service-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-related a {
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.service-related a:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.service-card--linked {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card--linked:hover .service-card__link {
  color: var(--orange);
}

@media (max-width: 900px) {
  .home-services { grid-template-columns: repeat(2, 1fr); }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .about-teaser { grid-template-columns: 1fr; }
  .service-detail-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .feature-list { grid-template-columns: 1fr; }
  .service-related { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .home-services { grid-template-columns: 1fr; }
}

/* ─── Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-box--nav { padding: 5px 12px; height: 54px; }
  .logo-box--nav .logo-img { max-height: 40px; }
  .footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__grid,
  .expertise-split,
  .contact-layout { grid-template-columns: 1fr; }
  .hero-showcase { order: -1; }
  .preview-grid,
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 76px; }

  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__cta { margin-left: 0 !important; text-align: center; }

  .nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav__toggle.active span:nth-child(2) { opacity: 0; }
  .nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .services__grid,
  .process-grid { grid-template-columns: 1fr; }
  .hero__stats { flex-wrap: wrap; gap: 1.25rem; }
  .hero__actions .btn { flex: 1; min-width: 140px; }
  .footer__main { grid-template-columns: 1fr; text-align: center; }
  .footer__brand p { margin-inline: auto; }
  .footer__social { justify-content: center; }
  .logo-box--footer { margin-inline: auto; }
}

@media (max-width: 480px) {
  .hero-showcase { grid-template-columns: 1fr; }
  .showcase-card--main { grid-column: 1; }
  .team-grid { grid-template-columns: 1fr; }
}
