:root {
  --navy: #052856;
  --navy-dark: #001f45;
  --gold: #d9a33a;
  --gold-2: #f2bd4d;
  --text: #213048;
  --muted: #596579;
  --line: #e6e9ef;
  --white: #ffffff;
  --soft: #f8fafc;
  --shadow: 0 10px 24px rgba(5, 40, 86, 0.12);
  --shadow-soft: 0 8px 20px rgba(5, 40, 86, 0.08);
  --radius: 8px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Roboto", Arial, sans-serif;
  background: #fff;
  line-height: 1.55;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 92px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(5, 40, 86, 0.05);
  box-shadow: 0 3px 18px rgba(3, 24, 52, 0.04);
}

.header-inner {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 139px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 38px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 35px 0 33px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 23px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 62px;
}

.menu-toggle {
  display: none;
  width: 43px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 5px;
}

.hero {
  min-height: 433px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 70%, rgba(217, 163, 58, 0.08), transparent 22%),
    linear-gradient(90deg, #ffffff 0%, #ffffff 49%, #f4f5f5 49%, #f4f5f5 100%);
}

.hero-inner {
  min-height: 433px;
  display: grid;
  grid-template-columns: 49.5% 50.5%;
  align-items: stretch;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 64px 46px 48px 4px;
  background:
    linear-gradient(100deg, #fff 0%, #fff 80%, rgba(255,255,255,0.86) 92%, rgba(255,255,255,0) 100%);
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: -80px;
  bottom: 8px;
  width: 230px;
  height: 140px;
  opacity: .35;
  background: repeating-radial-gradient(ellipse at center, rgba(217, 163, 58, .26) 0, rgba(217, 163, 58, .26) 1px, transparent 1px, transparent 10px);
  transform: rotate(7deg);
  pointer-events: none;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 4.15vw, 56px);
  line-height: .98;
  letter-spacing: -1.4px;
  max-width: 560px;
}

.gold-rule {
  display: block;
  width: 57px;
  height: 3px;
  margin: 29px 0 23px;
  background: var(--gold);
}

.hero p {
  max-width: 506px;
  margin: 0 0 27px;
  color: #435062;
  font-size: 16px;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 47px;
  padding: 0 23px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 8px 18px rgba(5, 40, 86, 0.18);
}

.btn-outline {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--gold);
  box-shadow: 0 7px 16px rgba(5, 40, 86, 0.07);
}

.whatsapp-icon,
.small-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.whatsapp-icon {
  width: 23px;
  height: 23px;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1;
}

.small-icon {
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 4px;
  font-size: 12px;
}

.hero-visual {
  margin-right: calc((100vw - min(var(--container), calc(100vw - 112px))) / -2);
  min-height: 433px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.section {
  padding: 30px 0 36px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 17px;
  text-align: center;
}

.section-title span {
  width: 64px;
  height: 1.5px;
  background: var(--gold);
}

.section-title h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.service-card {
  min-height: 195px;
  padding: 16px 15px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid #e3e7ef;
  border-radius: 7px;
  box-shadow: var(--shadow-soft);
}

.service-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.service-card h3,
.why-item h3,
.app-card h3 {
  color: var(--navy);
  font-weight: 800;
}

.service-card h3 {
  min-height: 36px;
  margin: 0 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1.18;
}

.service-card p {
  margin: 0;
  color: #404a5a;
  font-size: 14px;
  line-height: 1.5;
}

.why {
  padding: 35px 0 29px;
  background: linear-gradient(180deg, #fbfcfd 0%, #f4f7fb 100%);
}

.section-title.compact {
  margin-bottom: 22px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.why-item {
  display: grid;
  grid-template-columns: 67px 1fr;
  gap: 18px;
  align-items: start;
  min-height: 92px;
  padding-right: 20px;
  border-right: 1px solid #dde4ee;
}

.why-item:last-child {
  border-right: none;
  padding-right: 0;
}

.why-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.why-item h3 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.2;
}

.why-item p {
  margin: 0;
  color: #3e4959;
  font-size: 13px;
  line-height: 1.5;
}

.applications {
  padding-top: 30px;
  padding-bottom: 23px;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.app-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe5ed;
  border-radius: 7px;
  box-shadow: 0 5px 15px rgba(5, 40, 86, 0.06);
}

.app-card img {
  width: 100%;
  height: 131px;
  object-fit: cover;
}

.app-card h3 {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 12px 9px;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
}

.contact-cta {
  color: #fff;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.08), transparent 26%),
    radial-gradient(circle at 0% 100%, rgba(255,255,255,.06), transparent 20%),
    linear-gradient(135deg, #002654 0%, #072f61 48%, #001e44 100%);
  border-bottom: 2px solid var(--gold);
}

.contact-cta-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-text {
  display: flex;
  align-items: center;
  gap: 22px;
}

.phone-circle {
  width: 59px;
  height: 59px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 59px;
  color: var(--gold-2);
  border: 3px solid var(--gold-2);
  border-radius: 999px;
  font-size: 31px;
  line-height: 1;
}

.contact-text h2 {
  max-width: 575px;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 1.28;
  font-weight: 800;
}

.btn-whatsapp {
  min-width: 276px;
  color: #fff;
  background: linear-gradient(180deg, #f2bf55 0%, #d79b29 100%);
  border: 1px solid #e1aa3d;
  box-shadow: 0 10px 18px rgba(0,0,0,.15);
  font-size: 18px;
}

.site-footer {
  color: #fff;
  background:
    radial-gradient(circle at 90% 15%, rgba(255,255,255,.06), transparent 21%),
    linear-gradient(135deg, #001e44 0%, #032c5e 100%);
}

.footer-inner {
  min-height: 139px;
  display: grid;
  grid-template-columns: 235px 1fr;
  align-items: center;
  gap: 30px;
  padding: 13px 0 20px;
}

.footer-logo-wrap {
  display: flex;
  justify-content: center;
}

.footer-logo-wrap img {
  width: 157px;
  height: auto;
}

.footer-content {
  text-align: center;
}

.footer-content h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  line-height: 1.15;
}

.footer-content p {
  margin: 2px 0 0;
  font-size: 13px;
  opacity: .95;
}

.footer-line {
  width: 455px;
  max-width: 100%;
  height: 1.5px;
  margin: 18px auto 13px;
  background: var(--gold);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}

.footer-links span {
  color: var(--gold);
}

.footer-contact {
  margin-top: 10px !important;
  color: #fff;
  font-weight: 700;
}

.footer-contact a {
  color: var(--gold-2);
}

@media (max-width: 1080px) {
  .container {
    width: min(100% - 44px, var(--container));
  }

  .main-nav {
    gap: 24px;
  }

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

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

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

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

  .hero-visual {
    margin-right: calc((100vw - min(var(--container), calc(100vw - 44px))) / -2);
  }
}

@media (max-width: 840px) {
  .site-header,
  .header-inner {
    height: 82px;
  }

  .brand img {
    width: 122px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 18px;
    background: #fff;
    box-shadow: 0 14px 24px rgba(5, 40, 86, 0.11);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid #eef1f5;
  }

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

  .hero {
    background: #fff;
  }

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

  .hero-copy {
    padding: 42px 0 34px;
  }

  .hero h1 {
    font-size: clamp(35px, 9vw, 48px);
  }

  .hero-visual {
    min-height: 300px;
    margin: 0 -22px;
  }

  .contact-cta-inner {
    padding: 22px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-whatsapp {
    min-width: min(100%, 276px);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
    padding-top: 26px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 30px, var(--container));
  }

  .hero-visual {
    margin: 0 -15px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .section-title span {
    width: 40px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .service-grid,
  .why-grid,
  .application-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .why-item,
  .why-item:nth-child(2) {
    border-right: none;
    border-bottom: 1px solid #dde4ee;
    padding: 0 0 18px;
  }

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

  .contact-text {
    align-items: flex-start;
  }

  .contact-text h2 {
    font-size: 21px;
  }
}
