/* Di Fiore Creative — Siti web (landing) */
:root {
  --navy: #051B42;
  --navy-2: #0B2A5E;
  --ink: #0A1430;
  --sky: #B3CDF9;
  --sky-2: #DCE8FD;
  --mist: #F5F5F7;
  --text: #2A3552;
  --muted: #5D6884;
  --wa: #25D366;
  --wa-dark: #128C4A;
  --sans: "Inter", -apple-system, "SF Pro Display", system-ui, "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: min(1180px, 100% - 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--ink); letter-spacing: -.025em; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h2 { font-size: clamp(34px, 4.8vw, 62px); line-height: 1.04; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 700; }
.wrap { width: var(--wrap); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 32px); }
svg { width: 1em; height: 1em; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 8px; }
.eyebrow { font: 700 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 18px; }
.eyebrow--light { color: var(--sky); }
.sec-head { text-align: center; max-width: 800px; margin: 0 auto clamp(40px, 5vw, 64px); }
.sec-head__sub { margin: 18px auto 0; max-width: 620px; color: var(--muted); font-size: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; transition: transform .3s var(--ease), background-color .25s, box-shadow .3s; }
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--xl { min-height: 66px; padding: 0 36px; font-size: 19px; }
.btn--xl svg { width: 26px; height: 26px; }
.btn--wa { background: var(--wa); color: #05290F; box-shadow: 0 14px 34px -14px rgba(37, 211, 102, .8); }
.btn--wa:hover { background: #2FE072; box-shadow: 0 18px 40px -14px rgba(37, 211, 102, .95); }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 520px) { .btn--lg, .btn--xl { width: 100%; padding: 14px 20px; line-height: 1.25; text-align: center; } }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: background-color .35s, box-shadow .35s; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5, 27, 66, 0); transition: background-color .35s; }
.nav--solid::before { background: rgba(5, 27, 66, .88); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.nav--solid { box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .5); }
.nav__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.nav__logo img { width: 168px; }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav__links a:hover { color: #fff; }
@media (max-width: 860px) { .nav nav { display: none; } .nav__in { justify-content: space-between; } .nav__logo img { width: 140px; } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; background: var(--navy); color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(5, 27, 66, .96) 0%, rgba(5, 27, 66, .86) 34%, rgba(5, 27, 66, .35) 64%, rgba(5, 27, 66, .1) 100%), linear-gradient(0deg, rgba(5, 27, 66, .7), transparent 35%); }
.hero__content { padding: 130px 0 90px; will-change: transform; }
.hero__content > * { max-width: 680px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(179, 205, 249, .14); border: 1px solid rgba(179, 205, 249, .35); color: var(--sky); font-weight: 600; font-size: 14px; margin-bottom: 24px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37, 211, 102, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.hero h1 { color: #fff; font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; font-weight: 800; }
.hero h1 em { color: var(--sky); display: block; }
.hero__lead { margin-top: 24px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .85); max-width: 600px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__chips { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.hero__chips svg { color: var(--sky); width: 18px; height: 18px; }
.hero__float { position: absolute; right: max(16px, calc((100% - 1180px) / 2)); bottom: 16%; display: grid; gap: 14px; justify-items: end; will-change: transform; }
.fcard { padding: 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: grid; gap: 2px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.fcard--b { margin-right: 40px; }
.fcard__k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); font-weight: 600; }
.fcard b { font-size: 22px; color: #fff; }
@media (max-width: 1000px) { .hero__float { display: none; } }

/* Marquee strip */
.strip { background: var(--navy); color: var(--sky); padding: 22px 0; overflow: hidden; border-top: 1px solid rgba(179, 205, 249, .15); }
.marquee { display: flex; width: max-content; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; animation: mq 40s linear infinite; }
.marquee li { padding: 0 28px; font: italic 400 26px/1 var(--serif); white-space: nowrap; }
.marquee li::after { content: "✦"; font-style: normal; font-size: 14px; margin-left: 56px; color: rgba(179, 205, 249, .5); }
@keyframes mq { to { transform: translateX(-100%); } }

/* Why */
.why { padding: clamp(90px, 11vw, 150px) 0; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: end; }
.why__copy p { font-size: 19px; color: var(--muted); }
@media (max-width: 860px) { .why__grid { grid-template-columns: 1fr; } }

/* Included bento */
.inc { padding: 0 0 clamp(90px, 11vw, 150px); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; padding: 28px 26px; border-radius: 24px; background: var(--mist); overflow: hidden; display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--ease), box-shadow .4s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(5, 27, 66, .5); }
.tile p { color: var(--muted); font-size: 15.5px; margin: 0; }
.tile__ic { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: var(--sky); display: grid; place-items: center; margin-bottom: 8px; }
.tile__ic svg { width: 22px; height: 22px; }
.tile--big { grid-column: span 2; grid-row: span 2; padding: 0; background: var(--navy); color: #fff; }
.tile--big h3 { color: #fff; font-size: 26px; }
.tile--big p { color: rgba(255, 255, 255, .78); }
.tile--big .tile__ic { background: var(--sky); color: var(--navy); }
.tile__media { aspect-ratio: 16 / 9; overflow: hidden; }
.tile__media video { width: 100%; height: 100%; object-fit: cover; }
.tile__body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.tile--wide { grid-column: span 2; background: linear-gradient(120deg, var(--sky-2), var(--mist)); }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile--big, .tile--wide { grid-column: auto; grid-row: auto; } }

/* Work */
.work { padding: clamp(90px, 11vw, 150px) 0; background: var(--navy); color: #fff; }
.work h2 { color: #fff; }
.work .sec-head__sub { color: rgba(255, 255, 255, .7); }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wcard { margin: 0; border-radius: 22px; overflow: hidden; background: rgba(255, 255, 255, .05); border: 1px solid rgba(179, 205, 249, .14); transition: transform .45s var(--ease), border-color .3s; }
.wcard:hover { transform: translateY(-6px); border-color: rgba(179, 205, 249, .4); }
.wcard__img { overflow: hidden; background: #e9ebee; }
.wcard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.wcard:hover .wcard__img img { transform: scale(1.05); }
.wcard figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; }
.wcard figcaption b { font-size: 17px; }
.wcard__tag { order: 2; padding: 6px 12px; border-radius: 999px; background: rgba(179, 205, 249, .14); color: var(--sky); font-size: 13px; font-weight: 600; white-space: nowrap; }
.work__note { text-align: center; margin: 34px 0 0; color: rgba(255, 255, 255, .5); font-size: 14px; }
@media (max-width: 960px) { .works { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .works { grid-template-columns: 1fr; } }

/* Coffee */
.coffee { position: relative; padding: clamp(90px, 11vw, 150px) 0; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; overflow: hidden; }
.coffee__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.coffee__cup { color: var(--sky); width: min(320px, 70vw); justify-self: center; will-change: transform; }
.coffee__cup svg { width: 100%; height: auto; }
.steam { stroke-dasharray: 60; stroke-dashoffset: 60; opacity: .8; animation: steam 3.2s ease-in-out infinite; }
.s2 { animation-delay: .5s; } .s3 { animation-delay: 1s; }
@keyframes steam { 0% { stroke-dashoffset: 60; opacity: 0; transform: translateY(8px); } 40% { opacity: .9; } 100% { stroke-dashoffset: -60; opacity: 0; transform: translateY(-10px); } }
.coffee h2 { color: #fff; }
.coffee h2 em { color: var(--sky); }
.coffee p { color: rgba(255, 255, 255, .8); font-size: 19px; margin: 22px 0 30px; }
@media (max-width: 860px) { .coffee__grid { grid-template-columns: 1fr; } .coffee__cup { width: 200px; } }

/* Steps */
.steps { padding: clamp(90px, 11vw, 150px) 0; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; position: relative; }
.timeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 34px; height: 2px; background: linear-gradient(90deg, var(--sky), var(--navy)); opacity: .5; }
.timeline li { position: relative; padding: 0 6px; }
.tl__n { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; border: 2px solid var(--sky); color: var(--navy); font: 800 20px/1 var(--sans); margin-bottom: 22px; position: relative; }
.timeline li:last-child .tl__n { background: var(--wa); border-color: var(--wa); color: #05290F; }
.timeline h3 { margin-bottom: 8px; }
.timeline p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { left: 33px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .timeline li { display: grid; grid-template-columns: 68px 1fr; column-gap: 20px; }
  .tl__n { grid-row: span 2; margin: 0; }
}

/* FAQ */
.faq { padding: 0 0 clamp(90px, 11vw, 150px); }
.faq__list { display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--mist); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 18px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 28px; height: 28px; border-radius: 50%; background: #fff; flex: none; transition: transform .3s var(--ease), background-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); translate: -50% -50%; }
.faq summary i::after { rotate: 90deg; transition: rotate .3s var(--ease); }
.faq details[open] summary i { background: var(--navy); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { rotate: 0deg; }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* Final CTA */
.final { position: relative; padding: clamp(100px, 12vw, 170px) 0; background: var(--navy); color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.final__glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; translate: -50% -50%; z-index: -1; background: radial-gradient(circle, rgba(37, 211, 102, .22), rgba(179, 205, 249, .12) 40%, transparent 65%); will-change: transform; }
.final__in { display: grid; justify-items: center; gap: 22px; }
.final h2 { color: #fff; max-width: 15ch; }
.final h2 em { color: var(--wa); }
.final p { color: rgba(255, 255, 255, .8); font-size: 19px; max-width: 640px; margin: 0; }
.final__alt { font-size: 15px !important; color: rgba(255, 255, 255, .6) !important; }
.final__alt a { color: var(--sky); }

/* Footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 54px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 15px; }
.foot__in { display: grid; justify-items: center; gap: 18px; text-align: center; }
.foot__in > img { width: 170px; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.foot__links a { text-decoration: none; color: #fff; }
.foot__social { display: flex; gap: 10px; }
.foot__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; }
.foot__social a:hover { background: var(--sky); color: var(--navy); }
.foot__social svg { width: 19px; height: 19px; }
.foot__copy { margin: 0; font-size: 13px; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 150; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 36px -10px rgba(18, 140, 74, .8); transition: transform .3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float__tip { position: absolute; right: 74px; white-space: nowrap; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--ink); font: 600 14px/1.2 var(--sans); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .4); opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.wa-float:hover .wa-float__tip, .wa-float.is-hint .wa-float__tip { opacity: 1; transform: none; }
@media (max-width: 600px) { .wa-float__tip { display: none; } }

/* Reveal (transform only) */
.motion-ok [data-reveal] { transform: translateY(28px); transition: transform .9s var(--ease); }
.motion-ok [data-reveal].is-in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee ul, .dot, .steam, .wa-float::before { animation: none; }
  .steam { stroke-dashoffset: 0; }
  .marquee { flex-wrap: wrap; width: auto; }
  .marquee ul[aria-hidden] { display: none; }
}
