/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-navy: #1b2a4a;
  --color-navy-light: #2c3e6b;
  --color-sea: #3a7ca5;
  --color-sea-light: #5ba4c9;
  --color-sand: #f5f1eb;
  --color-sand-dark: #e8e0d4;
  --color-white: #ffffff;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 960px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== Header ===== */
.header {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 1.5rem 1.5rem;
}

.header-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.header h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.subtitle {
  font-size: 1rem;
  color: #a8b8d0;
  margin-top: 0.15rem;
}

.header-price {
  text-align: right;
  display: flex;
  flex-direction: column;
}

.price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
}

.price-label {
  font-size: 0.8rem;
  color: #a8b8d0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== Carousel ===== */
.carousel-section {
  background: #111;
}

.carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide img.crop-bottom {
  object-position: center bottom;
}

.slide-contain {
  background: #111;
}

.slide-contain img {
  object-fit: contain;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.carousel-btn-prev {
  left: 1rem;
}

.carousel-btn-next {
  right: 1rem;
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.35rem;
  z-index: 2;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.carousel-dot.active {
  background: white;
}

.carousel-counter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.85rem;
  z-index: 2;
}

/* ===== Specs ===== */
.specs-section {
  background: var(--color-sand);
  padding: 2.5rem 1.5rem;
}

.specs-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.spec-icon {
  width: 48px;
  height: 48px;
  color: var(--color-sea);
  margin-bottom: 0.75rem;
}

.spec-icon svg {
  width: 100%;
  height: 100%;
}

.spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

.spec-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
}

.spec-detail {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 0.15rem;
}

/* ===== Description ===== */
.description-section {
  padding: 3rem 1.5rem;
}

.description-content {
  max-width: 700px;
  margin: 0 auto;
}

.description-content h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
}

.description-content p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
}

/* ===== Intro Prose ===== */
.intro-prose {
  font-size: 1.15rem;
  line-height: 1.8;
}

/* ===== Detail List ===== */
.details-section {
  padding: 0 1.5rem 3rem;
}

.details-content {
  max-width: 700px;
  margin: 0 auto;
}

.detail-group {
  margin-bottom: 2rem;
}

.detail-group h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--color-sand-dark);
}

.detail-group ul {
  list-style: none;
  padding: 0;
}

.detail-group li {
  padding: 0.35rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
  padding-left: 1.25rem;
  position: relative;
}

.detail-group li::before {
  content: "\2022";
  color: var(--color-sea);
  font-size: 1.1rem;
  position: absolute;
  left: 0;
  top: 0.3rem;
}

.detail-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-style: italic;
  margin-top: 0.5rem;
  padding-left: 1.25rem;
}

/* ===== Contact ===== */
.contact-section {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 3rem 1.5rem;
  text-align: center;
}

.contact-content {
  max-width: 560px;
  margin: 0 auto;
}

.contact-content h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.contact-content > p {
  color: #a8b8d0;
  margin-bottom: 1.5rem;
}

.email-btn {
  display: inline-block;
  background: var(--color-sea);
  color: white;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background 0.2s;
}

.email-btn:hover {
  background: var(--color-sea-light);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-light);
  background: var(--color-sand);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header h1 {
    font-size: 1.5rem;
  }

  .price {
    font-size: 1.35rem;
  }

  .carousel {
    aspect-ratio: 4 / 3;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

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

  .description-content h2 {
    font-size: 1.4rem;
  }

  .description-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-price {
    text-align: left;
  }

  .carousel {
    aspect-ratio: 1 / 1;
  }
}