@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --font-main: "Plus Jakarta Sans", "Manrope", Inter, Arial, sans-serif;
  --navy: #09006b;
  --orange: #ff7a1a;
  --ink: #0a0a0a;
  --white: #fff;
  --mist: #f4f6fa;
  --line: rgba(10, 10, 10, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  font-weight: 500;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(16px, calc((100vw - 1180px) / 2));
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; color: var(--navy); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 850; color: rgba(10,10,10,.72); }
.nav a { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; }
.nav-icon-img {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  object-fit: contain;
  flex: 0 0 22px;
  opacity: .88;
  transition: transform .2s ease, opacity .2s ease;
}
.nav a:hover .nav-icon-img { transform: translateY(-1px); opacity: 1; }
.nav-icon-invert { filter: invert(1); opacity: 1; }
.nav a:hover { color: var(--orange); }
.menu-btn { display: none; border: 0; background: var(--navy); color: #fff; padding: 12px 15px; border-radius: 8px; font-weight: 900; }
.cta, button.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  padding: 15px 22px;
  font-weight: 950;
  box-shadow: 0 16px 45px rgba(255,122,26,.28);
  cursor: pointer;
}
.cta .nav-icon-img { width: 20px; height: 20px; max-width: 20px; max-height: 20px; flex-basis: 20px; }
.cta.secondary { background: transparent; border: 1px solid rgba(255,255,255,.32); box-shadow: none; }
.cta.small { padding: 12px 16px; }

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  padding: 120px 0 54px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,5,10,.93), rgba(9,0,107,.74), rgba(5,5,10,.25)), url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=2200&q=90") center/cover;
  z-index: 0;
}
.hero-animated::before {
  background: linear-gradient(90deg, rgba(5,5,10,.94), rgba(9,0,107,.76), rgba(5,5,10,.28));
  z-index: 1;
}
.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}
.hero-slider {
  z-index: 0;
}
.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  transition: opacity 1.25s ease, transform 6s ease;
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.1);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: center; }
.eyebrow { color: var(--orange); text-transform: uppercase; letter-spacing: .22em; font-size: 13px; font-weight: 950; margin: 0 0 14px; }
h1, h2, h3 { letter-spacing: 0; font-weight: 900; }
.hero h1 { font-size: clamp(42px, 7vw, 82px); line-height: 1.02; margin: 0; max-width: 850px; }
.hero p { color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.8; max-width: 670px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; padding: 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.1); backdrop-filter: blur(18px); border-radius: 8px; }
.stat { background: #fff; color: var(--ink); padding: 24px; border-radius: 8px; }
.stat strong { display: block; color: var(--navy); font-size: 34px; }

.section { padding: 96px 0; }
.mist { background: var(--mist); }
.dark { background: var(--navy); color: #fff; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 42px; }
.section h2, .page-title h1 { color: var(--navy); font-size: clamp(34px, 5vw, 58px); line-height: 1.06; margin: 0; max-width: 840px; }
.dark h2, .dark .section h2 { color: #fff; }
.page-title { padding: 138px 0 58px; background: var(--mist); }
.page-title p { max-width: 760px; color: rgba(10,10,10,.65); line-height: 1.8; }

.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(9,0,107,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 28px 80px rgba(9,0,107,.18); }
.card-img { height: 210px; object-fit: cover; width: 100%; background: linear-gradient(135deg, var(--navy), var(--orange)); }
.card-body { padding: 24px; }
.card h3 { color: var(--navy); font-size: 22px; margin: 0 0 12px; }
.card p { color: rgba(10,10,10,.64); line-height: 1.75; }
.link { color: var(--orange); font-weight: 950; }

.projects { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.project { position: relative; min-height: 360px; overflow: hidden; border-radius: 8px; color: #fff; box-shadow: 0 24px 70px rgba(9,0,107,.16); }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,.9), rgba(10,10,10,.18)); }
.project-content { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 28px; }
.badge { display: inline-block; background: var(--orange); color: #fff; border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .12em; }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.feature { background: #fff; border-radius: 8px; padding: 28px; box-shadow: 0 24px 70px rgba(9,0,107,.12); border: 1px solid var(--line); }
.feature b { color: var(--navy); font-size: 20px; }
.feature p, .faq p { color: rgba(10,10,10,.64); line-height: 1.75; }

.faq { display: grid; gap: 12px; }
details { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 20px; border-radius: 8px; }
summary { cursor: pointer; font-weight: 950; }
.dark details,
.dark summary,
.dark .faq p,
.dark details p,
section.dark .faq p,
section.dark details p,
.dark details > p,
section.dark details > p {
  color: #fff !important;
}
.dark .faq p,
.dark details p,
section.dark .faq p,
section.dark details p,
.dark details > p,
section.dark details > p {
  opacity: .9;
}

.form-panel { background: var(--ink); color: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 24px 70px rgba(9,0,107,.16); }
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
input, select, textarea { width: 100%; border: 1px solid rgba(10,10,10,.12); border-radius: 8px; padding: 15px 16px; font: inherit; }
textarea { min-height: 130px; resize: vertical; }
.notice { padding: 14px 16px; border-radius: 8px; margin-bottom: 16px; font-weight: 800; }
.notice.ok { background: #e8fff1; color: #0f7b3a; }
.notice.err { background: #fff0ec; color: #a13519; }

.quote-panel {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at top right, rgba(255,122,26,.23), transparent 34%),
    linear-gradient(135deg, #07070c 0%, #101018 48%, #09006b 145%);
  box-shadow: 0 30px 90px rgba(9,0,107,.2);
}
.quote-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 82%);
  pointer-events: none;
}
.quote-panel > * {
  position: relative;
  z-index: 1;
}
.quote-panel-head {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  max-width: 620px;
}
.quote-panel-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1;
}
.quote-panel-head p:not(.eyebrow) {
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}
.quote-panel input,
.quote-panel select,
.quote-panel textarea {
  min-height: 56px;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.quote-panel textarea {
  min-height: 136px;
}
.quote-panel select option {
  color: var(--ink);
}
.quote-panel input::placeholder,
.quote-panel textarea::placeholder {
  color: rgba(255,255,255,.62);
}
.quote-panel input:focus,
.quote-panel select:focus,
.quote-panel textarea:focus {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,122,26,.78);
  box-shadow: 0 0 0 4px rgba(255,122,26,.14);
}
.quote-submit {
  width: 100%;
  min-height: 58px;
  background: linear-gradient(135deg, #ff7a1a, #ff8f3d);
}

.contact-message-section {
  padding-top: 34px;
}
.contact-message-card {
  max-width: 920px;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 28px;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(9,0,107,.1);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  padding: 26px;
  box-shadow: 0 24px 70px rgba(9,0,107,.12);
}
.contact-message-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 3vw, 38px);
}
.contact-message-copy {
  color: rgba(10,10,10,.62);
  line-height: 1.75;
  margin: 14px 0 0;
}
.contact-message-card input,
.contact-message-card textarea {
  background: var(--mist);
  border-color: transparent;
  padding: 13px 14px;
}
.contact-message-card textarea {
  min-height: 96px;
}
.contact-submit {
  justify-self: start;
  padding-inline: 24px;
  box-shadow: none;
}

.footer { background: var(--ink); color: #fff; padding: 54px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 32px; }
.footer p, .footer a { display: block; color: rgba(255,255,255,.68); line-height: 1.8; margin: 6px 0; }
.footer-logo { height: 86px; width: auto; margin-bottom: 18px; }
.whatsapp { position: fixed; left: 18px; bottom: 18px; z-index: 25; background: #25d366; color: #fff; border-radius: 999px; padding: 13px 16px; font-weight: 950; box-shadow: 0 16px 45px rgba(0,0,0,.18); }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 25; width: 48px; height: 48px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font-size: 22px; cursor: pointer; }

.admin-layout { min-height: 100vh; background: var(--mist); padding: 120px 16px 60px; }
.admin-box { max-width: 430px; margin: 0 auto; background: #fff; border-radius: 8px; padding: 30px; box-shadow: 0 24px 70px rgba(9,0,107,.16); }
.admin-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.admin-card { background: #fff; padding: 24px; border-radius: 8px; box-shadow: 0 24px 70px rgba(9,0,107,.12); }
.admin-card small { display: block; margin-top: 8px; color: rgba(10,10,10,.58); line-height: 1.55; }
.admin-reply {
  display: inline-flex;
  margin-top: 8px;
  padding: 10px 13px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
}
.admin-reply:hover {
  background: var(--orange);
}

@media (max-width: 920px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: fixed; top: 82px; left: 0; right: 0; padding: 18px; background: #fff; flex-direction: column; align-items: stretch; box-shadow: 0 24px 70px rgba(9,0,107,.16); }
  .nav.open { display: flex; }
  .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .cards, .projects, .feature-grid, .admin-grid, .contact-message-card { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .brand span { display: none; }
}
