/* ===== MIRO — PR & Marketing Agency ===== */
:root {
  --bg:        #ffffff;
  --bg-2:      #f7f5f2;
  --ink:       #111111;
  --ink-soft:  #3a3a3a;
  --muted:     #8a8580;
  --line:      #e7e3dd;
  --accent:    #d8483b;   /* editorial red */
  --black:     #111111;
  --max:       1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.08; letter-spacing: .005em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.eyebrow {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow--center { text-align: center; }
.section__title { font-size: clamp(2rem, 4.5vw, 3.2rem); text-align: center; max-width: 18ch; margin: 0 auto; }
.section__intro { text-align: center; color: var(--ink-soft); max-width: 600px; margin: 1.1rem auto 0; }

section { padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 5vw, 3rem); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--black); color: #fff;
  font-family: 'Jost', sans-serif; font-weight: 500;
  letter-spacing: .04em; font-size: .9rem;
  padding: .85rem 1.8rem; border-radius: 0; border: 1px solid var(--black);
  cursor: pointer; transition: background .18s, color .18s;
}
.btn:hover { background: transparent; color: var(--black); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--black); color: #fff; }
.btn--small { padding: .6rem 1.2rem; font-size: .8rem; }
.btn--light { background: #fff; color: var(--black); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; }
.btn--full { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem clamp(1.2rem, 5vw, 3rem);
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__brand img { height: 80px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 1.5rem; font-size: .85rem; letter-spacing: .04em; }
.nav__links a:not(.btn) { color: var(--ink-soft); text-transform: uppercase; font-size: .78rem; letter-spacing: .12em; }
.nav__links a:not(.btn):hover { color: var(--ink); }
.sound-toggle { background: transparent; border: 1px solid var(--line); border-radius: 999px; width: 38px; height: 38px; display: inline-grid; place-items: center; cursor: pointer; color: var(--ink); padding: 0; transition: background .2s ease, border-color .2s ease; }
.sound-toggle:hover { background: var(--bg-2); border-color: var(--ink); }
.sound-toggle svg { width: 18px; height: 18px; }
.sound-toggle .ic-on { display: none; }
.sound-toggle.is-playing .ic-on { display: block; }
.sound-toggle.is-playing .ic-off { display: none; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; padding: 9px; flex-direction: column; justify-content: center; gap: 5px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .2s ease; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.lang { display: inline-flex; gap: .4rem; align-items: center; }
.lang__opt { display: inline-flex; opacity: .4; transition: opacity .15s; outline: 2px solid transparent; border-radius: 2px; }
.lang__opt img { width: 22px; height: auto; }
.lang__opt:hover { opacity: .8; }
.lang__opt.is-active { opacity: 1; outline-color: var(--accent); }

/* ===== Kinetic intro ===== */
.intro-lock { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  will-change: transform;
}
.intro.is-done { transform: translateY(-100%); transition: transform .85s cubic-bezier(.76,0,.24,1); }
.intro__logo {
  width: clamp(150px, 26vw, 270px); height: auto;
  opacity: 0; transform: translateY(14px);
  animation: introLogo .7s ease forwards .15s;
}
@keyframes introLogo { to { opacity: 1; transform: none; } }
.intro__line {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 600; line-height: 1.12; color: var(--ink);
  overflow: hidden; padding: 0 1.2rem .12em; text-align: center; max-width: 16ch;
}
.intro__line span { display: inline-block; transform: translateY(115%); opacity: 0; animation: introUp .75s cubic-bezier(.2,.75,.2,1) forwards; }
.intro__line span:nth-child(1) { animation-delay: .65s; }
.intro__line span:nth-child(2) { animation-delay: .80s; }
.intro__line span:nth-child(3) { animation-delay: .95s; }
.intro__line span:nth-child(4) { animation-delay: 1.12s; }
.intro__accent { font-style: italic; color: var(--accent); }
@keyframes introUp { to { transform: translateY(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

/* ===== Hero ===== */
.hero { background: var(--bg-2); }
.hero__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero__sub { max-width: 540px; margin: 1.5rem 0 0; color: var(--ink-soft); font-size: 1.08rem; }
.hero__cta { margin-top: 2.2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__media { display: flex; justify-content: center; }
.hero__reel { width: 100%; max-width: 360px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 26px; box-shadow: 0 30px 60px rgba(0,0,0,.18); background: #000; }

/* ===== About (Despre noi) ===== */
.about__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__text h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.about__text p { color: var(--ink-soft); margin-top: 1.1rem; }
.about__text .btn { margin-top: 1.7rem; }
.about__media { max-width: 400px; margin-left: auto; }
.about__media img { width: 100%; height: auto; display: block; border-radius: 20px; }

/* ===== Value / intro ===== */
.value { text-align: center; }
.value h2 { font-size: clamp(1.9rem,4vw,2.8rem); max-width: 20ch; margin: 0 auto; }
.value p { max-width: 640px; margin: 1.2rem auto 0; color: var(--ink-soft); }

/* ===== Client logos marquee ===== */
.clients { padding-top: clamp(3rem,6vw,4.5rem); padding-bottom: clamp(1.4rem,3vw,2rem); }
.services { padding-top: clamp(2rem,4vw,3.2rem); }
.marquee { overflow: hidden; margin-top: 2.2rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(2.5rem, 6vw, 5.5rem); width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 60px; width: auto; opacity: .42; filter: grayscale(1); transition: opacity .25s ease; }
.marquee__track img:hover { opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ===== Stats strip ===== */
.stats { background: var(--ink); color: #fff; }
.stats__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat__num { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.4rem,5vw,3.4rem); font-weight: 600; display: block; }
.stat__label { color: #b9b3ac; font-size: .82rem; letter-spacing: .05em; margin-top: .3rem; display: block; }

/* ===== Services ===== */
.services__grid { max-width: var(--max); margin: 3rem auto 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.service { border: 1px solid var(--line); padding: 2.2rem 1.8rem; transition: background .2s, color .2s; }
.service:hover { background: var(--ink); color: #fff; }
.service__no { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--accent); }
.service h3 { font-size: 1.7rem; margin: .6rem 0 .7rem; }
.service p { color: var(--ink-soft); font-size: .95rem; }
.service:hover p { color: #d7d2cc; }

/* ===== Services detailed (alternating rows) ===== */
.svc-rows { max-width: var(--max); margin: 3.5rem auto 0; display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.svc-row:nth-child(even) .svc-row__media { order: 2; }
.svc-row__media img { width: 100%; height: auto; display: block; border-radius: 20px; }
.svc-row__num { font-family: 'Cormorant Garamond', serif; color: var(--accent); font-size: 2.4rem; font-weight: 600; line-height: 1; display: block; margin-bottom: .2rem; }
.svc-row h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .3rem 0 .9rem; }
.svc-row p { color: var(--ink-soft); }
@media (max-width: 768px) {
  .svc-row { grid-template-columns: 1fr; gap: 1.4rem; }
  .svc-row:nth-child(even) .svc-row__media { order: 0; }
}

/* ===== Why ===== */
.why { background: var(--bg-2); }
.why__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.why h2 { font-size: clamp(2rem,4vw,3rem); }
.why p { color: var(--ink-soft); margin-top: 1.1rem; }
.why__media { display: grid; grid-template-columns: 1fr; gap: .7rem; }
.why__media img { width: 100%; height: auto; display: block; border-radius: 14px; cursor: pointer; transition: transform .35s ease, filter .35s ease; }
.why__media img:hover { transform: scale(1.02); filter: brightness(1.04); }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10,10,12,.93); display: none; align-items: center; justify-content: center; padding: 4vmin; }
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 92vw; max-height: 92vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.lightbox__close { position: fixed; top: 18px; right: 22px; width: 46px; height: 46px; border: 0; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; transition: background .2s ease; display: grid; place-items: center; padding: 0; }
.lightbox__close:hover { background: rgba(255,255,255,.28); }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 0; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s ease; display: grid; place-items: center; }
.lightbox__nav:hover { background: rgba(255,255,255,.3); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
@media (max-width: 560px) { .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; } .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; } }
body.no-scroll { overflow: hidden; }

/* ===== WhatsApp floating button ===== */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 58px; height: 58px; border-radius: 999px; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.22); transition: transform .2s ease, box-shadow .2s ease; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 32px rgba(37,211,102,.45); }
.wa-float svg { width: 32px; height: 32px; }
@media (max-width: 560px) { .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; } }

/* ===== Work / portfolio masonry ===== */
.work__grid { max-width: var(--max); margin: 3rem auto 0; columns: 4; column-gap: .7rem; }
.work__grid img { width: 100%; margin-bottom: .7rem; break-inside: avoid; }
.work__more { text-align: center; margin-top: 2.5rem; }

/* ===== Process ===== */
.process__grid { max-width: var(--max); margin: 3rem auto 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.6rem; }
.step__no { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; color: var(--accent); line-height: 1; }
.step h3 { font-size: 1.4rem; margin: .5rem 0 .5rem; }
.step p { color: var(--ink-soft); font-size: .92rem; }

/* ===== CTA band ===== */
.cta { background: var(--ink); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(2.2rem,5vw,3.6rem); max-width: 16ch; margin: 0 auto; }
.cta p { color: #c7c1ba; max-width: 540px; margin: 1.1rem auto 0; }
.cta .btn { margin-top: 2rem; }

/* ===== Contact ===== */
.contact__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.contact__left .section__title, .contact__left .section__intro { text-align: left; margin-left: 0; max-width: none; }
.contact__details { list-style: none; margin-top: 2rem; }
.contact__details li { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.contact__details span { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; color: var(--muted); margin-bottom: .25rem; }
.contact__details a:hover { color: var(--accent); }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.form input, .form textarea { background: var(--bg-2); border: 1px solid var(--line); border-radius: 0; padding: .8rem .9rem; font: inherit; font-size: .95rem; color: var(--ink); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #cfc9c2; text-align: center; padding: 3.5rem 1.5rem; }
.footer__brand { height: 40px; margin: 0 auto 1.3rem; width: auto; filter: invert(1); }
.footer p { font-size: .85rem; }
.footer__links { display: flex; gap: 1.4rem; justify-content: center; margin-top: 1.1rem; flex-wrap: wrap; font-size: .82rem; }
.footer__links a:hover { color: #fff; }
.footer__social { display: flex; gap: 1.5rem; justify-content: center; margin-top: 1.5rem; }
.footer__social a { display: inline-grid; place-items: center; opacity: .7; transition: opacity .2s ease, transform .2s ease; }
.footer__social a:hover { opacity: 1; transform: translateY(-2px); }
.footer__social img { width: 22px; height: 22px; }

/* ===== Polish: motion & micro-interactions ===== */
/* gallery hover */
.work__grid img { border-radius: 14px; transition: transform .4s ease, filter .4s ease; cursor: pointer; }
.work__grid img:hover { transform: scale(1.03); filter: brightness(1.04); }
/* service media zoom on row hover */
.svc-row__media { overflow: hidden; border-radius: 20px; }
.svc-row__media img { transition: transform .5s ease; }
.svc-row:hover .svc-row__media img { transform: scale(1.05); }
/* hero reel subtle hover */
.hero__reel { transition: transform .4s ease, box-shadow .4s ease; }
.hero__reel:hover { transform: translateY(-4px); box-shadow: 0 38px 70px rgba(0,0,0,.22); }
/* focus-visible for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* scroll reveal (JS adds .reveal, then .is-visible) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-visible { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__reel:hover, .work__grid img:hover, .svc-row:hover .svc-row__media img { transform: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .process__grid, .stats__grid { grid-template-columns: 1fr 1fr; }
  .why__inner, .contact__inner, .about__inner { grid-template-columns: 1fr; }
  .about__media { max-width: 360px; margin: 1.6rem auto 0; }
  .work__grid { columns: 3; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero .eyebrow { text-align: center; }
  .hero__media { margin-top: 2rem; }
}
@media (max-width: 760px) {
  .nav { position: relative; justify-content: center; padding: .55rem 1rem; }
  .nav__burger { display: flex; position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); }
  .nav__brand img { height: 46px; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .3rem 1.3rem 1.2rem; box-shadow: 0 18px 30px rgba(0,0,0,.08);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
  .nav__links .btn { margin-top: 1rem; text-align: center; }
  .nav__links .sound-toggle { margin-top: 1rem; align-self: flex-start; }
}
@media (max-width: 560px) {
  .services__grid, .process__grid, .stats__grid { grid-template-columns: 1fr; }
  .work__grid { columns: 2; }
}
