/* Cliantha — brand tokens from logo flower */
:root {
  --ink: #121010;
  --ink-soft: #2a2424;
  --paper: #f9f4f0;
  --paper-deep: #efe6df;
  --coral: #e39a90;
  --coral-deep: #c97a72;
  --mauve: #a8989e;
  --cream: #f3ebe4;
  --white: #ffffff;
  --line: rgba(18, 16, 16, 0.12);
  --shadow: 0 24px 60px rgba(18, 16, 16, 0.18);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(227, 154, 144, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(168, 152, 158, 0.12), transparent 50%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--coral-deep);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h3 { font-size: clamp(1.45rem, 2.5vw, 1.85rem); }

p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 244, 240, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand-logo {
  width: clamp(148px, 28vw, 200px);
  height: auto;
  object-fit: contain;
}

.nav {
  margin-left: auto;
  display: none;
  gap: 1.5rem;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  opacity: 0.8;
}

.nav a:hover {
  opacity: 1;
  color: var(--ink);
}

.nav-toggle {
  margin-left: auto;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.menu-mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem 1.25rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.menu-mobile[hidden] {
  display: none;
}

.menu-mobile a {
  text-decoration: none;
  font-size: 1.1rem;
}

@media (min-width: 860px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .header-inner .btn-small { margin-left: 0; }
  .menu-mobile { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.55rem;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn:hover {
  background: var(--coral-deep);
  border-color: var(--coral-deep);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
}

.text-link {
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--coral);
  padding-bottom: 0.1em;
}

.text-link:hover {
  border-color: var(--coral-deep);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 10, 0.35) 0%, rgba(12, 10, 10, 0.55) 45%, rgba(12, 10, 10, 0.82) 100%),
    linear-gradient(90deg, rgba(12, 10, 10, 0.45) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 5rem 1.25rem 4rem;
}

.hero-logo {
  width: clamp(240px, 48vw, 420px);
  height: auto;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45));
  animation: logoIn 1.1s var(--ease) both;
}

.hero h1 {
  max-width: 12ch;
  margin-bottom: 0.5em;
}

.hero-lead {
  max-width: 34ch;
  font-weight: 300;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  opacity: 0.92;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes logoIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 5.5rem 1.25rem;
}

.section-intro {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.center {
  text-align: center;
}

/* Services — editorial list, not cards */
.servizi {
  border-top: 1px solid var(--line);
}

.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem 1.5rem;
  padding: 1.85rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service-index {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--mauve);
  padding-top: 0.2em;
}

.service h3 {
  margin-bottom: 0.35em;
}

.service p {
  margin: 0;
  max-width: 42rem;
  color: var(--ink-soft);
}

@media (min-width: 720px) {
  .service {
    grid-template-columns: 5rem 1fr;
    gap: 2rem;
    padding: 2.25rem 0;
  }
}

/* Cabina */
.cabina {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background: linear-gradient(180deg, var(--paper-deep), var(--paper));
}

.cabina-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .cabina-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
  }
}

.cabina-visual {
  margin: 0;
  overflow: hidden;
}

.cabina-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
}

.cabina-copy p {
  color: var(--ink-soft);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-grid .span-wide {
  grid-column: 1 / -1;
}

.gallery-grid .span-wide img {
  aspect-ratio: 16 / 9;
}

@media (min-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }

  .gallery-grid .span-wide {
    grid-column: span 2;
  }

  .gallery-grid figure:nth-child(1),
  .gallery-grid figure:nth-child(5) {
    grid-row: span 2;
  }

  .gallery-grid figure:nth-child(1) img,
  .gallery-grid figure:nth-child(5) img {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

.gallery-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Quotes */
.voci {
  background: var(--ink);
  color: var(--cream);
  max-width: none;
}

.voci .section-intro,
.voci .quotes,
.voci .center {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.voci .section-intro {
  margin-bottom: 2.5rem;
}

.voci .eyebrow {
  color: var(--coral);
}

.quotes {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.quotes blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}

.quotes p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-style: italic;
  line-height: 1.4;
  margin: 0;
  color: var(--white);
}

.voci .text-link {
  color: var(--coral);
  border-color: var(--coral);
}

.voci .text-link:hover {
  color: var(--white);
  border-color: var(--white);
}

/* Contatti */
.contatti-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .contatti-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
    align-items: stretch;
  }
}

address {
  font-style: normal;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.hours {
  margin: 1.5rem 0;
  padding: 0;
}

.hours > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.hours dt {
  font-weight: 500;
}

.hours dd {
  margin: 0;
  color: var(--ink-soft);
}

.contatti-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.socials a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.socials a:hover {
  border-color: var(--coral);
}

.map-wrap {
  min-height: 320px;
  background: var(--paper-deep);
  overflow: hidden;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(243, 235, 228, 0.72);
  padding: 3rem 1.25rem;
  text-align: center;
}

.footer-inner {
  max-width: 560px;
  margin: 0 auto;
}

.site-footer img {
  margin: 0 auto 1rem;
  width: 150px;
  opacity: 0.95;
}

.site-footer p {
  margin: 0.35rem 0;
  font-size: 0.92rem;
}

.footer-meta {
  margin-top: 1.25rem !important;
  font-size: 0.8rem !important;
  opacity: 0.7;
}

.site-footer a {
  color: var(--coral);
  text-decoration: none;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-content.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
