@font-face { font-family: Manrope; src: url('../fonts/manrope-latin-wght.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Inter; src: url('../fonts/inter-latin-wght.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #1c2833; --ink-2: #3d4c59; --ink-3: #6b7a87; --line: #dfe6ec; --bg: #f5f8fa; --paper: #fff; --sand: #e9f0f5;
  --orange: #2d81b1; --orange-700: #1f5f85; --orange-50: #e8f2f8; --red: #ec6725; --dark: #0f2a3a;
  --font-head: Manrope, Inter, system-ui, sans-serif; --font-body: Inter, system-ui, sans-serif;
  --radius: 18px; --shadow: 0 12px 34px rgba(43, 43, 42, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--orange-700); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .6rem; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--ink-3); } .small { font-size: .88rem; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-700); margin-bottom: .6rem; }
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #0f4c6e 34%, var(--orange) 34% 67%, #7ab2d1 67%); }
.head { max-width: 780px; margin-bottom: 2.25rem; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand img { display: block; width: 264px; height: auto; }
@media (max-width: 480px) { .brand img { width: 210px; } }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { text-decoration: none; color: var(--ink-2); font-family: var(--font-head); font-weight: 700; font-size: .95rem; padding: .55rem .9rem; border-radius: 999px; }
.nav a:hover, .nav a[aria-current] { background: var(--orange-50); color: var(--orange-700); }
.nav a.btn { color: #fff; margin-left: .5rem; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8rem 1.35rem; border-radius: 999px; background: var(--orange); color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 700; border: 0; cursor: pointer; font-size: .98rem; transition: background-color .15s, transform .15s; }
.btn:hover { background: var(--orange-700); transform: translateY(-1px); }
.btn.small { padding: .55rem 1rem; font-size: .9rem; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); } .btn.ghost:hover { background: var(--sand); }
.btn.light { background: #fff; color: var(--ink); } .btn.light:hover { background: var(--sand); }
.btn.ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .4); } .btn.ghost-light:hover { background: rgba(255, 255, 255, .1); }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 3rem; align-items: center; }
.hero-card { background: var(--dark); color: #e9e6e0; border-radius: var(--radius); padding: 1.75rem 1.9rem; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero-card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 129, 177, .55), transparent 70%); }
.hero-card p { margin: 1rem 0 .75rem; font-size: .98rem; } .hero-card strong { color: #fff; }
.hero-card .link { color: var(--orange); font-weight: 700; text-decoration: none; font-family: var(--font-head); }
.who { display: flex; }
.who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--dark); margin-left: -14px; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.who img:first-child { margin-left: 0; }

/* sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }
.grid3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.srv { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.8rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.srv.accent { border-top: 5px solid var(--orange); }
.ico { width: 48px; height: 48px; border-radius: 14px; background: var(--orange-50); color: var(--orange-700); display: grid; place-items: center; margin-bottom: 1rem; }
.ico svg { width: 26px; height: 26px; }
.srv p { color: var(--ink-2); }
.srv ul li, .block ul li { position: relative; padding-left: 1.3rem; margin-bottom: .45rem; color: var(--ink-2); font-size: .95rem; }
.srv ul li::before, .block ul li::before { content: ''; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; border-radius: 2px; background: var(--orange); }
.two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.net { display: grid; gap: 1rem; }
.net-item { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 1.25rem; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.25rem; }
.net-item img { width: 100%; max-height: 48px; object-fit: contain; }
.net-item span { font-size: .9rem; color: var(--ink-2); }
.cta-band { background: var(--dark); color: #fff; }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cta-inner h2 { color: #fff; margin-bottom: .25rem; } .cta-inner p { margin: 0; color: #bdb8b0; } .cta-inner .cta { margin: 0; }

/* servizi */
.blocks { display: grid; gap: 1.5rem; }
.block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 2rem; box-shadow: var(--shadow); }
.block.accent { border-left: 6px solid var(--orange); }
.block-head { display: flex; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.block-head svg { width: 30px; height: 30px; color: var(--orange-700); flex: none; }
.block-head h2 { margin: 0; font-size: 1.45rem; }
.block .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.block p { color: var(--ink-2); }

/* professionisti */
.profs { display: grid; gap: 1.25rem; }
.prof { display: grid; grid-template-columns: 160px 1fr; gap: 1.75rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.9rem; box-shadow: var(--shadow); }
.prof img { width: 160px; height: 160px; border-radius: 30% / 40%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.prof h2 { font-size: 1.5rem; margin-bottom: .4rem; } .prof p { margin: 0; color: var(--ink-2); }

/* contatti */
.two-cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }
.fisc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.9rem; box-shadow: var(--shadow); border-top: 6px solid var(--orange); }
.fisc header h2 { margin-bottom: .1rem; font-size: 1.5rem; }
.fisc dl { margin: 1.25rem 0 0; }
.row { display: grid; grid-template-columns: 150px 1fr auto; gap: .5rem 1rem; align-items: center; padding: .65rem 0; border-top: 1px solid var(--line); }
.row dt { color: var(--ink-3); font-size: .85rem; font-weight: 600; margin: 0; }
.row dd { margin: 0; font-weight: 600; word-break: break-word; }
.row dd.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.05rem; letter-spacing: .04em; }
.copy { background: var(--orange-50); color: var(--orange-700); border: 0; border-radius: 999px; padding: .35rem .8rem; font: 700 .8rem var(--font-head); cursor: pointer; }
.copy:hover { background: var(--orange); color: #fff; } .copy.ok, .btn.copy.ok { background: #2e9e5b; color: #fff; }
.actions { margin-top: 1.25rem; }
.form { display: grid; gap: .9rem; margin-top: 1rem; }
.form label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 600; color: var(--ink-3); }
.form input, .form select, .form textarea { font: inherit; color: var(--ink); padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }

/* footer */
.foot { background: var(--dark); color: #bdb8b0; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .75rem; }
.foot a { display: block; color: #ddd8d0; text-decoration: none; margin-bottom: .45rem; font-size: .95rem; } .foot a:hover { color: #fff; }
.foot p { font-size: .92rem; margin-top: 1rem; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.foot-bottom a { display: inline; margin: 0; }

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; gap: .25rem; box-shadow: 0 20px 40px rgba(0,0,0,.12); }
  .nav.open { display: flex; } .nav a { padding: .8rem 1rem; } .nav a.btn { margin: .5rem 0 0; }
  .hero-grid, .two { grid-template-columns: 1fr; gap: 2rem; }
  .block .cols { grid-template-columns: 1fr; }
  .prof { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .foot-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr auto; } .row dt { grid-column: 1 / -1; }
}

/* fortugno extra */
.portrait { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: center; }
.portrait img { width: 200px; height: 200px; border-radius: 30% / 40%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 12px 30px rgba(15,42,58,.18); }
.hero-photo { display: grid; place-items: center; }
.hero-photo img { width: min(100%, 340px); aspect-ratio: 1; object-fit: cover; border-radius: 34% / 42%; border: 6px solid #fff; box-shadow: 0 24px 50px rgba(15,42,58,.2); }
.steps { counter-reset: s; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--orange); opacity: .6; display: block; line-height: 1; margin-bottom: .5rem; }
.step h3 { font-size: 1.1rem; } .step p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 860px) { .portrait { grid-template-columns: 1fr; justify-items: center; text-align: center; } .hero-photo { order: -1; } .hero-photo img { width: 200px; } }
