@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap");

:root {
  --red: #e60000;
  --red-dark: #b90000;
  --navy: #071321;
  --ink: #111827;
  --slate: #475467;
  --muted: #667085;
  --line: #e5e7eb;
  --soft: #f6f8fb;
  --white: #ffffff;
  --blue: #1e40af;
  --green: #059669;
  --gold: #c08403;
  --shadow: 0 20px 55px rgba(7, 19, 33, 0.12);
  --shadow-soft: 0 10px 28px rgba(7, 19, 33, 0.08);
  --radius: 8px;
  --max: 1160px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body::selection {
  background: rgba(230, 0, 0, 0.16);
}

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

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

button {
  border: 0;
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  padding: 10px 12px 10px 22px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 45px rgba(7, 19, 33, 0.14);
  backdrop-filter: blur(18px);
  transition: background 250ms var(--ease), box-shadow 250ms var(--ease), top 250ms var(--ease);
}

.site-header.scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 34px rgba(7, 19, 33, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 160px;
  min-height: 52px;
}

.brand img {
  width: 132px;
  max-height: 52px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  padding-right: 22px;
}

.nav-links a,
.header-cta {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  transition: transform 220ms var(--ease);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: 0 14px 24px rgba(230, 0, 0, 0.24);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) brightness(0.6);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 19, 33, 0.94), rgba(7, 19, 33, 0.72) 45%, rgba(7, 19, 33, 0.25)),
    linear-gradient(180deg, rgba(7, 19, 33, 0.25), rgba(7, 19, 33, 0.86));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 158px 0 54px;
}

.hero-copy {
  max-width: 760px;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  color: var(--white);
  font-size: 78px;
  font-weight: 800;
  line-height: 0.98;
}

h1 span {
  display: inline-block;
  background: linear-gradient(90deg, #ffffff, #ffeded, #e60000, #ffffff);
  background-size: 280% 100%;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 0% 50%;
  }
}

.hero-verticals {
  margin: 26px 0 18px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 19px;
  font-weight: 800;
}

.hero-verticals b {
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.5);
}

.hero-text {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: 0 16px 28px rgba(230, 0, 0, 0.28);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 76px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-proof div {
  min-height: 72px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
}

.hero-proof span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 64px;
  align-items: center;
}

.brand-panel {
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 24% 20%, rgba(230, 0, 0, 0.1), transparent 34%),
    linear-gradient(135deg, #f8fafc, #ffffff);
  box-shadow: var(--shadow-soft);
}

.brand-panel img {
  width: 275px;
}

.section-label {
  margin-bottom: 13px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  color: var(--navy);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.08;
}

.story-copy p:not(.section-label),
.section-head p,
.contact-panel p {
  color: var(--slate);
  font-size: 17px;
  line-height: 1.85;
}

.story-copy p:not(.section-label) {
  margin-top: 22px;
}

.companies {
  background: var(--soft);
}

.section-head {
  max-width: 690px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head h2 + p {
  margin-top: 14px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.company-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(7, 19, 33, 0.05);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

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

.company-image {
  aspect-ratio: 1.36;
  overflow: hidden;
  background: #dfe3ea;
}

.company-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.company-card:hover .company-image img {
  transform: scale(1.05);
}

.company-body {
  padding: 26px;
}

.company-logo {
  width: 136px;
  height: 42px;
  margin-bottom: 20px;
  object-fit: contain;
  object-position: left center;
}

.company-logo.compact {
  width: 64px;
}

.company-body h3,
.value-card h3 {
  color: var(--navy);
  font-size: 21px;
  font-weight: 850;
  letter-spacing: 0;
}

.company-body p,
.value-card p {
  margin-top: 12px;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.75;
}

.company-body a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--red);
  font-size: 14px;
  font-weight: 850;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.value-card {
  min-height: 228px;
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(7, 19, 33, 0.05);
}

.value-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: rgba(230, 0, 0, 0.08);
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.contact {
  background:
    linear-gradient(135deg, rgba(7, 19, 33, 0.96), rgba(15, 32, 54, 0.96)),
    url("img/services.png") center / cover fixed;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 46px;
  align-items: start;
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.contact-panel h2,
.contact-panel .section-label {
  color: var(--white);
}

.contact-panel p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list a {
  display: grid;
  gap: 4px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
}

.contact-list span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-footer {
  padding: 56px 0 24px;
  background: var(--navy);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 46px;
  align-items: start;
}

.footer-grid img {
  width: 148px;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.footer-grid p,
.copyright {
  color: rgba(255, 255, 255, 0.66);
}

.footer-grid p {
  max-width: 360px;
}

.footer-grid nav,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.copyright {
  width: min(var(--max), calc(100% - 48px));
  margin: 38px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: #25d366;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(37, 211, 102, 0.28);
}

.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}

.reveal {
  transform: translateY(24px);
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 10px 12px 10px 16px;
  }

  .menu-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    grid-column: 1 / -1;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    padding: 14px 12px;
  }

  .hero {
    min-height: 790px;
  }

  .hero-inner {
    padding-top: 132px;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-proof,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .container,
  .hero-inner,
  .copyright {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 72px 0;
  }

  .site-header {
    top: 10px;
    display: flex;
    justify-content: space-between;
    width: calc(100% - 20px);
    min-height: 66px;
  }

  .brand {
    width: auto;
  }

  .brand img {
    width: 118px;
  }

  .hero {
    min-height: 820px;
  }

  h1 {
    max-width: 100%;
    font-size: 36px;
    line-height: 1.03;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 31px;
  }

  .hero-text,
  .story-copy p:not(.section-label),
  .section-head p,
  .contact-panel p {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-verticals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .hero-verticals b {
    margin: 0 2px;
  }

  .hero-proof,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    margin-top: 48px;
  }

  .brand-panel {
    min-height: 260px;
    padding: 34px;
  }

  .brand-panel img {
    width: 210px;
  }

  .company-body,
  .value-card,
  .contact-panel {
    padding: 24px;
  }

  .whatsapp {
    right: 14px;
    bottom: 14px;
    min-width: 58px;
    width: 58px;
    font-size: 0;
  }

  .whatsapp::before {
    content: "WA";
    font-size: 14px;
  }
}
