@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --ink: #101418;
  --ink-soft: #3a4652;
  --brand: #0e6b5f;
  --brand-dark: #0a4c43;
  --accent: #f2c14e;
  --paper: #f7f4ef;
  --paper-white: #ffffff;
  --line: #d9d2c6;
  --shadow: 0 24px 60px rgba(16, 20, 24, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #ffffff 0%, #f6f2ea 38%, #efe8dd 100%);
}

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

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

a:hover,
a:focus-visible {
  color: var(--brand);
}

.container {
  width: min(1140px, 90vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--brand);
  color: white;
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(247, 244, 239, 0.85);
  border-bottom: 1px solid rgba(217, 210, 198, 0.6);
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
  position: relative;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bars {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.lang-toggle {
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  background: var(--paper-white);
}

.hero {
  padding: 92px 0 70px;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-card {
  background: var(--paper-white);
  padding: 38px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(217, 210, 198, 0.4);
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw + 1rem, 3.6rem);
  margin: 0 0 12px;
}

.hero p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--brand);
  color: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(14, 107, 95, 0.25);
}

.btn-secondary {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.section {
  padding: 70px 0;
}

.section h2 {
  font-size: clamp(1.6rem, 1.5vw + 1rem, 2.4rem);
  margin-bottom: 12px;
}

.section p.lead {
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 24px;
}

.card {
  background: var(--paper-white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(217, 210, 198, 0.6);
  box-shadow: 0 16px 32px rgba(16, 20, 24, 0.06);
}

.card h3 {
  margin-top: 0;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(14, 107, 95, 0.1);
  color: var(--brand);
  font-weight: 600;
}

.portfolio-grid img {
  border-radius: 14px;
  border: 1px solid rgba(217, 210, 198, 0.8);
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.portfolio-grid figure {
  margin: 0;
  display: grid;
  gap: 10px;
}

.portfolio-grid figcaption {
  font-weight: 600;
}

.portfolio-meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 8px 0 0;
}

.testimonial {
  display: grid;
  gap: 10px;
}

.testimonial strong {
  color: var(--brand-dark);
}

.about-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.about-panel {
  background: var(--brand);
  color: white;
  padding: 28px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.about-panel::after {
  content: "";
  position: absolute;
  inset: 20% -40% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(242, 193, 78, 0.7), transparent 60%);
  border-radius: 50%;
}

.contact-grid {
  display: grid;
  gap: 26px;
}

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

input,
textarea,
select {
  font: inherit;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.form-status {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  display: none;
}

.form-status.success {
  display: block;
  background: #e6f5f1;
  color: var(--brand-dark);
}

.form-status.error {
  display: block;
  background: #fbeaea;
  color: #a12525;
}

.site-footer {
  padding: 40px 0 60px;
  border-top: 1px solid rgba(217, 210, 198, 0.8);
  background: rgba(247, 244, 239, 0.6);
}

.footer-grid {
  display: grid;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.6fr;
    align-items: center;
  }
}

@media (max-width: 759px) {
  .nav {
    padding: 14px 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    order: 2;
  }

  .lang-toggle {
    order: 3;
  }

  .nav-links {
    order: 4;
    width: 100%;
    font-size: 0.95rem;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    margin-top: 8px;
    border: 1px solid rgba(217, 210, 198, 0.9);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 22px rgba(16, 20, 24, 0.08);
  }

  body.nav-ready .nav-links {
    display: none;
  }

  body.nav-ready .nav-links.is-open {
    display: flex;
  }

  .hero-card {
    padding: 28px;
  }
}
