:root {
  color: #26324a;
  background: #f6f7fb;
  --ink: #26324a;
  --ink-soft: #6b7280;
  --accent: #ff8fb2;
  --accent-deep: #ff6fa1;
  --mint: #a4e4d7;
  --sky: #a3c8ff;
  --sun: #ffe29a;
  --paper: #ffffff;
  --card: #fff7f1;
  --border: #e6e8f0;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  background: #f6f7fb;
  color: var(--ink);
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 247, 251, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.nav-links,
.nav-lang {
  display: flex;
  gap: 12px;
}

.nav-link {
  background: transparent;
  border: none;
  padding: 6px 10px;
  font-size: 14px;
  cursor: pointer;
  color: inherit;
}

.nav-link[aria-pressed="true"],
.nav-link:hover {
  color: var(--accent-deep);
  border-bottom: 2px solid var(--accent-deep);
}

.page-main {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 80px;
  width: 100%;
}

.view {
  display: block;
}

.hero-carousel,
.feature-row,
.partners-strip,
.testimonial-block,
.page-hero,
.product-grid,
.order-modal,
.family-grid,
.family-detail,
.partner-rows,
.customers-hero,
.customer-testimonial-section,
.family-gallery,
.family-cta {
  margin-bottom: 40px;
}

.hero-carousel {
  background: radial-gradient(circle at top left, #fff5fb 0%, #f6f7fb 60%);
  padding: 24px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
}

.hero-slides {
  position: relative;
  height: clamp(320px, 55vw, 560px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-message {
  position: absolute;
  left: 24px;
  bottom: 24px;
  max-width: min(520px, 90%);
  width: min(520px, 90%);
  background: linear-gradient(140deg, rgba(12, 18, 34, 0.75), rgba(12, 18, 34, 0.45));
  color: #fff;
  padding: 24px 28px;
  border-radius: 16px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 45px rgba(7, 9, 20, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-message h1 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: 0.015em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  color: #fff;
}

.hero-message p {
  margin: 0;
  font-size: 16px;
}

.hero-arrows {
  position: absolute;
  top: 50%;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
  z-index: 2;
}

.hero-arrow {
  pointer-events: auto;
  width: 45px;
  height: 45px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.55), rgba(10, 14, 30, 0.25));
  color: #fff;
  font-size: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 38px rgba(7, 9, 20, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-arrow:hover {
  transform: translateY(-1px) scale(1.07);
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.75), rgba(10, 14, 30, 0.45));
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 18px 32px rgba(7, 9, 20, 0.35);
}

.hero-arrow:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
}

.hero-message.is-visible {
  opacity: 1;
}

.hero-message.is-fading {
  opacity: 0;
  transition: opacity 2s ease;
}

.hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  justify-content: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hero-dot[aria-pressed="true"] {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-image,
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partners-strip {
  padding: 24px;
  background: #fff5fb;
  border-radius: 20px;
}

.logo-carousel {
  height: 80px;
  background: linear-gradient(90deg, #ffe8f2, #eef4ff);
  margin: 16px 0;
  border-radius: 14px;
}

.partner-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.partner-card {
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.partner-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.partner-card .muted {
  margin: 0;
}

.partner-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  height: 140px;
}

.partner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.customers-hero {
  padding: 32px;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(145deg, #fef9ff, #ffffff);
  box-shadow: 0 20px 45px rgba(15, 18, 45, 0.08);
  margin-bottom: 32px;
}

.customers-hero .page-note {
  margin-top: 12px;
  font-size: 1rem;
}

.customer-testimonial-section {
  padding: 32px;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  box-shadow: 0 18px 32px rgba(7, 9, 20, 0.08);
  margin-bottom: 32px;
}

.customer-testimonial-section .section-heading {
  margin-bottom: 20px;
}

.customer-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.customer-card {
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 20px;
  background: linear-gradient(145deg, #fff, #f7f8ff);
  box-shadow: 0 16px 32px rgba(15, 18, 45, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.customer-card__media {
  border-radius: 16px;
  overflow: hidden;
  height: 160px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(255, 201, 211, 0.4), rgba(201, 237, 251, 0.4));
  display: flex;
}

.customer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.customer-cta {
  padding: 28px;
  border-radius: 26px;
  background: #f7f7ff;
  border: 1px solid rgba(113, 88, 255, 0.2);
  text-align: center;
}

.customer-cta .cta {
  margin-top: 16px;
}

.partner-callout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f3f5fb, #eef2ef);
}

.partner-callout__media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.15);
}

.partner-callout__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partner-callout__copy h2 {
  margin: 0 0 12px;
  font-size: 2rem;
}

.feature-copy h2 {
  color: var(--ink);
  margin-bottom: 8px;
}

.testimonial-block {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 40px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(165deg, #fff7f2 0%, #fff 60%, #f0f6ff 100%);
  box-shadow: 0 26px 60px rgba(8, 20, 50, 0.12);
  overflow: hidden;
}

.testimonial-block::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(255, 213, 170, 0.6), transparent 50%);
  opacity: 0.6;
  mix-blend-mode: screen;
}

.testimonial-summary {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}

.testimonial-label {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0;
}

.testimonial-summary h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.4rem);
  color: var(--ink);
}

.testimonial-description {
  margin: 0;
  color: rgba(15, 23, 42, 0.7);
  max-width: 520px;
  line-height: 1.5;
}

.testimonial-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(260px, 2fr);
  gap: 30px;
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 45px rgba(8, 13, 38, 0.15);
}

.testimonial-photo-frame {
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(252, 181, 147, 0.25), rgba(176, 227, 243, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  min-height: 220px;
}

.testimonial-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

.testimonial-controls {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.testimonial-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(38, 50, 74, 0.4);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.testimonial-dot.is-active {
  background: var(--accent-deep);
  transform: scale(1.2);
  border-color: transparent;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: 32px;
}

.page-note {
  margin: 0;
  color: var(--ink-soft);
  max-width: 640px;
  font-size: 1rem;
}

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

.product-card {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(30, 45, 90, 0.08);
  display: flex;
  flex-direction: column;
}

.product-image {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffe5b4, #ffd1dc);
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  line-height: 0;
}

.product-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top left;
  display: block;
}

.product-image:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 4px;
}

.product-desc {
  margin: 8px 0;
  color: var(--ink-soft);
  line-height: 1.4;
  min-height: 3.5em;
}

.families-hero {
  padding: 32px;
  border-radius: 30px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: linear-gradient(135deg, #fdfcfb, #f4f8ff);
  box-shadow: 0 22px 45px rgba(8, 12, 30, 0.1);
  margin-bottom: 40px;
}

.families-hero__grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.hero-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 16px 26px rgba(8, 15, 37, 0.08);
}

.family-gallery {
  padding: 32px;
  border-radius: 28px;
  border: 1px solid rgba(20, 20, 56, 0.12);
  background: #fff;
  box-shadow: 0 24px 55px rgba(8, 12, 35, 0.12);
  margin-bottom: 32px;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.family-gallery-card {
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  overflow: hidden;
  background: #faf9ff;
  position: relative;
  padding-bottom: 12px;
}

.family-gallery-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 216, 191, 0.4), rgba(215, 234, 247, 0.4));
}

.family-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-card-caption {
  margin: 12px 16px 0;
  color: rgba(15, 23, 42, 0.7);
  font-size: 0.95rem;
}

.family-gallery-card.is-loading::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.family-cta {
  padding: 24px;
  border-radius: 24px;
  border: 1px dashed rgba(15, 23, 42, 0.3);
  text-align: center;
}

.family-cta button.ghost {
  margin-top: 12px;
}

.product-card .price {
  font-weight: 600;
  color: var(--ink);
}

.product-card .cta {
  margin-top: auto;
}

.pic-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 30;
}

.pic-modal[hidden] {
  display: none;
}

.pic-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 18, 0.7);
  backdrop-filter: blur(8px);
}

.pic-modal__panel {
  position: relative;
  max-width: min(850px, 90vw);
  width: 100%;
  border-radius: 20px;
  background: #0f172a;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(4, 8, 18, 0.7);
  z-index: 1;
}

.pic-modal__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #f6f6fb;
}

.pic-modal__panel img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  background: #0a101f;
}

.pic-modal__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pic-modal__title {
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0;
}

.pic-modal__caption {
  margin: 0;
  color: rgba(246, 246, 251, 0.78);
}

.pic-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}

.order-modal {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(30, 45, 90, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field input {
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input::placeholder {
  color: var(--ink-soft);
}

.form-field input:focus-visible {
  outline: none;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(255, 143, 178, 0.2);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.cta,
.ghost {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(30, 45, 90, 0.12);
  color: var(--ink);
}

.cta {
  background: linear-gradient(135deg, var(--accent), var(--sky));
  color: #ffffff;
  margin: 4px 0;
}

.ghost {
  border-color: var(--accent-deep);
  color: var(--accent-deep);
  background: #fff;
}

.family-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.family-card {
  padding: 16px;
  background: linear-gradient(135deg, #ffe29a, #ffd1dc);
  border-radius: 16px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.family-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--ink);
}

.family-card .muted {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.family-detail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.family-story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
  margin-top: 12px;
}

.family-story__media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(30, 45, 90, 0.2);
}

.family-story__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.family-story__copy h2 {
  margin: 0;
  font-size: 1.9rem;
}

.family-story__copy .note {
  font-size: 0.95rem;
  opacity: 0.8;
}

.detail-block {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.hero-banner {
  height: 180px;
  background: linear-gradient(135deg, var(--sky), var(--mint));
  margin-bottom: 24px;
  border-radius: 18px;
}

.testimonial-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.2fr);
  gap: 28px;
  align-items: center;
  padding: 32px 36px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(15, 18, 45, 0.08);
  box-shadow: 0 24px 55px rgba(7, 11, 35, 0.12);
  overflow: hidden;
}

.testimonial-row::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  background: radial-gradient(circle at top right, rgba(255, 233, 216, 0.7), transparent 55%);
  pointer-events: none;
  opacity: 0.8;
  mix-blend-mode: screen;
}

.testimonial-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 40px rgba(7, 9, 30, 0.25);
}

.testimonial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.testimonial-controls {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(15, 18, 45, 0.35);
  background: transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.testimonial-dot.is-active {
  background: var(--accent-deep);
  transform: scale(1.3);
  border-color: transparent;
}

.partner-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.partner-row.reverse {
  grid-template-columns: 1fr 120px;
}

.partner-logo {
  height: 60px;
  background: linear-gradient(135deg, #ffe8f2, #eef4ff);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.customer-animation {
  padding: 16px;
  background: #fff5fb;
  border-radius: 16px;
}

.site-footer {
  background: #2a2a42;
  color: #f6f7fb;
  padding: 24px 20px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.muted {
  color: var(--ink-soft);
}

.quote {
  font-size: 20px;
  font-style: italic;
}

@media (max-width: 900px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-carousel {
    padding: 16px;
    border-radius: 16px;
  }

  .hero-message {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .hero-carousel,
  .feature-row,
  .testimonial-row,
  .family-detail,
  .product-grid {
    grid-template-columns: 1fr;
  }

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

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}
