:root {
  --bg: #fbf6f5;
  --bg-alt: #f6ecea;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --text: #1f2430;
  --muted: #6f6666;
  --line: #e8d9d7;
  --line-strong: #d9bcbc;
  --brand: #b63b45;
  --brand-soft: #f8e8e9;
  --ok: #1f8b53;
  --danger: #b65151;
  --shadow: 0 18px 45px rgba(118, 47, 56, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(190, 88, 100, 0.16), transparent 34%),
    linear-gradient(180deg, #fcf8f7 0%, #faf4f2 48%, #f6ecea 100%);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(252, 248, 247, 0.92);
  border-bottom: 1px solid rgba(182, 59, 69, 0.14);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b63b45, #8f2630);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-text {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.main-nav,
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.main-nav a,
.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.lang-switch a:hover,
.main-nav a.active,
.lang-switch a.active {
  color: var(--text);
  background: rgba(182, 59, 69, 0.11);
}

main {
  overflow: clip;
}

.hero {
  padding: 5.6rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 2rem;
  align-items: start;
}

.hero-copy h1,
.section-head h1,
.section-head h2,
.cta-panel h2,
.contact-copy h1 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  max-width: 10ch;
  margin-bottom: 1.25rem;
}

.hero-copy p,
.section-head p,
.contact-copy p,
.footer-tagline,
.footer-copy,
.hero-metric span,
.card p,
.muted {
  color: var(--muted);
}

.hero-copy p {
  max-width: 56ch;
  font-size: 1.08rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9e2f3c;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #b94a56;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #b63b45, #8f2630);
  color: #fff;
  box-shadow: 0 14px 30px rgba(182, 59, 69, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}

.hero-card,
.card,
.contact-card,
.contact-side-card,
.cta-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(182, 59, 69, 0.13);
  box-shadow: var(--shadow);
}

.hero-card {
  border-radius: 30px;
  padding: 1.5rem;
}

.hero-metrics {
  display: grid;
  gap: 1rem;
}

.hero-metric {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(182, 59, 69, 0.13);
}

.hero-metric:last-child {
  border-bottom: 0;
}

.hero-metric strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.section {
  padding: 3rem 0;
}

.section-head {
  display: grid;
  gap: 0.6rem;
  max-width: 720px;
  margin-bottom: 1.4rem;
}

.section-head h1,
.section-head h2,
.cta-panel h2,
.contact-copy h1 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.section-head-page {
  margin-bottom: 2rem;
}

.services-hero {
  padding-bottom: 1rem;
}

.services-head {
  max-width: 860px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-products {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  border-radius: 24px;
  padding: 1.45rem;
}

.card:hover {
  transform: translateY(-3px);
  transition: transform 0.2s ease;
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.product-card {
  min-height: 220px;
}

.service-card {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 260px;
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8d2430;
  background: rgba(182, 59, 69, 0.14);
}

.services-cta {
  padding-top: 1.2rem;
}

.section-cta {
  padding-top: 1rem;
  padding-bottom: 4rem;
}

.cta-panel {
  border-radius: 32px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.cta-panel p {
  max-width: 58ch;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-side-card,
.contact-card {
  border-radius: 28px;
}

.contact-side-card {
  margin-top: 1.5rem;
  padding: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 230, 230, 0.92));
}

.contact-side-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.55rem;
  letter-spacing: -0.03em;
}

.contact-card {
  padding: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 0.78rem;
}

.contact-form label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--text);
  padding: 0.92rem 1rem;
  font: inherit;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #b63b45;
  outline: 3px solid rgba(182, 59, 69, 0.2);
}

.alert {
  border-radius: 18px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.alert-success {
  background: rgba(31, 139, 83, 0.08);
  border: 1px solid rgba(31, 139, 83, 0.2);
  color: #1b5d3b;
}

.alert-error {
  background: rgba(182, 81, 81, 0.08);
  border: 1px solid rgba(182, 81, 81, 0.2);
  color: #7d3131;
}

.site-footer {
  padding: 2.8rem 0 3.2rem;
  border-top: 1px solid rgba(182, 59, 69, 0.13);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.6fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.footer-tagline,
.footer-copy,
.footer-meta p {
  margin: 0 0 0.55rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  color: var(--muted);
}

.admin-wrap h2 {
  margin-top: 1.4rem;
}

.admin-actions {
  margin: 0.8rem 0 1rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-grid,
  .cards,
  .cards-products,
  .services-grid,
  .footer-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    display: grid;
  }

  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .nav-wrap {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem 0;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .lang-switch {
    justify-content: center;
    width: 100%;
  }

  .hero {
    padding-top: 4rem;
  }
}

