/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #FF6B00;
  --orange-dark: #E85D00;
  --yellow: #FFC72C;
  --gradient: linear-gradient(135deg, var(--yellow), var(--orange));
  --dark: #14161a;
  --dark-soft: #1f2229;
  --gray: #6b7280;
  --light-bg: #fbfaf8;
  --card-bg: #ffffff;
  --border: #eee3d3;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(255, 107, 0, 0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 199, 44, 0.15);
  color: var(--orange-dark);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.badge--alt { background: rgba(255, 107, 0, 0.1); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(255, 107, 0, 0.28); }
.btn--ghost {
  border: 2px solid var(--orange);
  color: var(--orange-dark);
}
.btn--ghost:hover { background: rgba(255, 107, 0, 0.08); }
.btn--nav {
  padding: 10px 22px;
}
.btn--block { width: 100%; }

/* ===== Logo ===== */
.logo {
  display: flex;
  align-items: center;
  width: 174px;
  flex-shrink: 0;
}
.logo__image { width: 100%; height: auto; display: block; }
.logo__text strong { color: var(--orange); }
.logo__md {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.logo--footer { width: 180px; margin-bottom: 12px; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251, 250, 248, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled {
  border-color: var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.nav { display: flex; align-items: center; gap: 32px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
}
.nav-toggle span {
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: 0;
}
.hero__glow--1 { width: 400px; height: 400px; background: var(--yellow); top: -100px; right: -100px; }
.hero__glow--2 { width: 350px; height: 350px; background: var(--orange); bottom: -120px; left: -80px; }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero p { color: var(--gray); font-size: 1.05rem; margin-bottom: 32px; max-width: 520px; }
.hero__actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 40px;
}
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.6rem; font-weight: 800; color: var(--orange); }
.hero__stats span { font-size: 0.85rem; color: var(--gray); }

.hero__visual { position: relative; height: 420px; }
.hero__ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 107, 0, 0.3);
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__card {
  position: absolute;
  background: var(--card-bg);
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.95rem;
  animation: float 6s ease-in-out infinite;
}
.hero__card--1 { top: 30px; left: 10px; }
.hero__card--2 { top: 180px; right: 0; animation-delay: 1.5s; }
.hero__card--3 { bottom: 20px; left: 60px; animation-delay: 3s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ===== Section Head ===== */
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--gray); }
.section-head--light h2, .section-head--light p { color: #fff; }
.section-head--light p { opacity: 0.85; }

/* ===== Services ===== */
.services { padding: 100px 0; }
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 107, 0, 0.35);
}
.card__icon {
  font-size: 2rem;
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(255, 199, 44, 0.15);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 0.92rem; }
.card--cta {
  background: var(--gradient);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card--cta h3 { color: #fff; }
.card--cta p { color: rgba(255,255,255,0.9); margin-bottom: 18px; }
.card--cta .btn--primary { background: #fff; color: var(--orange-dark); box-shadow: none; }

/* ===== About ===== */
.about { padding: 100px 0; background: #fff; }
.about__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.about__text h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 800; margin-bottom: 16px; }
.about__text p { color: var(--gray); margin-bottom: 24px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-weight: 500;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px; height: 20px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
}
.about__visual { position: relative; height: 320px; }
.about__blob {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
  opacity: 0.9;
  animation: morph 10s ease-in-out infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%; }
  50% { border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%; }
}
.about__number {
  position: absolute;
  bottom: 20px; left: 20px;
  background: #fff;
  padding: 20px 26px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.about__number strong { font-size: 1.8rem; font-weight: 800; color: var(--orange); }
.about__number span { color: var(--gray); font-size: 0.85rem; }

/* ===== Contact ===== */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #1b1d23, #14161a);
  color: #fff;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
}
.contact__form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: flex; gap: 16px; }
.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: rgba(255,255,255,0.5); }
.contact__form select option { color: #14161a; }
.contact__form textarea { resize: vertical; }

.contact__info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-card strong { font-size: 1rem; }
.info-card span { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ===== Footer ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 40px 0; }
.footer__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer p { font-size: 0.85rem; }

/* ===== Scroll Top ===== */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 99;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__inner, .about__inner, .contact__grid { grid-template-columns: 1fr; }
  .hero__visual { height: 300px; margin-top: 20px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 0; width: 100%; }
  .nav-toggle { display: flex; }
  .hero { padding: 130px 0 70px; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
}
