/* ===== Shivora Tech — Design System ===== */
:root {
  --navy: #003366;
  --navy-deep: #00264d;
  --navy-dark: #001a33;
  --blue: #0b5cad;
  --blue-bright: #1a6fc4;
  --blue-soft: #e8f1fa;
  --text: #1a2433;
  --text-muted: #5a6a7a;
  --white: #ffffff;
  --gray-50: #f5f7fa;
  --gray-100: #eef2f6;
  --gray-200: #dce3eb;
  --shadow: 0 12px 40px rgba(0, 38, 77, 0.12);
  --shadow-sm: 0 4px 16px rgba(0, 38, 77, 0.08);
  --radius: 10px;
  --header-h: 84px;
  --font: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

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

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

ul {
  list-style: none;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

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

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(11, 92, 173, 0.28);
}

.btn-primary:hover {
  background: var(--blue-bright);
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-consult {
  background: var(--navy);
  color: var(--white);
  padding: 0.7rem 1.15rem;
  font-size: 0.88rem;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-consult:hover {
  background: var(--blue);
  transform: translateY(-1px);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.brand-tagline {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 220px;
}

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

.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.2s;
}

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

.main-nav a.active::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s, opacity 0.25s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 680px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding: 3.5rem 0 5.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("../assets/hero-bg.jpg") center / cover no-repeat;
  transform: scale(1.02);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 38, 77, 0.92) 0%, rgba(0, 51, 102, 0.78) 42%, rgba(0, 51, 102, 0.35) 70%, rgba(0, 30, 60, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero-sub {
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  max-width: 34rem;
  opacity: 0.95;
  margin-bottom: 1.75rem;
  font-weight: 500;
  animation: fadeUp 0.8s 0.12s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: fadeUp 0.8s 0.22s var(--ease) both;
}

.hero-visual {
  justify-self: end;
  animation: fadeInRight 1s 0.2s var(--ease) both;
}

.hero-visual img {
  width: min(100%, 480px);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.25);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

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

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

/* ===== Features bar ===== */
.features-bar {
  position: relative;
  z-index: 5;
  margin-top: -3.25rem;
  padding-bottom: 0.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.feature-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.35rem 1.2rem;
  border-right: 1px solid var(--gray-100);
}

.feature-item:last-child {
  border-right: none;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}

.feature-item h3 {
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.feature-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== Sections ===== */
.section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  color: var(--navy);
  font-size: clamp(1.75rem, 2.8vw, 2.15rem);
  font-weight: 800;
  margin-bottom: 2.5rem;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 36rem;
  margin: -1.5rem auto 2.5rem;
}

.section-eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

/* ===== About ===== */
.about {
  background: var(--gray-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.about-copy h2 {
  color: var(--navy);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-copy .btn {
  margin-top: 0.5rem;
}

.about-highlights {
  display: grid;
  gap: 1rem;
}

.highlight-card {
  background: var(--white);
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--blue);
  box-shadow: var(--shadow-sm);
}

.highlight-card i {
  color: var(--blue);
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.highlight-card h3 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.service-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #b8d0e8;
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border: 1.5px solid #9ec0e0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 1.65rem;
  background: linear-gradient(180deg, #f7fbff, #eef5fc);
}

.service-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

/* ===== Products ===== */
.products {
  background: var(--gray-50);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-item {
  background: var(--white);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease);
}

.product-item:hover {
  transform: translateY(-4px);
}

.product-item i {
  color: var(--blue);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.product-item h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.product-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ===== Industries + Why ===== */
.industries-why {
  padding-top: 3.5rem;
}

.industries-why-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.75rem;
  align-items: stretch;
}

.industries-block h2 {
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 1.15rem;
}

.industries-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.industry-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 220px;
  box-shadow: var(--shadow-sm);
}

.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.5s var(--ease);
}

.industry-card:hover img {
  transform: scale(1.08);
}

.industry-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.55rem 0.35rem;
  line-height: 1.25;
  z-index: 1;
}

.why-block {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.why-block h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1.35rem;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  flex: 1;
}

.why-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 1.15rem 0.9rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: background 0.25s;
}

.why-item:hover {
  background: rgba(255, 255, 255, 0.14);
}

.why-item i {
  font-size: 1.55rem;
  color: #7eb6f0;
}

.why-item p {
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.3;
}

/* ===== Contact ===== */
.contact {
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-copy h2 {
  color: var(--navy);
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.contact-copy > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.contact-list i {
  color: var(--blue);
  margin-top: 0.2rem;
  width: 1.1rem;
}

.contact-list a {
  color: var(--navy);
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--blue);
}

.muted {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.contact-form {
  background: var(--white);
  padding: 1.75rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 92, 173, 0.15);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-whatsapp {
  background: #1fa855;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(31, 168, 85, 0.28);
}

.btn-whatsapp:hover {
  background: #18964a;
}

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

.btn-email:hover {
  background: var(--blue);
}

.form-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.form-note {
  font-size: 0.88rem;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 0.75rem;
  border-radius: 8px;
}

.form-note.is-error {
  color: #8a1f1f;
  background: #fdecec;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.9);
}

.footer-brand {
  display: flex;
  justify-content: center;
  padding: 2rem 0 0.5rem;
}

.footer-logo {
  width: min(220px, 55vw);
  height: auto;
  object-fit: contain;
  opacity: 0.95;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 0.9fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
}

.footer-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.footer-item > i {
  color: #6eb0eb;
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

.footer-item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
  color: #9ec8ef;
}

.footer-subheading {
  margin-top: 0.85rem;
}

.footer-item p {
  font-size: 0.88rem;
  line-height: 1.45;
}

.footer-address p {
  max-width: 22rem;
}

.footer-item a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.footer-bottom-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.9;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .brand-tagline {
    display: none;
  }

  .main-nav ul {
    gap: 0.85rem;
  }

  .main-nav a {
    font-size: 0.82rem;
  }

  .btn-consult {
    font-size: 0.8rem;
    padding: 0.65rem 0.9rem;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
    order: 3;
  }

  .btn-consult {
    display: none;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s;
    box-shadow: var(--shadow-sm);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-visual {
    justify-self: start;
    max-width: 420px;
  }

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

  .feature-item:nth-child(2) {
    border-right: none;
  }

  .feature-item:nth-child(1),
  .feature-item:nth-child(2) {
    border-bottom: 1px solid var(--gray-100);
  }

  .about-grid,
  .industries-why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 600px) {
  .container {
    width: min(100% - 1.5rem, 1180px);
  }

  .hero {
    min-height: auto;
    padding: 2.5rem 0 4.5rem;
  }

  .hero-visual {
    display: none;
  }

  .features-bar {
    margin-top: -2.5rem;
  }

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

  .feature-item {
    border-right: none !important;
    border-bottom: 1px solid var(--gray-100);
  }

  .feature-item:last-child {
    border-bottom: none;
  }

  .services-grid,
  .products-grid,
  .industries-row,
  .footer-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    min-height: 160px;
  }

  .section {
    padding: 3.25rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
