* {
    box-sizing: border-box
}

:root {
    --bg: #090909;
    --panel: #111111;
    --panel-2: #171717;
    --text: #ffffff;
    --muted: #b8b8b8;
    --line: rgba(255, 255, 255, 0.09);
    --accent: #ff5a1f;
    --accent-2: #ff7f50;
    --shadow: 0 20px 60px rgba(0, 0, 0, .35);
    --radius: 22px;
    --container: 1180px
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top right, rgba(255, 90, 31, .16), transparent 25%), radial-gradient(circle at 10% 20%, rgba(255, 127, 80, .08), transparent 18%), var(--bg);
    color: var(--text);
    line-height: 1.6
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(9, 9, 9, .75);
    border-bottom: 1px solid var(--line)
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 800
}

.logo span {
    color: var(--accent)
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 22px
}

.desktop-nav a {
    color: var(--muted)
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    border-radius: 12px;
    width: 46px;
    height: 46px;
    font-size: 1.2rem
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--line)
}

.mobile-nav.open {
    display: flex
}

.hero {
    position: relative;
    overflow: clip;
    padding: 64px 0 30px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 42px
}

.eyebrow {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .78rem;
    color: var(--accent);
    font-weight: 700
}

.hero h1,
.section h2,
.cta-copy h2 {
    font-family: 'Poppins', sans-serif;
    line-height: .98;
    letter-spacing: -.04em
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 5.2rem);
    margin: 0 0 18px
}

.lead,
.section-head p,
.hero-copy p,
.card p,
.feature-item span,
.step p,
.price-card p,
.faq-item p,
.cta-copy p,
.portfolio-copy p,
.site-footer p {
    color: var(--muted)
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 26px 0 28px
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 700;
    border: 1px solid transparent;
    box-shadow: var(--shadow)
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: var(--line);
    box-shadow: none
}

.btn-small {
    min-height: 44px;
    padding: 0 16px
}

.btn-full {
    width: 100%
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 18px
}

.badge-card,
.card,
.portfolio-card,
.step,
.price-card,
.faq-item,
.contact-form,
.video-card,
.trust-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .015));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.badge-card {
    padding: 16px
}

.badge-card strong {
    display: block;
    font-size: 1.05rem
}

.badge-card span {
    display: block;
    color: var(--muted);
    font-size: .92rem
}

.local-line {
    font-size: .96rem;
    max-width: 60ch
}

.video-card {
    padding: 18px
}

.video-thumb,
.portfolio-thumb {
    width: 100%;
    min-height: 250px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.portfolio-thumb__img{
    width: 100%;
    object-fit: cover;
}

.gradient-frame {
    background: linear-gradient(135deg, rgba(255, 90, 31, .55), rgba(255, 127, 80, .18)), linear-gradient(180deg, #292929, #121212)
}

.play-badge,
.play-btn {
    display: grid;
    place-items: center;
    border: 0;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    transition: 0.2s;
}

.portfolio-thumb:hover .play-btn{
  transform: scale(1.1);
  background:rgba(255,90,31,0.8);
    backdrop-filter: blur(10px);
    transition-timing-function: ease;
    transition: 0.2s;
}

.play-badge {
    width: 78px;
    height: 78px;
    position: absolute;
    inset: 0;
    margin: auto;
    font-size: 1.6rem
}

.video-meta {
    padding-top: 16px;
    display: flex;
    flex-direction: column
}

.video-meta span {
    color: var(--muted)
}

.glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
    pointer-events: none
}

.glow-1 {
    right: -80px;
    top: 40px;
    width: 280px;
    height: 280px;
    background: rgba(255, 90, 31, .18)
}

.glow-2 {
    left: -80px;
    bottom: -40px;
    width: 220px;
    height: 220px;
    background: rgba(255, 127, 80, .08)
}

.strip {
    padding: 10px 0 12px
}

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

.trust-item {
    padding: 20px
}

.trust-item span {
    display: inline-block;
    margin-bottom: 8px;
    color: #ffd15c;
    font-size: 1.1rem
}

.section {
    padding: 82px 0
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px
}

.section h2,
.cta-copy h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin: 0 0 16px
}

.services-grid,
.pricing-grid,
.steps-grid,
.portfolio-grid {
    display: grid;
    gap: 18px
}

.services-grid {
    grid-template-columns: repeat(3, 1fr)
}

.card {
    padding: 24px
}

.icon {
    font-size: 1.6rem;
    margin-bottom: 8px
}

.card h3,
.step h3,
.price-card h3,
.portfolio-copy h3 {
    margin: 6px 0 10px;
    font-size: 1.2rem
}

.card ul,
.price-card ul {
    margin: 0 0 18px;
    padding-left: 18px;
    color: var(--muted)
}

.text-link {
    color: var(--accent);
    font-weight: 700
}

.dark-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .01));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: start
}

.features {
    display: grid;
    gap: 14px
}

.feature-item {
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .025);
    border: 1px solid var(--line)
}

.feature-item strong {
    display: block;
    margin-bottom: 8px
}

.portfolio-grid {
    grid-template-columns: repeat(2, 1fr)
}

.portfolio-card {
    overflow: hidden
}

.portfolio-thumb {
    min-height: 260px
}

.play-btn {
    width: 72px;
    height: 72px;
    font-size: 1.4rem;
    position: absolute;
    inset: 0;
    margin: auto
}

.portfolio-copy {
    padding: 18px 20px 22px
}

.steps-grid {
    grid-template-columns: repeat(4, 1fr)
}

.step {
    padding: 24px
}

.step span {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 90, 31, .12);
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 10px
}

.pricing-grid {
    grid-template-columns: repeat(3, 1fr)
}

.price-card {
    padding: 24px
}

.price-label {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #f7f7f7;
    font-size: .84rem;
    font-weight: 700;
    margin-bottom: 8px
}

.price-card.featured {
    border-color: rgba(255, 90, 31, .45);
    transform: translateY(-4px)
}

.local-seo {
    align-items: center
}

.locations {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.locations span {
    display: inline-flex;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .02);
    color: #fff
}

.faq-list {
    display: grid;
    gap: 14px
}

.faq-item {
    padding: 20px 22px
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none
}

.faq-item summary::-webkit-details-marker {
    display: none
}

.faq-item p {
    margin: 10px 0 0
}

.cta-section {
    padding-bottom: 90px
}

.cta-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 22px;
    align-items: start
}

.contact-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 22px
}

.contact-points a {
    color: #fff;
    font-weight: 600
}

.contact-form {
    padding: 24px;
    display: grid;
    gap: 14px
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-size: .95rem;
    color: #f2f2f2
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    color: #fff;
    border-radius: 14px;
    padding: 14px 15px;
    outline: none;
    font: inherit
}

.site-footer {
    padding: 30px 0 40px;
    border-top: 1px solid var(--line)
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 24px
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-content: flex-start
}

.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .72);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100
}

.video-modal.open {
    display: flex
}

.video-modal-box {
    width: min(680px, 100%);
    border-radius: 22px;
    padding: 26px;
    background: #111;
    border: 1px solid var(--line);
    position: relative
}

.modal-close {
    position: absolute;
    right: 14px;
    top: 10px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 2rem;
    cursor: pointer
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

.delay-1 {
    transition-delay: .08s
}

.delay-2 {
    transition-delay: .16s
}

@media (max-width:1024px) {

    .hero-grid,
    .split-grid,
    .cta-grid,
    .services-grid,
    .pricing-grid,
    .steps-grid {
        grid-template-columns: 1fr 1fr
    }

    .hero-badges,
    .trust-grid,
    .portfolio-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:720px) {
    .desktop-nav {
        display: none
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center
    }

    .hero,
    .section {
        padding: 64px 0
    }

    .hero-grid,
    .split-grid,
    .services-grid,
    .portfolio-grid,
    .pricing-grid,
    .steps-grid,
    .cta-grid,
    .trust-grid,
    .hero-badges {
        grid-template-columns: 1fr
    }

    .hero h1 {
        font-size: 2.6rem
    }

    .footer-grid {
        flex-direction: column
    }

    .container {
        width: min(var(--container), calc(100% - 24px))
    }
}

.form-message {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px;
  display: none;
}

.form-message.is-success {
  display: block;
  background: rgba(40, 167, 69, 0.12);
  color: #7CFF9B;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-message.is-error {
  display: block;
  background: rgba(255, 80, 80, 0.12);
  color: #FF9A9A;
  border: 1px solid rgba(255, 80, 80, 0.3);
}

.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #ff5a5a;
  outline: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(9, 9, 9, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
}
.brand__mark {
  width: 34px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 90, 31, 0.15);
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #e7e7e7;
  font-size: 0.96rem;
}
.nav a { opacity: 0.9; }
.nav a:hover { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--ghost { background: transparent; color: #fff; }

@media (max-width: 780px) {
  .nav { display: none; }
}

.modal-video-frame {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

.checkbox-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.5;
  color: #cfcfcf;
  cursor: pointer;
}

/* nasconde checkbox default */
.checkbox-consent input {
  display: none;
}

/* box personalizzato */
.checkbox-custom {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #444;
  background: #0f0f0f;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}

/* check interno */
.checkbox-custom::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}

/* stato checked */
.checkbox-consent input:checked + .checkbox-custom {
  background: #ff5a1f;
  border-color: #ff5a1f;
}

.checkbox-consent input:checked + .checkbox-custom::after {
  transform: rotate(45deg) scale(1);
}

/* testo */
.checkbox-text {
  font-size: 14px;
  color: #c9c9c9;
}

/* link privacy */
.checkbox-text a {
  color: #ff5a1f;
  text-decoration: none;
  font-weight: 500;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

/* Cookie banner and preferences modal for Videomaker Siena */
.cookie-banner,
.cookie-modal {
  font-family: Inter, Arial, sans-serif;
}
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(180deg, #131313, #0f0f0f);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  color: #f5f5f5;
  padding: 22px;
}
.cookie-banner[hidden], .cookie-modal[hidden] { display: none !important; }
.cookie-banner__title { margin: 0 0 10px; font-size: 1.3rem; letter-spacing: -.03em; }
.cookie-banner__text { margin: 0; color: #c9c9c9; line-height: 1.7; }
.cookie-banner__text a, .cookie-modal a { color: #ff5a1f; text-decoration: none; }
.cookie-banner__text a:hover, .cookie-modal a:hover { text-decoration: underline; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.cookie-btn { min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: transparent; color: #fff; font-weight: 600; cursor: pointer; }
.cookie-btn--primary { background: #ff5a1f; border-color: #ff5a1f; }
.cookie-btn--ghost { background: rgba(255,255,255,.03); }
.cookie-modal { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.78); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 24px; }
.cookie-modal__box { width: min(760px, 100%); background: linear-gradient(180deg, #131313, #101010); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; box-shadow: 0 24px 80px rgba(0,0,0,.45); color: #f5f5f5; padding: 24px; }
.cookie-modal__top { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.cookie-modal__title { margin: 0; font-size: 1.5rem; letter-spacing: -.03em; }
.cookie-close { width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; }
.cookie-modal__text { color: #c9c9c9; line-height: 1.7; margin: 12px 0 0; }
.cookie-option { margin-top: 18px; padding: 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02); }
.cookie-option__top { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.cookie-option__title { margin: 0; font-size: 1.05rem; }
.cookie-option__desc { margin: 8px 0 0; color: #bcbcbc; line-height: 1.65; }
.cookie-switch { position: relative; width: 54px; height: 32px; flex: 0 0 auto; }
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-slider { position: absolute; inset: 0; background: #2a2a2a; border-radius: 999px; transition: .2s ease; cursor: pointer; }
.cookie-slider::before { content: ""; position: absolute; width: 24px; height: 24px; left: 4px; top: 4px; background: #fff; border-radius: 999px; transition: .2s ease; }
.cookie-switch input:checked + .cookie-slider { background: #ff5a1f; }
.cookie-switch input:checked + .cookie-slider::before { transform: translateX(22px); }
.cookie-switch input:disabled + .cookie-slider { opacity: .65; cursor: not-allowed; }
.cookie-modal__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
@media (max-width: 640px) {
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; padding: 18px; }
  .cookie-option__top { align-items: flex-start; }
}