/* Culorile campaniei și dimensiunile de bază se pot edita aici. */
:root {
  color-scheme: dark;
  --charcoal: #232428;
  --ink: #101012;
  --paper: #f4f2ef;
  --white: #fff;
  --red: #dd1d14;
  --red-hover: #c81911;
  --red-light: #ff6258;
  --red-dark: #ad2018;
  --muted-light: #c1bec1;
  --muted-dark: #56565c;
  --border-light: #d5d2cf;
  --border-dark: #39373b;
  --page-width: 1264px;
  --side-space: clamp(22px, 5.2vw, 76px);
  --section-space: clamp(70px, 8vw, 120px);
  --label-font: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

main:focus { outline: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
em { color: var(--red-light); font-style: normal; }

:focus-visible {
  outline: 2px solid var(--red-light);
  outline-offset: 5px;
}

.shell {
  width: min(calc(100% - 2 * var(--side-space)), var(--page-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 2;
  inset: 10px auto auto 10px;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid #ffffff20;
  background: #141315;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  gap: 28px;
}

.brand { display: inline-block; width: fit-content; }
.brand img { height: auto; }

.navigation { display: flex; gap: clamp(26px, 4vw, 58px); }

.navigation a,
.back-top {
  color: #d8d5d6;
  font-size: 14px;
  text-decoration: none;
  transition: color 180ms ease;
}

.navigation a:hover, .back-top:hover { color: var(--white); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 19px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.icon { font-size: 18px; line-height: 1; font-weight: 400; }
svg.icon { width: 18px; height: 18px; flex-shrink: 0; }

.button--header {
  min-height: 40px;
  justify-self: end;
  padding: 8px 14px;
  border-color: #ffffff43;
}

.button--header:hover { background: #ffffff14; border-color: #ffffff82; }

.button--primary { background: var(--red); color: var(--white); }
.button--primary:hover { background: var(--red-hover); }

.button--glass {
  border-color: #ffffff57;
  background: #14131560;
  color: var(--white);
}

.button--glass:hover { border-color: #ffffffad; background: #141315b0; }

.eyebrow {
  font-family: var(--label-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #171619;
}

.hero-media, .hero-media::after, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media { z-index: -1; }

.hero-media img {
  object-fit: cover;
  object-position: center 47%;
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, #101012f5 0%, #101012da 24%, #10101294 44%, #10101222 73%, #10101219 100%),
    linear-gradient(0deg, #101012bd 0%, #10101200 32%, #10101200 82%, #1010122a 100%);
}

.hero-inner {
  position: relative;
  display: flex;
  min-height: clamp(620px, 48vw, 760px);
  align-items: center;
  padding-block: 78px 92px;
}

.hero-copy { max-width: 710px; }

.eyebrow--hero {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #f1e9e6;
}

.eyebrow--hero > span,
.frame-note > span,
.process-figure figcaption > span {
  width: 19px;
  height: 2px;
  background: var(--red-light);
}

h1, h2 {
  font-weight: 800;
  letter-spacing: -.065em;
}

h1 {
  margin-top: 25px;
  font-size: clamp(60px, 6.15vw, 104px);
  line-height: .98;
}

.hero-description {
  max-width: 410px;
  margin-top: 26px;
  color: #e4dddd;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.57;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.hero-price {
  margin-top: 18px;
  color: #c9c2c2;
  font-size: 14px;
}

.hero-price strong { color: var(--white); }

.frame-note {
  position: absolute;
  right: 0;
  bottom: 27px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #f0e7e2;
  font-family: var(--label-font);
  font-size: 11px;
  letter-spacing: .02em;
}

.frame-note > span, .process-figure figcaption > span { width: 11px; }

.section { padding-block: var(--section-space); }

.section--light {
  color-scheme: light;
  background: var(--paper);
  color: var(--charcoal);
}

.section--light :focus-visible { outline-color: var(--red-dark); }

.section-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 45px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-index {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--red-light);
}

.section--light .section-index { color: var(--red-dark); }

.section-index > span {
  padding-right: 10px;
  border-right: 1px solid currentColor;
}

h2 {
  margin-top: 16px;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: .99;
}

.section-intro > p, .process-intro > p:not(.eyebrow), .contact-description {
  max-width: 340px;
  color: var(--muted-light);
  font-size: 17px;
  line-height: 1.55;
}

.section--light .section-intro > p,
.section--light .process-intro > p:not(.eyebrow) { color: var(--muted-dark); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(27px, 3.3vw, 46px) clamp(14px, 2vw, 26px);
}

.portfolio-link { display: block; border-radius: 4px; text-decoration: none; }

.portfolio-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #ffffffa6;
  border-radius: 50%;
  background: #101012b3;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.portfolio-play::before {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-block: 6px solid transparent;
  border-left: 9px solid var(--white);
  content: "";
}

.portfolio-link:hover .portfolio-play,
.portfolio-link:focus-visible .portfolio-play { border-color: var(--red); background: var(--red); }

.portfolio-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.59;
  border-radius: 4px;
  background: #dbd4ce;
}

.portfolio-media::before,
.portfolio-media::after {
  position: absolute;
  z-index: 1;
  width: 13px;
  height: 13px;
  border: solid #ffffffb2;
  content: "";
  pointer-events: none;
}

.portfolio-media::before { inset: 10px auto auto 10px; border-width: 1px 0 0 1px; }
.portfolio-media::after { inset: auto 10px 10px auto; border-width: 0 1px 1px 0; }

.portfolio-media img, .process-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-item figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 43px;
  border-bottom: 1px solid var(--border-light);
  font-size: clamp(12px, 1.15vw, 15px);
  font-weight: 800;
  letter-spacing: .035em;
}

.frame-index {
  color: var(--muted-dark);
  font-family: var(--label-font);
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
}

.packages { background: #151416; }

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

.package {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(20px, 2.35vw, 34px);
  border: 1px solid var(--border-dark);
  border-radius: 9px;
  background: #1e1d20;
}

.package--custom {
  border-color: #a93630;
  background: linear-gradient(148deg, #36201f 0%, #241a1d 47%, #21191c 100%);
}

.package-head {
  min-height: 183px;
  padding-bottom: 22px;
  border-bottom: 1px solid #ffffff21;
}

.package-head h3 { color: #ddd9da; }
.package--custom .package-head h3 { color: var(--red-light); }

.package-price {
  margin-top: 13px;
  font-size: clamp(27px, 3.1vw, 48px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.12;
  white-space: nowrap;
}

.package-price > span { font-size: .72em; }

.package-price > .price-prefix {
  color: #e6cbca;
  font-size: .42em;
  font-weight: 500;
  letter-spacing: 0;
}

.package-description {
  margin-top: 13px;
  color: var(--muted-light);
  font-size: 15px;
  line-height: 1.5;
}

.package-features {
  display: grid;
  gap: 10px;
  margin: 21px 0 25px;
  padding: 0;
  list-style: none;
}

.package-features li {
  position: relative;
  padding-left: 17px;
  color: #f0eded;
  font-size: 14px;
  line-height: 1.42;
}

.package-features li::before {
  position: absolute;
  top: .55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red-light);
  content: "";
}

.package-end {
  display: grid;
  gap: 16px;
  margin-top: auto;
}

.package-camera {
  color: var(--muted-light);
  font-size: 12px;
  line-height: 1.45;
}

.package-camera strong { margin-left: .3em; color: var(--white); }

.package .button { justify-content: space-between; }
.button--outline { border-color: #ffffff49; }
.button--outline:hover { border-color: #ffffff99; background: #ffffff12; }

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 6.7vw, 100px);
}

.process-intro > p:not(.eyebrow) { margin-top: 20px; }

.process-figure { margin-top: 28px; }

.process-figure img {
  max-height: 325px;
  aspect-ratio: 1.62;
  border-radius: 4px;
}

.process-figure figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted-dark);
  font-family: var(--label-font);
  font-size: 11px;
}

.process-figure figcaption > span { background: var(--red-dark); }

.timeline { margin: 0; padding: 0; list-style: none; }

.timeline li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) minmax(90px, 132px);
  gap: 15px;
  padding: 23px 0;
  border-top: 1px solid var(--border-light);
}

.timeline li:last-child { border-bottom: 1px solid var(--border-light); }

.timeline-number, .timeline-duration {
  color: var(--red-dark);
  font-family: var(--label-font);
  font-size: 12px;
  line-height: 1.5;
}

.timeline-number { margin-top: 3px; }
.timeline-duration { margin-top: 3px; text-align: right; font-weight: 700; }

.timeline h3 {
  margin-bottom: 6px;
  font-size: 20px;
  letter-spacing: -.035em;
}

.timeline p { color: var(--muted-dark); font-size: 14px; line-height: 1.48; }

.contact {
  background-color: var(--ink);
  background-image:
    linear-gradient(90deg, #101012 0%, #101012ec 30%, #101012ac 54%, #10101245 100%),
    linear-gradient(0deg, #101012c9 0%, #10101229 85%),
    url("assets/decor-craciun.webp");
  background-repeat: no-repeat;
  background-position: center, center, center 44%;
  background-size: cover;
}

.contact h2 { max-width: 830px; }
.contact-description { max-width: 560px; margin-top: 22px; }

.contact-grid {
  display: grid;
  max-width: 645px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.contact-person {
  padding: 21px;
  border: 1px solid #ffffff38;
  border-radius: 7px;
  background: #101012c2;
}

.contact-person h3 { font-size: 19px; letter-spacing: -.025em; }
.contact-person p { margin: 6px 0 17px; color: var(--muted-light); font-size: 13px; }

.contact-person a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 7px;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-underline-offset: 4px;
  text-decoration-color: #ffffff70;
}

.contact-person a:hover { text-decoration-color: currentColor; }
.contact-person a[href^="tel:"] { color: #ff8c85; }

.site-footer { border-top: 1px solid #ffffff25; background: #141315; }

.footer-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.back-top { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 1000px) {
  .section-intro > p { max-width: 290px; }
  .timeline li { grid-template-columns: 24px minmax(0, 1fr) minmax(74px, 100px); gap: 10px; }
}

@media (max-width: 850px) {
  .hero-media img { object-position: 55% 50%; }
  .package-grid { grid-template-columns: 1fr; gap: 14px; }
  .package { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 25px; }
  .package-head { min-height: 0; padding: 0; border-bottom: 0; }
  .package-features { margin: 2px 0 0; }
  .package-end { grid-column: 1 / -1; border-top: 1px solid #ffffff21; padding-top: 16px; }
  .package .button { max-width: 290px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-figure img { max-height: 340px; object-position: center 46%; }
  .timeline li { grid-template-columns: 30px minmax(0, 1fr) minmax(88px, 132px); gap: 14px; }
}

@media (max-width: 680px) {
  :root { --section-space: 62px; }
  .header-inner { min-height: 66px; grid-template-columns: 1fr auto; }
  .header-inner .brand img { width: 97px; }
  .navigation { display: none; }
  .hero-inner {
    min-height: 570px;
    min-height: clamp(570px, calc(100svh - 66px), 670px);
    align-items: flex-end;
    padding-top: 158px;
    padding-bottom: 58px;
  }
  .hero-media img { height: 78%; object-position: center 43%; }
  .hero-media::after {
    background:
      linear-gradient(0deg, #101012 0%, #101012 21%, #101012e8 33%, #1010129c 56%, #10101225 83%, #10101212 100%),
      linear-gradient(90deg, #10101241, #10101200 75%);
  }
  h1 { max-width: 490px; margin-top: 16px; font-size: clamp(43px, 9.2vw, 64px); }
  .desktop-break { display: none; }
  .hero-description { margin-top: 18px; }
  .hero-actions { gap: 8px; margin-top: 21px; }
  .hero-actions .button { gap: 10px; padding-inline: 13px; }
  .frame-note { right: auto; left: 0; bottom: 22px; color: #bfb8b8; }
  .section-intro { display: block; }
  .section-intro > p { max-width: 365px; margin-top: 15px; font-size: 16px; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 21px; }
  .portfolio-media::before { inset: 7px auto auto 7px; }
  .portfolio-media::after { inset: auto 7px 7px auto; }
  .package-price { font-size: clamp(31px, 6.8vw, 43px); }
  .contact {
    background-image:
      linear-gradient(90deg, #101012ec 0%, #1010129c 100%),
      linear-gradient(0deg, #101012 0%, #10101210 95%),
      url("assets/decor-craciun.webp");
    background-position: center, center, 56% 40%;
    background-size: cover;
  }
}

@media (max-width: 480px) {
  .package { display: flex; gap: 0; padding: 23px; }
  .package-head { padding-bottom: 19px; border-bottom: 1px solid #ffffff21; }
  .package-features { margin: 19px 0 22px; }
  .package-end { border-top: 0; padding-top: 0; }
  .package .button { max-width: none; }
  .frame-index { display: none; }
  .timeline li { grid-template-columns: 23px minmax(0, 1fr); column-gap: 10px; row-gap: 7px; padding-block: 18px; }
  .timeline-duration { grid-column: 2; margin-top: 0; text-align: left; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  :root { --side-space: 17px; }
  .hero-actions .button { gap: 8px; padding-inline: 12px; }
  .portfolio-item figcaption { letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
