/* ── Reset & Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #27272c;
  background: #faf9f7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ── Utilities ──────────────────────────────────── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6b47;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: #1f1f23;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: #52525c;
  max-width: 600px;
  line-height: 1.7;
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-coral {
  background: #ff6b47;
  color: #fff;
  padding: 14px 28px;
  box-shadow: 0 4px 16px rgba(255, 107, 71, 0.3);
}
.btn-coral:hover { background: #f04e27; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 107, 71, 0.35); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 13px 28px;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; padding: 16px 28px; }

/* ── Navbar ─────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled {
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(31,31,35,0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.15rem;
  color: #1f1f23;
}
.nav-logo-text { color: #1f1f23; }
.nav.scrolled .nav-logo-text { color: #1f1f23; }
.nav-logo svg { flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: #52525c;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:not(.btn):hover { color: #ff6b47; }
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff6b47;
  transition: width 0.25s ease;
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
}
.nav-toggle:hover { background: rgba(31,31,35,0.06); }
.nav-line-top, .nav-line-mid, .nav-line-bot { transition: all 0.3s ease; transform-origin: center; }
.nav-toggle.active .nav-line-top { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active .nav-line-mid { opacity: 0; }
.nav-toggle.active .nav-line-bot { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 13, 16, 0.82) 0%,
    rgba(31, 31, 35, 0.65) 50%,
    rgba(49, 49, 56, 0.5) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  max-width: 800px;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hero-stat-num {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.5);
  animation: heroScrollBounce 2s ease-in-out infinite;
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Services ───────────────────────────────────── */
.services {
  padding: 120px 0;
  background: #faf9f7;
}
.services .container { text-align: center; }
.services .section-title { margin-bottom: 16px; }
.services .section-subtitle { margin: 0 auto 64px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid rgba(31,31,35,0.06);
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(31,31,35,0.08);
  border-color: transparent;
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #fff5f2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.3rem;
  color: #1f1f23;
  margin-bottom: 10px;
}
.service-desc {
  font-size: 0.95rem;
  color: #52525c;
  line-height: 1.7;
}

/* ── About ──────────────────────────────────────── */
.about {
  padding: 120px 0;
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-images {
  position: relative;
}
.about-img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(31,31,35,0.1);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(31,31,35,0.12);
  border: 4px solid #fff;
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-experience {
  position: absolute;
  top: -24px;
  left: -24px;
  background: #ff6b47;
  color: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(255,107,71,0.3);
}
.about-exp-num {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 4px;
}
.about-exp-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  opacity: 0.9;
}
.about-content .section-title { margin-bottom: 24px; }
.about-body {
  font-size: 1.05rem;
  color: #52525c;
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #313138;
}

/* ── CTA Banner ─────────────────────────────────── */
.cta-banner {
  padding: 100px 0;
  background: linear-gradient(135deg, #1f1f23 0%, #313138 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,107,71,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-text { flex: 1; }
.cta-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  flex-shrink: 0;
}

/* ── Projects ───────────────────────────────────── */
.projects {
  padding: 120px 0;
  background: #faf9f7;
}
.projects .container { text-align: center; }
.projects .section-title { margin-bottom: 16px; }
.projects .section-subtitle { margin: 0 auto 64px; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.project-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(31,31,35,0.06);
  transition: all 0.3s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(31,31,35,0.08);
}
.project-img {
  height: 220px;
  overflow: hidden;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-img img { transform: scale(1.05); }
.project-info {
  padding: 28px 24px;
}
.project-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff6b47;
  background: #fff5f2;
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.project-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.2rem;
  color: #1f1f23;
  margin-bottom: 8px;
}
.project-desc {
  font-size: 0.9rem;
  color: #52525c;
  line-height: 1.7;
}

/* ── Contact ────────────────────────────────────── */
.contact {
  padding: 120px 0;
  background: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info .section-title { margin-bottom: 16px; }
.contact-desc {
  font-size: 1.05rem;
  color: #52525c;
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff5f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9aab;
  margin-bottom: 2px;
}
.contact-detail-value {
  display: block;
  font-size: 0.95rem;
  color: #313138;
  line-height: 1.6;
}
.contact-detail-value:hover { color: #ff6b47; }
.contact-map { border-radius: 12px; overflow: hidden; }
.contact-form-wrap {
  background: #faf9f7;
  border-radius: 20px;
  padding: 40px;
}
.contact-form-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: #1f1f23;
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #52525c;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(31,31,35,0.12);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #1f1f23;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: #ff6b47;
  box-shadow: 0 0 0 3px rgba(255,107,71,0.1);
}
.form-input::placeholder { color: #c4c4cc; }
.form-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%2352525c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: #1f1f23;
  margin: 16px 0 8px;
}
.form-success-desc {
  font-size: 0.95rem;
  color: #52525c;
  line-height: 1.6;
}

/* ── Footer ─────────────────────────────────────── */
.footer {
  background: #1f1f23;
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { max-width: 280px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}
.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: #ff6b47; }
.footer-bottom {
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

/* ── Mobile Nav ─────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250,249,247,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(31,31,35,0.08);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    box-shadow: 0 16px 32px rgba(31,31,35,0.08);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-img-secondary { right: 0; bottom: -24px; }
  .about-experience { left: 0; top: -16px; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
