﻿@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Teko:wght@500;600;700&display=swap');

:root {
  --black: #050608;
  --satin-black: #0b0d11;
  --graphite: #171b22;
  --silver: #bcc3ce;
  --silver-bright: #e6ebf2;
  --line: #363e4b;
  --shadow: rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--silver-bright);
  background:
    radial-gradient(circle at 15% -10%, #2a303a 0%, transparent 35%),
    radial-gradient(circle at 90% 20%, #1c222c 0%, transparent 40%),
    linear-gradient(135deg, #050608 0%, #0b0d11 45%, #080a0d 100%);
  min-height: 100vh;
  letter-spacing: 0.015em;
}

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

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 12, 16, 0.9);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #768195;
  box-shadow:
    0 0 0 2px #0a0c10,
    0 0 0 5px rgba(176, 187, 205, 0.15),
    0 12px 26px rgba(0, 0, 0, 0.62),
    0 0 24px rgba(192, 204, 224, 0.32);
}

.brand strong {
  display: block;
  font-family: 'Teko', sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand span {
  color: var(--silver);
  font-size: 0.95rem;
}

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

.nav-links a {
  padding: 0.58rem 0.85rem;
  border-radius: 0.45rem;
  color: var(--silver);
  font-weight: 600;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--silver-bright);
  background: linear-gradient(180deg, #232937 0%, #141923 100%);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  padding: 0.58rem 0.85rem;
  border-radius: 0.45rem;
  color: var(--silver);
  font-weight: 600;
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::after {
  content: '▾';
  margin-left: 0.38rem;
  font-size: 0.72rem;
  color: #a7b0c0;
}

.nav-dropdown[open] summary,
.nav-dropdown summary:hover,
.nav-dropdown.active summary {
  color: var(--silver-bright);
  background: linear-gradient(180deg, #232937 0%, #141923 100%);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 300px;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 0.45rem;
  border: 1px solid #323a46;
  border-radius: 0.62rem;
  background: rgba(11, 14, 20, 0.98);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  z-index: 55;
}

.nav-dropdown[open] .nav-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

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

.nav-quick-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rapid-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.04rem;
  text-align: center;
  padding: 0.52rem 0.82rem;
  border-radius: 0.5rem;
  border: 1px solid #f6c8c8;
  background: linear-gradient(180deg, #df4a4a 0%, #b12626 100%);
  color: #fff7f7;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(186, 38, 38, 0.35);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.rapid-call span {
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.95;
  line-height: 1.05;
}

.rapid-call strong {
  font-size: 0.9rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.rapid-call:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(186, 38, 38, 0.44);
  filter: saturate(1.06);
}

.mobile-toggle {
  display: none;
  background: transparent;
  color: var(--silver-bright);
  border: 1px solid #414958;
  border-radius: 0.45rem;
  width: 42px;
  height: 42px;
  font-size: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #4f5868;
  padding: 0.74rem 1.2rem;
  border-radius: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn.primary {
  background: linear-gradient(180deg, #d5dbe4 0%, #a7aebb 100%);
  color: #0a0c10;
  border-color: #cbd1dc;
  box-shadow: 0 8px 18px rgba(180, 190, 206, 0.25);
}

.btn.secondary {
  background: linear-gradient(180deg, #1a2029 0%, #12161e 100%);
  color: var(--silver-bright);
}

.btn-compact {
  padding: 0.5rem 0.78rem;
  font-size: 0.85rem;
}

.whatsapp-link {
  border: 1px solid #2f6a4f;
  border-radius: 0.45rem;
  padding: 0.52rem 0.78rem;
  background: linear-gradient(180deg, #1f4f3b 0%, #173a2c 100%);
  color: #d5f5e6;
  font-weight: 700;
}

.hero {
  padding: clamp(1.2rem, 2.4vw, 2.1rem) 0 clamp(0.9rem, 2vw, 1.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.5rem;
  align-items: start;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #aeb7c8;
  font-weight: 700;
}

.hero h1,
.page-title h1 {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero p {
  margin: 0.75rem 0 0;
  color: var(--silver);
  font-size: 1.14rem;
  line-height: 1.5;
  max-width: 55ch;
}

.hero-actions {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.panel-image {
  background: linear-gradient(145deg, #0f1217 0%, #07090c 100%);
  border: 1px solid #363d49;
  border-radius: 1rem;
  padding: 0.75rem;
  box-shadow: 0 16px 32px var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.panel-image img {
  width: 100%;
  height: auto;
  max-height: clamp(280px, 40vw, 510px);
  object-fit: contain;
  border-radius: 0.6rem;
  border: 1px solid #40495a;
}

section {
  padding: clamp(0.9rem, 1.9vw, 1.5rem) 0;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: 'Teko', sans-serif;
  font-size: clamp(2.1rem, 4.3vw, 3.1rem);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.05em;
}

.service-stack {
  display: grid;
  gap: 0.75rem;
}

.service-item {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 0.58fr);
  gap: 0.75rem;
  align-items: center;
  background: linear-gradient(180deg, #10141b 0%, #0b0f15 100%);
  border: 1px solid #323a46;
  border-radius: 0.85rem;
  padding: 0.75rem;
}

.service-item:nth-child(even) {
  grid-template-columns: minmax(0, 0.58fr) minmax(250px, 0.42fr);
}

.service-item:nth-child(even) .service-media {
  order: 2;
}

.service-item:nth-child(even) .service-copy {
  order: 1;
}

.service-media {
  margin: 0;
  border: 1px solid #313948;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #090d12;
  align-self: stretch;
}

.service-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(190px, 23vw, 230px);
  object-fit: cover;
}

.service-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
}

.service-copy h3 {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: 2.05rem;
  line-height: 0.95;
}

.service-copy p {
  margin: 0;
  color: var(--silver);
  font-size: 1.1rem;
  line-height: 1.52;
}

.service-copy p + p {
  margin-top: 0.18rem;
}

.feature-list {
  margin: 0 0 0.6rem;
  padding-left: 1.05rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
}

.feature-list li,
.muted {
  color: var(--silver);
}

.card-stack {
  display: grid;
  gap: 0.7rem;
}

.card {
  background: linear-gradient(180deg, #10141b 0%, #0c1016 100%);
  border: 1px solid #323a46;
  border-radius: 0.85rem;
  padding: 0.85rem;
  box-shadow: 0 8px 20px var(--shadow);
}

.card h3 {
  margin: 0.2rem 0 0.5rem;
  font-family: 'Teko', sans-serif;
  font-size: 1.7rem;
}

.intro-copy {
  max-width: 78ch;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.55rem 0 0.45rem;
}

.area-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  background: linear-gradient(180deg, #171d26 0%, #10151d 100%);
  border: 1px solid #353d4b;
  border-radius: 0.5rem;
  color: var(--silver-bright);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0.85rem;
}

.contact-panel,
.form-panel {
  background: linear-gradient(180deg, #10141b 0%, #0b0f15 100%);
  border: 1px solid #323a46;
  border-radius: 0.85rem;
  padding: 1rem;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed #2b333f;
}

.contact-line:last-child {
  border-bottom: 0;
}

label {
  display: block;
  margin-bottom: 0.28rem;
  color: var(--silver);
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  background: #0a0d12;
  border: 1px solid #3a4352;
  border-radius: 0.45rem;
  color: var(--silver-bright);
  padding: 0.68rem 0.74rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.02rem;
}

textarea {
  min-width: 240px;
  min-height: 160px;
  max-width: 100%;
  resize: none;
  overflow: hidden;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #646e80;
  outline-offset: 1px;
}

.form-row {
  margin-bottom: 0.85rem;
}

.hp-wrap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.2rem;
  margin: 0.75rem 0 0;
  font-weight: 600;
}

.form-status.info {
  color: #b4bdcb;
}

.form-status.success {
  color: #c7f1d2;
}

.form-status.error {
  color: #f2b2b2;
}

.btn[disabled] {
  opacity: 0.75;
  cursor: not-allowed;
}

.site-footer {
  border-top: 1px solid #323a46;
  margin-top: 2rem;
  padding: 1rem 0 1.4rem;
  color: var(--silver);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid #5d6677;
}

.footer-brand p {
  margin: 0.15rem 0 0;
}

.social-links {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.social-links a {
  border: 1px solid #3a4352;
  border-radius: 0.4rem;
  padding: 0.4rem 0.55rem;
  color: #d6dce7;
}

.footer-copy {
  text-align: center;
  padding-top: 0.6rem;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s ease;
}

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

.admin-shell {
  display: grid;
  gap: 1rem;
}

.admin-auth,
.admin-logs {
  background: linear-gradient(180deg, #10141b 0%, #0b0f15 100%);
  border: 1px solid #323a46;
  border-radius: 0.85rem;
  padding: 1rem;
}

.admin-logs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.admin-note {
  color: var(--silver);
  margin: 0.5rem 0 0.75rem;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #2e3642;
  border-radius: 0.55rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #2a313d;
  text-align: left;
  padding: 0.62rem 0.7rem;
  vertical-align: top;
}

.admin-table th {
  font-family: 'Teko', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--silver-bright);
  background: #141a23;
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-grid,
  .service-item,
  .service-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-item:nth-child(even) .service-media,
  .service-item:nth-child(even) .service-copy {
    order: initial;
  }

  .nav-quick-actions {
    display: flex;
    margin-left: auto;
  }

  .nav-quick-actions .btn {
    display: none;
  }

  .rapid-call {
    padding: 0.45rem 0.62rem;
  }

  .rapid-call span {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
  }

  .rapid-call strong {
    font-size: 0.8rem;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

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

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

  .footer-brand,
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 0.97rem;
    line-height: 1.5;
  }

  .container {
    width: min(1120px, 94vw);
  }

  .nav-wrap {
    padding: 0.6rem 0;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand strong {
    font-size: 1.35rem;
  }

  .brand span {
    font-size: 0.86rem;
  }

  .btn {
    padding: 0.64rem 0.95rem;
    font-size: 0.84rem;
  }

  .hero {
    padding: 0.8rem 0 0.7rem;
  }

  .hero-grid {
    gap: 0.8rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 10.5vw, 2.8rem);
  }

  .hero p {
    font-size: 1rem;
    margin-top: 0.56rem;
  }

  section {
    padding: 0.72rem 0;
  }

  .section-title {
    font-size: clamp(1.85rem, 8.6vw, 2.35rem);
    margin-bottom: 0.52rem;
  }

  .service-stack {
    gap: 0.6rem;
  }

  .service-item {
    gap: 0.58rem;
    padding: 0.62rem;
  }

  .service-media img {
    min-height: clamp(145px, 42vw, 180px);
  }

  .service-copy {
    gap: 0.34rem;
  }

  .service-copy h3 {
    font-size: 1.72rem;
  }

  .service-copy p {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .feature-list {
    gap: 0.32rem;
  }

  .area-grid span {
    min-height: 38px;
    font-size: 0.93rem;
  }

  .contact-grid {
    gap: 0.62rem;
  }

  .contact-panel,
  .form-panel {
    padding: 0.75rem;
  }

  input,
  textarea,
  select {
    font-size: 0.98rem;
    padding: 0.58rem 0.65rem;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
  }

  .nav-quick-actions {
    order: 2;
    margin-left: auto;
  }

  .rapid-call {
    padding: 0.42rem 0.56rem;
    border-radius: 0.42rem;
  }

  .rapid-call span {
    font-size: 0.58rem;
    letter-spacing: 0.07em;
  }

  .rapid-call strong {
    font-size: 0.73rem;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 4vw;
    right: 4vw;
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    background: rgba(11, 14, 20, 0.98);
    border: 1px solid #323a46;
    border-radius: 0.7rem;
    padding: 0.7rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown summary {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    max-height: 42vh;
    margin-top: 0.35rem;
    background: #0f141c;
    box-shadow: none;
  }

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

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