/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-body: #020617;
  --bg-elevated: #020617;
  --bg-elevated-soft: #0b1120;
  --border-subtle: rgba(148, 163, 184, 0.2);
  --primary: #f59e0b;
  --primary-soft: rgba(245, 158, 11, 0.12);
  --primary-strong: #d97706;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-subtle: #6b7280;
  --accent-green: #22c55e;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --max-width: 1120px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2933 0, #020617 55%);
  color: var(--text-main);
  line-height: 1.5;
}

/* Utility container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ---------- Top bar ---------- */

.top-bar {
  background: #0f172a;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0.4rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar i {
  margin-right: 0.35rem;
  color: var(--primary);
}

@media (max-width: 720px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding-inline: 1rem;
  }
}

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 20%, #fbbf24, #c2410c);
  color: #020617;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 8px 25px rgba(248, 181, 0, 0.4);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-title {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* ---------- Navbar ---------- */

.main-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.15s ease;
}

.nav-links a:hover {
  color: #f9fafb;
  transform: translateY(-1px);
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.2rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #e5e7eb;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    inset: 70px 0 auto 0;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links-open {
    max-height: 260px;
    opacity: 1;
    transform: translateY(0);
  }

  .btn-nav-cta {
    width: 100%;
    text-align: center;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.45rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.1s ease,
    box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #fbbf24, #ea580c);
  color: #111827;
  box-shadow: 0 12px 30px rgba(248, 181, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(248, 181, 0, 0.45);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.8);
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.7);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(248, 181, 0, 0.06);
  color: #f9fafb;
}

.btn-nav-cta {
  background: transparent;
  border-color: rgba(248, 181, 0, 0.7);
  color: #fef3c7;
  padding-inline: 1.2rem;
}

.btn-nav-cta:hover {
  background: linear-gradient(135deg, #facc15, #ea580c);
  color: #111827;
}

.btn-block {
  width: 100%;
}

/* ---------- Sections ---------- */

.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header.left {
  text-align: left;
}

.section-header h2 {
  font-size: 2rem;
  letter-spacing: 0.02em;
  margin: 0.25rem 0 0;
}

.section-subtitle {
  margin-top: 0.75rem;
  max-width: 560px;
  margin-inline: auto;
  color: var(--text-subtle);
  font-size: 0.96rem;
}

.section-header.left .section-subtitle {
  margin-inline: 0;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--primary);
  font-weight: 600;
}

/* ---------- Hero ---------- */

.hero {
  padding: 4.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
}

.hero-subtitle {
  color: var(--text-subtle);
  max-width: 540px;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.75rem 0 1.1rem;
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-bullets i {
  color: var(--accent-green);
  margin-right: 0.35rem;
}

/* Hero right panel */
.hero-panel {
  display: flex;
  justify-content: center;
}

.hero-panel-card {
  width: 100%;
  max-width: 380px;
  background: radial-gradient(circle at top left, #1f2937 0, #020617 60%);
  border-radius: var(--radius-xl);
  padding: 1.8rem 1.6rem 1.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-panel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at -10% -20%,
    rgba(250, 204, 21, 0.25),
    transparent 60%
  );
  opacity: 0.8;
  pointer-events: none;
}

.hero-panel-card > * {
  position: relative;
  z-index: 1;
}

.hero-panel-card h2 {
  margin: 0;
  font-size: 1.4rem;
}

.hero-panel-text {
  color: var(--text-subtle);
  font-size: 0.93rem;
  margin: 0.5rem 0 1.1rem;
}

.hero-panel-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(248, 181, 0, 0.55);
  color: #fefce8;
  font-weight: 600;
  font-size: 0.98rem;
}

.hero-panel-phone i {
  color: #facc15;
}

.hero-panel-meta {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.hero-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
}

.hero-stat-number {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .hero {
    padding-top: 3.5rem;
  }
}

@media (max-width: 640px) {
  .hero-text h1 {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* ---------- Services ---------- */

.services {
  background: radial-gradient(circle at top, #020617 0, #020617 40%, #020617 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.card {
  background: linear-gradient(145deg, #020617, #020617);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.26);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.85);
}

.service-card h3 {
  margin-top: 0.3rem;
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.service-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-subtle);
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f97316;
}

/* ---------- Why Us ---------- */

.why-us {
  background: radial-gradient(circle at bottom, #020617 0, #020617 50%, #020617 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.why-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.why-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-subtle);
}

/* ---------- Testimonials ---------- */

.testimonials {
  background: #020617;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.testimonial-card {
  position: relative;
  padding-top: 2rem;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 0.7rem;
  left: 1.2rem;
  font-size: 2.8rem;
  color: rgba(148, 163, 184, 0.3);
}

.testimonial-text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-main);
}

.testimonial-name {
  margin: 1.1rem 0 0.1rem;
  font-weight: 600;
}

.testimonial-role {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* ---------- Contact ---------- */

.contact {
  background: radial-gradient(circle at top, #111827 0, #020617 55%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 2.3fr);
  gap: 2.75rem;
  align-items: flex-start;
}

.contact-details {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.contact-item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.contact-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-subtle);
}

/* Form */
.contact-form-wrapper {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-xl);
  padding: 1.8rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

input,
textarea {
  padding: 0.6rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #020617;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
  font-family: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #4b5563;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(248, 181, 0, 0.5);
  background: #020617;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-wrapper {
    margin-top: 0.5rem;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Footer ---------- */

.footer {
  background: #020617;
  border-top: 1px solid rgba(31, 41, 55, 1);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: 2.5rem;
  padding: 2.8rem 0 1.5rem;
}

.footer-text {
  margin: 0.5rem 0 0;
  color: var(--text-subtle);
  font-size: 0.9rem;
}

.footer-col h3 {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 0.35rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: #f9fafb;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
}

.newsletter-form button {
  border-radius: 0.65rem;
  border: none;
  background: var(--primary);
  color: #111827;
  font-size: 0.9rem;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  font-weight: 500;
}

.newsletter-form button:hover {
  background: var(--primary-strong);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(31, 41, 55, 1);
  padding: 0.9rem 0 1.1rem;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: #f9fafb;
}

.footer-logo .logo-mark {
  width: 36px;
  height: 36px;
}

/* Responsive footer */
@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}
