:root {
  --bg: #f4f6f7;
  --surface: #ffffff;
  --ink: #0f1a1f;
  --muted: #4f5f66;
  --line: #d5dde0;
  --accent: #0f766e;
  --accent-ink: #dff7f4;
  --danger: #9f1239;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(20, 41, 48, 0.11);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, #d8ede7 0%, transparent 45%), linear-gradient(160deg, #eef4f6 0%, var(--bg) 55%);
  display: flex;
  flex-direction: column;
}

main {
  width: min(1120px, 92vw);
  margin: 0 auto;
  flex: 1;
}

.site-header {
  width: min(1120px, 92vw);
  margin: 1rem auto;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: sticky;
  top: 0.7rem;
  z-index: 10;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.site-nav {
  margin-left: auto;
  display: flex;
  gap: 1rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #e7f0f2;
  outline: none;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.hero {
  margin-top: 1.2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #0f1a1f 0%, #0c3f45 48%, #1a6f68 100%);
  color: #f2f8f7;
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0.2rem 0 0;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  line-height: 1.1;
}

.hero-copy {
  max-width: 65ch;
  color: #d7eeec;
}

.hero-actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  padding: 0.65rem 1rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-secondary {
  background: #eef4f5;
  color: #12323b;
}

.section-head {
  margin: 2.2rem 0 1.2rem;
}

.section-head h1,
.section-head h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.section-head p {
  color: var(--muted);
}

.watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.watch-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.watch-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(17, 37, 45, 0.15);
}

.watch-media-wrap {
  position: relative;
  background: linear-gradient(180deg, #ecf3f6 0%, #dde9ed 100%);
}

.watch-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.status-tag {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
}

.status-tag.available {
  background: #d1fae5;
  color: #065f46;
}

.status-tag.sold {
  background: #ffe4e6;
  color: var(--danger);
}

.watch-content {
  padding: 0.9rem;
}

.watch-content h3 {
  margin: 0;
  font-size: 1.06rem;
}

.watch-content p {
  margin: 0.45rem 0;
  color: var(--muted);
  min-height: 3.2em;
}

.watch-meta {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: #10353e;
}

.gallery-toolbar {
  margin-bottom: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.gallery-toolbar label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #223f47;
}

.gallery-toolbar input,
.gallery-toolbar select,
.contact-form input,
.contact-form textarea {
  min-width: 220px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.65rem;
  font: inherit;
}

.empty-state {
  margin: 1rem 0 2rem;
  color: var(--muted);
  font-weight: 600;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  max-width: 720px;
  margin-bottom: 2rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

#contact-feedback {
  min-height: 1.4rem;
  font-weight: 700;
}

#contact-feedback.error {
  color: var(--danger);
}

#contact-feedback.success {
  color: #065f46;
}

.site-footer {
  margin-top: auto;
  padding: 2rem 4vw 2.2rem;
  color: #314d55;
  text-align: center;
}

@media (max-width: 760px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    min-width: 180px;
    display: none;
    flex-direction: column;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }
}
