:root {
  --ink: #161616;
  --charcoal: #20242a;
  --muted: #68645c;
  --ivory: #f7f1e7;
  --warm: #d6b87b;
  --rose: #c98f76;
  --steel: #d8dde1;
  --line: rgba(32, 36, 42, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(rgba(247, 241, 231, 0.92), rgba(247, 241, 231, 0.95)),
    url("images/simurix-line-art-simorgh.png");
  background-size: 460px auto;
  background-repeat: no-repeat;
  background-position: right 5% top 48%;
  background-attachment: fixed;
}

h1, h2, h3, .brand {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

.site-header {
  min-height: 88vh;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(18, 18, 18, 0.90), rgba(32, 36, 42, 0.96)),
    url("images/hero-placeholder.svg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.site-header::after,
.compact-header::after {
  content: "";
  position: absolute;
  width: min(520px, 42vw);
  aspect-ratio: 1;
  right: 4vw;
  bottom: -9vw;
  background: url("images/simurix-line-art-simorgh.png") center / contain no-repeat;
  opacity: 0.075;
  filter: grayscale(0.2);
  pointer-events: none;
}

.compact-header {
  color: #fff;
  background:
    radial-gradient(circle at 50% 18%, rgba(214, 184, 123, 0.18), transparent 28%),
    linear-gradient(145deg, #141414, #24272d);
  padding-bottom: 38px;
  position: relative;
  overflow: hidden;
}

.nav {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.brand {
  color: #fff;
  text-decoration: none;
  font-size: 1.42rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.05em;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(214, 184, 123, 0.55);
  box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.92rem;
}

.hero {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 110px 0 120px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.page-title {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  text-align: center;
  padding: 44px 0 18px;
  position: relative;
  z-index: 2;
}

.hero h1, .page-title h1 {
  font-size: clamp(3.2rem, 9vw, 7.4rem);
  margin: 0 0 20px;
  line-height: 0.92;
}

.page-title h1 { font-size: clamp(2.45rem, 6vw, 4.9rem); }

.hero-text, .page-title p {
  width: min(720px, 100%);
  margin: 0 auto 24px;
  color: rgba(255,255,255,0.84);
  font-size: 1.04rem;
  line-height: 1.68;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--warm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-eyebrow {
  font-size: clamp(1rem, 2.1vw, 1.42rem);
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}

.primary-button, .secondary-button {
  border: 0;
  border-radius: 999px;
  padding: 13px 23px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease, outline 0.2s ease;
}

.primary-button {
  background: linear-gradient(135deg, #e8cf96, #b89048);
  color: #1d1710;
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}

.secondary-button {
  background: #20242a;
  color: #fff;
  box-shadow: 0 12px 26px rgba(32,36,42,0.16);
}

.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }

.large-link { margin-top: 18px; }

.section {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 38px;
  text-align: center;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.05rem);
  margin: 0 0 18px;
}

.section p {
  line-height: 1.75;
  color: var(--muted);
  font-size: 1rem;
}

.gallery-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 74px;
}

.subtype-block {
  padding: 38px 0 46px;
  border-bottom: 1px solid var(--line);
}

.subtype-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 24px;
}

.subtype-title-col h2 {
  margin: 0;
  font-size: clamp(1.38rem, 2.12vw, 2.16rem);
  line-height: 1.02;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.subtype-definition {
  margin: 10px 0 0;
  color: var(--warm);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 900;
}

.subtype-description-col p {
  margin: 3px 0 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 0.98rem;
  max-width: 560px;
}

.subtype-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.watch-option {
  overflow: hidden;
  background: rgba(255,255,255,0.76);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 20px 45px rgba(42,32,18,0.08);
  backdrop-filter: blur(2px);
}

.image-choice-button {
  width: 100%;
  padding: 0;
  border: 0;
  display: block;
  cursor: pointer;
  background: #222;
}

.image-choice-button img {
  width: 100%;
  display: block;
  aspect-ratio: 1.34 / 1;
  object-fit: cover;
  object-position: center;
  background: #222;
}

.watch-option-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px 18px;
}

.watch-option h3 {
  margin: 8px 0 6px;
  color: var(--charcoal);
  font-size: 1.22rem;
  line-height: 1.1;
}

.watch-option p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
  font-size: 0.91rem;
}

.finish {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.finish.steel {
  background: rgba(216,221,225,0.60);
  color: #4b5358;
}

.finish.rose {
  background: rgba(201,143,118,0.20);
  color: #9b5e49;
}

.choose-card-button.active-choice,
.image-choice-button.active-choice {
  outline: 3px solid rgba(214,184,123,0.85);
  outline-offset: -3px;
}

.selection-toast {
  position: sticky;
  top: 12px;
  z-index: 20;
  width: fit-content;
  max-width: min(760px, calc(100vw - 36px));
  margin: 0 auto 18px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(32, 36, 42, 0.96);
  color: #fff;
  box-shadow: 0 18px 36px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
}

.selection-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.choose { width: 100%; padding-top: 44px; }

.form-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.88), rgba(250,244,234,0.95));
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(24px, 5vw, 54px);
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 42px;
  text-align: left;
  box-shadow: 0 28px 60px rgba(42,32,18,0.10);
  backdrop-filter: blur(4px);
}

.selected-title {
  font-size: clamp(1.75rem, 3vw, 2.45rem) !important;
}

.selected-preview {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
}

.selected-preview img {
  width: 100%;
  max-width: 360px;
  display: block;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: #222;
}

.selected-preview-info {
  text-align: center;
}

.selected-preview h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.selected-preview p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.preference-form { display: grid; gap: 18px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  font-weight: 800;
  color: var(--charcoal);
  font-size: 0.92rem;
}

input, textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 15px;
  border: 1px solid rgba(32,36,42,0.18);
  border-radius: 16px;
  background: rgba(255,255,255,0.82);
  color: var(--ink);
  font-size: 1rem;
}

input[readonly] {
  background: rgba(232,220,197,0.45);
  color: #4d4538;
}

textarea { resize: vertical; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
  font-weight: 600;
  color: #3d3d3d;
}

.consent input {
  width: auto;
  margin: 0 8px 0 0;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
  color: #6f5a2c;
  line-height: 1.5;
}

.hidden { display: none; }

.philosophy { padding-bottom: 80px; }

.footer {
  padding: 34px 18px;
  text-align: center;
  background: #171717;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .subtype-heading,
  .form-panel {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .subtype-title-col h2 {
    white-space: normal;
  }

  .subtype-description-col p {
    margin-top: 8px;
  }

  .subtype-options {
    grid-template-columns: 1fr;
  }

  body {
    background-position: right -120px top 56%;
  }
}

@media (max-width: 700px) {
  body {
    background-size: 360px auto;
    background-position: right -140px top 62%;
    background-attachment: scroll;
  }

  .nav {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  .brand {
    font-size: 1.28rem;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero { padding-top: 70px; }

  .gallery-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 22px;
  }

  .subtype-block { padding: 30px 0 38px; }

  .subtype-title-col h2 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .watch-option-content {
    grid-template-columns: 1fr;
  }

  .choose-card-button.secondary-button {
    width: 100%;
    text-align: center;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .selected-preview img {
    max-width: 100%;
  }

  .selection-toast {
    border-radius: 18px;
    font-size: 0.86rem;
  }
}


/* V8: corrected Limited Edition comment alignment */
.limited-edition-block .subtype-heading {
  grid-template-columns: minmax(520px, 0.58fr) minmax(340px, 0.42fr);
  gap: 44px;
}

.limited-edition-block .subtype-title-col h2 {
  font-size: clamp(1.42rem, 2.25vw, 2.18rem);
  white-space: nowrap;
}

.limited-edition-block .subtype-description-col p {
  margin-top: 4px;
  max-width: 500px;
}

@media (max-width: 980px) {
  .limited-edition-block .subtype-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .limited-edition-block .subtype-title-col h2 {
    white-space: normal;
  }

  .limited-edition-block .subtype-description-col p {
    margin-top: 8px;
    max-width: 100%;
  }
}


/* V9: universal alignment with the beginning of the second watch picture */
.limited-edition-block .subtype-heading {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.limited-edition-block .subtype-title-col h2 {
  font-size: clamp(1.25rem, 1.92vw, 2rem);
  white-space: nowrap;
}

.limited-edition-block .subtype-description-col p {
  margin-top: 3px;
  max-width: 560px;
}

@media (max-width: 980px) {
  .subtype-heading,
  .limited-edition-block .subtype-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .subtype-title-col h2,
  .limited-edition-block .subtype-title-col h2 {
    white-space: normal;
  }

  .subtype-description-col p,
  .limited-edition-block .subtype-description-col p {
    margin-top: 8px;
    max-width: 100%;
  }
}


/* V10: restore Limited Edition title to the same size as other subtype titles */
.limited-edition-block .subtype-title-col h2 {
  font-size: clamp(1.38rem, 2.12vw, 2.16rem);
}

/* V10: searchable country dropdown */
.country-field {
  position: relative;
}

.country-suggestions {
  display: none;
  margin-top: 8px;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid rgba(32,36,42,0.16);
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 18px 34px rgba(42,32,18,0.12);
}

.country-suggestions.visible {
  display: block;
}

.country-suggestion {
  width: 100%;
  display: block;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid rgba(32,36,42,0.08);
  background: transparent;
  color: var(--charcoal);
  text-align: left;
  cursor: pointer;
  font-weight: 700;
}

.country-suggestion:hover,
.country-suggestion:focus {
  background: rgba(214,184,123,0.16);
  outline: none;
}

/* V10: larger comments box and lower submit button */
.comment-box {
  min-height: 190px;
}

.preference-form .primary-button {
  margin-top: 18px;
  align-self: start;
}

.form-status {
  margin-top: 6px;
}

@media (max-width: 700px) {
  .comment-box {
    min-height: 170px;
  }
}
