/* ============================================================
   easy2do — Main Stylesheet
   Brand colors: #1d283a (navy) · #284d43 (green) · #f2ebdc (cream) · #d4813a (amber)
   ============================================================ */

/* ── RESET & VARIABLES ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Background palette */
  --black: #1d283a;
  --dark: #162030;
  --card: #243043;

  /* Brand colors */
  --orange: #d4813a;
  --orange-light: #e8a265;
  --cream: #f2ebdc;

  /* Text */
  --white: #ffffff;
  --muted: #8fa3bc;

  /* Border */
  --border: #2e3f55;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(29, 40, 58, 0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--white);
}
.logo span {
  color: var(--orange);
  -webkit-text-fill-color: var(--orange);
}

/* ── HERO ── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 107, 0, 0.1) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  pointer-events: none;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.35);
  color: var(--orange-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 2rem;
  animation: pulse-border 2.5s ease-in-out infinite;
}

@keyframes pulse-border {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.25);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 107, 0, 0);
  }
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 1.2rem;
  color: var(--cream);
}
.hero h1 span {
  color: var(--orange);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* ── BUTTONS ── */
.cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, #d4813a, #e8a265);
  color: #1a120a;
  border: 1px solid rgba(255, 214, 178, 0.45);
  box-shadow: 0 8px 24px rgba(212, 129, 58, 0.28);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #e09a5d, #f0b784);
  box-shadow: 0 12px 30px rgba(212, 129, 58, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(242, 235, 220, 0.06);
  border: 1px solid rgba(242, 235, 220, 0.35);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.15s;
}
.btn-outline:hover {
  background: rgba(242, 235, 220, 0.12);
  border-color: rgba(232, 162, 101, 0.7);
  color: #fff7ea;
  transform: translateY(-2px);
}

.btn-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(46, 179, 111, 0.45);
  background: rgba(24, 77, 58, 0.6);
  color: #b7f5cf;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.15s;
}
.btn-status:hover {
  background: rgba(28, 100, 72, 0.72);
  border-color: rgba(62, 205, 131, 0.6);
  transform: translateY(-2px);
}

.btn-commissione {
  background: linear-gradient(135deg, #026348ce, #365379);
  color: #f4ecdf;
  border: 1px solid rgba(120, 151, 184, 0.55);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(11, 21, 34, 0.45);
  animation: commissione-pulse 2.4s ease-in-out infinite;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
}

.btn-commissione:hover {
  background: linear-gradient(135deg, #395274, #2d4462);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(11, 21, 34, 0.58);
}

@keyframes commissione-pulse {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(11, 21, 34, 0.45);
  }
  50% {
    box-shadow: 0 14px 38px rgba(11, 21, 34, 0.65);
  }
}

/* ── SECTION SHARED ── */
.section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.8rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.6rem;
  background: linear-gradient(
    90deg,
    var(--orange),
    var(--cream),
    var(--orange)
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 4s ease infinite;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* ── SERVICES SECTION ── */
.services {
  padding: 5rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem 1.6rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s;
}
.js-loaded .service-card {
  opacity: 0;
  transform: translateY(24px);
}
.js-loaded .service-card.anim-in {
  opacity: 1;
  transform: translateY(0);
}
.service-card.anim-in:hover,
.service-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  opacity: 0;
  transition: opacity 0.25s;
}
.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-card:hover .service-icon {
  transform: rotateZ(360deg) scale(1.2);
}
.service-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.service-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.service-card:hover .card-more {
  opacity: 1;
}

/* ── ABOUT / TEAM SECTION ── */
.about-section {
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--dark);
}

.about-inner {
  max-width: 900px;
  margin: 0 auto;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin: 2.5rem 0 4rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem 1.4rem;
  text-align: center;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s;
}
.js-loaded .stat-card {
  opacity: 0;
  transform: translateY(24px);
}
.js-loaded .stat-card.anim-in {
  opacity: 1;
  transform: translateY(0);
}
.stat-card.anim-in:hover,
.stat-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--cream);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.team-department {
  margin-bottom: 3.5rem;
  animation: slideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}

.team-department:nth-child(1) {
  animation-delay: 0.1s;
}
.team-department:nth-child(2) {
  animation-delay: 0.25s;
}
.team-department:nth-child(3) {
  animation-delay: 0.4s;
}
.team-department:nth-child(4) {
  animation-delay: 0.55s;
}
.team-department:nth-child(5) {
  animation-delay: 0.7s;
}

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

.dept-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.dept-icon {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(212, 129, 58, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.dept-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  flex-shrink: 0;
  min-width: fit-content;
}

/* Department colors */
.team-department:nth-child(1) .dept-title {
  color: var(--orange);
}
.team-department:nth-child(2) .dept-title {
  color: #00d4ff;
}
.team-department:nth-child(3) .dept-title {
  color: #7c3aed;
}
.team-department:nth-child(4) .dept-title {
  color: #ec4899;
}
.team-department:nth-child(5) .dept-title {
  color: #14b8a6;
}

.dept-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--border), transparent);
  border-radius: 1px;
}

/* Department header colored lines */
.team-department:nth-child(1) .dept-line {
  background: linear-gradient(to right, var(--orange), transparent);
}
.team-department:nth-child(2) .dept-line {
  background: linear-gradient(to right, #00d4ff, transparent);
}
.team-department:nth-child(3) .dept-line {
  background: linear-gradient(to right, #7c3aed, transparent);
}
.team-department:nth-child(4) .dept-line {
  background: linear-gradient(to right, #ec4899, transparent);
}
.team-department:nth-child(5) .dept-line {
  background: linear-gradient(to right, #14b8a6, transparent);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.team-grid-1 {
  grid-template-columns: 1fr;
  max-width: 300px;
}

.team-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.team-card {
  background: linear-gradient(
    135deg,
    rgba(36, 48, 67, 0.8),
    rgba(22, 32, 48, 0.6)
  );
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s,
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-loaded .team-card {
  opacity: 0;
  transform: translateY(24px);
}
.js-loaded .team-card.anim-in {
  opacity: 1;
  transform: translateY(0);
}
.team-card.anim-in:hover,
.team-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Department specific colors on hover */
.team-card.dept-leadership:hover,
.team-card.dept-leadership.anim-in:hover {
  border-color: var(--orange);
  box-shadow: 0 20px 50px rgba(212, 129, 58, 0.15);
}

.team-card.dept-front-office:hover,
.team-card.dept-front-office.anim-in:hover {
  border-color: #00d4ff;
  box-shadow: 0 20px 50px rgba(0, 212, 255, 0.15);
}

.team-card.dept-back-office:hover,
.team-card.dept-back-office.anim-in:hover {
  border-color: #7c3aed;
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.15);
}

.team-card.dept-customer:hover,
.team-card.dept-customer.anim-in:hover {
  border-color: #ec4899;
  box-shadow: 0 20px 50px rgba(236, 72, 153, 0.15);
}

.team-card.dept-legal:hover,
.team-card.dept-legal.anim-in:hover {
  border-color: #14b8a6;
  box-shadow: 0 20px 50px rgba(20, 184, 166, 0.15);
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cream), var(--orange-light));
}

/* Department color bars */
.team-card.dept-leadership::before {
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
}

.team-card.dept-front-office::before {
  background: linear-gradient(90deg, #00d4ff, #00f5ff);
}

.team-card.dept-back-office::before {
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.team-card.dept-customer::before {
  background: linear-gradient(90deg, #ec4899, #f472b6);
}

.team-card.dept-legal::before {
  background: linear-gradient(90deg, #14b8a6, #2dd4bf);
}

.team-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--black);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.team-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.team-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.5rem;
}
.team-title {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.role-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  margin: 0.6rem 0 0.8rem 0;
  color: var(--black);
}

/* Department badge colors */
.role-badge.dept-leadership {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
}

.role-badge.dept-front-office {
  background: linear-gradient(135deg, #00d4ff, #00f5ff);
}

.role-badge.dept-back-office {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.role-badge.dept-customer {
  background: linear-gradient(135deg, #ec4899, #f472b6);
}

.role-badge.dept-legal {
  background: linear-gradient(135deg, #14b8a6, #2dd4bf);
}

/* ── ADDRESS SECTION ── */
.address-section {
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--border);
}

.address-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.address-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.address-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.addr-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.addr-text {
  text-align: left;
}
.addr-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.addr-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.map-link:hover {
  opacity: 0.75;
}

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 26, 0.75);
  backdrop-filter: blur(6px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.open {
  display: flex;
}

.modal {
  background: #1e2d42;
  border: 1px solid var(--border);
  border-radius: 18px;
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  position: relative;
  animation: modal-in 0.22s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.modal-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}
.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.modal-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.modal-docs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.modal-docs li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--white);
}

.modal-docs li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.modal-notice {
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.25);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: var(--orange-light);
  line-height: 1.5;
}
.modal-notice strong {
  color: var(--white);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--dark);
  padding: 2.5rem 2rem;
  text-align: center;
  color: rgba(242, 235, 220, 0.6);
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

footer strong {
  color: var(--cream);
}
footer span {
  color: var(--orange);
}

.footer-brand {
  font-size: 0.85rem;
}

.footer-dev {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
}

.footer-dev-name {
  font-weight: 700;
  font-size: 0.82rem;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

/* ── HERO ORBS ── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0;
  animation: orb-in 2.5s ease forwards;
}

@keyframes orb-in {
  to {
    opacity: 1;
  }
}

.hero-orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(212, 129, 58, 0.45) 0%,
    transparent 70%
  );
  top: -10%;
  left: -8%;
  animation:
    orb-in 2.5s ease 0.2s forwards,
    float-a 16s ease-in-out 2.5s infinite;
}
.hero-orb-2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(242, 235, 220, 0.25) 0%,
    transparent 70%
  );
  top: 20%;
  right: -6%;
  animation:
    orb-in 2.5s ease 0.5s forwards,
    float-b 20s ease-in-out 2.5s infinite;
}
.hero-orb-3 {
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle,
    rgba(74, 222, 128, 0.2) 0%,
    transparent 70%
  );
  bottom: 10%;
  left: 35%;
  animation:
    orb-in 2.5s ease 0.8s forwards,
    float-c 24s ease-in-out 2.5s infinite;
}

@keyframes float-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  30% {
    transform: translate(50px, -40px) scale(1.06);
  }
  65% {
    transform: translate(-20px, 30px) scale(0.96);
  }
}
@keyframes float-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  40% {
    transform: translate(-40px, 30px) scale(1.09);
  }
  70% {
    transform: translate(20px, -20px) scale(0.94);
  }
}
@keyframes float-c {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  35% {
    transform: translate(30px, -45px) scale(1.12);
  }
  75% {
    transform: translate(-25px, 20px) scale(0.97);
  }
}

/* ── HERO TITLE GRADIENT ANIMATION ── */
.hero h1 {
  background: linear-gradient(
    135deg,
    var(--cream) 0%,
    var(--orange) 40%,
    var(--cream) 70%,
    var(--orange-light) 100%
  );
  background-size: 250% 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease-in-out infinite;
}
.hero h1 span {
  -webkit-text-fill-color: transparent;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* ── SLIDE-UP ENTRANCE (JS adds .anim-in) ── */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── STAT NUMBER SHIMMER ── */
@keyframes shimmer {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.stat-number {
  animation: shimmer 3s ease-in-out infinite;
}

/* ── FLOATING BADGE ── */
.floating-badge {
  position: fixed;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ff9f1c);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: float-badge 6s ease-in-out infinite;
  bottom: 5%;
  right: 3%;
  z-index: 10;
  box-shadow: 0 20px 60px rgba(212, 129, 58, 0.3);
}

.floating-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes gradient-flow {
  0% {
    background-position: -200% 0;
  }
  50% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes float-badge {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(5deg);
  }
  50% {
    transform: translateY(-30px) rotate(0deg);
  }
  75% {
    transform: translateY(-15px) rotate(-5deg);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  nav {
    padding: 1rem 1.2rem;
  }
  .hero {
    padding: 4rem 1.2rem 2rem;
  }
  .btn-commissione,
  .btn-primary,
  .btn-outline,
  .btn-status {
    width: 100%;
    text-align: center;
  }
  .address-card {
    padding: 1.5rem;
  }
  .floating-badge {
    width: 60px;
    height: 60px;
    bottom: 3%;
    right: 2%;
  }
}
