
:root {
  --primary: #d64527;
  --primary-dark: #b1371d;
  --background: #0f172a;
  --card-bg: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --accent: #f97316;
  --border-radius: 18px;
  --shadow-soft: 0 14px 28px rgba(15, 23, 42, 0.15);
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2937, #020617);
  color: #e5e7eb;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.94),
    rgba(15, 23, 42, 0.4)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.7);
}

.logo-text-main {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-text-sub {
  font-size: 0.75rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.3rem;
  font-size: 0.93rem;
}

nav a {
  position: relative;
  padding-bottom: 3px;
  color: #e5e7eb;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transition: width 0.2s ease-out;
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta {
    display: inline-flex;
  }
}

.btn-primary {
  border-radius: 999px;
  border: none;
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #f9fafb;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(248, 113, 113, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    filter 0.12s ease-out;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 26px rgba(248, 113, 113, 0.32);
}

.btn-primary .icon {
  font-size: 1rem;
}

.btn-ghost {
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: background 0.15s ease-out, border-color 0.15s ease-out;
}

.btn-ghost:hover {
  background: rgba(30, 64, 175, 0.9);
  border-color: rgba(191, 219, 254, 0.7);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.8rem 1.25rem 3.5rem;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 2.3rem 0 2rem;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.25rem 0.7rem 0.25rem 0.3rem;
  font-size: 0.76rem;
  color: #e5e7eb;
  margin-bottom: 0.9rem;
}

.pill-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fee2e2, #b91c1c);
  box-shadow: 0 0 14px rgba(248, 113, 113, 0.9);
}

.hero-title {
  font-size: clamp(2.05rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title span.highlight {
  background: linear-gradient(to right, #fed7aa, #f97316);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 0.6rem;
  color: #cbd5f5;
  font-size: 0.98rem;
  max-width: 34rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
  font-size: 0.8rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.hero-card {
  background: radial-gradient(circle at top left, #1f2937, #020617);
  border-radius: 24px;
  padding: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 10% 20%, rgba(248, 113, 113, 0.2), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.18), transparent 50%);
  opacity: 0.95;
  mix-blend-mode: screen;
  pointer-events: none;
}

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

.hero-photo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero-photo img {
  display: block;
}

.hero-photo-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(248, 250, 252, 0.3);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e5e7eb;
}

/* Sections */
section {
  margin-top: 3rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.4rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #e5e7eb;
}

.section-subtitle {
  font-size: 0.86rem;
  color: #9ca3af;
  max-width: 27rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 1.7rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card-bg);
  color: var(--text-main);
  border-radius: var(--border-radius);
  padding: 1.3rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.about-list {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .about-list {
    grid-template-columns: 1fr;
  }
}

.about-list span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.about-list span::before {
  content: "✔";
  font-size: 0.8rem;
  color: #16a34a;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--border-radius);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.05rem;
  font-size: 0.9rem;
}

.service-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.service-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.service-card p {
  color: #cbd5f5;
  font-size: 0.85rem;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-card {
  background: var(--card-bg);
  color: var(--text-main);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.project-header {
  padding: 1rem 1.1rem 0.6rem;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.project-header h3 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.project-meta-line {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.project-tag {
  display: inline-flex;
  margin-top: 0.35rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.09);
  color: #b91c1c;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
}

.project-body {
  padding: 0.8rem 1.1rem 1rem;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.8rem 1.1rem 1.1rem;
  background: #f3f4f6;
}

.project-gallery img {
  border-radius: 10px;
  height: 150px;
  object-fit: cover;
  width: 100%;
}

.gallery-caption {
  font-size: 0.72rem;
  color: #4b5563;
  margin-top: 0.2rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.75rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--border-radius);
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 1.25rem;
  font-size: 0.92rem;
}

.contact-item {
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.contact-badge {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #9ca3af;
}

.contact-main {
  font-weight: 500;
  margin-top: 0.04rem;
}

.contact-note {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

form {
  display: grid;
  gap: 0.7rem;
}

label {
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

input,
textarea {
  margin-top: 0.25rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.55rem 0.7rem;
  font: inherit;
  width: 100%;
  resize: vertical;
  min-height: 42px;
}

textarea {
  min-height: 90px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.7);
}

.footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  font-size: 0.78rem;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding-top: 1rem;
}

.footer span strong {
  color: #e5e7eb;
}
