:root {
  --bg-dark: #0b0b0b;
  --bg-mid: #121212;
  --accent: #e11d48;
  --accent-soft: rgba(225, 29, 72, 0.2);
  --text: #f4f4f4;
  --muted: rgba(244, 244, 244, 0.72);
  --glass: rgba(10, 10, 10, 0.65);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Gill Sans", "Trebuchet MS", sans-serif;
  background: radial-gradient(circle at top, #1a1a1a 0%, #0b0b0b 55%, #050505 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(5, 5, 5, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Garamond", "Times New Roman", serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand img {
  width: 44px;
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-link {
  position: relative;
  padding-bottom: 4px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.nav-link.active,
.nav-link:hover {
  color: var(--text);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lang {
  position: relative;
}

.lang-trigger {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: 48px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 160px;
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow);
}

.lang:hover .lang-menu,
.lang:focus-within .lang-menu,
.lang-menu.open {
  display: flex;
}

.lang-menu button {
  background: transparent;
  border: none;
  color: var(--text);
  padding: 10px 12px;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
}

.lang-menu button:hover,
.lang-menu button:focus {
  background: rgba(255, 255, 255, 0.08);
}

.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.25));
  z-index: 1;
}

.section.bg-home {
  background: url("../img/home.png") center/cover no-repeat;
}

.section.bg-about {
  background: url("../img/about.png") center/cover no-repeat;
}

.section.bg-service {
  background: url("../img/service.png") center/cover no-repeat;
}

.section.bg-contact {
  background: url("../img/home.png") center/cover no-repeat;
}

.section-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero {
  display: grid;
  gap: 28px;
  max-width: 640px;
}

.hero h1 {
  font-family: "Garamond", "Times New Roman", serif;
  font-size: clamp(2.6rem, 4vw, 4.6rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
}

.hero .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.35);
}

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

.btn:hover {
  transform: translateY(-2px);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.panel {
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.section-title {
  font-size: 2.1rem;
  font-family: "Garamond", "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 18px;
}

#services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-card {
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: 16px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow);
}

.service-card h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-price {
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 600;
}

.service-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.service-card li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.contact-info p {
  margin-top: 8px;
  color: var(--muted);
}

form {
  display: grid;
  gap: 14px;
}

input,
textarea {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
}

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

footer {
  padding: 24px 24px 48px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .section {
    padding: 100px 20px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 7vw, 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .nav-link::after,
  .reveal {
    transition: none;
  }
}
