/* mavero Studio Web — consolidated design system */

/* Font self-hosted: nessuna richiesta a server Google (GDPR-friendly) */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/instrument-serif.woff2") format("woff2");
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-var.woff2") format("woff2");
}

/* Subset con i soli glifi del wordmark "mavero" (2KB invece di 35KB) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/montserrat-brand.woff2") format("woff2");
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

:root {
  --ink: #0b0d10;
  --ink-soft: #0b0d10;
  --paper: #f8f8f6;
  --paper-light: #ffffff;
  --white: #ffffff;
  --gold: #ae8845;
  --gold-light: #d8bc7d;
  --muted: #62625d;
  --line: rgba(7, 8, 11, .12);
  --line-light: rgba(255, 255, 255, .16);
  --shadow: 0 28px 80px rgba(7, 8, 11, .12);
  --font-logo: "Montserrat", sans-serif;
  --font-heading: "Instrument Serif", serif;
  --font-body: "Inter", sans-serif;
  --serif: var(--font-heading);
  --sans: var(--font-body);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: #22221f;
  background:
    radial-gradient(circle at 84% 5%, rgba(174, 136, 69, .055), transparent 25rem),
    linear-gradient(180deg, var(--paper-light) 0, var(--paper) 100%);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .26;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

.home-page {
  position: relative;
  padding-top: 0;
  background: var(--paper);
}

html[data-route-lang] {
  background: var(--ink);
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

::selection {
  color: var(--ink);
  background: rgba(216, 188, 125, .58);
}

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at -5% 35%, rgba(174, 136, 69, .10), transparent 25rem),
    radial-gradient(circle at 105% 75%, rgba(174, 136, 69, .08), transparent 28rem);
}

.section,
.section-sm,
.site-header,
.site-footer {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding-block: 112px;
}

.section-sm {
  padding-block: 28px 72px;
}

#services,
#work,
#packages,
#process,
#contact,
#italiano,
#english {
  scroll-margin-top: 18px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button):focus-visible {
  outline: 3px solid rgba(174, 136, 69, .58);
  outline-offset: 4px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: 100%;
  min-height: 68px;
  margin: 0;
  padding: 9px max(24px, calc((100vw - 1240px) / 2));
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: rgba(255, 255, 255, .34);
  box-shadow: none;
  backdrop-filter: blur(14px) saturate(108%);
  transition: transform .35s ease, box-shadow .25s ease, background .25s ease;
}

.site-header.nav-hidden {
  transform: translateY(calc(-100% - 24px));
}

.home-page .site-header {
  color: var(--white);
  margin-top: 0;
  border-color: rgba(255, 255, 255, .10);
  background: rgba(11, 13, 16, .56);
  box-shadow: 0 12px 38px rgba(0, 0, 0, .14);
  backdrop-filter: blur(16px) saturate(108%);
}

.home-page .nav-links {
  color: rgba(255, 255, 255, .64);
}

.home-page .nav-links a:hover,
.home-page .nav-links a.is-current,
.home-page .nav-links a[aria-current="location"] {
  color: var(--white);
}

.home-page .lang-switch {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
}

.home-page .lang-btn {
  color: rgba(255, 255, 255, .62);
}

.home-page .lang-btn.active {
  color: var(--ink);
  background: #f4efe6;
}

.home-page .header-cta {
  color: var(--ink);
  background: #f4efe6;
  box-shadow: none;
}

.home-page .nav-toggle {
  color: var(--white);
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .07);
}

.home-page .site-header.on-light {
  color: var(--ink);
  border-color: rgba(7, 8, 11, .08);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 36px rgba(7, 8, 11, .08);
  backdrop-filter: blur(16px) saturate(108%);
}

.home-page .site-header.on-light .nav-links {
  color: var(--muted);
}

.home-page .site-header.on-light .nav-links a:hover,
.home-page .site-header.on-light .nav-links a.is-current,
.home-page .site-header.on-light .nav-links a[aria-current="location"] {
  color: var(--ink);
}

.home-page .site-header.on-light .lang-switch {
  border-color: var(--line);
  background: rgba(255, 255, 255, .50);
}

.home-page .site-header.on-light .lang-btn {
  color: var(--muted);
}

.home-page .site-header.on-light .lang-btn.active {
  color: var(--white);
  background: var(--ink);
}

.home-page .site-header.on-light .header-cta {
  color: var(--white);
  background: var(--ink);
}

.home-page .site-header.on-light .nav-toggle {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, .55);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.brand-wordmark {
  align-items: baseline;
  gap: 8px;
  letter-spacing: 0;
}

.brand-name {
  font-family: "Montserrat", var(--sans);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: lowercase;
}

.brand-service {
  font-family: "Inter", var(--sans);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .82;
  transform: translateY(-1px);
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #575249;
  font-size: 13px;
  font-weight: 720;
}

.nav-links a {
  position: relative;
  padding-block: 8px;
  transition: color .2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.nav-links a:hover,
.nav-links a.is-current,
.nav-links a[aria-current="location"],
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.is-current::after,
.nav-links a[aria-current="location"]::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions,
.lang-switch {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 9px;
}

.lang-switch {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
}

.lang-btn {
  width: 42px;
  height: 40px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.lang-btn.active {
  color: var(--white);
  background: var(--ink);
}

.nav-toggle {
  display: none;
  min-height: 40px;
  padding-inline: 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.header-cta,
.primary-btn,
.secondary-btn,
.package-card > a {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 21px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 820;
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), color .22s ease, background .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.header-cta,
.primary-btn {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(16, 18, 22, .16);
}

.header-cta::after,
.primary-btn::after,
.package-card > a::after {
  content: none;
}

.secondary-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .45);
}

.header-cta:hover,
.primary-btn:hover,
.secondary-btn:hover,
.package-card > a:hover {
  transform: translateY(-3px);
}

/* Scelta del servizio email */
.email-dialog {
  width: min(520px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
}

.email-dialog::backdrop {
  background: rgba(8, 9, 11, .72);
  backdrop-filter: blur(8px);
}

.email-dialog-card {
  position: relative;
  padding: 34px;
}

.email-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, .05);
  font-size: 18px;
  cursor: pointer;
}

.email-dialog-kicker {
  margin-bottom: 12px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.email-dialog h2 {
  max-width: 390px;
  padding-right: 34px;
  font-size: clamp(30px, 6vw, 42px);
  line-height: 1.08;
  letter-spacing: -.025em;
  word-spacing: .05em;
}

.email-dialog-intro {
  margin-top: 14px;
  color: rgba(255, 255, 255, .62);
  font-size: 14px;
}

.email-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 26px;
}

.email-option {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 17px;
  color: var(--white);
  background: rgba(255, 255, 255, .045);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.email-option:hover {
  border-color: rgba(216, 188, 125, .48);
  background: rgba(255, 255, 255, .08);
  transform: translateY(-2px);
}

.email-option strong { font-size: 14px; }
.email-option small { margin-top: 3px; color: rgba(255, 255, 255, .50); font-size: 11px; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  margin-top: -92px;
  padding: 162px max(24px, calc((100vw - 1240px) / 2)) 86px;
  color: var(--white);
  background-color: #0B0D10;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -3%;
  z-index: 0;
  display: block;
  pointer-events: none;
  background: #0B0D10 url("assets/images/hero-creazione.webp") right center / contain no-repeat;
  transform-origin: 72% 58%;
  will-change: transform;
  animation: heroArtworkDrift 18s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(11, 13, 16, .88) 0%,
    rgba(11, 13, 16, .78) 32%,
    rgba(11, 13, 16, .46) 52%,
    rgba(11, 13, 16, .12) 76%,
    rgba(11, 13, 16, .02) 100%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 640px;
  margin-inline: 0;
  text-align: left;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: min(1240px, 100%);
  margin-inline: auto;
}

.hero-copy > * {
  animation: heroEnter .9s cubic-bezier(.2, .8, .2, 1) both;
}

.hero-copy h1 { animation-delay: .08s; }
.hero-copy .hero-text { animation-delay: .16s; }
.hero-copy .hero-actions { animation-delay: .24s; }
.hero-copy .founder-note { animation-delay: .32s; }

.eyebrow,
.section-kicker,
.concept-label,
.package-label {
  color: #806230;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}

.hero .eyebrow {
  color: var(--gold-light);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 640px;
  margin-inline: 0;
  font-size: clamp(56px, 6vw, 88px);
  line-height: .98;
  letter-spacing: -.052em;
  color: #f5f1e9;
}

.hero-text {
  max-width: 565px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .66);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 34px;
}

.hero .primary-btn {
  color: var(--ink);
  background: #f4efe6;
  box-shadow: none;
}

.hero .primary-btn:hover {
  background: var(--gold-light);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
}

.hero .secondary-btn {
  color: var(--white);
  border-color: rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(8px);
}

.hero .secondary-btn:hover {
  border-color: rgba(216, 188, 125, .62);
  background: rgba(255, 255, 255, .10);
}

.founder-note {
  margin-top: 20px;
  color: rgba(255, 255, 255, .44);
  font-size: 12px;
  letter-spacing: .025em;
}

@keyframes heroArtworkDrift {
  0% { transform: scale(1.01) translate3d(0, 0, 0); }
  50% { transform: scale(1.045) translate3d(-.55%, .25%, 0); }
  100% { transform: scale(1.025) translate3d(.35%, -.3%, 0); }
}

/* Editorial headings */
.section-heading {
  max-width: 810px;
  margin-bottom: 48px;
}

.section-kicker {
  display: block;
  margin-bottom: 15px;
}

.section-heading h2,
.contact-card h2 {
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.08;
  word-spacing: .025em;
}

.section-heading > p:not(.section-kicker),
.contact-card > div > p:not(.section-kicker) {
  max-width: 690px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
}

/* Services */
/* Services */
.services-section {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
  color: var(--white);
  background: var(--ink);
}

.services-section .section-heading { margin-bottom: 64px; }
.services-section .section-kicker { color: var(--gold-light); }
.services-section .section-heading > p:not(.section-kicker) { color: rgba(255, 255, 255, .55); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 0;
}

/* Card 1 — wide: immagine a sinistra, testo a destra */
.service-card:nth-child(1) {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 500px;
}

/* Card 4 — wide: testo a sinistra, immagine a destra */
.service-card:nth-child(4) {
  grid-column: span 2;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 500px;
}

.service-card:nth-child(4) .service-card-img { order: 2; }
.service-card:nth-child(4) .service-card-body { order: 1; }

/* Card 2 e 3 — strette */
.service-card:nth-child(2),
.service-card:nth-child(3) {
  display: flex;
  flex-direction: column;
}

.service-card:nth-child(2) .service-card-img,
.service-card:nth-child(3) .service-card-img {
  flex: 1;
  min-height: 0;
}

.service-card {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.service-card-img {
  overflow: hidden;
  background: var(--ink);
  position: relative;
}

.service-card:nth-child(1) .service-card-img,
.service-card:nth-child(4) .service-card-img { height: 100%; }

.service-card:nth-child(2) .service-card-img,
.service-card:nth-child(3) .service-card-img { aspect-ratio: 4 / 5; }

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  scale: 1;
  transition: filter .45s ease;
}

.service-card:hover .service-card-img img { filter: brightness(1.035); }

.service-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px;
}

.service-card:nth-child(2) .service-card-body,
.service-card:nth-child(3) .service-card-body {
  padding: 20px 22px 24px;
}

.service-num {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .105em;
  animation: numFloat 4.2s ease-in-out infinite;
  transition: color .25s ease;
}

.service-card:hover .service-num { color: var(--white); }

.service-card h3 { transition: color .25s ease; }

.service-card:hover h3 { color: var(--gold-light); }

.service-card:nth-child(1) .service-num { animation-delay: 0s; }
.service-card:nth-child(2) .service-num { animation-delay: .5s; }
.service-card:nth-child(3) .service-num { animation-delay: 1s; }
.service-card:nth-child(4) .service-num { animation-delay: 1.5s; }

@keyframes numFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.service-card h3 {
  color: var(--white);
  font-size: clamp(22px, 2.2vw, 32px);
  margin-bottom: 12px;
}

.service-card:nth-child(1) h3,
.service-card:nth-child(4) h3 { font-size: clamp(26px, 2.6vw, 38px); }

.service-card p {
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
  line-height: 1.68;
}

.service-card h3,
.package-card h3 {
  font-family: var(--serif);
  letter-spacing: -.018em;
  word-spacing: .04em;
}

.service-card h3 { line-height: 1.12; }

/* Work */
.work-section {
  position: relative;
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
  padding-top: 104px;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(247, 243, 237, .32), rgba(247, 243, 237, .40)),
    url("assets/images/ponte-vecchio-concept.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.work-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .10), transparent 40%),
    linear-gradient(180deg, rgba(251, 248, 243, .12), rgba(247, 243, 237, .30));
  pointer-events: none;
  z-index: 0;
}

.work-section > * {
  position: relative;
  z-index: 1;
}

.work-section .concept-heading {
  max-width: 920px;
  margin: 0 auto 62px;
  text-align: center;
}

.work-section .concept-heading > p:not(.section-kicker) {
  max-width: 790px;
  margin: 24px auto 0;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.concept-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(85, 73, 55, .16);
  border-radius: 0;
  background: transparent;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.concept-image-wrap {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid rgba(85, 73, 55, .10);
  background: #ece6db;
}

.concept-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.concept-card:hover {
  border-color: rgba(174, 136, 69, .30);
  box-shadow: 0 20px 48px rgba(47, 40, 30, .09);
  transform: translateY(-5px);
}

.concept-card:hover .concept-image { transform: scale(1.025); }

.concept-body {
  min-height: 228px;
  display: flex;
  flex-direction: column;
  padding: 28px 30px 30px;
  background: rgba(247, 243, 237, .62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.concept-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: #806230;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.concept-num {
  min-width: 26px;
  color: var(--gold);
}

.concept-category {
  padding-left: 11px;
  border-left: 1px solid rgba(128, 98, 48, .30);
}

.concept-body h3 {
  font-family: var(--serif);
  max-width: 520px;
  margin-bottom: 14px;
  color: #24231f;
  font-size: clamp(31px, 3.2vw, 43px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.025em;
}

.concept-description {
  max-width: 520px;
  color: #68645d;
  font-size: 15px;
  line-height: 1.7;
}

/* Packages */
.packages-section {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
  color: var(--white);
  background: var(--ink-soft);
}

.packages-section .section-kicker { color: var(--gold-light); }
.packages-section .section-heading > p:not(.section-kicker) { color: rgba(255, 255, 255, .60); }

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

.package-card {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .035);
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), border-color .3s ease, background .3s ease;
}

.package-card:not(.featured):hover { transform: translateY(-8px); border-color: rgba(216, 188, 125, .42); }
.package-card.featured:hover { transform: translateY(-18px); }

.package-card.featured {
  color: var(--ink);
  background: #ede6d8;
  transform: translateY(-12px);
}

.package-label { margin-bottom: 34px; color: var(--gold-light); }
.package-card.featured .package-label { color: #684d20; }
.package-card h3 { font-size: 39px; line-height: 1.08; }

.package-card > p {
  margin-top: 16px;
  color: rgba(255, 255, 255, .58);
  font-size: 14px;
}

.package-card.featured > p { color: rgba(16, 18, 22, .66); }

.package-card ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.package-card.featured ul { border-color: rgba(16, 18, 22, .16); }

.package-card li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.package-card li::before { content: "—"; color: var(--gold-light); }
.package-card.featured li::before { color: #684d20; }

.package-card > a {
  width: 100%;
  margin-top: auto;
  color: var(--ink);
  background: var(--white);
}

.package-card.featured > a { color: var(--white); background: var(--ink); }

/* Process — editorial layout */
.process-section { background: var(--paper); }

.process-container {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.process-header {
  max-width: 700px;
  margin-bottom: 64px;
}

.process-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.process-title {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.08;
  color: #24231f;
  margin-bottom: 18px;
}

.process-subtitle {
  max-width: 650px;
  color: #68645d;
  font-size: 17px;
  line-height: 1.65;
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 56px;
  align-items: stretch;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.process-card {
  padding: 32px 34px;
  border: 1px solid rgba(85, 73, 55, .14);
  border-radius: 20px;
  background: rgba(255, 255, 255, .55);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), border-color .3s ease;
}

.process-card:nth-child(even) {
  background: rgba(247, 243, 237, .65);
}

.process-card:hover {
  transform: translateY(-3px);
  border-color: rgba(174, 136, 69, .35);
}

.process-number {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
}

.process-card-title { margin-bottom: 8px; font-size: 22px; }

.process-card-text {
  color: #68645d;
  font-size: 14.5px;
  line-height: 1.65;
}

.process-visual {
  position: sticky;
  top: 100px;
  align-self: stretch;
  overflow: hidden;
  border-radius: 28px;
}

.process-image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ */
.faq-section {
  position: relative;
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1240px) / 2));
  padding-top: 72px;
  overflow: hidden;
  background-image:
    linear-gradient(
      90deg,
      rgba(247, 243, 237, .92) 0%,
      rgba(247, 243, 237, .78) 38%,
      rgba(247, 243, 237, .42) 68%,
      rgba(247, 243, 237, .26) 100%
    ),
    url("assets/images/firenze-faq-bg.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 35%, rgba(251, 248, 243, .55), transparent 34%),
    linear-gradient(180deg, rgba(251, 248, 243, .22), rgba(247, 243, 237, .40));
  pointer-events: none;
  z-index: 0;
}

.faq-section > * {
  position: relative;
  z-index: 1;
}

.faq-list {
  max-width: 820px;
  border-top: 1px solid rgba(23, 23, 23, .10);
}

.faq-list details {
  border-bottom: 1px solid rgba(23, 23, 23, .10);
}

.faq-list summary {
  position: relative;
  padding: 24px 54px 24px 0;
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -.025em;
  list-style: none;
  cursor: pointer;
  color: #171717;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 20px;
  right: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 23, 23, .12);
  border-radius: 50%;
  background: rgba(251, 248, 243, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #b89b67;
  font-family: var(--sans);
  font-size: 19px;
  transition: transform .25s ease, color .25s ease, background .25s ease;
}

.faq-list details[open] summary::after {
  color: var(--white);
  background: var(--ink);
  transform: rotate(45deg);
}

.faq-list details > p {
  max-width: 720px;
  padding: 0 54px 25px 0;
  color: var(--muted);
  font-size: 15px;
}

/* Contact */
.contact-section {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  padding-block: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: 680px;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.contact-image-col {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.contact-image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
}

.contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(.88) saturate(.9);
}

.contact-image-caption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 36px);
  text-align: center;
  color: #000;
  text-shadow: 0 1px 6px rgba(255, 255, 255, .65), 0 1px 2px rgba(255, 255, 255, .65);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}

.contact-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 80px);
  background: var(--ink);
}

.contact-text .section-kicker { color: var(--gold-light); margin-bottom: 15px; }
.contact-text h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.contact-text > p:not(.section-kicker) { color: rgba(255, 255, 255, .58); font-size: 16px; line-height: 1.65; }

.contact-card .primary-btn { color: var(--ink); background: var(--gold-light); }

/* Footer */
.site-footer {
  width: 100%;
  max-width: none;
  padding: 64px max(24px, calc((100vw - 1240px) / 2)) 36px;
  background: var(--ink);
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand-link {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--white);
}

.footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, .60);
  line-height: 1.65;
  max-width: 290px;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .48);
  margin-bottom: 14px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col-links a {
  color: rgba(255, 255, 255, .70);
  font-size: 13px;
  font-weight: 500;
  transition: color .2s ease;
}

.footer-col-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, .52);
}

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

.footer-links a {
  color: rgba(255, 255, 255, .66);
  font-weight: 500;
  transition: color .2s ease;
}

.footer-links a:hover { color: var(--white); }

/* Legal pages */
.legal-main {
  width: min(980px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 92px 80px;
}

.legal-hero {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.legal-hero > a {
  display: inline-block;
  margin-bottom: 30px;
  color: #806230;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.legal-hero h1 { font-size: clamp(56px, 8vw, 94px); line-height: 1.02; }

.legal-hero > p {
  max-width: 690px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
}

.legal-lang {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.legal-lang a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.legal-content {
  display: grid;
  gap: 0;
  padding-top: 58px;
}

.legal-content + .legal-content { margin-top: 54px; border-top: 1px solid var(--line); }

.legal-card {
  display: grid;
  grid-template-columns: minmax(220px, .35fr) 1fr;
  gap: 42px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-card h2 {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.legal-card h3 { margin-top: 16px; font-size: 17px; }

.legal-card p,
.legal-card ul {
  grid-column: 2;
  color: var(--muted);
  font-size: 15px;
}

.legal-card p + p { margin-top: -26px; }
.legal-card ul { display: grid; gap: 8px; padding-left: 18px; }
.legal-card a { color: #806230; text-decoration: underline; text-underline-offset: 3px; }

.legal-note {
  margin-bottom: 18px;
  padding: 28px;
  border: 0;
  border-radius: var(--radius-md);
  background: rgba(216, 188, 125, .25);
}

/* Reveal and motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2, .8, .2, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .78s ease, transform .78s cubic-bezier(.2, .8, .2, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .78s ease, transform .78s cubic-bezier(.2, .8, .2, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(.94) translateY(20px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2, .8, .2, 1);
}

.reveal.active     { opacity: 1; transform: translateY(0); }
.reveal-left.active  { opacity: 1; transform: translateX(0); }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.reveal-scale.active { opacity: 1; transform: scale(1) translateY(0); }

.delay-1 { transition-delay: .10s; }
.delay-2 { transition-delay: .20s; }
.delay-3 { transition-delay: .30s; }
.delay-4 { transition-delay: .40s; }

.contact-image {
  will-change: transform;
}

@keyframes heroEnter {
  from { opacity: 0; transform: translateY(24px); filter: blur(7px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Contact form */
.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form-fields {
  display: grid;
  gap: 28px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 13px;
  background: rgba(0, 0, 0, .35);
  color: var(--white);
  font: inherit;
  font-size: 14px;
  outline: none;
  resize: none;
  -webkit-appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, .38);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(216, 188, 125, .16);
}

.contact-form textarea { min-height: 110px; }

.contact-submit {
  width: 100%;
  margin-top: 2px;
}

.contact-submit::after { display: none; }

.contact-submit.loading {
  opacity: .6;
  pointer-events: none;
  cursor: default;
}

.contact-form-error {
  display: none;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(220, 80, 60, .12);
  border: 1px solid rgba(220, 80, 60, .28);
  color: rgba(255, 180, 160, .9);
  font-size: 13px;
  line-height: 1.5;
}

.contact-form-error.visible { display: block; }

.contact-form-success {
  display: none;
  padding: 22px 20px 20px;
  border-radius: 13px;
  background: rgba(216, 188, 125, .10);
  border: 1px solid rgba(216, 188, 125, .22);
  color: var(--gold-light);
  font-size: 14px;
  line-height: 1.65;
  text-align: center;
}

.contact-form-success::before {
  content: '✓';
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
  opacity: .9;
}

.contact-form-success.visible { display: block; }
.contact-form-fields.hidden { display: none; }

.contact-instagram-link {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  color: rgba(255, 255, 255, .34);
  font-size: 13px;
  transition: color .2s ease;
}

.contact-form-fields + .contact-form-success + .contact-instagram-link,
.contact-instagram-link {
  display: flex;
}

.contact-instagram-link:hover { color: rgba(255, 255, 255, .65); }

.contact-instagram-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Typography */
body,
p,
a,
button,
li,
input,
textarea,
select,
label {
  font-family: var(--font-body);
}

h1,
h2,
h3,
.email-dialog h2,
.hero h1,
.section-heading h2,
.contact-card h2,
.service-card h3,
.concept-body h3,
.process-card-title,
.package-card h3,
.faq-list summary,
.contact-text h2,
.legal-hero h1,
.legal-card h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -.028em;
  word-spacing: normal;
}

h4,
h5,
h6 {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -.01em;
}

.hero h1 {
  font-weight: 400;
  letter-spacing: -.038em;
  line-height: .96;
}

.section-heading h2,
.contact-card h2,
.contact-text h2 {
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1;
}

.service-card h3,
.concept-body h3,
.process-card-title,
.package-card h3 {
  font-weight: 400;
  letter-spacing: -.018em;
  line-height: 1.05;
}

.faq-list summary,
.legal-card h2 {
  font-weight: 400;
  line-height: 1.08;
}

.brand,
.brand-name {
  font-family: var(--font-logo);
  font-weight: 600;
}

.brand-service {
  font-family: var(--font-body);
  font-weight: 500;
}

.nav-links,
.nav-toggle,
.lang-btn,
.header-cta,
.primary-btn,
.secondary-btn,
.package-card > a,
.email-option {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .01em;
}

.eyebrow,
.section-kicker,
.package-label,
.footer-col-title {
  font-family: var(--font-body);
  font-weight: 600;
}

/* Tablet */
@media (max-width: 1020px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand-col { grid-column: 1 / -1; }

  .site-header { grid-template-columns: auto 1fr auto; gap: 16px; }
  .nav-links { gap: 14px; }
  .header-cta { display: none; }

  .hero {
    min-height: 820px;
    padding-top: 154px;
    background-position: 58% center;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy { max-width: 610px; }

  .contact-card { grid-template-columns: 1fr; }
  .contact-image-col { max-height: 380px; }

  .services-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .service-card:nth-child(1),
  .service-card:nth-child(4) { grid-column: span 2; min-height: 360px; }
  .service-card:nth-child(1) .service-card-body,
  .service-card:nth-child(4) .service-card-body { padding: 36px 32px; }

  .process-layout { grid-template-columns: 1fr; gap: 40px; }
  .process-visual { position: relative; order: -1; max-width: 420px; margin-inline: auto; align-self: auto; aspect-ratio: 4 / 3; }

}

/* Mobile */
@media (max-width: 760px) {
  .work-section {
    background-position: center top;
    background-image:
      linear-gradient(rgba(247, 243, 237, .45), rgba(247, 243, 237, .55)),
      url("assets/images/ponte-vecchio-concept.webp");
  }

  .faq-section {
    background-position: center top;
    background-image:
      linear-gradient(rgba(247, 243, 237, .94), rgba(247, 243, 237, .96)),
      url("assets/images/firenze-faq-bg.webp");
  }

  .faq-list { max-width: 100%; }

  .home-page { padding-top: 0; }

  .section,
  .section-sm,
  .site-header,
  .site-footer { width: min(100% - 24px, 1240px); }

  .hero,
  .services-section,
  .work-section,
  .packages-section,
  .faq-section,
  .contact-section,
  .site-header,
  .site-footer {
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .section { padding-block: 76px; }
  .section-sm { padding-block: 18px 48px; }

  .site-header {
    top: 0;
    grid-template-columns: 1fr auto;
    gap: 9px;
    width: 100%;
    min-height: 60px;
    margin: 0;
    padding: 8px 12px;
    border-radius: 0;
  }

  .site-header .brand { grid-row: 1; grid-column: 1; }
  .site-header .header-actions { grid-row: 1; grid-column: 2; }

  .brand { gap: 9px; font-size: 14px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .lang-switch { order: -1; }
  .lang-btn { width: 40px; height: 38px; font-size: 10px; }

  .nav-links { display: none; }

  /* Menu fullscreen: copre lo schermo, l'header resta sopra con brand e Chiudi */
  .site-header.menu-open,
  .home-page .site-header.on-light.menu-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none;
    color: #f5f1e9;
    background: #0B0D10;
    border-bottom-color: rgba(255, 255, 255, .10);
    box-shadow: none;
  }

  .site-header.menu-open .nav-toggle,
  .home-page .site-header.on-light.menu-open .nav-toggle {
    color: #f5f1e9;
    border-color: rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .06);
  }

  .site-header.menu-open .lang-switch,
  .home-page .site-header.on-light.menu-open .lang-switch {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .05);
  }

  .site-header.menu-open .lang-btn { color: rgba(245, 241, 233, .62); }
  .site-header.menu-open .lang-btn.active,
  .home-page .site-header.on-light.menu-open .lang-btn.active {
    color: #0B0D10;
    background: #f5f1e9;
  }

  .site-header.menu-open .nav-links {
    position: fixed;
    inset: 0;
    z-index: -1;
    justify-self: stretch;
    align-self: stretch;
    width: 100vw;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 60px 28px 40px;
    background: #0B0D10;
    border-top: 0;
  }

  .site-header.menu-open .nav-links a {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    color: #f5f1e9;
    font-family: var(--font-heading);
    font-size: clamp(36px, 10.5vw, 48px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -.02em;
    opacity: 0;
    transform: translateY(16px);
    animation: menuLinkIn .55s cubic-bezier(.2, .8, .2, 1) forwards;
  }

  .site-header.menu-open .nav-links a:nth-child(1) { animation-delay: .06s; }
  .site-header.menu-open .nav-links a:nth-child(2) { animation-delay: .13s; }
  .site-header.menu-open .nav-links a:nth-child(3) { animation-delay: .20s; }
  .site-header.menu-open .nav-links a:nth-child(4) { animation-delay: .27s; }
  .site-header.menu-open .nav-links a:nth-child(5) { animation-delay: .34s; }

  /* Link della sezione/pagina corrente: oro (batte la variante on-light che lo renderebbe nero su nero) */
  .site-header.menu-open .nav-links a:hover,
  .site-header.menu-open .nav-links a.is-current,
  .site-header.menu-open .nav-links a[aria-current="location"],
  .site-header.menu-open .nav-links a[aria-current="page"],
  .home-page .site-header.on-light.menu-open .nav-links a:hover,
  .home-page .site-header.on-light.menu-open .nav-links a.is-current,
  .home-page .site-header.on-light.menu-open .nav-links a[aria-current="location"],
  .home-page .site-header.on-light.menu-open .nav-links a[aria-current="page"] {
    color: var(--gold-light);
  }

  .nav-links a::after { display: none; }

  body.menu-locked { overflow: hidden; }
}

@keyframes menuLinkIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {

  .hero {
    width: 100%;
    max-width: none;
    min-height: max(720px, 100svh);
    margin-top: -80px;
    padding: 142px 20px 62px;
    align-items: start;
  }

  .hero::after {
    inset: -2%;
    background-image: url("assets/images/hero-creazione-mobile.webp");
    background-position: center bottom;
    background-size: 118% auto;
    transform-origin: 50% 90%;
    animation-duration: 15s;
  }

  .hero::before {
    background: linear-gradient(180deg,
      rgba(11, 13, 16, .98) 0%,
      rgba(11, 13, 16, .94) 48%,
      rgba(11, 13, 16, .72) 72%,
      rgba(11, 13, 16, .10) 100%);
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
    text-align: left;
  }

  .hero h1 { max-width: 620px; font-size: clamp(46px, 13.5vw, 60px); line-height: 1.01; }
  .hero-text { max-width: 520px; margin: 24px 0 0; font-size: 16px; }
  .hero-actions { margin-top: 27px; }
  .hero-actions { justify-content: flex-start; }
  .hero-actions > a { width: 100%; }

  .section-heading { margin-bottom: 34px; }
  .section-heading h2 { font-size: clamp(39px, 12vw, 52px); }

  .section-heading > p:not(.section-kicker) { font-size: 16px; }

  .contact-image-col { display: none; }
  .contact-section { padding-block: 0; }
  .contact-content-col { padding: 44px 28px; }

  .services-grid { grid-template-columns: 1fr; gap: 0; }
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4) { grid-column: span 1; display: flex; flex-direction: column; min-height: auto; }
  .service-card:nth-child(1) .service-card-img,
  .service-card:nth-child(2) .service-card-img,
  .service-card:nth-child(3) .service-card-img,
  .service-card:nth-child(4) .service-card-img { height: auto; aspect-ratio: 1122/1402; order: 0; }
  .service-card:nth-child(1) .service-card-body,
  .service-card:nth-child(2) .service-card-body,
  .service-card:nth-child(3) .service-card-body,
  .service-card:nth-child(4) .service-card-body { padding: 22px 20px 26px; border: none; order: 1; }
  .service-card:nth-child(4) .service-card-img { order: 0; }
  .service-card:nth-child(4) .service-card-body { border-right: none; order: 1; }
  .process-header { margin-bottom: 40px; }
  .process-title { font-size: clamp(32px, 9vw, 40px); }
  .process-card { padding: 26px 24px; border-radius: 16px; }
  .process-visual { max-width: 100%; }

  .concept-grid { grid-template-columns: 1fr; gap: 24px; }
  .concept-body { min-height: auto; padding: 23px 22px 25px; }
  .concept-meta { margin-bottom: 15px; font-size: 10px; }
  .concept-body h3 { margin-bottom: 11px; font-size: clamp(31px, 9.5vw, 38px); }
  .concept-description { font-size: 14.5px; line-height: 1.65; }

  .packages-section { padding-inline: 12px; }
  .packages-grid { grid-template-columns: 1fr; }
  .package-card { min-height: 440px; padding: 26px; }
  .package-card.featured { transform: none; }

  .contact-submit { width: 100%; }

  .email-dialog-card { padding: 29px 20px 22px; }
  .email-options { grid-template-columns: 1fr; }
  .email-option { min-height: 64px; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand-col { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-links { flex-wrap: wrap; }

  .legal-main { width: min(100% - 24px, 980px); padding-block: 62px; }
  .legal-hero h1 { font-size: clamp(50px, 15vw, 70px); }
  .legal-hero > p { font-size: 16px; }

  .legal-card,
  .legal-note { grid-template-columns: 1fr; gap: 14px; padding-block: 24px; }
  .legal-note { padding: 23px; }
  .legal-card p,
  .legal-card ul { grid-column: 1; }
  .legal-card p + p { margin-top: 0; }

}

@media (max-width: 360px) {
  .site-header { padding-inline: 10px; }
  .brand-service { display: none; }
  .brand-wordmark { gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale { opacity: 1; transform: none; }
  .hero::after { animation: none; transform: none; }
}
