/* ==========================================================================
   I Mengoni Italian Project — Landing Page
   ========================================================================== */

:root {
  --color-bg: #faf9f6;
  --color-bg-alt: #f0ede6;
  --color-dark: #17170f;
  --color-text: #2c2c26;
  --color-text-muted: #6b6a60;
  --color-border: rgba(23, 23, 15, 0.1);
  --color-green: #02804d;
  --color-green-dark: #045c38;
  --color-green-soft: rgba(2, 128, 77, 0.08);
  --color-white: #ffffff;

  --font-heading: "Century Gothic", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;

  --container: 1240px;
  --header-h: 92px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-green);
  font-weight: 600;
  margin-bottom: 14px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-dark);
  margin: 0 0 18px;
  line-height: 1.2;
}

h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 16px; color: var(--color-text); }

.section { padding: 110px 0; }
.section--alt { background: var(--color-bg-alt); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { color: var(--color-text-muted); font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-green);
  color: var(--color-white);
  border-color: var(--color-green);
}
.btn-primary:hover { background: var(--color-green-dark); border-color: var(--color-green-dark); }
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-outline-dark {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}
.btn-outline-dark:hover { background: var(--color-dark); color: var(--color-white); }

/* ==========================================================================
   Header / Navbar
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 650;
  transition: var(--transition);
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.site-header.is-scrolled,
.site-header.is-open {
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.07);
  height: 76px;
}

.header-inner {
  width: 100%;
  height: 100%;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; height: 100%; }
.brand .logo {
  height: 58px;
  width: auto;
  transition: var(--transition);
}
.site-header.is-scrolled .brand .logo,
.site-header.is-open .brand .logo { height: 48px; }

.main-nav ul { display: flex; gap: 40px; }
.main-nav a {
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-dark);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-green);
  transition: var(--transition);
}
.main-nav a:hover::after { width: 100%; }
.main-nav a.is-active { color: var(--color-green); }
.main-nav a.is-active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 22px; }

.hamburger {
  position: relative;
  width: 56px;
  height: 56px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hamburger span {
  position: absolute;
  width: 32px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger span:nth-child(1) { transform: translateY(-9px); }
.hamburger span:nth-child(3) { transform: translateY(9px); }

.hamburger.is-active span:nth-child(1) { transform: rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: rotate(-45deg); }

/* ==========================================================================
   Nav dropdown (touch mode, viewport <= 1024px)
   ========================================================================== */

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-dropdown.is-open { max-height: 420px; }

.nav-dropdown-links {
  display: flex;
  flex-direction: column;
  padding: 8px 48px 20px;
}
.nav-dropdown-links a {
  padding: 15px 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-dark);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}
.nav-dropdown-links a:last-child { border-bottom: none; }
.nav-dropdown-links a:hover,
.nav-dropdown-links a.is-active { color: var(--color-green); }

/* ==========================================================================
   Side panel
   ========================================================================== */

.side-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 10, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition);
  z-index: 600;
}
.side-panel-overlay.is-open { opacity: 1; visibility: visible; }

.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 90vw);
  background: var(--color-white);
  color: var(--color-text);
  z-index: 700;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
}
.side-panel.is-open { transform: translateX(0); }

.side-panel-content { padding: 48px 40px; }

.side-panel-close {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.side-panel-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 1.5px;
  background: var(--color-dark);
  border-radius: 2px;
}
.side-panel-close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.side-panel-close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.side-panel-close:hover span { background: var(--color-green); }

.side-panel-logo {
  height: 38px;
  width: auto;
  margin-bottom: 28px;
}

.side-panel-payoff {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-dark);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
}

.side-panel-contacts {
  padding-top: 32px;
}
.side-panel-contacts h3,
.side-panel-social h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
.side-panel-contacts p { color: var(--color-dark); margin-bottom: 8px; font-size: 0.94rem; }
.side-panel-contacts a:hover { color: var(--color-green); }

.side-panel-social {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.social-icons { display: flex; gap: 12px; margin-top: 10px; }
.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-icons a:hover { background: var(--color-green); border-color: var(--color-green); }
.social-icons svg { width: 17px; height: 17px; fill: var(--color-dark); transition: var(--transition); }
.social-icons a:hover svg { fill: var(--color-white); }

body.panel-open { overflow: hidden; }

/* ==========================================================================
   Hero slider
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  overflow: hidden;
}

.hero-panel {
  flex: 0 0 44%;
  max-width: 620px;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 56px 56px;
  position: relative;
  z-index: 2;
}
.hero-copy {
  transition: opacity 0.25s ease;
}
.hero-copy.is-fading { opacity: 0; }

.hero-panel h1 {
  color: var(--color-dark);
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  margin-bottom: 22px;
}
.hero-panel p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 64px;
}
.hero-cta .btn {
  padding: 14px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.hero-arrows {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.hero-arrow {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 4px;
  color: var(--color-dark);
  cursor: pointer;
  transition: var(--transition);
}
.hero-arrow svg { width: 60px; height: 60px; stroke-width: 0.6; }
.hero-arrow:hover { color: var(--color-green); transform: translateX(-2px); }
.hero-arrows .hero-arrow:last-child:hover { transform: translateX(2px); }

.hero-media {
  flex: 1;
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-social {
  position: absolute;
  right: 28px;
  bottom: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--color-white);
  text-decoration: none;
}
.hero-social span {
  writing-mode: vertical-rl;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-social::after {
  content: "";
  width: 1px;
  height: 50px;
  background: var(--color-white);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
}
.hero-slide.is-active {
  opacity: 1;
  transition: opacity 1s ease;
  animation: heroKenBurns 5s ease-in-out forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

/* ==========================================================================
   Chi siamo
   ========================================================================== */

.chi-siamo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: start;
}
.chi-siamo-text p:last-of-type { margin-bottom: 0; }

.badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}
.badge {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 28px 20px;
  text-align: center;
  border-radius: 4px;
}
.badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--color-green);
  margin-bottom: 6px;
}
.badge span {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.chi-siamo-media {
  position: relative;
  height: 100%;
  min-height: 380px;
  border-radius: 4px;
  overflow: hidden;
}
.chi-siamo-media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Servizi
   ========================================================================== */

.servizi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.servizio-card {
  position: relative;
  background: var(--color-bg);
  padding: 96px 36px 40px;
  transition: var(--transition);
}
.servizio-card:hover { background: var(--color-white); }
.servizio-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-green);
}
.servizio-card h3 { margin-bottom: 12px; }
.servizio-card p { color: var(--color-text-muted); font-size: 0.96rem; margin-bottom: 0; }

/* ==========================================================================
   Realizzazioni
   ========================================================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 10px 22px;
  border: 1px solid var(--color-border);
  background: transparent;
  border-radius: 0;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--color-green); color: var(--color-green); }
.filter-btn.is-active { background: var(--color-green); border-color: var(--color-green); color: var(--color-white); }

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}
.portfolio-item {
  display: block;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  flex: 0 0 calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
}
.portfolio-item.is-hidden { display: none; }
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,12,8,0) 40%, rgba(10,12,8,0.82) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--color-white);
}
.portfolio-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(10, 12, 8, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
.portfolio-zoom svg { width: 28px; height: 28px; }
.portfolio-item:hover .portfolio-zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.portfolio-tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b7e3a4;
  margin-bottom: 6px;
  font-weight: 600;
}
.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.clients-strip {
  margin-top: 90px;
  padding-top: 50px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.clients-strip .eyebrow { display: block; }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  margin-top: 36px;
}
.client-logo {
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 150px;
  padding: 32px;
}
.client-logo img {
  max-height: 90px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.72;
  transition: var(--transition);
}
.client-logo:hover img { filter: grayscale(0%); opacity: 1; }
.client-logo img.client-logo-tall { max-height: 78px; }
.client-logo small {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
}

.client-logo--text span {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-dark);
  text-align: center;
  opacity: 0.72;
  transition: var(--transition);
}
.client-logo--text:hover span { opacity: 1; color: var(--color-green); }

/* ==========================================================================
   Perche sceglierci
   ========================================================================== */

.perche-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.perche-item { text-align: left; }
.perche-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-green-soft);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.perche-icon svg { width: 26px; height: 26px; }

/* ==========================================================================
   CTA banner
   ========================================================================== */

.cta-banner {
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: var(--color-white);
  background: var(--color-dark);
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  background-image: url('../img/bg/cta-parallax.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  will-change: transform;
  z-index: 0;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 30% 20%, rgba(2, 128, 77, 0.35), transparent 55%);
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--color-white); }
.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

/* ==========================================================================
   Contatti
   ========================================================================== */

.contatti-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 70px;
  align-items: start;
}
.contatti-main { min-width: 0; }
.contatti-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.contact-card {
  background: var(--color-green);
  border: 1px solid var(--color-green);
  padding: 28px 24px;
  border-radius: 4px;
}
.contact-card .icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.contact-card .icon svg { width: 20px; height: 20px; }
.contact-card h3 { font-size: 1rem; font-family: var(--font-sans); font-weight: 700; color: var(--color-white); margin-bottom: 8px; }
.contact-card p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 4px; }
.contact-card a { color: var(--color-white); }
.contact-card a:hover { color: var(--color-dark); }

.contatti-map {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
}
.contatti-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Contact form */
.contact-form {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-dark);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0;
  transition: var(--transition);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-green);
}
.form-privacy {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.form-privacy input[type="checkbox"] {
  accent-color: var(--color-green);
  margin-top: 3px;
  flex-shrink: 0;
}
.form-privacy a { color: var(--color-green); text-decoration: underline; }
.contact-form .btn { margin-top: 8px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-dark);
  color: rgba(239, 238, 230, 0.75);
  padding: 28px 0;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(239, 238, 230, 0.55);
}
.footer-legal { max-width: 760px; color: rgba(239, 238, 230, 0.55); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--color-green); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .main-nav { display: none; }
}

@media (max-width: 1080px) {
  .chi-siamo-grid { grid-template-columns: 1fr; }
  .chi-siamo-media { min-height: 320px; }
  .servizi-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item { flex-basis: calc((100% - 28px) / 2); max-width: calc((100% - 28px) / 2); }
  .perche-grid { grid-template-columns: 1fr; gap: 34px; }
  .contatti-grid { grid-template-columns: 1fr; }
  .hero-panel { flex-basis: 48%; padding-left: 44px; padding-right: 44px; }
}

@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .contact-cards { grid-template-columns: 1fr; }
  .hero { flex-direction: column; height: auto; min-height: 0; }
  .hero-panel { flex: none; max-width: none; width: 100%; padding: calc(var(--header-h) + 32px) 32px 40px; }
  .hero-media { flex: none; height: 60vh; min-height: 380px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .servizi-grid { grid-template-columns: 1fr; }
  .portfolio-item { flex-basis: 100%; max-width: 100%; }
  .badges { grid-template-columns: 1fr; }
  .hero-panel h1 { font-size: 1.8rem; }
  .hero-panel { padding-left: 24px; padding-right: 24px; }
  .side-panel-content { padding: 40px 26px; }
  .client-logo { min-height: 100px; padding: 14px; }
  .client-logo img { max-height: 34px; max-width: 100px; }
  .client-logo--text span { font-size: 0.85rem; }
  .client-logo small { font-size: 0.55rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .nav-dropdown-links { padding: 8px 20px 16px; }
}


.credits_link{
 color: #38B5E6 !important;
 font-weight: 700;
 font-family: sans-serif;
}

.credits_link:hover{
 color: #fff !important;
}

 .credits_link:before{
  content: "";
  vertical-align: middle;
  width:16px;
  height: 16px;
  display: inline-block;
  margin-right: 5px;
  margin-left: 5px;
  background-image: url(https://www.clion.it/favicon-96x96.png);
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  background-position: center center;

  transition: all 450ms ease;
 }

  .credits_link:hover:before{
   transform: rotateZ(360deg) rotateY(360deg);
  }


.mypage-alo-phone-2 {
        position: fixed;
        left: -20px;
        visibility: visible;
        background-color: transparent;
        width: 110px;
        height: 110px;
        cursor: pointer;
        bottom: 30px !important;
    }
    .mypage-alo-ph-circle-fill-2 {
        width: 60px;
        height: 60px;
        top: 28px;
        left: 28px;
        position: absolute;
        -webkit-transition: all .2s ease-in-out;
        -moz-transition: all .2s ease-in-out;
        -ms-transition: all .2s ease-in-out;
        -o-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
        -webkit-border-radius: 100%;
        -moz-border-radius: 100%;
        border-radius: 100%;
        border: 2px solid transparent;
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
        -o-transition: all .5s;
        transition: all .5s;
        background-color: #38bd4b;
        opacity: .75 !important;
    }
    .mypage-alo-ph-img-circle-2 {
        width: 30px;
        height: 30px;
        top: 43px;
        left: 43px;
        position: absolute;
        background: rgba(30,30,30,.1) url(../img/whatsapp-logo.png) no-repeat center center;
        background-color: rgba(30,30,30,.1);
        background-size: auto auto;
        background-color: rgba(30,30,30,.1);
        background-size: auto auto;
        -webkit-border-radius: 100%;
        -moz-border-radius: 100%;
        border-radius: 100%;
        border: 2px solid transparent;
        opacity: .7;
        -webkit-transition: all .2s ease-in-out;
        -moz-transition: all .2s ease-in-out;
        -ms-transition: all .2s ease-in-out;
        -o-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
        -webkit-transform-origin: 50% 50%;
        -moz-transform-origin: 50% 50%;
        -ms-transform-origin: 50% 50%;
        -o-transform-origin: 50% 50%;
        transform-origin: 50% 50%;
        background-color: #27b43e;
        background-size: 70%;
      }
.mypage-alo-ph-img-circle-2 img{
	width: 26px;
	height: 26px;
}