/*
Theme Name: Facio's Preview 4B
Theme URI: https://faciosweb.ch/
Author: Facio's Web & Photo
Description: Anteprima su misura del nuovo sito Facio's Web & Photo.
Version: 0.11.4
Text Domain: facios-preview
*/

:root {
  --ink: #071426;
  --muted: #506079;
  --line: rgba(8, 31, 58, .12);
  --paper: #f8fbff;
  --white: #fff;
  --green: #11a253;
  --green-deep: #08713e;
  --orange: #ff6417;
  --blue: #075df1;
  --shadow: 0 24px 70px rgba(25, 55, 91, .14);
  --radius: 28px;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); }
.wrap { width: var(--wrap); margin-inline: auto; }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #1e4777; }
.section-title { margin: 0; max-width: 760px; font-size: clamp(35px, 5vw, 64px); line-height: .98; letter-spacing: -.055em; }
.section-lead { color: var(--muted); font-size: 18px; line-height: 1.7; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(18px);
}
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .04em; }
.brand img { width: 47px; height: 47px; object-fit: cover; border-radius: 50%; box-shadow: 0 7px 20px rgba(10, 126, 61, .18); }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 20px; }
.brand-copy small { margin-top: 5px; font-size: 8px; letter-spacing: .3em; }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; }
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--green); transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 23px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.nav-cta { min-height: 44px; color: #fff; background: var(--blue); box-shadow: 0 10px 25px rgba(7,93,241,.22); }
.button:hover, .nav-cta:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--blue), #087cf1); box-shadow: 0 15px 35px rgba(7,93,241,.25); }
.button-secondary { border: 1px solid rgba(8,31,58,.18); background: rgba(255,255,255,.72); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 26px; }

.hero { position: relative; overflow: hidden; padding: 76px 0 26px; background: radial-gradient(circle at 85% 18%, rgba(50,164,255,.18), transparent 35%), linear-gradient(145deg,#fff 0%,#f9fcff 62%,#eff8ff 100%); }
.hero::before { content: ""; position: absolute; inset: auto -120px -230px 45%; height: 520px; border-radius: 50%; background: rgba(19,165,87,.07); filter: blur(3px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 54px; }
.hero h1 { margin: 0; font-size: clamp(54px, 7vw, 88px); line-height: .9; letter-spacing: -.075em; max-width: 700px; }
.hero h1 span { display: block; color: var(--green); }
.hero-copy > p:not(.eyebrow) { margin: 28px 0; max-width: 620px; color: #34465d; font-size: clamp(18px, 2.1vw, 23px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; min-height: 520px; }
.landscape { position: absolute; inset: 35px -7vw 0 0; width: calc(100% + 7vw); height: 485px; object-fit: cover; border-radius: 42px 0 0 42px; box-shadow: var(--shadow); }
.landscape-wash { position: absolute; inset: 35px -7vw 0 0; border-radius: 42px 0 0 42px; background: linear-gradient(90deg, rgba(255,255,255,.24), transparent 50%), linear-gradient(0deg, rgba(4,29,47,.16), transparent 50%); }
.brand-orb { position: absolute; z-index: 2; width: min(330px, 65%); aspect-ratio: 1; left: 8%; top: 5px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.72); border-radius: 50%; background: radial-gradient(circle at 34% 27%, rgba(255,255,255,.98), rgba(255,255,255,.28) 38%, rgba(125,215,255,.2) 67%, rgba(255,255,255,.52)); box-shadow: inset -28px -38px 80px rgba(1,68,92,.18), inset 20px 18px 40px rgba(255,255,255,.82), 0 36px 75px rgba(0,37,73,.23); backdrop-filter: blur(5px); }
.brand-orb::after { content: ""; position: absolute; inset: -18%; border: 1px solid rgba(255,255,255,.68); border-radius: 50%; transform: rotate(-18deg) scaleY(.43); }
.brand-orb img { width: 58%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; mix-blend-mode: multiply; filter: saturate(1.08) contrast(1.05); }
.hero-note { position: absolute; z-index: 3; right: 2%; bottom: 48px; width: 190px; padding: 24px; border: 1px solid rgba(255,255,255,.7); border-radius: 22px; color: #fff; background: rgba(7,34,58,.38); box-shadow: 0 18px 40px rgba(7,34,58,.2); backdrop-filter: blur(12px); font-weight: 800; line-height: 1.35; }
.trust-strip { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.72); box-shadow: 0 18px 45px rgba(30,70,110,.08); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 19px 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: #fff; background: var(--green); font-weight: 900; }
.trust-item:nth-child(2) .trust-icon { background: var(--orange); }
.trust-item:nth-child(3) .trust-icon { background: var(--blue); }
.trust-item strong { display: block; font-size: 14px; }
.trust-item small { color: var(--muted); }

.services { padding: 112px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 42px; }
.section-heading .section-lead { max-width: 450px; margin: 0; }
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.service-card { position: relative; min-height: 300px; overflow: hidden; border: 1px solid rgba(8,31,58,.1); border-radius: var(--radius); background: #fff; box-shadow: 0 14px 40px rgba(22,53,87,.08); isolation: isolate; }
.service-card.large { grid-column: span 7; min-height: 405px; }
.service-card.medium { grid-column: span 5; min-height: 405px; }
.service-card.third { grid-column: span 4; }
.service-card-content { position: relative; z-index: 3; max-width: 54%; padding: 32px; }
.service-card h3 { margin: 0 0 10px; font-size: clamp(25px, 3vw, 38px); line-height: 1; letter-spacing: -.045em; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.service-card .arrow { position: absolute; z-index: 4; left: 32px; bottom: 28px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(8,31,58,.2); border-radius: 50%; background: rgba(255,255,255,.8); font-size: 21px; }
.service-card > img { position: absolute; z-index: 1; inset: 0 0 0 auto; width: 62%; height: 100%; object-fit: cover; }
.service-card::after { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg,#fff 28%,rgba(255,255,255,.94) 43%,rgba(255,255,255,0) 76%); }
.service-card.dark { color: #fff; background: #081a25; }
.service-card.dark p { color: rgba(255,255,255,.74); }
.service-card.dark::after { background: linear-gradient(90deg,#071923 27%,rgba(7,25,35,.9) 45%,rgba(7,25,35,.05) 79%); }
.service-card.dark .arrow { color: #fff; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.service-card.accent { background: linear-gradient(135deg,#fff5ed,#fff); }
.service-card.accent::after { background: linear-gradient(110deg,#fff7f0 35%,rgba(255,247,240,.83) 54%,rgba(255,247,240,.05)); }
.service-card.simple { padding: 31px; }
.service-card.simple::after { display: none; }
.service-card.simple .service-card-content { max-width: 100%; padding: 0; }
.service-card.simple .arrow { left: 31px; }
.service-card.image-card .service-card-content { max-width: 61%; }
.service-card.image-card > img { width: 67%; }
.service-card.image-card.brand-image > img { object-position: 72% center; }
.service-card.image-card.drone-image > img { object-position: center; }
.service-card.image-card.gadget-image > img { object-position: 58% center; }
.service-card.image-card.photo-image > img { object-position: 64% center; }
.service-card.image-card.hosting-image > img { object-position: 70% center; }
.service-card.image-card.web-image > img { object-position: 65% center; }
.service-card.image-card.cartoon-image > img { object-position: 67% center; }
.service-card.image-card.app-image > img { object-position: 70% center; }
.service-card.image-card.mod-image > img { object-position: 72% center; }
.service-card.image-card.third .service-card-content { max-width: 67%; padding: 27px; }
.service-card.image-card.third h3 { font-size: clamp(24px,2.4vw,33px); }
.service-card.image-card.third .arrow { left: 27px; bottom: 24px; }
.service-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 48px; border-radius: 18px; color: #fff; background: var(--green); font-size: 28px; }
.service-card:nth-child(4) .service-icon { background: var(--orange); }
.service-card:nth-child(5) .service-icon { background: var(--blue); }
.service-card.cartoon { background: linear-gradient(135deg,#fff4e8 0%,#fff 45%,#ecf9f1); }
.cartoon-art { position: absolute; right: 20px; bottom: 17px; width: 46%; height: 82%; display: grid; place-items: center; border-radius: 24px; background: radial-gradient(circle at 35% 25%,#ffe6a8,#ff9d52 43%,#8b4cd9 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); font-size: 110px; transform: rotate(2deg); }
.cartoon-art::after { content: "Ritratto cartoon"; position: absolute; left: 13px; bottom: 12px; padding: 8px 12px; border-radius: 999px; color: #fff; background: rgba(37,15,68,.46); backdrop-filter: blur(8px); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }

.cartoon-banner { padding: 80px 0; color: #fff; background: #061c25; }
.cartoon-banner .wrap { display: grid; grid-template-columns: 1fr .9fr; gap: 60px; align-items: center; }
.cartoon-banner h2 { margin: 0 0 20px; font-family: Georgia,serif; font-size: clamp(48px, 6vw, 76px); font-weight: 500; line-height: .95; }
.cartoon-banner p { max-width: 620px; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.7; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pet-tile { min-height: 250px; display: grid; place-items: center; border-radius: 24px; background: linear-gradient(145deg,#25404b,#122731); font-size: 96px; }
.pet-tile:last-child { background: linear-gradient(145deg,#ffb550,#ef695d 52%,#6937b4); }
.pet-tile span { filter: drop-shadow(0 12px 20px rgba(0,0,0,.22)); }

.process { padding: 110px 0; }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 45px; }
.process-step { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; }
.process-step b { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 30px; border-radius: 50%; color: #fff; background: var(--ink); }
.process-step h3 { margin: 0 0 8px; font-size: 22px; }
.process-step p { margin: 0; color: var(--muted); line-height: 1.6; }

.site-footer { padding: 36px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 18px; }
.footer-links { flex-wrap: wrap; }

/* Cartoon order page */
.order-hero { padding: 80px 0 50px; background: radial-gradient(circle at 15% 12%,rgba(255,158,76,.18),transparent 30%),radial-gradient(circle at 85% 22%,rgba(82,186,119,.18),transparent 31%),#fff; }
.order-hero .wrap { text-align: center; }
.order-hero h1 { margin: 0 auto 22px; max-width: 900px; font-family: Georgia,serif; font-size: clamp(52px,8vw,92px); font-weight: 500; line-height: .95; letter-spacing: -.055em; }
.order-hero h1 span { color: var(--orange); }
.order-hero p { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 19px; line-height: 1.65; }
.order-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 28px; padding: 48px 0 110px; align-items: start; }
.order-preview { position: sticky; top: 105px; padding: 22px; border-radius: 30px; background: linear-gradient(145deg,#ffb24e,#e85f66 52%,#7041ba); box-shadow: var(--shadow); }
.order-preview-visual { min-height: 460px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 22px; background: radial-gradient(circle at 40% 20%,rgba(255,255,255,.4),transparent 28%); font-size: 150px; }
.order-placeholder { display: grid; place-items: center; gap: 14px; color: rgba(64,14,30,.72); text-align: center; }
.order-placeholder small { max-width: 190px; color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; line-height: 1.45; text-transform: uppercase; }
.order-preview small { display: block; margin-top: 15px; color: #fff; text-align: center; letter-spacing: .1em; text-transform: uppercase; }
.order-card { padding: 34px; border: 1px solid var(--line); border-radius: 30px; background: #fff; box-shadow: 0 18px 50px rgba(20,55,88,.08); }
.order-card h2 { margin: 0 0 8px; font-size: 31px; }
.order-card > p { margin: 0 0 28px; color: var(--muted); }
.field { margin-bottom: 22px; }
.field label, .field legend { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 800; }
.field input:not([type=radio]):not([type=checkbox]), .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid rgba(8,31,58,.17); border-radius: 14px; color: var(--ink); background: #fbfdff; }
.field textarea { min-height: 105px; resize: vertical; }
.upload-box { position: relative; min-height: 150px; display: grid; place-items: center; padding: 22px; border: 2px dashed rgba(17,162,83,.38); border-radius: 20px; background: #f5fcf8; text-align: center; cursor: pointer; }
.upload-box input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.upload-box strong { display: block; margin-bottom: 4px; }
.upload-box span { color: var(--muted); font-size: 13px; }
.style-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.style-option input { position: absolute; opacity: 0; }
.style-option span { min-height: 75px; display: grid; place-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: #fff; text-align: center; font-size: 13px; font-weight: 700; cursor: pointer; }
.style-option input:checked + span { border-color: var(--green); box-shadow: inset 0 0 0 2px var(--green); background: #f2fbf6; }
.order-total { display: flex; justify-content: space-between; align-items: center; margin: 27px 0 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.order-total strong { font-size: 30px; }
.order-submit { width: 100%; border: 0; cursor: pointer; }
.order-submit:disabled { opacity: .68; cursor: wait; }
.demo-note { margin-top: 13px !important; color: var(--muted); font-size: 12px; text-align: center; }
.pet-assurance { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.pet-assurance span { padding: 10px 15px; border: 1px solid rgba(8,31,58,.1); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.78); box-shadow: 0 8px 24px rgba(25,55,91,.07); font-size: 12px; font-weight: 800; }
.pet-notices { padding-top: 28px; }
.pet-notices:empty { display: none; }
.pet-showcase { padding: 92px 0 102px; background: linear-gradient(180deg,#fff 0%,#f7fbff 100%); }
.showcase-heading { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 38px; }
.showcase-heading h2 { max-width: 720px; margin: 0 0 12px; font-family: Georgia,serif; font-size: clamp(46px,6vw,72px); font-weight: 500; line-height: .98; letter-spacing: -.05em; }
.showcase-heading p { max-width: 720px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.people-callout { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; padding: 14px 18px; border-radius: 999px; color: var(--green-deep); background: #eaf9ef; box-shadow: 0 10px 28px rgba(17,162,83,.1); font-size: 13px; font-weight: 900; }
.compare-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.compare-card { overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: 0 16px 44px rgba(24,57,89,.09); }
@media (min-width: 981px) { .compare-card:last-child:nth-child(3n + 1) { grid-column: 2; } }
.compare-visual { --position: 50%; position: relative; height: 310px; overflow: hidden; background: #e9eef3; }
.compare-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-after-wrap { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 var(--position)); }
.compare-after-wrap img { max-width: none; }
.compare-label { position: absolute; z-index: 4; top: 14px; padding: 8px 11px; border-radius: 999px; color: #fff; background: rgba(7,20,38,.68); backdrop-filter: blur(8px); font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.compare-label.before { left: 14px; }
.compare-label.after { right: 14px; background: rgba(255,100,23,.9); }
.compare-divider { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--position); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(7,20,38,.12); transform: translateX(-1px); pointer-events: none; }
.compare-divider::after { content: "↔"; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: #fff; box-shadow: 0 8px 22px rgba(7,20,38,.2); font-weight: 900; transform: translate(-50%,-50%); }
.compare-range { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-copy { padding: 20px 21px 23px; }
.compare-copy h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.03em; }
.compare-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.showcase-action { display: flex; justify-content: center; margin-top: 36px; }
.order-preview-visual { position: relative; overflow: hidden; }
.order-preview-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.order-preview-visual > img[hidden], .order-placeholder[hidden] { display: none; }
.photo-tip { display: grid; gap: 5px; margin-top: 18px; padding: 17px; border: 1px solid rgba(255,255,255,.32); border-radius: 17px; color: #fff; background: rgba(45,12,61,.22); }
.photo-tip strong { font-size: 14px; }
.photo-tip span { color: rgba(255,255,255,.82); font-size: 12px; line-height: 1.5; }
.order-step { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.order-step > span { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; color: #fff; background: linear-gradient(135deg,var(--orange),#ff9c38); font-weight: 900; }
.order-step div { display: grid; gap: 3px; }
.order-step strong { font-size: 21px; }
.order-step small, .field-help { color: var(--muted); font-size: 12px; }
.style-fieldset { padding: 0; border: 0; }
.style-option span b { display: block; font-size: 23px; }
.check-field { display: flex; gap: 11px; align-items: flex-start; margin: 15px 0; color: var(--ink); font-size: 13px; line-height: 1.5; cursor: pointer; }
.check-field input { margin-top: 3px; accent-color: var(--green); }
.rights-field { padding: 15px; border-radius: 15px; background: #f4f8fc; }
.price-note { margin: -10px 0 20px !important; font-size: 12px; line-height: 1.5; }
.pet-unavailable { min-height: 430px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.pet-process { padding: 82px 0; background: #061c25; }
.pet-process .eyebrow { color: #73d99e; }
.pet-process .process-grid { margin-top: 25px; }
.pet-process .process-step { border-color: rgba(255,255,255,.12); color: #fff; background: rgba(255,255,255,.06); }
.pet-process .process-step b { background: linear-gradient(135deg,var(--green),var(--orange)); }
.pet-process .process-step p { color: rgba(255,255,255,.7); }

/* WooCommerce pages */
.woocommerce main, body.woocommerce-page main { min-height: 65vh; }
.woocommerce .woocommerce-breadcrumb { display: none; }
.woocommerce .woocommerce-notices-wrapper, .woocommerce .woocommerce-form-coupon-toggle, .woocommerce form.checkout, .woocommerce-cart-form, .cart-collaterals, .woocommerce-order, .woocommerce-account .woocommerce { width: var(--wrap); margin-right: auto; margin-left: auto; }
.woocommerce .woocommerce-notices-wrapper { padding-top: 30px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { margin: 22px 0 !important; padding: 18px 22px 18px 52px !important; border: 1px solid var(--line); border-top: 0 !important; border-radius: 17px; background: #fff; box-shadow: 0 12px 32px rgba(25,55,91,.08); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--green); }
.woocommerce-error::before { color: var(--orange); }
.woocommerce-cart-form, .cart-collaterals, .woocommerce form.checkout, .woocommerce-order { margin-top: 35px; margin-bottom: 70px; }
.woocommerce table.shop_table { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 17px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { min-height: 46px; padding: 0 20px; border-radius: 999px; color: #fff; background: var(--blue); font-weight: 800; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { color: #fff; background: #064bc1; }
.woocommerce .cart_totals { padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { min-height: 49px; padding: 11px 13px; border: 1px solid rgba(8,31,58,.17); border-radius: 12px; background: #fff; }
.woocommerce-checkout #payment { border-radius: 20px; background: #eef4f9; }
.woocommerce-checkout-review-order { padding: 24px; border-radius: 22px; background: #fff; box-shadow: 0 16px 45px rgba(24,57,89,.08); }

.entry-basic { min-height: 60vh; padding: 80px 0; }

/* Legal and e-commerce information */
.legal-hero { padding: 86px 0 70px; background: radial-gradient(circle at 88% 12%,rgba(17,162,83,.13),transparent 30%),radial-gradient(circle at 14% 4%,rgba(255,100,23,.1),transparent 27%),#fff; }
.legal-hero h1 { max-width: 900px; margin: 0 0 20px; font-size: clamp(50px,7vw,82px); line-height: .94; letter-spacing: -.065em; }
.legal-hero h1 span { color: var(--green); }
.legal-hero p:last-child { max-width: 760px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.legal-wrap { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 48px; padding: 72px 0 110px; align-items: start; }
.legal-nav { position: sticky; top: 105px; display: grid; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 13px 34px rgba(24,57,89,.07); }
.legal-nav a { padding: 12px 14px; border-radius: 12px; color: var(--muted); font-size: 13px; font-weight: 800; }
.legal-nav a:hover, .legal-nav a.current { color: var(--green-deep); background: #eaf9ef; }
.legal-content { min-width: 0; padding: 40px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 18px 48px rgba(24,57,89,.08); }
.legal-content h2 { margin: 42px 0 13px; color: var(--green-deep); font-size: 27px; letter-spacing: -.035em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #43536a; line-height: 1.72; }
.legal-content ul, .legal-content ol { padding-left: 22px; }
.legal-content a { color: var(--blue); font-weight: 750; }
.legal-highlight { margin: 25px 0; padding: 22px; border-left: 5px solid var(--orange); border-radius: 0 17px 17px 0; background: #fff4ec; }
.legal-highlight strong { display: block; margin-bottom: 6px; color: #bd430c; }
.legal-table { width: 100%; margin: 22px 0; overflow: hidden; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 17px; }
.legal-table th, .legal-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.legal-table th { width: 38%; color: var(--ink); background: #f4f8fc; }
.legal-table tr:last-child th, .legal-table tr:last-child td { border-bottom: 0; }
.legal-meta { margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.order-legal { margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; text-align: center; }
.order-legal a { color: var(--blue); font-weight: 800; }

/* Services overview */
.inner-hero { padding: 88px 0 70px; text-align: center; background: radial-gradient(circle at 16% 8%,rgba(255,100,23,.1),transparent 28%),radial-gradient(circle at 84% 16%,rgba(17,162,83,.12),transparent 29%),#fff; }
.inner-hero h1 { max-width: 940px; margin: 0 auto 22px; font-size: clamp(54px,7.5vw,92px); line-height: .92; letter-spacing: -.07em; }
.inner-hero h1 span { color: var(--green); }
.inner-hero .section-lead { max-width: 740px; margin: 0 auto; }
.services-index { padding: 84px 0 110px; }
.services-index-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.service-index-card { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: 0 16px 45px rgba(24,57,89,.08); }
.service-index-card-image { height: 300px; overflow: hidden; }
.service-index-card-image img { width: 100%; height: 100%; object-fit: cover; }
.service-index-card-body { padding: 28px; }
.service-index-card h2 { margin: 0 0 10px; font-size: 34px; letter-spacing: -.045em; }
.service-index-card p { margin: 0 0 23px; color: var(--muted); line-height: 1.6; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-weight: 900; }

/* About page */
.about-intro { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: center; }
.about-copy p { color: var(--muted); font-size: 18px; line-height: 1.78; }
.about-mark { min-height: 520px; display: grid; place-items: center; border-radius: 34px; background: radial-gradient(circle at 35% 25%,rgba(255,255,255,.9),transparent 28%),linear-gradient(145deg,#eaf9ef,#dcecff 57%,#fff1e7); box-shadow: var(--shadow); }
.about-mark img { width: 64%; border-radius: 50%; mix-blend-mode: multiply; filter: drop-shadow(0 24px 35px rgba(25,91,58,.2)); }
.about-values { padding: 100px 0; color: #fff; background: #061c25; }
.about-values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 43px; }
.about-value { padding: 30px; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; }
.about-value b { display: block; margin-bottom: 26px; color: #62db93; font-size: 13px; letter-spacing: .15em; }
.about-value h3 { margin: 0 0 10px; font-size: 25px; }
.about-value p { margin: 0; color: rgba(255,255,255,.7); line-height: 1.65; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 28px; padding: 70px 0 110px; align-items: start; }
.contact-details { display: grid; gap: 13px; }
.contact-card { padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.contact-card small { display: block; margin-bottom: 7px; color: var(--green); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-card strong { display: block; font-size: 20px; line-height: 1.4; }
.contact-card p { margin: 7px 0 0; color: var(--muted); line-height: 1.55; }
.contact-form { padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.contact-form h2 { margin: 0 0 8px; font-size: 35px; }
.contact-form > p { margin: 0 0 28px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .field { margin-bottom: 17px; }
.contact-form .button { width: 100%; border: 0; cursor: pointer; }
.form-note { margin: 13px 0 0 !important; font-size: 12px; text-align: center; }

/* Individual service pages */
.service-page-hero { position: relative; overflow: hidden; padding: 78px 0 72px; background: radial-gradient(circle at 90% 15%,rgba(7,93,241,.12),transparent 34%),linear-gradient(145deg,#fff,#f3f8fd); }
.service-page-hero::after { content: ""; position: absolute; right: -160px; bottom: -330px; width: 620px; height: 620px; border-radius: 50%; background: rgba(17,162,83,.08); }
.service-page-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .9fr; gap: 58px; align-items: center; }
.service-page-hero h1 { margin: 0 0 24px; max-width: 720px; font-size: clamp(54px,7vw,88px); line-height: .91; letter-spacing: -.07em; }
.service-page-hero h1 span { color: var(--green); }
.service-page-hero .service-intro { max-width: 650px; margin: 0 0 28px; color: #34465d; font-size: 20px; line-height: 1.65; }
.service-hero-image { position: relative; min-height: 460px; overflow: hidden; border-radius: 34px; box-shadow: var(--shadow); }
.service-hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(5,27,44,.28),transparent 55%); }
.service-pill { position: absolute; z-index: 2; right: 20px; bottom: 20px; padding: 13px 17px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; color: #fff; background: rgba(4,27,44,.48); backdrop-filter: blur(9px); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.service-benefits { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 34px; }
.service-benefit { min-height: 138px; padding: 24px; border: 1px solid var(--line); border-radius: 23px; background: rgba(255,255,255,.96); box-shadow: 0 18px 42px rgba(30,66,99,.1); }
.service-benefit b { display: block; margin-bottom: 10px; color: var(--green); font-size: 23px; }
.service-benefit p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.service-detail { padding: 110px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 44px; }
.service-detail .section-title span { display: block; color: var(--green); }
.feature-item { position: relative; min-height: 220px; padding: 29px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 13px 35px rgba(24,57,89,.055); }
.feature-item::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg,var(--green),#5bd585); }
.feature-item:nth-child(even)::before { background: linear-gradient(90deg,var(--orange),#ff9b4a); }
.feature-item span { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 14px; color: #fff; background: linear-gradient(135deg,var(--green-deep),var(--green)); box-shadow: 0 9px 20px rgba(17,162,83,.2); font-weight: 900; }
.feature-item:nth-child(even) span { background: linear-gradient(135deg,#e84e0c,var(--orange)); box-shadow: 0 9px 20px rgba(255,100,23,.2); }
.feature-item h3 { margin: 0 0 10px; color: var(--green-deep); font-size: 22px; letter-spacing: -.025em; }
.feature-item:nth-child(even) h3 { color: #d94b0b; }
.feature-item p { margin: 0; color: var(--muted); line-height: 1.6; }
.service-offers { padding: 105px 0; background: #eef5fa; }
.offers-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.offers-heading .section-lead { max-width: 560px; margin: 0; }
.offers-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(245px,1fr)); gap: 16px; }
.offer-card { position: relative; display: flex; flex-direction: column; min-height: 430px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: 0 16px 42px rgba(23,57,90,.08); }
.offer-card.featured { border-color: rgba(7,93,241,.48); box-shadow: 0 22px 55px rgba(7,93,241,.14); }
.offer-card.featured::before { content: "Più scelto"; position: absolute; top: 16px; right: -34px; width: 130px; padding: 7px 0; color: #fff; background: var(--blue); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-align: center; text-transform: uppercase; transform: rotate(42deg); }
.offer-kicker { margin: 0 0 8px; color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.offer-card h3 { margin: 0 0 8px; padding-right: 25px; font-size: 27px; letter-spacing: -.035em; }
.offer-price { margin: 13px 0 4px; font-size: 24px; font-weight: 900; }
.offer-note { min-height: 36px; margin: 0 0 20px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.offer-card ul { display: grid; gap: 10px; margin: 0 0 26px; padding: 21px 0 0; border-top: 1px solid var(--line); list-style: none; }
.offer-card li { position: relative; padding-left: 21px; color: #34465d; font-size: 13px; line-height: 1.45; }
.offer-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.offer-card .button { min-height: 44px; margin-top: auto; padding-inline: 18px; font-size: 13px; }
.offers-footnote { margin: 24px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.service-journey { padding: 100px 0; color: #fff; background: #061c25; }
.service-journey .section-title { max-width: 820px; }
.journey-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 48px; border: 1px solid rgba(255,255,255,.16); border-radius: 25px; overflow: hidden; background: rgba(255,255,255,.16); }
.journey-step { padding: 34px; background: #061c25; }
.journey-step b { color: #64da94; font-size: 13px; letter-spacing: .14em; }
.journey-step h3 { margin: 20px 0 10px; font-size: 25px; }
.journey-step p { margin: 0; color: rgba(255,255,255,.68); line-height: 1.65; }
.service-cta { padding: 92px 0; text-align: center; background: radial-gradient(circle at 50% 100%,rgba(17,162,83,.16),transparent 46%),#fff; }
.service-cta h2 { max-width: 830px; margin: 0 auto 20px; font-family: Georgia,serif; font-size: clamp(45px,6vw,70px); font-weight: 500; line-height: 1; }
.service-cta p { max-width: 680px; margin: 0 auto 28px; color: var(--muted); font-size: 18px; line-height: 1.65; }

/* Game mod portfolio */
.mods-hero { padding-bottom: 88px; }
.mods-hero .service-page-grid { align-items: center; }
.mods-intro-note { display: inline-flex; align-items: center; gap: 9px; margin-top: 20px; padding: 10px 14px; border: 1px solid rgba(17,162,83,.22); border-radius: 999px; color: var(--green-deep); background: #eaf9ef; font-size: 12px; font-weight: 850; }
.mod-projects { padding: 105px 0; background: #061c25; color: #fff; }
.mod-projects .eyebrow { color: #72d99d; }
.mod-projects .section-lead { max-width: 650px; margin: 18px 0 0; color: rgba(255,255,255,.7); }
.mod-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 44px; }
.mod-card { overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 25px; background: rgba(255,255,255,.065); box-shadow: 0 20px 50px rgba(0,0,0,.16); }
.mod-card-image { position: relative; height: 220px; overflow: hidden; background: #102c35; }
.mod-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mod-card:hover .mod-card-image img { transform: scale(1.035); }
.mod-status { position: absolute; top: 15px; left: 15px; padding: 7px 10px; border-radius: 999px; color: #fff; background: rgba(6,28,37,.78); backdrop-filter: blur(8px); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.mod-status.wip { background: rgba(255,100,23,.88); }
.mod-card-body { padding: 25px; }
.mod-card-body h3 { margin: 0 0 9px; font-size: 25px; letter-spacing: -.035em; }
.mod-card-body p { min-height: 68px; margin: 0 0 20px; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.58; }
.mod-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; color: #7bdca2; font-size: 11px; font-weight: 850; }
.mod-card .text-link { color: #fff; }
.mod-disclaimer { margin: 30px 0 0; color: rgba(255,255,255,.53); font-size: 11px; line-height: 1.65; }
.mod-capabilities { padding: 105px 0; }
.mod-capability-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; margin-top: 42px; }
.mod-capability { min-height: 230px; padding: 28px; border: 1px solid var(--line); border-radius: 23px; background: #fff; box-shadow: 0 14px 38px rgba(24,57,89,.065); }
.mod-capability b { display: block; margin-bottom: 28px; color: var(--orange); font-size: 31px; }
.mod-capability h3 { margin: 0 0 10px; color: var(--green-deep); font-size: 22px; }
.mod-capability p { margin: 0; color: var(--muted); line-height: 1.6; }

@media (max-width: 980px) {
  .hero-grid, .cartoon-banner .wrap, .order-layout, .service-page-grid, .about-grid, .contact-layout { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; }
  .brand-orb { width: 280px; }
  .section-heading { align-items: start; flex-direction: column; }
  .offers-heading { align-items: start; flex-direction: column; }
  .service-card.large, .service-card.medium, .service-card.third { grid-column: span 6; }
  .service-card.large { min-height: 360px; }
  .order-preview { position: relative; top: 0; }
  .service-benefits, .feature-grid, .mod-grid, .mod-capability-grid { grid-template-columns: repeat(2,1fr); }
  .compare-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  body.admin-bar .site-header { top: 46px; }
  :root { --wrap: min(100% - 24px, 1180px); --radius: 22px; }
  .nav-shell { min-height: 68px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: calc(100% + 1px); left: 12px; right: 12px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px; }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(49px,16vw,72px); }
  .hero-visual { min-height: 365px; }
  .landscape, .landscape-wash { inset: 25px -12px 0 0; height: 335px; border-radius: 28px; }
  .brand-orb { width: 220px; left: 5%; }
  .hero-note { right: 2%; bottom: 18px; width: 160px; padding: 17px; font-size: 13px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .services, .process { padding: 78px 0; }
  .service-card.large, .service-card.medium, .service-card.third { grid-column: 1 / -1; min-height: 330px; }
  .service-card-content { max-width: 65%; padding: 25px; }
  .service-card .arrow { left: 25px; }
  .cartoon-art { opacity: .65; }
  .process-grid { grid-template-columns: 1fr; }
  .services-index-grid, .about-values-grid, .form-grid { grid-template-columns: 1fr; }
  .service-index-card-image { height: 235px; }
  .about-mark { min-height: 360px; }
  .service-page-hero { padding: 58px 0 62px; }
  .service-hero-image { min-height: 340px; }
  .service-benefits, .feature-grid, .journey-grid { grid-template-columns: 1fr; }
  .service-benefits { margin-top: 24px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .legal-wrap { grid-template-columns: 1fr; gap: 22px; padding-top: 40px; }
  .legal-nav { position: static; }
  .legal-content { padding: 26px; }
  .order-card { padding: 24px; }
  .style-options { grid-template-columns: 1fr; }
  .order-preview-visual { min-height: 330px; }
  .showcase-heading { align-items: flex-start; flex-direction: column; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-visual { height: 360px; }
  .people-callout { align-self: stretch; justify-content: center; }
  .mod-grid, .mod-capability-grid { grid-template-columns: 1fr; }
  .mod-card-image { height: 245px; }
}

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