/* ======================================================
   HERO
====================================================== */

.nordic-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 140px 0 110px;

  background-image: url("../img/nordic/hero.webp");
  background-size: cover;
  background-position: center;

  color: #fff;
}

.hero-image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: 68% center;

  filter: brightness(1.05) contrast(1.08) saturate(1.05);
}

.nordic-hero .container {
  position: relative;
  z-index: 3;

  max-width: 620px;

  margin-left: 90px;
}

.nordic-hero {
  align-items: flex-start;

  padding-top: 170px;
}
.page-tag {
  display: inline-block;

  padding: 8px 18px;

  background: #d6007f;

  color: #fff;

  border-radius: 50px;

  font-size: 0.85rem;

  font-weight: 700;

  letter-spacing: 1px;

  text-transform: uppercase;

  margin-bottom: 25px;
}

.nordic-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);

  line-height: 1.05;

  margin-bottom: 25px;

  color: #fff;
}

.nordic-hero p {
  font-size: 1.2rem;

  line-height: 1.8;

  opacity: 0.95;

  margin-bottom: 40px;

  max-width: 650px;

  color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ======================================================
   HIGHLIGHTS
====================================================== */

.nordic-highlights {
  margin-top: -45px;

  position: relative;

  z-index: 20;

  padding-bottom: 80px;
}

.nordic-highlights .container {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

.highlight-card {
  background: #fff;

  border-radius: 18px;

  padding: 22px 18px;

  min-height: 150px;

  text-align: center;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);

  transition: 0.35s;

  font-size: 3rem;

  display: flex;

  flex-direction: column;

  height: 100%;
}

.highlight-card h3 {
  margin-top: 14px;

  font-size: 1rem;

  line-height: 1.4;
}

.highlight-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.12);
}

@media (max-width: 991px) {
  .nordic-highlights .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-buttons {
    flex-direction: column;
  }

  .nordic-highlights .container {
    grid-template-columns: 1fr;
  }

  .nordic-hero {
    padding: 120px 0 90px;
  }
}

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

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

  .why-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}
/*======================================================
ABOUT
======================================================*/

.nordic-about {
  padding: 110px 0;
}

.about-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;
}

.about-image img {
  border-radius: 24px;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);

  transition: 0.5s;
}

.about-image img:hover {
  transform: scale(1.02);
}

.section-label {
  display: inline-block;

  margin-bottom: 18px;

  color: #d6007f;

  font-weight: 700;

  letter-spacing: 2px;

  font-size: 0.85rem;
}

.about-content h2 {
  font-size: 2.6rem;

  color: #143a5a;

  margin-bottom: 28px;
}

.about-content p {
  margin-bottom: 22px;

  line-height: 1.9;

  color: #555;
}

.about-list {
  list-style: none;

  padding: 0;

  margin: 35px 0;
}

.about-list li {
  padding: 10px 0;

  font-weight: 600;

  color: #143a5a;
}

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

  .about-image {
    order: -1;
  }

  .about-content h2 {
    font-size: 2rem;
  }
}

/*======================================================
WHY NORDIC
======================================================*/

.why-nordic {
  padding: 110px 0;

  background: #f7f9fc;
}

.section-heading {
  max-width: 760px;

  margin: 0 auto 70px;

  text-align: center;
}

.section-heading h2 {
  color: #143a5a;

  font-size: 2.7rem;

  margin: 20px 0;
}

.section-heading p {
  font-size: 1.1rem;

  line-height: 1.8;

  color: #666;
}

.why-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.why-card {
  background: #fff;

  padding: 40px 30px;

  border-radius: 22px;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);

  transition: 0.35s;

  text-align: center;

  min-height: 320px;

  display: flex;

  flex-direction: column;

  align-items: center;

  height: 100%;
}

.why-card:hover .why-icon {
  transform: rotate(-6deg) scale(1.08);
}

.why-icon {
  width: 80px;

  height: 80px;

  margin: 0 auto 28px;

  border-radius: 22px;

  background: linear-gradient(135deg, #143a5a, #d6007f);

  display: flex;

  align-items: center;

  justify-content: center;

  box-shadow: 0 12px 30px rgba(20, 58, 90, 0.25);

  transition: 0.35s;
}

.why-icon i {
  color: #fff;

  font-size: 30px;
}

.why-card h3 {
  color: #143a5a;

  margin-bottom: 18px;

  font-size: 1.25rem;

  font-weight: 700;
}

.why-card p {
  color: #666;

  line-height: 1.8;
}

/*======================================================
COURSES
======================================================*/

.nordic-courses {
  padding: 120px 0;
}

.courses-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 35px;
}

.course-card {
  background: #fff;

  border-radius: 26px;

  padding: 45px;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);

  border: 1px solid #ececec;

  transition: 0.35s;

  display: flex;

  flex-direction: column;

  min-height: 520px;

  height: 100%;
}

.course-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

.featured {
  border: 3px solid #d6007f;

  transform: scale(1.04);

  position: relative;
}

.featured::before {
  content: "PIÙ SCELTO";

  position: absolute;

  top: -14px;

  left: 50%;

  transform: translateX(-50%);

  background: #d6007f;

  color: #fff;

  padding: 8px 18px;

  border-radius: 30px;

  font-size: 0.75rem;

  font-weight: 700;

  letter-spacing: 1px;
}

.course-level {
  display: inline-block;

  padding: 8px 16px;

  border-radius: 30px;

  background: #143a5a;

  color: #fff;

  font-size: 0.8rem;

  font-weight: 700;

  margin-bottom: 25px;
}

.featured .course-level {
  background: #d6007f;
}

.course-card h3 {
  color: #143a5a;

  margin-bottom: 20px;
}

.course-card p {
  line-height: 1.8;

  color: #666;

  margin-bottom: 30px;
}

.course-card ul {
  list-style: none;

  padding: 0;

  margin: 35px 0;

  flex: 1;
}

.course-card li {
  display: flex;

  align-items: center;

  gap: 12px;

  padding: 12px 0;

  color: #143a5a;

  font-weight: 600;
}

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

  .featured {
    transform: none;
  }
}

/*======================================================
TERRITORY
======================================================*/

.nordic-territory {
  padding: 120px 0;

  background: #f7f9fc;
}

.territory-grid {
  display: grid;

  grid-template-columns: 1.3fr 0.9fr;

  gap: 50px;

  align-items: center;
}

.territory-image img {
  width: 100%;

  display: block;

  border-radius: 24px;

  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.12);
}

.territory-cards {
  display: flex;

  flex-direction: column;

  gap: 25px;
}

.route-card {
  background: #fff;

  border-radius: 20px;

  padding: 30px;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);

  transition: 0.35s;
}

.route-card:hover {
  transform: translateX(8px);
}

.route-card span {
  font-size: 2rem;
}

.route-card h3 {
  margin: 15px 0;

  color: #143a5a;
}

.route-card p {
  color: #666;

  line-height: 1.7;
}

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

/*======================================================
GALLERY
======================================================*/

.nordic-gallery {
  padding: 120px 0;
}

.gallery-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.gallery-item {
  overflow: hidden;

  border-radius: 24px;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

  transition: 0.45s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item.large {
  grid-column: span 2;

  min-height: 420px;
}

.gallery-item.wide {
  grid-column: span 2;

  min-height: 260px;
}

.gallery-item:not(.large):not(.wide) {
  min-height: 200px;
}

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

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 2;
  }
}

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

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
  }
}

/*======================================================
COME FUNZIONA
======================================================*/

.how-it-works {
  padding: 110px 0;

  background: #f8fafc;
}

.steps-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;

  margin-top: 60px;
}

.step-card {
  background: #fff;

  border-radius: 20px;

  padding: 35px 25px;

  text-align: center;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);

  transition: 0.3s;

  display: flex;

  flex-direction: column;

  height: 100%;
}

.step-card:hover {
  transform: translateY(-8px);
}

.step-number {
  width: 65px;
  height: 65px;

  margin: 0 auto 20px;

  border-radius: 50%;

  background: #d6007f;

  color: #fff;

  font-size: 1.8rem;

  font-weight: 700;

  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  margin-bottom: 15px;

  color: #143a5a;
}

.step-card p {
  color: #6b7280;
}

@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/*======================================================
FAQ
======================================================*/

.faq-section {
  padding: 110px 0;

  background: #fff;
}

.faq {
  max-width: 900px;

  margin: 60px auto 0;
}

.faq-item {
  border: 1px solid #e5e7eb;

  border-radius: 18px;

  overflow: hidden;

  margin-bottom: 18px;

  transition: 0.3s;
}

.faq-item:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;

  border: none;

  background: #fff;

  padding: 28px 35px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  cursor: pointer;

  font-size: 1.1rem;

  font-weight: 600;

  color: #143a5a;
}

.faq-question span {
  font-size: 1.6rem;

  color: #d6007f;
}

.faq-answer {
  max-height: 0;

  overflow: hidden;

  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 35px 28px;

  color: #6b7280;

  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 220px;
}

/*======================================================
CTA FINALE
======================================================*/

.nordic-cta {
  position: relative;

  padding: 120px 0;

  background:
    linear-gradient(rgba(20, 58, 90, 0.82), rgba(20, 58, 90, 0.82)),
    url("../img/nordic/cta.webp");

  background-size: cover;

  background-position: center;

  text-align: center;

  color: #fff;
}

.nordic-cta h2 {
  max-width: 760px;

  margin: 20px auto;

  font-size: 3rem;

  line-height: 1.2;
}

.nordic-cta p {
  max-width: 760px;

  margin: 0 auto 45px;

  font-size: 1.2rem;

  line-height: 1.8;

  color: rgba(255, 255, 255, 0.88);
}

.cta-buttons {
  display: flex;

  justify-content: center;

  gap: 25px;

  flex-wrap: wrap;
}

.btn-outline-light {
  border: 2px solid #fff;

  color: #fff;

  background: transparent;
}

.btn-outline-light:hover {
  background: #fff;

  color: #143a5a;
}

@media (max-width: 768px) {
  .nordic-cta {
    padding: 80px 0;
  }

  .nordic-cta h2 {
    font-size: 2.2rem;
  }
}

/*======================================================
TESTIMONIANZE
======================================================*/

.testimonials {
  padding: 110px 0;

  background: #f8fafc;
}

.testimonial-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;

  margin-top: 60px;
}

.testimonial-card {
  background: #fff;

  border-radius: 24px;

  padding: 35px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  transition: 0.3s;

  display: flex;

  flex-direction: column;

  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

.stars {
  color: #f4b400;

  font-size: 1.2rem;

  margin-bottom: 20px;
}

.testimonial-text {
  line-height: 1.8;

  color: #4b5563;

  margin-bottom: 30px;

  font-style: italic;
}

.testimonial-author {
  display: flex;

  align-items: center;

  gap: 15px;
}

.testimonial-author img {
  width: 60px;

  height: 60px;

  border-radius: 50%;

  object-fit: cover;
}

.testimonial-author strong {
  display: block;

  color: #143a5a;
}

.testimonial-author span {
  color: #6b7280;

  font-size: 0.9rem;
}

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

/*======================================================
ANIMAZIONI
======================================================*/

.reveal {
  opacity: 0;

  transform: translateY(50px);

  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;

  transform: translateY(0);
}

/*======================================================
NUMERI
======================================================*/

.numbers-section {
  padding: 110px 0;

  background: #143a5a;

  color: #fff;
}

.numbers-section .section-header {
  text-align: center;

  margin-bottom: 60px;
}

.numbers-section .section-label {
  color: #d6007f;
}

.numbers-section h2 {
  color: #fff;
}

.numbers-section p {
  color: rgba(255, 255, 255, 0.8);
}

.numbers-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 30px;
}

.number-card {
  text-align: center;

  padding: 40px 20px;

  border-radius: 20px;

  background: rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(8px);

  transition: 0.3s;
}

.number-card:hover {
  transform: translateY(-8px);

  background: rgba(255, 255, 255, 0.12);
}

.number {
  display: block;

  font-size: 4rem;

  font-weight: 800;

  color: #d6007f;

  margin-bottom: 15px;
}

.number-card h3 {
  color: #fff;

  font-size: 1.1rem;

  font-weight: 600;
}

@media (max-width: 992px) {
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .number {
    font-size: 3rem;
  }
}

.section {
  padding: 100px 0;
}

/*==================================================
PULSANTE GLASS
==================================================*/

.button-glass {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 12px;

  padding: 18px 36px;

  border-radius: 999px;

  text-decoration: none;

  color: #ffffff;

  font-weight: 600;

  font-size: 1.05rem;

  border: 1px solid rgba(255, 255, 255, 0.35);

  background: rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(12px);

  -webkit-backdrop-filter: blur(12px);

  transition: all 0.3s ease;
}

.button-glass:hover {
  background: rgba(255, 255, 255, 0.18);

  border-color: rgba(255, 255, 255, 0.55);

  transform: translateY(-3px);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  z-index: 9999;
}

/* ===== FIX MOBILE CARD NORDIC ===== */
@media screen and (max-width: 768px) {
  .why-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .why-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  .why-card h3,
  .why-card p {
    word-break: normal;
    overflow-wrap: break-word;
  }
}
