@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@400;700;900&display=swap');

:root {
  --yellow: #ffd733;
  --yellow-light: #fff3a8;
  --red: #ee2b24;
  --blue: #244aa5;
  --green: #00a651;
  --orange: #ff8a00;
  --pink: #ff5cac;
  --purple: #7651ff;
  --dark: #202020;
  --white: #ffffff;
  --shadow: 0 8px 0 rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--dark);
  font-family: Nunito, Arial, sans-serif;
  background:
    radial-gradient(circle at 8% 9%, rgba(255,255,255,.65) 0 44px, transparent 45px),
    radial-gradient(circle at 92% 18%, rgba(255,255,255,.5) 0 60px, transparent 61px),
    linear-gradient(180deg, var(--yellow), #ffe986);
}

a {
  color: inherit;
}

.site-header {
  background: var(--yellow);
  border-bottom: 4px solid rgba(255,255,255,.85);
}

.header-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 14px 0;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 18px;
}

.logo img {
  display: block;
  width: 220px;
  max-width: 100%;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.main-nav a,
.quick-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--blue);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0,0,0,.16);
}

.quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.quick-call {
  background: var(--red);
  color: var(--white);
}

.quick-call.blue {
  background: var(--blue);
}

.hero {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 54px 0 34px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 34px;
  align-items: center;
}

.badge,
.section-badge {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  padding: 8px 15px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 4px 0 rgba(0,0,0,.14);
}

h1,
h2,
h3 {
  font-family: Fredoka, Nunito, Arial, sans-serif;
  line-height: 1.03;
}

h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 6vw, 78px);
  color: var(--blue);
  text-shadow: 4px 4px 0 var(--white);
}

h2 {
  margin: 14px 0;
  font-size: clamp(32px, 4vw, 56px);
  color: var(--blue);
}

h3 {
  margin: 10px 0;
  font-size: 27px;
}

.hero-content p,
.welcome p,
.center,
.location-card p,
.contact p,
.gift-banner p {
  font-size: 19px;
  font-weight: 800;
}

.hero-buttons,
.location-buttons,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 23px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 6px 0 rgba(0,0,0,.2);
}

.btn.red { background: var(--red); color: var(--white); }
.btn.blue { background: var(--blue); color: var(--white); }
.btn.white { background: var(--white); color: var(--red); }
.btn.outline { background: var(--white); color: var(--blue); }

.toy-box {
  background: var(--white);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  transform: rotate(1.5deg);
}

.toy-box span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: clamp(42px, 7vw, 78px);
  border-radius: 24px;
  background: var(--yellow-light);
  box-shadow: inset 0 -7px 0 rgba(0,0,0,.08);
}

.welcome,
.contact,
.gift-banner {
  width: min(1180px, 92%);
  margin: 30px auto;
  padding: 30px;
  background: var(--white);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.section {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 50px 0;
  text-align: center;
}

.cards,
.location-grid {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.cards {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.location-card {
  background: var(--white);
  border-radius: 28px;
  padding: 25px;
  text-align: left;
  box-shadow: var(--shadow);
  border: 5px solid var(--white);
}

.card:nth-child(1) { border-color: var(--red); }
.card:nth-child(2) { border-color: var(--blue); }
.card:nth-child(3) { border-color: var(--pink); }
.card:nth-child(4) { border-color: var(--green); }
.card:nth-child(5) { border-color: var(--orange); }
.card:nth-child(6) { border-color: var(--purple); }

.icon {
  font-size: 52px;
}

.card p {
  font-size: 17px;
  font-weight: 800;
}

.brands-section {
  padding-top: 42px;
  padding-bottom: 58px;
}

.brand-wall {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.brand-pill {
  min-width: 160px;
  padding: 20px 22px;
  border-radius: 24px;
  color: var(--white);
  font-family: Fredoka, Nunito, Arial, sans-serif;
  font-size: 29px;
  font-weight: 900;
  text-align: center;
  box-shadow: var(--shadow);
}

.barbie { background: #ff4eb8; }
.hasbro { background: #0095da; }
.mattel { background: #e2231a; }
.imc { background: #ff8a00; }
.lego {
  background: #f6d400;
  color: #d71920;
  border: 5px solid #d71920;
}

.gift-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.gift-banner h2 {
  color: var(--white);
  margin-top: 0;
}

.location-grid {
  grid-template-columns: repeat(2, 1fr);
}

.location-card h3 {
  color: var(--blue);
}

.contact {
  text-align: center;
}

.contact-buttons {
  justify-content: center;
}

footer {
  margin-top: 30px;
  padding: 28px 5%;
  text-align: center;
  background: var(--blue);
  color: var(--white);
  font-weight: 900;
}

/* Tablet */
@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 180px 1fr;
  }

  .quick-actions {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .hero,
  .cards,
  .location-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-buttons {
    justify-content: center;
  }

  .card,
  .location-card {
    text-align: center;
  }

  .location-buttons {
    justify-content: center;
  }

  .gift-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* Smartphone: header più basso, non fisso e ben distribuito */
@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at 15% 6%, rgba(255,255,255,.55) 0 35px, transparent 36px),
      linear-gradient(180deg, var(--yellow), #ffe986);
  }

  .site-header {
    position: static;
  }

  .header-inner {
    width: 94%;
    padding: 10px 0 12px;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .logo {
    display: flex;
    justify-content: center;
  }

  .logo img {
    width: 170px;
  }

  .main-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .main-nav a {
    min-height: 34px;
    padding: 8px 5px;
    font-size: 12px;
    box-shadow: 0 3px 0 rgba(0,0,0,.14);
  }

  .quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    width: 100%;
  }

  .quick-call {
    min-height: 36px;
    padding: 8px 5px;
    font-size: 13px;
    box-shadow: 0 3px 0 rgba(0,0,0,.16);
  }

  .hero {
    width: 92%;
    padding: 32px 0 20px;
    gap: 22px;
  }

  .badge,
  .section-badge {
    font-size: 13px;
    padding: 7px 12px;
  }

  h1 {
    font-size: 40px;
    text-shadow: 3px 3px 0 var(--white);
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }

  .hero-content p,
  .welcome p,
  .center,
  .location-card p,
  .contact p,
  .gift-banner p {
    font-size: 16px;
  }

  .toy-box {
    padding: 16px;
    border-radius: 28px;
    gap: 10px;
    transform: none;
  }

  .toy-box span {
    font-size: 42px;
    border-radius: 18px;
  }

  .welcome,
  .contact,
  .gift-banner {
    width: 92%;
    padding: 24px 18px;
    border-radius: 26px;
  }

  .section {
    width: 92%;
    padding: 38px 0;
  }

  .cards {
    gap: 16px;
  }

  .card,
  .location-card {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .icon {
    font-size: 44px;
  }

  .brand-wall {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .brand-pill {
    min-width: 0;
    padding: 17px 10px;
    font-size: 23px;
    border-radius: 20px;
  }

  .brand-pill:last-child {
    grid-column: 1 / -1;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    padding: 12px 18px;
  }

  .hero-buttons,
  .location-buttons,
  .contact-buttons {
    width: 100%;
  }

  footer {
    font-size: 14px;
    padding: 24px 18px;
  }
}
