/* ==========================================================================
   GIUSEPPE SICILIANO — Restyle "agency" (Brisio-inspired)
   Bianco / Nero / Arancione · Poppins display + Inter
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --soft: #f3f2ef;
  --soft-2: #ecebe7;
  --ink: #141414;
  --ink-2: #1a1a1a;
  --muted: #6f6f6f;
  --muted-light: rgba(255, 255, 255, 0.55);
  --line: rgba(20, 20, 20, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --accent: #f5a524;
  --accent-2: #ffbb4d;
  --white: #ffffff;
  --radius: 18px;
  --radius-lg: 26px;
  --display: 'Poppins', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
  --maxw: 1180px;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { padding: 5.5rem 0; }
@media (min-width: 768px) { section { padding: 7rem 0; } }

/* --------- Tipografia --------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: '+';
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}
.sec--dark .eyebrow, .foot .eyebrow { color: inherit; }

.h-display {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.9rem, 8.5vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.h-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.1rem, 5.2vw, 3.9rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.7;
}
.sec--dark .lead { color: var(--muted-light); }

/* --------- Bottoni pillola --------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.7rem;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.6px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.sec--dark .btn--ghost { border-color: var(--line-light); color: #fff; }
.sec--dark .btn--ghost:hover { border-color: #fff; }

/* --------- Navbar --------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 24px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s;
}
.nav-logo {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: none; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  background: var(--accent);
  color: var(--ink);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--accent-2); transform: translateY(-2px); }

.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }

.mobile-menu {
  display: none;
  position: fixed; top: 62px; left: 0; right: 0; z-index: 99;
  flex-direction: column; gap: 0.2rem;
  background: #fff; padding: 1rem 24px 1.5rem;
  border-bottom: 1px solid var(--line);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.05rem; font-weight: 500; color: var(--ink);
  text-decoration: none; padding: 0.7rem 0; border-bottom: 1px solid var(--line);
}
.mobile-menu .mobile-menu-cta { color: var(--accent); font-weight: 700; border-bottom: none; }

@media (min-width: 900px) {
  .nav-links, .nav-cta { display: flex; }
  .hamburger { display: none; }
  nav { padding: 1.1rem calc(max(24px, (100% - var(--maxw)) / 2)); }
}

/* Barra progresso scroll */
.scroll-line {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--accent); z-index: 999; transition: width 0.1s;
}

/* --------- HERO --------- */
.hero { padding-top: 8.5rem; padding-bottom: 3rem; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 1.6rem; }
.hero h1 { margin-top: 1.4rem; }
.hero h1 .accent { color: var(--accent); }
.hero-right { display: flex; flex-direction: column; gap: 1.6rem; }
.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 12;
  background: var(--soft);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.4rem; }

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero-strip .stat-num { font-family: var(--display); font-size: 2rem; font-weight: 600; line-height: 1; }
.hero-strip .stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 0.35rem; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.12fr 0.88fr; align-items: start; gap: 3.5rem; }
  .hero h1 { margin-top: 0; }
  .hero-right { padding-top: 0.5rem; }
}

/* --------- Intestazione sezione --------- */
.sec-head { max-width: 720px; }
.sec-head .h-title { margin: 1rem 0 1.1rem; }
.sec-head--center { max-width: 760px; margin: 0 auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }

/* --------- SERVIZI (dark, lista) --------- */
.sec--dark { background: var(--ink); color: #fff; }
.services .sec-head { max-width: 820px; }
.serv-list { margin-top: 3rem; display: flex; flex-direction: column; }
.serv-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  padding: 1.8rem 1.6rem;
  border-top: 1px solid var(--line-light);
  border-radius: 14px;
  transition: background 0.25s;
}
.serv-list .serv-row:last-child { border-bottom: 1px solid var(--line-light); }
.serv-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.serv-icon svg { width: 24px; height: 24px; }
.serv-row h3 { font-family: var(--display); font-size: 1.35rem; font-weight: 500; margin-bottom: 0.25rem; }
.serv-row p { font-size: 0.92rem; color: var(--muted-light); max-width: 62ch; }
.serv-arrow {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  color: var(--accent);
  transition: 0.25s;
}
.serv-row:hover { background: rgba(255, 255, 255, 0.03); }
.serv-row:hover .serv-arrow { transform: rotate(45deg); }
/* Prima riga evidenziata arancione */
.serv-row--hot {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  border-top-color: transparent !important;
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(245, 165, 36, 0.28);
}
.serv-row--hot + .serv-row { border-top-color: transparent; }
.serv-row--hot .serv-icon { background: rgba(0, 0, 0, 0.12); color: var(--ink); }
.serv-row--hot p { color: rgba(20, 20, 20, 0.72); }
.serv-row--hot .serv-arrow { background: var(--ink); color: #fff; border-color: transparent; }
@media (max-width: 640px) {
  .serv-row { grid-template-columns: auto 1fr; }
  .serv-arrow { display: none; }
}

/* --------- CHI SONO --------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 1rem; align-items: center; }
.about-copy p { color: var(--muted); margin-bottom: 1rem; max-width: 52ch; }
.about-copy .about-hook {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem); line-height: 1.35;
  color: var(--ink); margin: 0.4rem 0 1.2rem; max-width: 24ch;
}
.about-copy .about-hook strong { color: var(--accent); font-weight: 500; }
.about-panel {
  background: var(--soft); border-radius: var(--radius-lg); padding: 2rem 1.8rem;
}
.about-panel .panel-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 1.4rem;
}
.about-panel .panel-status::before {
  content: ''; width: 9px; height: 9px; border-radius: 50%;
  background: #37b24d; box-shadow: 0 0 0 4px rgba(55, 178, 77, 0.18);
}
.about-panel h4 { font-family: var(--display); font-weight: 500; font-size: 1.15rem; margin-bottom: 1rem; }
.skills-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-pill {
  font-size: 0.82rem; font-weight: 500; padding: 0.45rem 0.9rem;
  border: 1px solid var(--line); border-radius: 100px; background: #fff;
  transition: 0.2s;
}
.skill-pill:hover { border-color: var(--accent); color: var(--accent); }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }

/* --------- COME LAVORO --------- */
.process-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.step {
  padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius);
  transition: 0.25s;
}
.step:hover { border-color: var(--accent); transform: translateY(-4px); }
.step-num { font-family: var(--display); font-size: 2.4rem; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 0.8rem; }
.step h3 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; color: var(--muted); }
@media (min-width: 640px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

/* --------- PORTFOLIO --------- */
.portfolio { background: var(--soft); }
.portfolio-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.portfolio-card {
  background: var(--ink); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: #fff; display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18); }
.portfolio-img { aspect-ratio: 16 / 10; overflow: hidden; background: #222; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.05); }
.portfolio-body { padding: 1.4rem 1.4rem 1.6rem; }
.portfolio-type { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.portfolio-body h3 { font-family: var(--display); font-weight: 500; font-size: 1.2rem; margin-bottom: 0.5rem; }
.portfolio-body p { font-size: 0.88rem; color: var(--muted-light); line-height: 1.55; }
.portfolio-cta { text-align: center; margin-top: 2.5rem; }
.instagram-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem; border: 1.5px solid var(--line); border-radius: 100px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92rem;
  transition: 0.2s;
}
.instagram-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }

/* --------- PREZZI --------- */
.pricing-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.price-card {
  display: flex; flex-direction: column;
  background: var(--soft); border-radius: var(--radius-lg); padding: 2.2rem 2rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.price-card:hover { transform: translateY(-5px); }
.price-card--dark { background: var(--ink); color: #fff; box-shadow: 0 26px 60px rgba(0, 0, 0, 0.22); }
.price-name { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; font-style: italic; }
.price-name::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.price-card--dark .price-name::before { background: var(--accent); }
.price-ico { color: var(--accent); margin: 1.3rem 0 0.6rem; }
.price-amount { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.5rem; }
.price-amount .from { font-size: 0.9rem; color: var(--muted); }
.price-card--dark .price-amount .from { color: var(--muted-light); }
.price-amount .num { font-family: var(--display); font-size: 3rem; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.price-amount .per { font-size: 0.9rem; color: var(--muted); }
.price-card--dark .price-amount .per { color: var(--muted-light); }
.price-desc { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.5rem; max-width: 34ch; }
.price-card--dark .price-desc { color: var(--muted-light); }
.price-feats {
  list-style: none; display: grid; gap: 0.7rem;
  background: var(--ink); border-radius: 14px; padding: 1.2rem 1.3rem; margin-bottom: 1.6rem;
}
.price-card--dark .price-feats { background: rgba(255, 255, 255, 0.06); }
.price-feats li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: #fff; }
.price-feats li svg { flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.price-cta {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 1.5rem; border-radius: 100px; background: var(--accent); color: var(--ink);
  font-weight: 600; font-size: 0.92rem; text-decoration: none; transition: 0.2s;
}
.price-cta:hover { background: var(--accent-2); transform: translateY(-2px); }
.pricing-foot { text-align: center; margin-top: 2.5rem; color: var(--muted); font-size: 0.95rem; }
.pricing-foot a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 860px) { .pricing-grid { grid-template-columns: 1fr 1fr; max-width: 900px; margin-left: auto; margin-right: auto; } }

/* --------- FAQ --------- */
.faq-list { max-width: 820px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item { background: var(--soft); border-radius: 14px; overflow: hidden; }
.faq-question {
  font-family: var(--sans); font-size: 1.02rem; font-weight: 600; color: var(--ink);
  padding: 1.2rem 1.4rem; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--accent); transition: transform 0.25s; }
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: 0.96rem; line-height: 1.7; }
.faq-answer strong { color: var(--ink); font-weight: 600; }

/* --------- CONTATTI --------- */
.contact .sec-head--center { margin-bottom: 2rem; }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 1.6rem; }
.contact-alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.contact-alt-item { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.contact-alt-item:hover { color: var(--ink); }
.contact-alt-item .ico { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--soft); }

/* --------- FOOTER arancione --------- */
.foot { background: var(--accent); color: var(--ink); padding: 4rem 0 2rem; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.foot-col .foot-label { font-size: 0.85rem; font-style: italic; opacity: 0.75; margin-bottom: 0.7rem; }
.foot-col a, .foot-col p { display: block; text-decoration: none; color: var(--ink); font-weight: 500; line-height: 1.9; }
.foot-col a:hover { text-decoration: underline; }
.foot-mail { font-family: var(--display); font-weight: 500; font-size: 1.3rem; }
.foot-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.foot-social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ink); color: #fff; }
.foot-social a:hover { background: #000; }
.foot-hero {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(3.2rem, 15vw, 12rem); line-height: 0.9; letter-spacing: -0.03em;
  margin: 2.5rem 0 1.5rem; text-align: center;
}
.foot-copy { text-align: center; font-size: 0.85rem; opacity: 0.7; padding-top: 1.5rem; border-top: 1px solid rgba(20, 20, 20, 0.15); }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.1fr 0.8fr 1.1fr; gap: 2.5rem; } }

/* --------- Animazioni scroll --------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in-view { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
:focus:not(:focus-visible) { outline: none; }

@media (prefers-reduced-motion: reduce) {
  * , *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
