/* Sarvatra Enterprises — Independent Engineer */
:root {
  --ink: #0e1419;
  --ink-soft: #1c2833;
  --steel: #2a3f4f;
  --slate: #4a5d6b;
  --mist: #e8eef2;
  --paper: #f4f7f9;
  --white: #ffffff;
  --accent: #c45c26;
  --accent-deep: #9a3f12;
  --accent-soft: #f3e4db;
  --line: rgba(14, 20, 25, 0.1);
  --shadow: 0 18px 50px rgba(14, 20, 25, 0.12);
  --radius: 4px;
  --max: 1180px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--slate);
  max-width: 58ch;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

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

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

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

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Top bar + Header */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  padding: 0.55rem 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 247, 249, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.1;
  min-width: 0;
}

.logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(14, 20, 25, 0.1);
  padding: 2px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  max-width: 22ch;
  line-height: 1.25;
}

.footer-tagline {
  margin-top: 0.85rem !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-style: italic;
  font-weight: 600;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  margin-right: 0.35rem;
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
}

.header-phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}

.header-phone:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-brand .logo-img {
  width: 72px;
  height: 72px;
}

.footer-brand .logo-mark {
  color: var(--white);
}

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

.nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--steel);
  position: relative;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav .btn::after {
  display: none;
}

.nav .btn-primary {
  color: var(--white);
}

@media (max-width: 1180px) {
  .nav {
    gap: 0.75rem;
  }

  .nav a {
    font-size: 0.84rem;
  }

  .nav .btn {
    padding: 0.75rem 1.15rem;
    font-size: 0.82rem;
  }
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.7rem 0.85rem;
  font-size: 0.88rem;
  white-space: normal;
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover {
  background: var(--mist);
}

.nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(86vh, 720px);
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background:
    var(--hero-image, url("../assets/images/hero.jpg")) center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(14, 20, 25, 0.92) 0%, rgba(14, 20, 25, 0.72) 48%, rgba(14, 20, 25, 0.38) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.55fr);
  gap: 3.5rem;
  align-items: center;
  padding: 5.5rem 0 4.75rem;
}

.hero-copy {
  max-width: 640px;
  animation: rise 0.9s ease both;
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.98;
  max-width: 14ch;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.hero-lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
}

.hero-aside {
  display: grid;
  gap: 0.9rem;
  animation: rise 0.9s ease 0.12s both;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  padding: 1.15rem 1.25rem;
}

.hero-stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero-stat-card span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero .btn-group {
  margin-top: 2rem;
}

/* Page banner */
.page-banner {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(14, 20, 25, 0.88), rgba(42, 63, 79, 0.72)),
    var(--banner-image, url("../assets/images/banner.jpg")) center / cover no-repeat;
  overflow: hidden;
}

.page-banner::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border: 40px solid rgba(196, 92, 38, 0.15);
  border-radius: 50%;
}

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

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

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.service-item {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0 0 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-item-media {
  height: 180px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.service-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.service-item:hover .service-item-media img {
  transform: scale(1.06);
}

.service-item-body {
  padding: 0 1.5rem;
}

.service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.3s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-item:hover::before {
  height: 100%;
}

.service-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent-soft);
  color: #e8d0c2;
  line-height: 1;
  margin-bottom: 0.85rem;
}

.service-item h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.65rem;
  line-height: 1.15;
}

.service-item p {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}

.service-item .link {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent);
}

.service-item .link:hover {
  color: var(--accent-deep);
}

/* About split */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.media-panel {
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(145deg, rgba(196, 92, 38, 0.18), transparent 45%),
    linear-gradient(160deg, #243746, #0e1419);
  overflow: hidden;
}

.media-panel.has-image {
  background: none;
}

.media-panel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1;
  pointer-events: none;
}

.media-panel-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--white);
  z-index: 2;
  background: linear-gradient(180deg, transparent 35%, rgba(14, 20, 25, 0.82) 100%);
}

.media-panel-content strong {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
}

.check-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--steel);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.4rem;
  flex-shrink: 0;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Why / features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.feature {
  padding: 1.6rem 1.4rem;
  background: var(--white);
  border-top: 3px solid var(--accent);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  margin: 0.4rem 0 0.55rem;
  letter-spacing: 0.02em;
}

.feature p {
  color: var(--slate);
  font-size: 0.94rem;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  counter-reset: step;
}

.process-step {
  background: var(--ink-soft);
  color: var(--white);
  padding: 1.6rem 1.3rem;
  position: relative;
  min-height: 210px;
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: rgba(196, 92, 38, 0.55);
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.3rem;
  margin-bottom: 0.55rem;
  letter-spacing: 0.02em;
}

.process-step p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(110deg, rgba(14, 20, 25, 0.9), rgba(196, 92, 38, 0.72)),
    var(--cta-image, url("../assets/images/cta.jpg")) center / cover no-repeat;
  color: var(--white);
  padding: 4.5rem 0;
}

.cta-band .section-title {
  max-width: 20ch;
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-thumb {
  height: 200px;
  background:
    linear-gradient(135deg, rgba(14, 20, 25, 0.25), rgba(196, 92, 38, 0.35)),
    linear-gradient(160deg, #2a3f4f, #1a2a36);
  position: relative;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.06);
}

.blog-thumb span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  z-index: 1;
}

.article-hero {
  margin: 0 0 1.75rem;
  overflow: hidden;
  max-height: 420px;
}

.article-hero img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.service-hero {
  margin-bottom: 1.5rem;
  overflow: hidden;
  max-height: 360px;
}

.service-hero img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.contact-visual {
  margin-bottom: 1.5rem;
  overflow: hidden;
  min-height: 220px;
}

.contact-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.admin-thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line, #d7e2db);
}

.blog-body {
  padding: 1.35rem 1.25rem 1.5rem;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 0.55rem;
}

.blog-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.blog-body p {
  color: var(--slate);
  font-size: 0.94rem;
  margin-bottom: 1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-info {
  background: var(--ink);
  color: var(--white);
  padding: 2rem 1.75rem;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.75rem;
}

.info-block {
  margin-bottom: 1.4rem;
}

.info-block h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.info-block a:hover,
.info-block span {
  color: rgba(255, 255, 255, 0.9);
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
}

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

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

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--steel);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--ink);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
}

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

.form-note {
  font-size: 0.82rem;
  color: var(--slate);
  margin-top: 0.85rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem 1rem;
  padding: 0.95rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--steel);
  cursor: pointer;
  line-height: 1.35;
}

.check-option input {
  width: auto;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.partner-grid {
  margin-top: 2rem;
}

.partner-intro {
  align-items: center;
}

/* Service detail */
.service-detail {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 2rem;
  align-items: start;
}

.content-block h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 1.75rem 0 0.75rem;
}

.content-block p {
  color: var(--slate);
  margin-bottom: 1rem;
}

.content-block ul {
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.55rem;
}

.content-block ul li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--steel);
}

.content-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

.side-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.side-card .service-links a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--steel);
}

.side-card .service-links a:hover,
.side-card .service-links a.active {
  color: var(--accent);
}

.side-cta {
  margin-top: 1.5rem;
  background: var(--ink);
  color: var(--white);
  padding: 1.25rem;
}

.side-cta p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0.4rem 0 1rem;
}

/* Blog single */
.article {
  max-width: 760px;
  margin: 0 auto;
}

.article h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-transform: uppercase;
  margin: 1.75rem 0 0.75rem;
}

.article p {
  color: var(--slate);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.article-meta {
  color: var(--slate);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-mark {
  color: var(--white);
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 36ch;
  font-size: 0.94rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.map-embed {
  margin-top: 1.75rem;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--white);
  min-height: 380px;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 5.25rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #25d366;
  color: #fff;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(14, 20, 25, 0.28);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}

.whatsapp-float:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(14, 20, 25, 0.32);
}

body.enquiry-modal-open {
  overflow: hidden;
}

.enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
}

.enquiry-modal[hidden] {
  display: none !important;
}

.enquiry-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 22, 0.62);
  backdrop-filter: blur(2px);
}

.enquiry-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: calc(100vh - 1.5rem);
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  padding: 1.15rem 1.1rem 1rem;
  box-shadow: 0 18px 40px rgba(8, 14, 20, 0.32);
  animation: enquiryModalIn 0.28s ease;
}

@keyframes enquiryModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.enquiry-modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.6rem;
  width: 1.85rem;
  height: 1.85rem;
  border: 0;
  border-radius: 999px;
  background: #eef2f5;
  color: #1a2430;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.enquiry-modal-close:hover {
  background: #e2e8ee;
}

.enquiry-modal-header {
  margin-bottom: 0.75rem;
  padding-right: 1.75rem;
}

.enquiry-modal-header .section-label {
  font-size: 0.72rem;
}

.enquiry-modal-header h2 {
  margin: 0.2rem 0 0.25rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.enquiry-modal-header p {
  margin: 0;
  color: var(--slate, #5b6773);
  font-size: 0.82rem;
  line-height: 1.4;
}

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

.enquiry-modal-form .form-group {
  margin: 0;
}

.enquiry-modal-form .form-group.full {
  grid-column: 1 / -1;
}

.enquiry-modal-form .form-group label {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.enquiry-modal-form .form-group input,
.enquiry-modal-form .form-group select,
.enquiry-modal-form .form-group textarea {
  padding: 0.5rem 0.65rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

.enquiry-modal-form .form-group textarea {
  min-height: 72px;
  resize: vertical;
}

.enquiry-modal-form .btn {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
}

.enquiry-modal-errors {
  margin: 0.55rem 0 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: #fdecec;
  color: #b42318;
  font-size: 0.8rem;
}

.enquiry-modal-errors ul {
  margin: 0;
  padding-left: 1rem;
}

.thanks-panel {
  padding: 1rem 0 2rem;
}

@media (max-width: 640px) {
  .enquiry-modal-form .form-row {
    grid-template-columns: 1fr;
  }

  .enquiry-modal-dialog {
    width: min(380px, 100%);
    padding: 1rem 0.95rem 0.9rem;
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Dark section helper */
.bg-white {
  background: var(--white);
}

.bg-mist {
  background: var(--mist);
}

.bg-ink {
  background:
    linear-gradient(160deg, rgba(14, 20, 25, 0.92), rgba(26, 42, 54, 0.88)),
    var(--process-image, url("../assets/images/process.jpg")) center / cover no-repeat;
  background-color: var(--ink);
  color: var(--white);
}

.bg-ink .section-lead,
.bg-ink .section-title {
  color: var(--white);
}

.bg-ink .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

/* Industries strip */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.industries span {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.55rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--steel);
}

/* Responsive */
@media (max-width: 980px) {
  .services-grid,
  .features,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .split,
  .contact-grid,
  .service-detail,
  .footer-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2rem;
    padding: 4.5rem 0 3.5rem;
  }

  .hero-aside {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    display: grid;
  }

  .hero h1 {
    max-width: 16ch;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    min-height: 68px;
    gap: 0.5rem;
  }

  .logo-text {
    display: none;
  }

  .logo-img {
    width: 52px;
    height: 52px;
  }

  .header-phone {
    display: inline-flex;
  }

  .header-phone span {
    font-size: 0.8rem;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav > a,
  .nav-dropdown > a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0.5rem 0.75rem;
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .services-grid,
  .features,
  .blog-grid,
  .process,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 3.25rem 0 2.75rem;
    gap: 1.4rem;
  }

  .hero-aside {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

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

  .section {
    padding: 4rem 0;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 0.9rem;
    right: 1rem;
    bottom: 2.75rem;
  }

  .map-embed iframe {
    height: 300px;
  }
}

@media (max-width: 420px) {
  .header-phone span {
    font-size: 0.72rem;
    letter-spacing: -0.01em;
  }

  .header-phone {
    padding: 0.4rem 0.55rem;
    gap: 0.3rem;
  }

  .logo-img {
    width: 46px;
    height: 46px;
  }
}
