/* ===== CSS Custom Properties ===== */
:root {
  --midnight: #0d1f3c;
  --coral: #f25f4c;
  --gold: #e8b44b;
  --cream: #faf7f3;
  --slate: #334155;
  --sage: #e4ebe4;
  --text: #18181b;
  --text-light: #52525b;
  --white: #ffffff;
  --border: #e2e0dc;
  --shadow: 0 2px 16px rgba(13, 31, 60, 0.08);
  --shadow-lg: 0 8px 40px rgba(13, 31, 60, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --max-width: 1200px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--coral);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--midnight);
}

h1, h2, h3, h4 {
  line-height: 1.25;
  color: var(--midnight);
}

h1 { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; font-weight: 600; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

/* ===== Site Navigation ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--midnight);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-nav.scrolled {
  background: var(--midnight);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo span {
  color: var(--coral);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--coral);
}

.nav-cta {
  background: var(--coral);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--midnight);
}

.nav-cta::after {
  display: none;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  background: var(--midnight);
  color: var(--white);
  padding: 160px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242, 95, 76, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 180, 75, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(242, 95, 76, 0.15);
  color: var(--coral);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero h1 span {
  color: var(--coral);
}

.hero p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  text-align: center;
}

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

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-primary:hover {
  background: #e5533e;
  box-shadow: 0 6px 20px rgba(242, 95, 76, 0.4);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--midnight);
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hero-stat {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stat .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}

.hero-stat .stat-label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* ===== Services ===== */
.services {
  background: var(--cream);
}

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header p {
  color: var(--text-light);
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  color: var(--coral);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.service-icon.a { background: #fef2f0; color: var(--coral); }
.service-icon.b { background: #fef9f0; color: var(--gold); }
.service-icon.c { background: #f0f4f8; color: var(--slate); }
.service-icon.d { background: #f0faf5; color: #16a34a; }
.service-icon.e { background: #faf0fa; color: #9333ea; }
.service-icon.f { background: #f0f8fa; color: #0284c7; }

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===== About ===== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-box {
  background: var(--midnight);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  z-index: 1;
}

.about-box h3 {
  color: var(--white);
  margin-bottom: 6px;
}

.about-box p {
  color: #94a3b8;
  font-size: 0.9rem;
}

.about-accent {
  position: absolute;
  top: 24px;
  right: -24px;
  width: 100%;
  height: 100%;
  background: rgba(242,95,76,0.15);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.about-list {
  list-style: none;
  margin-top: 24px;
}

.about-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-content .section-label {
  margin-bottom: 8px;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.about-stat {
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 4px solid var(--coral);
}

.about-stat .stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--midnight);
}

.about-stat .stat-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ===== Process ===== */
.process {
  background: var(--sage);
}

.process-header {
  text-align: center;
  margin-bottom: 64px;
}

.process-header p {
  color: var(--text-light);
  max-width: 560px;
  margin: 16px auto 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 62px;
  right: 62px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--midnight);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 4px solid var(--white);
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.process-step p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--midnight);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: #94a3b8;
  max-width: 540px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ===== Contact ===== */
.contact {
  background: var(--white);
}

.contact-header {
  text-align: center;
  margin-bottom: 56px;
}

.contact-header p {
  color: var(--text-light);
  max-width: 520px;
  margin: 16px auto 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--midnight);
  margin-bottom: 2px;
}

.contact-item span {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--midnight);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(242, 95, 76, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  background: #f0fdf4;
  color: #166534;
  padding: 16px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  border: 1px solid #bbf7d0;
}

.form-success.visible {
  display: block;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--midnight);
  color: #94a3b8;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.footer-brand h3 span {
  color: var(--coral);
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--coral);
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: #64748b;
}

/* ===== Scroll Reveal ===== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Utility: Section Divider ===== */
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--coral);
  border-radius: 2px;
  margin: 0 auto 16px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  section {
    padding: 60px 0;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--midnight);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 24px;
    transition: right 0.35s ease;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .about-accent {
    display: none;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .hero-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-card-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-btns {
    flex-direction: column;
  }
}
