/* EsthetiCam app page — all selectors prefixed with .ecam- so they never collide with site styles. */
.ecam {
  --ecam-ink: #1c1a17;
  --ecam-muted: #5f5a52;
  --ecam-bg: #faf8f4;
  --ecam-card: #ffffff;
  --ecam-line: #e7e1d6;
  --ecam-gold: #a8864a;
  --ecam-gold-dark: #8a6d3b;
  color: var(--ecam-ink);
  background: var(--ecam-bg);
  font-family: inherit;
  line-height: 1.6;
}
.ecam *, .ecam *::before, .ecam *::after { box-sizing: border-box; }
.ecam-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Hero */
.ecam-hero { padding: 56px 0 40px; }
.ecam-hero .ecam-wrap { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
.ecam-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ecam-icon { width: 72px; height: 72px; border-radius: 16px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.ecam-eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ecam-gold-dark); margin: 0; }
.ecam h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 4px 0 0; font-weight: 600; }
.ecam-lead { font-size: 18px; color: var(--ecam-muted); margin: 0 0 28px; max-width: 34em; }
.ecam-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.ecam-badge { display: inline-block; line-height: 0; border-radius: 9px; transition: transform .15s ease, box-shadow .15s ease; }
.ecam-badge img { height: 54px; width: auto; display: block; }
.ecam-badge:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.ecam-badge:focus-visible { outline: 3px solid var(--ecam-gold); outline-offset: 3px; }
.ecam-meta { font-size: 14px; color: var(--ecam-muted); margin: 0; }

/* Screenshots */
.ecam-shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; -webkit-overflow-scrolling: touch; }
.ecam-shots figure { margin: 0; flex: 0 0 auto; scroll-snap-align: start; }
.ecam-shots img { width: 180px; height: auto; aspect-ratio: 600 / 1300; border-radius: 22px; border: 1px solid var(--ecam-line); background: #fff; display: block; }

/* Sections */
.ecam-section { padding: 40px 0; border-top: 1px solid var(--ecam-line); }
.ecam h2 { font-size: clamp(22px, 3.2vw, 30px); margin: 0 0 20px; font-weight: 600; }
.ecam-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.ecam-card { background: var(--ecam-card); border: 1px solid var(--ecam-line); border-radius: 14px; padding: 22px; }
.ecam-card h3 { font-size: 17px; margin: 0 0 6px; }
.ecam-card p { margin: 0; color: var(--ecam-muted); }
.ecam-step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ecam-gold); color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.ecam-areas { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ecam-areas li { border: 1px solid var(--ecam-line); background: var(--ecam-card); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.ecam-list { margin: 0; padding: 0; padding-inline-start: 20px; }
.ecam-list li { margin-bottom: 8px; }
.ecam-note { font-size: 14px; color: var(--ecam-muted); background: var(--ecam-card); border-inline-start: 3px solid var(--ecam-gold); padding: 14px 18px; border-start-end-radius: 10px; border-end-end-radius: 10px; margin: 0; }
.ecam a:not(.ecam-badge) { color: var(--ecam-gold-dark); }
.ecam-final { text-align: center; padding: 48px 0 64px; }
.ecam-final .ecam-cta { justify-content: center; margin-top: 8px; }

@media (min-width: 720px) {
  .ecam-grid { grid-template-columns: repeat(2, 1fr); }
  .ecam-grid.ecam-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) {
  .ecam-hero { padding: 80px 0 56px; }
  .ecam-hero .ecam-wrap { grid-template-columns: 1fr 1.05fr; }
  .ecam-shots { overflow: visible; justify-content: flex-end; }
  .ecam-shots img { width: 150px; }
  .ecam-shots figure:nth-child(even) { margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) { .ecam-badge { transition: none; } }
