@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500&display=swap');

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

:root {
  --bg: hsl(0, 0%, 10%);
  --fg: hsl(40, 33%, 98%);
  --card: hsl(0, 0%, 13%);
  --border: hsl(0, 0%, 18%);
  --primary: hsl(13, 54%, 50%);
  --primary-hover: hsl(13, 54%, 43%);
  --primary-fg: hsl(40, 33%, 98%);
  --muted-fg: hsl(40, 20%, 65%);
  --secondary: hsl(0, 0%, 18%);
  --secondary-fg: hsl(40, 33%, 98%);
  --input-bg: hsl(0, 0%, 15%);
  --input-border: hsl(0, 0%, 25%);
  --radius: 3px;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
}

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

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background-color: var(--primary);
  color: var(--primary-fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--primary-fg);
}

section {
  padding: 5rem 0;
}

.section-card {
  background-color: var(--card);
}

.section-subtle {
  background-color: rgba(255,255,255,0.02);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title-left {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
}

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 20%, rgba(26,26,26,0.75) 60%, rgba(26,26,26,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.75rem;
  color: var(--muted-fg);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(33,33,33,0.5);
  backdrop-filter: blur(4px);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero h1 em {
  color: var(--primary);
  font-style: italic;
}

.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted-fg);
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
}

.for-whom-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.for-whom-num {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(193,87,58,0.5);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.for-whom-item h3 {
  font-size: 1.125rem;
  font-family: var(--font-sans);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.for-whom-item p {
  color: var(--muted-fg);
  line-height: 1.7;
  font-size: 0.95rem;
}

.process-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.process-img img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.process-step h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.process-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.process-step p {
  color: var(--muted-fg);
  padding-left: 1.3rem;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.gallery-item {
  cursor: pointer;
}

.gallery-item:nth-child(2) {
  margin-top: 3rem;
}

.gallery-img {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  margin-bottom: 1rem;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover .gallery-img img {
  transform: scale(1.05);
}

.gallery-item h3 {
  font-size: 1rem;
}

.author-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.author-avatar {
  width: 5rem;
  height: 5rem;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--muted-fg);
  border: 1px solid var(--border);
}

.author-inner h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.author-inner p {
  color: var(--muted-fg);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.8;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  text-align: left;
  font-weight: 400;
}

.faq-trigger .faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  color: var(--primary);
  font-style: normal;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  display: none;
  padding: 0 0 1.25rem 0;
  color: var(--muted-fg);
  line-height: 1.75;
}

.faq-item.open .faq-content {
  display: block;
}

.lead-form-section {
  border-top: 1px solid var(--border);
  padding: 7rem 0;
}

.lead-form-inner {
  max-width: 440px;
  margin: 0 auto;
}

.lead-form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.lead-form-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.lead-form-header p {
  color: var(--muted-fg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.875rem;
  color: var(--fg);
}

.form-input {
  width: 100%;
  height: 3rem;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input::placeholder {
  color: var(--muted-fg);
  opacity: 0.7;
}

.form-input:focus {
  border-color: var(--primary);
}

.form-error {
  font-size: 0.8rem;
  color: hsl(0, 84%, 60%);
  display: none;
}

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

.form-submit {
  width: 100%;
  height: 3.5rem;
  font-size: 1.0625rem;
  margin-top: 0.75rem;
}

.form-note {
  font-size: 0.75rem;
  text-align: center;
  color: var(--muted-fg);
  margin-top: 1rem;
}

.form-note a {
  text-decoration: underline;
  transition: color 0.2s;
}

.form-note a:hover {
  color: var(--primary);
}

footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--muted-fg);
  font-size: 0.875rem;
  max-width: 240px;
  line-height: 1.6;
}

.footer-legal h4,
.footer-contacts h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.footer-legal ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-legal a {
  color: var(--muted-fg);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--primary);
}

.footer-contacts p {
  color: var(--muted-fg);
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--muted-fg);
  font-size: 0.75rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--secondary);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  z-index: 100;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--secondary-fg);
  flex: 1;
  min-width: 240px;
}

.page-header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.back-link {
  font-size: 0.875rem;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 1.5rem;
  transition: opacity 0.2s;
}

.back-link:hover {
  opacity: 0.8;
}

.legal-content {
  max-width: 720px;
  padding-bottom: 5rem;
}

.legal-date {
  color: var(--muted-fg);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 2.5rem 0 0.75rem;
  font-family: var(--font-sans);
  font-weight: 500;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted-fg);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  color: var(--muted-fg);
  padding-left: 1.5rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.legal-content strong {
  color: var(--fg);
}

.success-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 0;
}

.success-inner {
  max-width: 520px;
}

.success-icon {
  width: 5rem;
  height: 5rem;
  background: rgba(193,87,58,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--primary);
}

.success-inner h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: 1.25rem;
}

.success-inner p {
  color: var(--muted-fg);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 3rem;
}

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

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

  .gallery-item:nth-child(2) {
    margin-top: 0;
  }

  .gallery-img {
    aspect-ratio: 4/3;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    max-width: none;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 80vh;
    padding: 4rem 0;
  }

  section {
    padding: 3.5rem 0;
  }

  .for-whom-item {
    align-items: center;
    text-align: center;
  }

  .process-step p {
    padding-left: 0;
  }

  .process-step h4 {
    justify-content: flex-start;
  }

  .lead-form-section {
    padding: 4rem 0;
  }
}
