/* ============ VARIABLES ============ */
:root {
  --color-bg: #FFFBF5;
  --color-bg-alt: #FFFFFF;
  --color-cream: #EEE4DB;
  --color-text: #323232;
  --color-text-light: #6b6b63;
  --color-gold: #FFC933;
  --color-gold-light: #FFE26E;
  --color-white: #ffffff;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(50, 50, 50, 0.08);
  --container-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }

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

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

section { padding: 90px 0; }

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 40px;
  color: var(--color-text);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 201, 51, 0.4);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(50,50,50,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.logo img { height: 56px; width: auto; }

.main-nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

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

.main-nav a:hover { color: #b8860b; }

.nav-cta { white-space: nowrap; padding: 10px 24px; font-size: 0.9rem; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
}

.lang-link {
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--color-text-light);
}

.lang-link:hover { color: var(--color-text); }

.lang-link.active {
  color: var(--color-text);
  background: var(--color-cream);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding-top: 90px;
  padding-bottom: 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 700px 400px at 12% 0%, rgba(255, 201, 51, 0.22), transparent 70%),
    radial-gradient(ellipse 700px 400px at 88% 10%, rgba(255, 201, 51, 0.14), transparent 70%);
}

.hero .container { max-width: 1320px; }

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}

.hero-text {
  max-width: 760px;
  text-align: center;
}

.hero-text h1 {
  line-height: 1.05;
}

.hero-line { display: block; }

.hero-line-main {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 400;
  color: var(--color-text);
}

.hero-line-accent {
  display: inline-block;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  color: var(--color-text);
  background: #FFE8AB;
  padding: 3px 16px;
  border-radius: 999px;
  margin: 2px 0 10px;
}

.hero-line-highlight {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-top: 6px;
}

.hero-image {
  width: 100%;
  max-width: 1240px;
}

.hero-process-img {
  width: 100%;
  display: block;
}

/* ============ ABOUT ============ */
.about { background: var(--color-white); text-align: center; }
.about .lead {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--color-text-light);
  text-align: justify;
}

.about-image {
  margin: 40px auto 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 900px;
  width: 100%;
}

/* ============ HOW IT WORKS ============ */
.how-it-works h2 { text-align: center; }

.how-it-works .lead {
  max-width: 760px;
  margin: 0 auto 48px;
  font-size: 1.15rem;
  color: var(--color-text-light);
  text-align: justify;
}

.process-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-gallery img {
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* ============ WHY US ============ */
.why-us { background: var(--color-cream); }
.why-us h2 { text-align: center; }

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

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-cream);
  margin: 0 auto 20px;
  flex-shrink: 0;
}

.feature-icon-badge svg {
  width: 26px;
  height: 26px;
  color: #b8860b;
}

.feature-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}

.feature-stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--color-text);
}

.feature-stat-label {
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
}

.feature-card h3 { font-size: 1.1rem; margin-bottom: 12px; text-align: center; }
.feature-card p { color: var(--color-text-light); font-size: 0.92rem; text-align: center; }
.feature-card p + p { margin-top: 14px; }

/* ============ CASE STUDIES ============ */
.case-studies h2 { text-align: center; }

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

.case-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.case-card h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--color-text);
  text-align: center;
}

.case-single-image {
  border-radius: 10px;
  width: 100%;
}

/* ============ CONTACT ============ */
.contact { background: var(--color-text); color: var(--color-white); text-align: center; }
.contact h2 { color: var(--color-white); }

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
  min-width: 240px;
}

.contact-method:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

.contact-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-value {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-gold-light);
}

.contact-form {
  max-width: 640px;
  margin: 48px auto 0;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}

.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid rgba(50,50,50,0.15);
  border-radius: 10px;
  padding: 12px 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.contact-form .btn { width: 100%; }

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  min-height: 1.2em;
  color: var(--color-text-light);
}

.form-status.success { color: #2e7d32; }
.form-status.error { color: #c62828; }

/* ============ DEMO VIDEO ============ */
.demo-video {
  padding-top: 70px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 700px 400px at 12% 0%, rgba(255, 201, 51, 0.22), transparent 70%),
    radial-gradient(ellipse 700px 400px at 88% 10%, rgba(255, 201, 51, 0.14), transparent 70%);
}

.demo-video .container { max-width: 1320px; }

.demo-video-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.demo-video-text {
  max-width: 720px;
  text-align: center;
}

.demo-video-text .lead {
  max-width: 640px;
  margin: 16px auto 0;
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1240px;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--color-text);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 28px 0 40px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-logo { height: 30px; filter: brightness(0) invert(1); }

.footer-inner p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .process-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(50,50,50,0.08);
  }
  .main-nav.open { max-height: 400px; }
  .main-nav a { padding: 16px 0; width: 100%; text-align: center; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding-top: 60px; padding-bottom: 60px; }
  .hero-inner { gap: 36px; }

  section { padding: 60px 0; }
}

@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .process-gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-methods { flex-direction: column; align-items: center; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}
