/* ============================================
   VELLUTO STUDIO — foglio di stile
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
  --ink: #2B1710;
  --plum: #46243A;
  --rose: #C68A82;
  --rose-deep: #A9645C;
  --gold: #B4914F;
  --blush: #F1DFD4;
  --cream: #FBF4EE;

  --font-display: 'Fraunces', serif;
  --font-body: 'Work Sans', sans-serif;

  --line: rgba(43, 23, 16, 0.14);
  --radius-organic-1: 62% 38% 55% 45% / 48% 42% 58% 52%;
  --radius-organic-2: 42% 58% 61% 39% / 52% 48% 52% 48%;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}

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

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

:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 3px;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

.eyebrow-free-divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- NAVBAR ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 244, 238, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.logo em {
  font-style: italic;
  color: var(--rose-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links > a {
  font-size: 0.98rem;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links > a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--rose-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-links > a:hover::after,
.nav-links > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  font-size: 0.92rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--cream);
}

/* Dropdown nativo <details>/<summary> */

.dropdown {
  position: relative;
}

.dropdown summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-bottom: 0.2rem;
}

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

.dropdown summary .chevron {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-top: -3px;
}

.dropdown[open] summary .chevron {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.6rem;
  min-width: 220px;
  box-shadow: 0 18px 40px -18px rgba(43, 23, 16, 0.35);
}

.dropdown-panel a {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  transition: background 0.2s ease;
}

.dropdown-panel a span {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(43, 23, 16, 0.6);
  margin-top: 0.1rem;
}

.dropdown-panel a:hover {
  background: var(--blush);
}

.nav-toggle {
  display: none;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-eyebrow-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--rose-deep);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.hero-eyebrow-line .stroke {
  width: 34px;
  height: 1px;
  background: var(--rose-deep);
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  line-height: 1.08;
  max-width: 14ch;
}

.hero p.lead {
  margin-top: 1.6rem;
  max-width: 42ch;
  font-size: 1.08rem;
  color: rgba(43, 23, 16, 0.78);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-secondary {
  border: 1px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
}

.hero-visual .blob {
  position: absolute;
  inset: 6% 4%;
  border-radius: var(--radius-organic-1);
  background: linear-gradient(150deg, var(--rose) 0%, var(--blush) 55%, var(--gold) 130%);
}

.hero-visual .lash-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-visual .ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  bottom: -30px;
  right: -20px;
}

.hero-img {
  width: 100%;
  max-width: 400px;
  border-radius: 50%; /* se vuoi un effetto tondo, comune per queste hero */
  object-fit: cover;
  position: relative;
  z-index: 2; /* per stare sopra al blob */
}

/* ---------- INTRO STRIP ---------- */

.intro {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro .container {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
}

.intro h2 {
  font-size: 1.6rem;
  max-width: 12ch;
}

.intro p {
  font-size: 1.05rem;
  color: rgba(43, 23, 16, 0.78);
  max-width: 60ch;
}

/* ---------- SERVICE SECTIONS ---------- */

.service {
  padding-block: clamp(4rem, 9vw, 6.5rem);
  scroll-margin-top: 5rem;
}

.service .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.service.reverse .container {
  grid-template-columns: 1.1fr 0.9fr;
}

.service.reverse .service-visual { order: 2; }
.service.reverse .service-text { order: 1; }

.service-text h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}

.service-text .intro-line {
  margin-top: 1.2rem;
  font-size: 1.05rem;
  color: rgba(43, 23, 16, 0.78);
  max-width: 46ch;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 2.2rem 0 0;
  display: flex;
  flex-direction: column;
}

.service-list li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}

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

.service-list .name {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.service-list .detail {
  font-size: 0.92rem;
  color: rgba(43, 23, 16, 0.6);
  text-align: right;
  max-width: 26ch;
}

.service-visual {
  position: relative;
  aspect-ratio: 1 / 1;
}

.visual-photo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65%;         /* regola la dimensione a piacere */
  height: 85%; 
  border-radius: 12px;  /* opzionale, se vuoi un effetto tondo sopra le macchie di colore */
  object-fit: cover;
  z-index: 10;         /* per stare sopra agli span */
  box-shadow: 0 8px 24px rgba(0,0,0,0.3); /* opzionale, dà profondità */
}

/* Lash: linee curve stile ciglia */
.visual-lash {
  background: var(--blush);
  border-radius: var(--radius-organic-2);
  position: relative;
  overflow: hidden;
}

/* Make up: strisce di palette colore */
.visual-makeup {
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.visual-makeup span {
  display: block;
}

/* Extension: onde morbide */
.visual-extension {
  background: var(--plum);
  border-radius: var(--radius-organic-1);
  position: relative;
  overflow: hidden;
}

.service-visual svg { width: 100%; height: 100%; }

/* ---------- WAVE DIVIDER ---------- */

.wave-divider {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
}

/* ---------- CONTACT ---------- */

.contact {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(4rem, 9vw, 6.5rem);
  scroll-margin-top: 3rem;
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.contact h2 {
  color: var(--cream);
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  max-width: 12ch;
}

.contact p.lead {
  margin-top: 1.2rem;
  color: rgba(251, 244, 238, 0.72);
  max-width: 40ch;
}

.contact-details {
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-details a,
.contact-details span {
  font-size: 1.02rem;
}

.contact-details .label {
  display: block;
  font-size: 0.82rem;
  color: rgba(251, 244, 238, 0.5);
  margin-bottom: 0.2rem;
}

.contact-details .row {
  border-top: 1px solid rgba(251, 244, 238, 0.16);
  padding-top: 1.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.88rem;
  color: rgba(251, 244, 238, 0.65);
}

.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(251, 244, 238, 0.32);
  padding: 0.6rem 0.1rem;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(251, 244, 238, 0.35);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rose);
}

.contact-form .btn-primary {
  align-self: flex-start;
  background: var(--rose);
  color: var(--ink);
  margin-top: 0.4rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.contact-form .btn-primary:hover {
  background: var(--gold);
}

.form-note {
  font-size: 0.82rem;
  color: rgba(251, 244, 238, 0.45);
}

/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(251, 244, 238, 0.55);
  padding-block: 1.6rem;
  border-top: 1px solid rgba(251, 244, 238, 0.14);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.site-footer a:hover {
  color: var(--rose);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid var(--line);
  }

  .nav-toggle:checked ~ .nav-links {
    transform: translateX(0);
  }

  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 50;
    padding: 0.4rem;
  }

  .nav-toggle-label span {
    width: 24px;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .dropdown-panel {
    position: static;
    transform: none;
    box-shadow: none;
    margin-top: 0.4rem;
    width: 100%;
  }

  .hero .container,
  .intro .container,
  .service .container,
  .service.reverse .container,
  .contact .container {
    grid-template-columns: 1fr;
  }

  .service.reverse .service-visual,
  .service.reverse .service-text {
    order: initial;
  }

  .service-visual {
    aspect-ratio: 4 / 5;
  }

  .hero-visual {
    aspect-ratio: 16 / 10;
  }

    .visual-photo {
    width: 70%;
    border-radius: 10px;
    height: 85%;
    box-shadow: 0 5px 16px rgba(0,0,0,0.25);
  }
}

@media (max-width: 480px) {
  .site-header .container {
    position: relative;
  }
  .nav-toggle-label {
    display: flex !important;
  }
    .visual-photo {
    width: 75%;
    height: 80%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
}
