:root {
  --bg: #f7f4f0;
  --bg-alt: #ffffff;
  --text: #2b2620;
  --accent: #9e5c2b; /* terracotta */
  --accent-dark: #7b4219;
  --muted: #7b6a5a;
  --border-soft: #e2d6c8;
  --max-width: 1120px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.06);
  --transition-fast: 0.18s ease-out;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  max-width: 640px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

.section-header h2 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(247, 244, 240, 0.92);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  gap: 1.5rem;
}

.logo-area {
  min-width: 0;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--accent-dark);
}

.logo-subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.25rem 0.4rem;
  border-radius: 999px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(158, 92, 43, 0.08);
  color: var(--accent-dark);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.lang-switch a,
.lang-current {
  text-decoration: none;
  color: var(--muted);
}

.lang-current {
  font-weight: 600;
  color: var(--accent-dark);
}

.lang-switch a:hover {
  text-decoration: underline;
}

.lang-separator {
  color: var(--muted);
}

/* Hero */

.hero-section {
  padding: 4rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-lead {
  font-size: 1.02rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-list {
  padding-left: 1.1rem;
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.hero-list li + li {
  margin-top: 0.25rem;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  display: block;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

/* Buttons */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.02);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.service-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--accent-dark);
}

.service-link:hover {
  text-decoration: underline;
}

/* Two column sections */

.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.text-col h2 {
  margin-top: 0;
  font-size: 1.7rem;
}

.text-col p {
  color: var(--muted);
}

.bullet-list {
  padding-left: 1.1rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.bullet-list li + li {
  margin-top: 0.25rem;
}

.image-col img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  display: block;
  object-fit: cover;
}

/* Contact */

.contact-section {
  background: linear-gradient(135deg, #f5eee6 0%, #f7f4f0 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-info h2 {
  margin-top: 0;
  font-size: 1.7rem;
}

.contact-info p {
  color: var(--muted);
}

.contact-block {
  margin: 1.25rem 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-soft);
}

.contact-block h3 {
  margin: 0 0 0.4rem;
}

.contact-block a {
  color: var(--accent-dark);
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form-wrapper {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.6rem 1.8rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.contact-form-wrapper h3 {
  margin-top: 0;
}

.form-field {
  margin-bottom: 0.9rem;
}

.form-field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid #d6c7b8;
  background: #fdfaf7;
  transition: border var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(158, 92, 43, 0.2);
  background: #fff;
}

.hidden {
  display: none;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding: 1.4rem 0 1.8rem;
  background: #f4eee7;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-lang a {
  color: var(--accent-dark);
  text-decoration: none;
}

.footer-lang a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 0.4rem;
  }

  .hero-inner,
  .two-cols,
  .contact-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding-top: 3rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.25rem 0;
  }

  .header-inner {
    padding-inline: 1rem;
  }

  .container {
    padding-inline: 1rem;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }
}
