/* ============================================
   MEDERI STUDIO — Design System
   Pastel Color Palette + Premium Typography
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Nunito+Sans:ital,opsz,wght@0,6..12,300;0,6..12,400;0,6..12,500;0,6..12,600;0,6..12,700;1,6..12,300;1,6..12,400&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Pastel Palette */
  --color-rose: #E8C4C4;
  --color-rose-light: #F2DEDE;
  --color-rose-dark: #CE9191;
  --color-sage: #B5C99A;
  --color-sage-light: #D4E7B5;
  --color-sage-dark: #8FAF6F;
  --color-cream: #FFF8F0;
  --color-beige: #F5E6D3;
  --color-beige-dark: #E8D5BF;
  --color-lavender: #D5C6E0;
  --color-lavender-light: #EDE6F2;
  --color-sky: #B8D4E3;
  --color-sky-light: #D6E8F2;

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-off-white: #FEFCFA;
  --color-text: #3D3D3D;
  --color-text-light: #6B6B6B;
  --color-text-muted: #999999;
  --color-border: #E8E2DC;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --nav-height: 80px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.12);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-off-white);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-light);
  font-size: 1rem;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--color-text-muted);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--alt {
  background-color: var(--color-cream);
}

.section--rose {
  background: linear-gradient(135deg, var(--color-rose-light) 0%, var(--color-cream) 100%);
}

.section--sage {
  background: linear-gradient(135deg, var(--color-sage-light) 0%, var(--color-cream) 100%);
}

.section--lavender {
  background: linear-gradient(135deg, var(--color-lavender-light) 0%, var(--color-cream) 100%);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-rose), var(--color-sage));
  margin: var(--space-md) auto 0;
  border-radius: 2px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
  background: rgba(254, 252, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 226, 220, 0.5);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(254, 252, 250, 0.95);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.navbar__logo img {
  height: 50px;
  width: auto;
  border-radius: var(--radius-sm);
}

.navbar__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.navbar__logo-text span {
  font-weight: 300;
  color: var(--color-rose-dark);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  position: relative;
  padding: var(--space-xs) 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-rose), var(--color-sage));
  transition: width var(--transition-base);
  border-radius: 1px;
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--color-text);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

/* Hamburger Menu */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: var(--space-sm);
  z-index: 1001;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: var(--transition-base);
}

.navbar__hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
@media (max-width: 768px) {
  .navbar__hamburger {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-off-white);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-3xl);
    transition: right var(--transition-slow);
    box-shadow: var(--shadow-xl);
  }

  .navbar__links.open {
    right: 0;
  }

  .navbar__links a {
    font-size: 1.1rem;
  }
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-rose-light) 30%, var(--color-beige) 60%, var(--color-sage-light) 100%);
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(232, 196, 196, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(181, 201, 154, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(213, 198, 224, 0.2) 0%, transparent 50%);
  animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(2%, -1%) rotate(1deg);
  }

  66% {
    transform: translate(-1%, 1%) rotate(-0.5deg);
  }
}

.hero__content {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: var(--space-3xl) var(--space-xl) calc(var(--space-4xl) + 60px);
  max-width: 800px;
}

.hero__logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-xl);
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.8);
  animation: fadeInUp 0.8s ease-out;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
  animation: fadeInUp 0.8s ease-out 0.2s both;
  text-transform: uppercase;
}

.hero__title strong {
  font-weight: 500;
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-rose-dark);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s ease-out 0.4s both;
  letter-spacing: 0.08em;
}

.hero__tagline {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 550px;
  margin: 0 auto var(--space-2xl);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero__cta {
  animation: fadeInUp 0.8s ease-out 0.8s both;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding-bottom: var(--space-xl);
  }

  .hero__content {
    padding: var(--space-xl) var(--space-md) var(--space-2xl);
  }

  .hero__logo {
    width: 100px;
    height: 100px;
  }

  .hero__tagline {
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero__scroll {
    bottom: 16px;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease-out 1s both;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--color-text-muted);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(0.5);
    opacity: 0.5;
  }
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-3xl);
  text-align: center;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-rose-light) 50%, var(--color-beige) 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(181, 201, 154, 0.2), transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(213, 198, 224, 0.2), transparent 60%);
}

.page-header h1 {
  position: relative;
  z-index: 1;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.page-header p {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-rose-dark);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-rose) 0%, var(--color-rose-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(206, 145, 145, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(206, 145, 145, 0.45);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-rose);
}

.btn--secondary:hover {
  background: var(--color-rose-light);
  transform: translateY(-2px);
}

.btn--sage {
  background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(143, 175, 111, 0.35);
}

.btn--sage:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(143, 175, 111, 0.45);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card__body {
  padding: var(--space-xl);
}

.card__title {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.card__subtitle {
  font-size: 0.85rem;
  color: var(--color-rose-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.card__text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-2xl);
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card__image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card__image {
  transform: scale(1.03);
}

.service-card__image-wrapper {
  overflow: hidden;
  position: relative;
}

.service-card__image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--color-white));
}

.service-card__body {
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
}

.service-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.service-card__title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.service-card__text {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.service-card__list {
  padding-left: 0;
  text-align: left;
}

.service-card__list li {
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.service-card__list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--color-rose);
  font-size: 0.7rem;
  top: 4px;
}

/* ============================================
   TEAM / COLLABORATORI
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
}

.team-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-card__photo-wrapper {
  position: relative;
  overflow: hidden;
  height: 350px;
  background: var(--color-beige);
}

.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-card__photo {
  transform: scale(1.05);
}

.team-card__body {
  padding: var(--space-xl) var(--space-xl) var(--space-2xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-card__name {
  font-size: 1.6rem;
  margin-bottom: var(--space-xs);
}

.team-card__role {
  font-size: 0.85rem;
  color: var(--color-rose-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.team-card__bio {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  text-align: left;
}

.team-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.team-card__info span {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ============================================
   ABOUT / CHI SIAMO
   ============================================ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about__text h2 {
  margin-bottom: var(--space-lg);
}

.about__text p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.about__image::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-rose);
  border-radius: var(--radius-lg);
  z-index: -1;
}

@media (max-width: 768px) {
  .about {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about__image::before {
    display: none;
  }
}

.about__quote {
  margin: var(--space-xl) 0 0;
  padding: var(--space-lg) 0 0;
  border-top: 1px solid var(--color-border);
  border-left: none;
  text-align: center;
}

.about__quote p {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-rose-dark);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ============================================
   SERVICES PREVIEW (HOME)
   ============================================ */
.services-preview {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl);
}

.service-preview-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
  cursor: pointer;
}

.service-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-rose-light);
}

.service-preview-card__icon {
  height: 110px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  line-height: 1.1;
}

/* Global emoji rosa carne filter */
.emoji {
  filter: grayscale(50%) sepia(15%) saturate(80%) hue-rotate(330deg) brightness(1.15);
  display: inline-block;
}

.service-preview-card h4 {
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.service-preview-card p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .services-preview {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .services-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
  }

  .services-preview .service-preview-card {
    flex: 0 0 calc(50% - var(--space-md) / 2);
    padding: var(--space-lg) var(--space-md);
  }

  .service-preview-card__icon {
    height: 80px;
    width: auto;
    margin-bottom: var(--space-md);
  }

  .service-preview-card h4 {
    font-size: 1.25rem;
  }

  .service-preview-card p {
    font-size: 1rem;
  }
}

/* ============================================
   TEAM PREVIEW (HOME)
   ============================================ */
.team-preview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl);
}

.team-preview-card {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.team-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-rose-light);
}

.team-preview-card__photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-lg);
  border: 3px solid var(--color-rose-light);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base);
}

.team-preview-card:hover .team-preview-card__photo {
  border-color: var(--color-rose);
}

.team-preview-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-preview-card:hover .team-preview-card__photo img {
  transform: scale(1.08);
}

.team-preview-card h4 {
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

.team-preview-card p {
  font-size: 0.8rem;
  color: var(--color-rose-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

@media (max-width: 1024px) {
  .team-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .team-preview-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
  }

  .team-preview-grid .team-preview-card {
    flex: 0 0 calc(50% - var(--space-md) / 2);
  }

  .team-preview-card__photo {
    width: 100px;
    height: 100px;
  }
}

/* ============================================
   FORMS
   ============================================ */
.form {
  max-width: 680px;
  margin: 0 auto;
}

.form__group {
  margin-bottom: var(--space-lg);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--color-rose);
  box-shadow: 0 0 0 3px rgba(232, 196, 196, 0.3);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__file {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.form__file-input {
  display: none;
}

.form__file-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  background: var(--color-beige);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1.5px dashed var(--color-beige-dark);
}

.form__file-label:hover {
  background: var(--color-rose-light);
  border-color: var(--color-rose);
}

.form__file-name {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.form__submit {
  margin-top: var(--space-xl);
  text-align: center;
}

@media (max-width: 768px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.contact-item__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-rose-light);
  color: var(--color-rose-dark);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item__text h4 {
  margin-bottom: var(--space-xs);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.contact-item__text p {
  font-size: 0.9rem;
  margin: 0;
}

.contact-item__text a {
  color: var(--color-rose-dark);
}

.contact-item__text a:hover {
  text-decoration: underline;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand {
  max-width: 350px;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.05em;
}

.footer__brand-name span {
  font-weight: 300;
  color: var(--color-rose-light);
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-rose-light);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .footer__content {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* ============================================
   ANIMATIONS (Scroll reveal)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal--delay-1 {
  transition-delay: 0.1s;
}

.reveal--delay-2 {
  transition-delay: 0.2s;
}

.reveal--delay-3 {
  transition-delay: 0.3s;
}

.reveal--delay-4 {
  transition-delay: 0.4s;
}

.reveal--delay-5 {
  transition-delay: 0.5s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ============================================
   LAVORA CON NOI — CTA Banner
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-rose-light) 0%, var(--color-lavender-light) 50%, var(--color-sage-light) 100%);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.4), transparent 70%);
}

.cta-banner h2,
.cta-banner p,
.cta-banner .btn {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  margin-bottom: var(--space-md);
}

.cta-banner p {
  max-width: 500px;
  margin: 0 auto var(--space-xl);
  font-size: 1.05rem;
}

/* ============================================
   MOTTO SECTION
   ============================================ */
.motto {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  background: var(--color-white);
}

.motto__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-rose-dark);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  position: relative;
}

.motto__quote::before {
  content: '\201C';
  font-size: 5rem;
  position: absolute;
  top: -40px;
  left: -20px;
  color: var(--color-rose-light);
  font-style: normal;
  line-height: 1;
}

/* ============================================
   SERVICE DETAIL (full page)
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even)>* {
  direction: ltr;
}

.service-detail__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-detail__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-detail__image:hover img {
  transform: scale(1.03);
}

.service-detail__content h3 {
  margin-bottom: var(--space-lg);
  font-size: 1.8rem;
}

.service-detail__content p {
  font-size: 1rem;
  line-height: 1.8;
}

@media (max-width: 768px) {

  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .service-detail__image img {
    height: 280px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--space-md);
}

.mb-2 {
  margin-bottom: var(--space-xl);
}

.mb-3 {
  margin-bottom: var(--space-2xl);
}

.mt-1 {
  margin-top: var(--space-md);
}

.mt-2 {
  margin-top: var(--space-xl);
}

.mt-3 {
  margin-top: var(--space-2xl);
}

/* Decorative divider */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-rose), var(--color-sage));
  border-radius: 2px;
  margin: var(--space-xl) auto;
}

/* Success message for form */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
  background: var(--color-sage-light);
  border-radius: var(--radius-md);
  color: var(--color-sage-dark);
  font-weight: 600;
}

.form-success.show {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

/* ============================================
   ABOUT SLIDER
   ============================================ */
.about__slider {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 4;
}

@media (min-width: 768px) {
  .about__slider {
    aspect-ratio: 4 / 3;
  }
}

.about__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.about__slide.active {
  opacity: 1;
  z-index: 1;
}

.about__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__slider-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.about__slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-fast);
}

.about__slider-dot.active {
  background: var(--color-white);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  transform: scale(1.2);
}

.about__slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.about__slider-btn:hover {
  background: var(--color-sage);
  color: var(--color-white);
}

.about__slider-btn--prev {
  left: 10px;
}

.about__slider-btn--next {
  right: 10px;
}