/* styles.css
   Warm, premium, calm. Mobile-first. Typography, colour and soft gradients
   only, no illustrations. One rule per selector; watch for duplicates
   before adding a new one. */

:root {
  --color-bg: #faf6f0;
  --color-bg-alt: #f3ece1;
  --color-surface: #ffffff;
  --color-text: #2b2420;
  --color-text-soft: #5f564d;
  --color-accent: #b5793f;
  --color-accent-soft: #e7d3b7;
  --color-border: #e4dacb;
  --color-success: #3d6b4f;
  --color-error: #a4432f;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 12px 30px rgba(43, 36, 32, 0.08);
  --max-width: 1080px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

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

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Noto Sans JP", "Segoe UI", Roboto, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  display: none;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
}

@media (min-width: 640px) {
  .header-cta {
    display: inline-block;
  }
}

.lang-toggle {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.9rem;
  cursor: pointer;
}

.lang-toggle:hover {
  border-color: var(--color-accent);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

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

.btn-ghost {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-small {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-small.is-selected {
  background: var(--color-accent);
  color: #fff;
}

.btn-submit {
  width: 100%;
}

@media (min-width: 640px) {
  .btn-submit {
    width: auto;
  }
}

/* ---------- hero ---------- */

.hero {
  padding: 64px 0 56px;
  background: radial-gradient(120% 140% at 20% 0%, #fdf2e3 0%, var(--color-bg) 60%);
}

.hero-inner {
  text-align: center;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  line-height: 1.35;
  margin: 0 0 18px;
}

.hero-subtitle {
  color: var(--color-text-soft);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 28px;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

@media (min-width: 560px) {
  .hero-cta-row {
    flex-direction: row;
    justify-content: center;
  }
}

/* ---------- sections ---------- */

.section {
  padding: 56px 0;
}

.section:nth-of-type(odd) {
  background: var(--color-bg-alt);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 700;
  margin: 0 0 8px;
}

.section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 0 0 12px;
}

.section-subtitle {
  color: var(--color-text-soft);
  max-width: 640px;
  margin: 0 0 32px;
}

/* ---------- soft cards / about ---------- */

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .card-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.soft-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.soft-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.soft-card p {
  color: var(--color-text-soft);
  margin: 0;
}

/* ---------- gallery ---------- */

.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.template-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  color: #fff;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 220px;
}

.template-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.template-style {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  opacity: 0.85;
  margin: 0;
}

.template-blurb {
  opacity: 0.92;
  margin: 0 0 12px;
  flex-grow: 1;
}

.template-card .btn {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

.template-card .btn.is-selected {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}

.swatch-celestial {
  background: linear-gradient(160deg, #1c2450 0%, #3b3e86 45%, #7d5ba6 100%);
}

.swatch-minimal {
  background: linear-gradient(160deg, #3c3a36 0%, #6b665d 100%);
}

.swatch-dreamscape {
  background: linear-gradient(160deg, #e2a8d6 0%, #a7c7e7 55%, #f8dfae 100%);
}

.swatch-storybook {
  background: linear-gradient(160deg, #7a3f2d 0%, #c17a3f 55%, #e9b96a 100%);
}

.swatch-editorial {
  background: linear-gradient(160deg, #24211e 0%, #55504a 100%);
}

.swatch-newborn {
  background: linear-gradient(160deg, #f3c9c1 0%, #f6e0c8 55%, #f9efe0 100%);
  color: #3a2c26;
}

.swatch-newborn .btn {
  color: #3a2c26;
  background: rgba(58, 44, 38, 0.1);
  border-color: rgba(58, 44, 38, 0.35);
}

/* ---------- how it works ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.steps p {
  margin: 0;
  color: var(--color-text-soft);
}

/* ---------- packages ---------- */

.packages-grid {
  align-items: stretch;
}

.package-card {
  display: flex;
  flex-direction: column;
}

.package-tagline {
  color: var(--color-text-soft);
  margin: 0 0 14px;
}

.package-price {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--color-accent);
}

.package-delivery {
  color: var(--color-text-soft);
  font-size: 0.9rem;
  margin: 0 0 18px;
}

.package-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
  flex-grow: 1;
}

.package-features li {
  padding-left: 22px;
  position: relative;
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

.package-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ---------- add-ons ---------- */

.addons-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.addons-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.addon-label {
  color: var(--color-text);
}

.addon-price {
  color: var(--color-accent);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- calculator ---------- */

.calculator-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}

.calc-field {
  margin-bottom: 24px;
}

.calc-label {
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
}

.calc-tier-row {
  display: grid;
  gap: 10px;
}

@media (min-width: 640px) {
  .calc-tier-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.calc-tier-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  min-height: 48px;
  cursor: pointer;
}

.calc-tier-option:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
}

.calc-addons-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .calc-addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.calc-addon-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  min-height: 48px;
  font-size: 0.92rem;
}

.calc-addon-number {
  width: 56px;
  min-height: 36px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  padding: 4px 8px;
}

.calc-toggles {
  display: grid;
  gap: 12px;
}

.calc-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.calc-result {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.calc-result-row:last-of-type {
  border-bottom: none;
}

.calc-result-label {
  color: var(--color-text-soft);
}

.calc-result-value {
  font-weight: 700;
  color: var(--color-accent);
  text-align: right;
}

.calc-bespoke-note {
  margin: 10px 0 0;
  font-size: 0.88rem;
  color: var(--color-text-soft);
}

.calc-disclaimer {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: var(--color-text-soft);
}

/* ---------- inquiry form ---------- */

.inquiry-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  max-width: 640px;
}

.form-row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  min-height: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  font-size: 1rem;
  font-family: inherit;
  background: var(--color-bg);
  color: var(--color-text);
}

.form-row textarea {
  min-height: unset;
  resize: vertical;
}

.form-row textarea[readonly] {
  background: var(--color-bg-alt);
  color: var(--color-text-soft);
}

.form-hint {
  margin: -10px 0 18px;
  font-size: 0.82rem;
  color: var(--color-text-soft);
}

.privacy-box {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
}

.privacy-box h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
}

.privacy-box p {
  color: var(--color-text-soft);
  font-size: 0.88rem;
  margin: 0 0 8px;
}

.privacy-box p:last-child {
  margin-bottom: 0;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.9rem;
  min-height: 44px;
}

.consent-row input {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.inquiry-status {
  margin-top: 14px;
  font-weight: 600;
  min-height: 1.4em;
}

.status-success {
  color: var(--color-success);
}

.status-error {
  color: var(--color-error);
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 24px;
}

.faq-list p {
  color: var(--color-text-soft);
  margin: 12px 0 0;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 40px 0 60px;
  text-align: center;
  color: var(--color-text-soft);
  font-size: 0.85rem;
}

.site-footer .brand {
  color: var(--color-text);
  display: block;
  margin-bottom: 6px;
}

.footer-note {
  max-width: 480px;
  margin: 8px auto 0;
}

.footer-rights {
  margin-top: 12px;
}

.footer-links {
  margin-top: 12px;
}

.footer-links a,
.privacy-box a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .soft-card,
  .template-card,
  .steps li {
    transition: transform 0.2s ease;
  }

  .soft-card:hover,
  .template-card:hover,
  .steps li:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
