:root {
  --cream: #F7F7F5;
  --white: #FFFFFF;
  --terracotta: #262421;
  --terracotta-dark: #121110;
  --charcoal: #262421;
  --sand: #E7E5E0;
  --sand-light: #EFEEEA;
  --border: #E3E1DC;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(38, 36, 33, 0.08);
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
}

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(38, 36, 33, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 36, 33, 0.09) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 40%), black 0%, transparent 75%);
  mask-image: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 40%), black 0%, transparent 75%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.bg-grid.is-active {
  opacity: 1;
}

.site-header,
main {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 16px;
}

p {
  margin: 0 0 16px;
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  border: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 239, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--terracotta);
}

.site-nav {
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-weight: 600;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width var(--transition);
}

.site-nav a:hover::after {
  width: 100%;
}

.lang-switch {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px !important;
  font-size: 0.85rem;
  transition: border-color var(--transition), color var(--transition);
}

.lang-switch::after {
  display: none;
}

.lang-switch:hover {
  border-color: var(--charcoal);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--charcoal);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 90px 0 100px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: #5c5650;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.hero-visual {
  position: relative;
  min-height: 340px;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.9;
}

.blob-1 {
  width: 260px;
  height: 260px;
  background: var(--sand);
  top: -20px;
  right: 20px;
}

.blob-2 {
  width: 160px;
  height: 160px;
  background: var(--terracotta);
  opacity: 0.15;
  bottom: 0;
  left: 10px;
}

.mock-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  max-width: 340px;
  margin: 40px auto 0;
  border: 1px solid var(--border);
}

.mock-bar {
  width: 60px;
  height: 10px;
  background: var(--terracotta);
  border-radius: 6px;
  margin-bottom: 20px;
}

.mock-line {
  height: 10px;
  border-radius: 6px;
  background: var(--sand-light);
  margin-bottom: 12px;
}

.mock-line.short { width: 40%; }
.mock-line.long { width: 90%; }

.mock-btn {
  margin-top: 16px;
  width: 120px;
  height: 34px;
  border-radius: 999px;
  background: var(--charcoal);
}

/* Section shared */
section {
  padding: 90px 0;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  text-align: center;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: #5c5650;
  max-width: 50ch;
  margin: -8px auto 40px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
}

.price-card-highlight {
  border: 2px solid var(--terracotta);
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 999px;
  margin: 0;
  white-space: nowrap;
  text-align: center;
}

.price-card h3 {
  font-size: 1.3rem;
}

.price {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--terracotta);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.price-from {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  order: -1;
  width: 100%;
}

.price-period {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
}

.price-features {
  flex-grow: 1;
  margin-bottom: 32px;
}

.price-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: #4a453f;
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li::before {
  content: "✓";
  color: var(--terracotta);
  font-weight: 700;
  margin-right: 10px;
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.review-status {
  grid-column: 1 / -1;
  text-align: center;
  color: #5c5650;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--terracotta);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  color: #4a453f;
  font-style: italic;
  flex-grow: 1;
}

.review-author {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.review-name {
  font-weight: 700;
  color: var(--charcoal);
}

.review-role {
  font-size: 0.85rem;
  color: #8a8478;
}

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-text .section-title,
.contact-text .section-sub {
  text-align: left;
  margin: 0 0 16px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: inherit;
  font-size: 1rem;
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(198, 85, 42, 0.15);
}

.form-row textarea {
  resize: vertical;
}

.form-note {
  margin: 16px 0 0;
  text-align: center;
  font-weight: 600;
  color: var(--terracotta-dark);
  min-height: 1.2em;
}

.form-note-error {
  color: #B3261E;
}

.contact-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-visual {
    order: -1;
    min-height: 260px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }

  .site-nav.is-open {
    max-height: 300px;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
    padding: 16px 0;
  }
}
