
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --bg: #351a2b;
  --bg-dark: #271421;
  --surface: #44263b;
  --surface-light: #543249;
  --pink: #f3aacb;
  --cream: #fff0e7;
  --muted: #d5b9cb;
  --border: rgba(255, 224, 238, .17);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: 'DM Sans', Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.navbar {
  position: sticky;
  top: 12px;
  z-index: 50;
  width: min(1250px, calc(100% - 28px));
  margin: 12px auto 0;
  min-height: 66px;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(64, 31, 51, .9);
  backdrop-filter: blur(20px);
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  white-space: nowrap;
}

.logo span {
  color: var(--pink);
}

.navbar nav {
  display: flex;
  gap: 25px;
  font-size: 13px;
}

.navbar nav a,
.back {
  transition: color .25s;
}

.navbar nav a:hover,
.back:hover {
  color: var(--pink);
}

.back {
  font-size: 13px;
  white-space: nowrap;
}

.eyebrow,
.small-label {
  display: block;
  color: var(--pink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero {
  padding-top: 105px;
  text-align: center;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2 {
  font-family: 'Playfair Display', Georgia, serif;
}

.hero h1 {
  margin: 22px 0;
  font-size: clamp(45px, 7vw, 90px);
  line-height: 1.12;
  letter-spacing: -2px;
}

.hero h1 em,
.closing h2 em {
  color: var(--pink);
  font-weight: 500;
}

.hero-description {
  max-width: 690px;
  margin: 0 auto 65px;
  color: var(--muted);
  line-height: 1.9;
  font-size: 15px;
}

.hero-phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  align-items: stretch;
}

.hero-side {
  min-width: 0;
  padding: 34px 24px 38px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: linear-gradient(145deg, #603d55, #3b2235);
}

.hero-side:nth-child(2) {
  background: linear-gradient(145deg, #39445c, #322337);
}

.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 475px;
  padding-bottom: 22px;
}

.phone {
  position: relative;
  width: min(250px, 100%);
  padding: 8px;
  border: 3px solid #a5a4ae;
  border-radius: 37px;
  background: #161821;
  box-shadow:
    0 24px 50px rgba(0,0,0,.3),
    inset 0 0 0 2px #393b47;
  transform: rotate(-3deg);
  transition: transform .45s ease;
}

.hero-side:nth-child(2) .phone {
  transform: rotate(3deg);
}

.hero-side:hover .phone {
  transform: rotate(0) translateY(-8px);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 27px;
}

.dynamic-island {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 17px;
  background: #111;
  border-radius: 30px;
  z-index: 2;
}

.hero-side h2 {
  margin: 13px 0;
  font-size: 35px;
}

.hero-side p {
  max-width: 340px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.text-link {
  display: inline-block;
  color: var(--pink);
  font-size: 13px;
  font-weight: 700;
}

.overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding-top: 125px;
  padding-bottom: 110px;
}

.overview h2 {
  font-size: clamp(34px, 4vw, 56px);
  margin-top: 17px;
}

.overview p {
  color: var(--muted);
  line-height: 2;
  font-size: 15px;
}

.section {
  padding-top: 100px;
  padding-bottom: 110px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: clamp(38px, 5vw, 65px);
  margin: 17px 0;
}

.section-header p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 15px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.screen-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: var(--surface);
  transition: transform .3s, border-color .3s;
}

.screen-card:hover {
  transform: translateY(-7px);
  border-color: rgba(243,170,203,.55);
}

.screen-image {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 15px;
  background: radial-gradient(
    ellipse at center,
    #9e6193 0%,
    #6b3c66 52%,
    #4d2b4c 100%
  );
}

.screen-image img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.17));
}

.screen-info {
  min-height: 195px;
  padding: 26px 24px 30px;
}

.screen-info span {
  display: block;
  margin-bottom: 13px;
  color: var(--pink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
}

.screen-info h3 {
  margin-bottom: 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
}

.screen-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.parent-section {
  background: var(--bg-dark);
}

.parent-section .screen-image {
  background: radial-gradient(
    ellipse at center,
    #6c6787 0%,
    #47405f 55%,
    #302b47 100%
  );
}

.concept-note {
  margin-top: 35px;
  padding: 35px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: rgba(255,255,255,.035);
}

.concept-note h3 {
  margin: 12px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 29px;
}

.concept-note p {
  max-width: 850px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 14px;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.decision-card {
  padding: 35px 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.decision-icon {
  display: block;
  margin-bottom: 25px;
  color: var(--pink);
  font-size: 32px;
}

.decision-card h3 {
  font-size: 20px;
  margin-bottom: 13px;
}

.decision-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 13px;
}

.closing {
  padding-top: 90px;
  padding-bottom: 120px;
  text-align: center;
}

.closing h2 {
  margin: 20px 0;
  font-size: clamp(38px, 6vw, 70px);
}

.closing p {
  max-width: 650px;
  margin: 0 auto 30px;
  color: var(--muted);
  line-height: 1.9;
}

.closing-link {
  display: inline-block;
  padding: 15px 27px;
  border: 1px solid var(--border);
  border-radius: 40px;
  background: var(--surface-light);
  font-size: 13px;
  transition: background .25s;
}

.closing-link:hover {
  background: #70435d;
}

footer {
  padding: 30px 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

footer p {
  margin: 0;
}

/* Tablet */
@media (max-width: 950px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .decision-grid {
    grid-template-columns: 1fr;
  }

  .navbar nav {
    gap: 13px;
  }
}

/* Mobile */
@media (max-width: 650px) {
  .container {
    width: min(100% - 32px, 440px);
  }

  .navbar {
    padding: 13px 17px;
    flex-wrap: wrap;
  }

  .navbar nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    gap: 18px;
    padding-top: 10px;
    font-size: 11px;
  }

  .logo {
    font-size: 20px;
  }

  .hero {
    padding-top: 65px;
  }

  .hero h1 {
    letter-spacing: -1px;
  }

  .hero-description {
    margin-bottom: 40px;
  }

  .hero-phones {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-side {
    padding: 25px 16px 30px;
  }

  .phone-wrap {
    min-height: auto;
    padding: 10px 0 30px;
  }

  .phone {
    width: min(235px, 85%);
  }

  .overview {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-top: 80px;
    padding-bottom: 55px;
  }

  .section {
    padding-top: 65px;
    padding-bottom: 75px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .screen-image {
    height: 440px;
  }

  .screen-info {
    min-height: auto;
  }

  .concept-note {
    padding: 25px;
  }

  .closing {
    padding: 70px 0 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .phone,
  .screen-card,
  .closing-link {
    transition: none;
  }
}