:root {
  --bg: #0b0b0b;
  --surface: #121212;
  --surface-soft: #171717;
  --text: #f4f1ea;
  --muted: #cdc7bc;
  --accent: #f7931a;
  --line: #2a2a2a;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(247, 147, 26, 0.06), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 14px;
}

.hero {
  min-height: calc(100vh - 2rem);
  position: relative;
  margin: 1rem auto 0;
  width: min(100% - 2rem, 1100px);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  padding: 2rem clamp(1.25rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)),
    radial-gradient(circle at 72% 26%, rgba(247, 147, 26, 0.14), transparent 28%),
    url("images/hero-title.png");
  background-size: cover;
  background-position: center 35%;
  border: 1px solid var(--line);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244, 241, 234, 0.12);
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
}

.brand-logo {
  width: clamp(68px, 8.4vw, 96px);
  height: auto;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 60rem;
  margin-bottom: 8vh;
}

.sub-main {
  max-width: 50ch;
  margin: 0 0 1.35rem;
  color: #ddd6ca;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.1;
  margin: 0 0 1rem 0;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 500;
  max-width: 20ch;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 500;
}

.section {
  width: min(100% - 2rem, 980px);
  margin: 1rem auto 0;
  padding: clamp(2.5rem, 6vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0));
}

.section p {
  max-width: 70ch;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(200px, 320px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.about-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}

.never-published {
  color: #e7e0d4;
  margin-bottom: 1.4rem;
}

.work .gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.gallery figure {
  margin: 0;
  background: var(--surface);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}

.work-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: #8f8b84;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  text-align: right;
  margin-left: auto;
  max-width: 29rem;
  line-height: 1.5;
}

.privacy ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.privacy li {
  color: var(--muted);
  margin-bottom: 0.75rem;
  padding-left: 1.1rem;
  position: relative;
}

.privacy li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.62rem;
  background: var(--accent);
}

.bitcoin {
  background: linear-gradient(to right, rgba(247, 147, 26, 0.08), transparent 45%);
}

/* Packages Section */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.package {
  background: var(--surface);
  border: 1px solid #3a3a3a;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.package:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.package.featured {
  border-color: var(--accent);
  background: linear-gradient(to bottom, rgba(247, 147, 26, 0.05), var(--surface));
}

.package-badge {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #111;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.package h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: var(--text);
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--accent);
}

.price-currency {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.package-details h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 1.5rem 0 0.8rem 0;
  border-bottom: 1px solid #3a3a3a;
  padding-bottom: 0.5rem;
}

.package-details ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.package-details li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.package-details li:last-child {
  border-bottom: none;
}

.detail-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
}

.detail-value {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}

.detail-value.included {
  color: var(--accent);
  font-weight: 500;
}

.package-btn {
  display: block;
  width: 100%;
  margin-top: 2rem;
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: 1px solid #3a3a3a;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: all 0.2s ease;
}

.package-btn:hover {
  border-color: var(--accent);
  background: rgba(247, 147, 26, 0.05);
}

.featured-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}

.featured-btn:hover {
  filter: brightness(1.05);
  background: var(--accent);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item {
  border-bottom: 1px solid #3a3a3a;
  margin-bottom: 0.5rem;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.2s ease, color 0.2s ease;
  color: var(--accent);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.faq-answer.active {
  max-height: 200px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .package {
    padding: 1.5rem 1.2rem;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: 1.2rem 0;
  }
}

.form-messages {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.form-success {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  padding: 1.5rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(76, 175, 80, 0.2);
  font-family: 'Inter', sans-serif;
}

.form-success h3 {
  margin: 0 0 0.5rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.4rem;
}

.form-success p {
  margin: 0.5rem 0;
  line-height: 1.5;
}

.bitcoin-widget {
  margin-top: 1.2rem;
  padding: 1rem;
  background: rgba(247, 147, 26, 0.08);
  border: 1px solid rgba(247, 147, 26, 0.2);
  border-radius: 8px;
}

.btc-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.btc-label {
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--text);
}

.btc-value {
  font-weight: 600;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: #f7931a;
}

.btc-subtext {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

.btc-subtext p {
  margin: 0;
}

.form-error {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(244, 67, 54, 0.2);
  font-family: 'Inter', sans-serif;
}

.field-error {
  display: block;
  color: #f44336;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.contact-form {
  display: grid;
  gap: 0.7rem;
  max-width: 42rem;
}

label {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid #3a3a3a;
  background: var(--surface-soft);
  color: var(--text);
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
}

input:focus,
textarea:focus {
  outline: 1px solid var(--accent);
  border-color: var(--accent);
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #f44336;
  outline-color: #f44336;
}

button {
  width: fit-content;
  margin-top: 0.8rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #111;
  padding: 0.72rem 1.4rem;
  cursor: pointer;
  border-radius: 999px;
}

button:hover {
  filter: brightness(1.05);
}

.button-primary {
  width: fit-content;
  margin-top: 0.8rem;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #111;
  padding: 0.72rem 1.4rem;
  cursor: pointer;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  font-weight: 500;
}

.button-primary:hover {
  filter: brightness(1.05);
}


.footer {
  padding: 2.2rem 1.25rem 2.4rem;
  text-align: center;
  color: #8f8a80;
  font-size: 0.9rem;
}

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

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

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

  .about-grid img {
    max-width: 320px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 1.4rem;
    width: calc(100% - 1rem);
    min-height: 88vh;
  }

  .work .gallery {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 1rem, 980px);
    padding: 1.5rem 1rem;
  }
}
