/* ========= Base ========= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #0f1115;
  --panel: #151a22;
  --panel2: #121722;
  --text: #f2f4f7;
  --muted: rgba(242, 244, 247, 0.72);
  --line: rgba(255, 255, 255, 0.12);

  --accent: #caa84a;
  --radius: 18px;
  --radius2: 26px;

  --wrap: 1080px;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 18px;
}

/* ========= Topbar ========= */
.topbar {
  background: rgba(15, 17, 21, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  flex-wrap: wrap;
  row-gap: 10px;
}

.logo {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.topbar-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* ========= Buttons ========= */
.btn-contact,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 10px 14px;
  border-radius: 14px;

  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);

  font-weight: 700;
  font-size: 16px;
}

.btn-primary {
  border-color: rgba(202, 168, 74, 0.45);
  background: rgba(202, 168, 74, 0.14);
}

.btn-mail {
  overflow-wrap: anywhere;
  max-width: 100%;
}

/* ========= Hero ========= */
.hero-section {
  margin: 22px 0;
  padding: 26px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1;
  min-width: 280px;
}

.hero-text h1 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.15;
}

.hero-text p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 12px;
}

.hero-features {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.avatar-box {
  width: 180px;
  height: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========= Sections ========= */
.services-section {
  padding: 8px 0 24px;
}

.section-title {
  text-align: center;
  margin: 10px 0 18px;
}

.section-title h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.section-title p {
  margin: 0;
  color: var(--muted);
}

/* ========= Cards grid ========= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.s-card {
  border: 1px solid var(--line);
  background: var(--panel2);
  border-radius: var(--radius);
  padding: 18px;
}

.s-card .icon {
  font-size: 32px;
  display: block;
  text-align: center;
  margin: 0 auto 10px;
}

.s-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.s-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 17px;
}

.more-link {
  font-weight: 800;
  color: var(--accent);
  font-size: 20px;
}


/* ========= Info / note section ========= */
.info-section {
  margin: 18px 0 30px;
  padding: 20px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.info-card {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}

.info-card h3 {
  margin: 0 0 8px;
}

.info-card p,
.info-card li {
  color: var(--muted);
}

.info-card ul {
  margin: 0;
  padding-left: 18px;
}

.final-cta {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* ========= Footer ========= */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  text-align: center;
}

.tiny {
  font-size: 14px;
}

/* ========= Responsive ========= */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 28px;
  }
}

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .btn-contact,
  .btn {
    width: 100%;
  }

  .hero-section {
    padding: 18px;
  }
}
/* ========= Legal Page Custom Styles ========= */
.legal-centered {
  text-align: center;
  max-width: 700px;
  margin: 40px auto;
}

.legal-centered h1 {
  margin-bottom: 8px;
}

.legal-centered .subtitle {
  margin-bottom: 32px;
  color: var(--muted);
}

.legal-centered p {
  margin-bottom: 20px;
}

.legal-centered hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px auto;
  width: 50px;
}

.legal-centered a {
  color: var(--accent);
}

.legal-text-muted {
  color: var(--muted);
  font-size: 14px;
}