:root {
  --bg: #ffffff;
  --panel: #fffaf0;
  --panel-soft: #fbf3df;
  --text: #b19445;
  --muted: #8c7333;
  --line: rgba(177, 148, 69, .24);
  --brand: #d8bd63;
  --brand-2: #b19445;
  --accent: #ffffff;
  --danger: #ff6b6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 220px;
}

.brand-wordmark {
  display: block;
  line-height: .96;
}

.brand-wordmark strong {
  display: block;
  color: #d8bd63;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .04em;
}

.brand-wordmark small {
  display: block;
  margin-top: 3px;
  color: #d8bd63;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
}

.main-nav a:hover { color: #6d5721; }

.header-cta {
  padding: 10px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #070707;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 140px max(24px, calc((100vw - 1180px) / 2)) 70px;
}

.hero-bg, .hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .88) 48%, rgba(255, 255, 255, .56)),
    linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, .2) 42%, rgba(255, 255, 255, .78) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 1.05;
  font-weight: 900;
}

.hero-lead {
  width: min(680px, 100%);
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions, .contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #070707;
  box-shadow: 0 18px 44px rgba(177, 148, 69, .22);
}

.btn.ghost {
  border-color: var(--line);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #070707;
}

.hero-panel {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 70px;
  width: min(240px, calc(100% - 48px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(20px);
}

.hero-panel span {
  display: block;
  color: var(--brand);
  font-size: 28px;
  font-weight: 900;
}

.hero-panel strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.stats div {
  padding: 30px;
  background: #ffffff;
}

.stats strong, .stats span { display: block; }
.stats strong { color: var(--text); font-size: 22px; }
.stats span { color: var(--muted); }

.section, .split, .contact-band, .admin-dashboard, .admin-header {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.section { padding: 88px 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.15;
  font-weight: 900;
}

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

.service-card, .project-card, .login-card, .notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 54px rgba(177, 148, 69, .12);
}

.service-card {
  min-height: 290px;
  padding: 24px;
}

.icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--brand);
  font-weight: 900;
}

.service-card h3, .project-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.service-card p, .project-card p, .split p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(216, 189, 99, .14), rgba(255, 255, 255, .9));
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list p {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.project-card { overflow: hidden; }
.project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-card div { padding: 24px; }

.contact-band {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 70px;
  padding: 46px;
  border-radius: 8px;
  background: white;
  color: var(--text);
}

.contact-band .eyebrow { color: var(--text); }
.contact-links a { color: var(--text); font-weight: 900; }

.contact-form {
  display: grid;
  gap: 12px;
}

input, select, textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(177, 148, 69, .34);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  background: #fffdf7;
  color: #070707;
}

textarea { resize: vertical; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a { color: var(--text); }

.whatsapp-float {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 22px 0 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #070707;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(177, 148, 69, .32);
}

.whatsapp-float svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(177, 148, 69, .42);
}

.notice-page, .admin-body {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #ffffff;
}

.notice, .login-card {
  width: min(520px, 100%);
  padding: 34px;
}

.notice h1, .login-card h1 { font-size: 34px; margin-bottom: 10px; }
.notice.error { border-color: rgba(255, 107, 107, .5); }
.form-error { margin: 12px 0; color: var(--danger); font-weight: 800; }

.login-card form { display: grid; gap: 12px; margin-top: 20px; }

.admin-body {
  display: block;
  place-items: initial;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0 20px;
}

.admin-header h1 { font-size: 42px; }

.admin-dashboard { padding-bottom: 60px; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.admin-stats div, .admin-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.admin-stats div { padding: 24px; }
.admin-stats strong { display: block; font-size: 36px; }
.admin-stats span { color: var(--muted); }

.admin-section {
  margin-top: 18px;
  padding: 22px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 850px;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th { color: var(--brand); }
td { color: var(--muted); }

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .main-nav, .header-cta { display: none; }
  .hero { padding-top: 120px; }
  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 28px;
  }
  .stats, .service-grid, .project-grid, .split, .contact-band, .admin-stats { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; }
  .split, .contact-band { padding: 28px; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 560px) {
  h1 { font-size: 38px; }
  .hero { min-height: auto; padding-bottom: 38px; }
  .section { padding: 58px 0; }
  .stats div { padding: 22px; }
  .service-card { min-height: 0; }
  .brand { min-width: 0; }
  .brand-wordmark strong { font-size: 24px; }
  .brand-wordmark small { display: none; }
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    min-height: 48px;
    padding: 0 18px 0 14px;
  }
}
