/* ==========================================================
   ALA NEXT
   Design System 1.0
========================================================== */

/* ===========================
   RESET
=========================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===========================
   ROOT
=========================== */

:root {
  /* Brand */

  --primary: #143a5a;
  --secondary: #d6007f;
  --accent: #3db54a;

  /* Neutral */

  --white: #ffffff;
  --light: #f7f9fc;
  --grey: #6b7280;
  --dark: #1f2937;

  /* Effects */

  --shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 30px 70px rgba(0, 0, 0, 0.15);

  --radius: 22px;

  --transition: 0.35s ease;

  /* Layout */

  --container: 1280px;
}

/* ===========================
   HTML
=========================== */

html {
  scroll-behavior: smooth;
}

/* ===========================
   BODY
=========================== */

body {
  font-family: "Montserrat", sans-serif;

  color: var(--dark);

  background: var(--white);

  overflow-x: hidden;

  line-height: 1.6;
}

/* ===========================
   IMAGES
=========================== */

img {
  display: block;

  width: 100%;

  height: auto;
}

/* ===========================
   LINKS
=========================== */

a {
  color: inherit;

  text-decoration: none;
}

/* ===========================
   LIST
=========================== */

ul {
  list-style: none;
}

/* ===========================
   CONTAINER
=========================== */

.container {
  width: min(92%, var(--container));

  margin: auto;
}

/* ===========================
   SECTION
=========================== */

.section {
  padding: 120px 0;
}

/* ===========================
   TITLES
=========================== */

h1 {
  font-size: clamp(3rem, 6vw, 5rem);

  line-height: 1.05;

  font-weight: 800;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);

  line-height: 1.15;

  font-weight: 800;

  color: var(--primary);
}

h3 {
  font-size: 1.45rem;

  font-weight: 700;
}

p {
  color: var(--grey);
}

/* ===========================
   BUTTONS
=========================== */

/* =====================================================
   BUTTONS
===================================================== */

.button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 10px;

  padding: 15px 32px;

  border-radius: 50px;

  font-weight: 700;

  text-decoration: none;

  transition: all 0.3s ease;

  cursor: pointer;

  border: none;
}

.button-primary {
  background: var(--primary);

  color: #fff;
}

.button-primary:hover {
  background: #003b77;

  transform: translateY(-2px);

  box-shadow: 0 12px 25px rgba(0, 73, 145, 0.2);
}

.button-outline {
  background: #fff;

  color: var(--primary);

  border: 2px solid var(--primary);
}

.button-outline:hover {
  background: var(--primary);

  color: #fff;
}

/*==================================================
BUTTON GLASS
==================================================*/

.button-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 18px 34px;

  border-radius: 999px;

  font-weight: 700;
  text-decoration: none;

  color: #ffffff;

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

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

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

  transition: 0.35s ease;
}

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

  transform: translateY(-3px);

  color: #ffffff;
}

/* ===========================
   CARD
=========================== */

.card {
  background: white;

  border-radius: var(--radius);

  box-shadow: var(--shadow);

  transition: var(--transition);
}

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

  box-shadow: var(--shadow-hover);
}

/* ===========================
   SECTION HEADER
=========================== */

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

  margin: 0 auto 70px;

  text-align: center;
}

.section-header h2 {
  margin: 15px 0 20px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 20px;

  border-radius: 999px;

  background: #f8eaf2;

  color: var(--secondary);

  font-size: 0.82rem;
  font-weight: 700;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 992px) {
  .section {
    padding: 90px 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
}

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

.page-hero {
  padding: 90px 0;

  background: #fff;
}

.page-hero-grid {
  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  gap: 80px;

  align-items: center;
}

.page-hero-content {
  max-width: 650px;
}

.page-hero-image {
  display: flex;

  justify-content: flex-end;
}

.page-hero-image img {
  width: 100%;

  max-width: 430px;

  border-radius: 28px;

  display: block;

  object-fit: cover;

  box-shadow: 0 20px 60px rgba(20, 58, 90, 0.12);
}

/*==================================================
 BREADCRUMB
==================================================*/

.breadcrumb {
  margin-bottom: 30px;

  font-size: 0.95rem;

  color: #7a8795;
}

.breadcrumb a {
  color: #143a5a;

  text-decoration: none;

  transition: 0.25s;
}

.breadcrumb a:hover {
  color: #d6007f;
}

.breadcrumb span {
  margin: 0 6px;
}

/*==================================================
 BADGE
==================================================*/

.page-badge {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 10px 20px;

  border-radius: 999px;

  background: #f8eaf2;

  color: #d6007f;

  font-weight: 700;

  font-size: 0.82rem;

  text-transform: uppercase;

  letter-spacing: 0.08em;

  margin-bottom: 28px;
}

/*==================================================
 SECTION
==================================================*/

.page-section {
  padding: 110px 0;
}

.page-section-light {
  background: #f7f9fc;
}

/*==================================================
 SECTION HEADING
==================================================*/

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

  margin: 0 auto 70px;

  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);

  color: #143a5a;

  margin-bottom: 24px;
}

.section-heading p {
  color: #667085;

  line-height: 1.9;

  font-size: 1.08rem;
}

/*==================================================
 CARD
==================================================*/

.content-card {
  background: #fff;

  border-radius: 24px;

  border: 1px solid #e8eef5;

  padding: 36px;

  box-shadow: 0 15px 35px rgba(20, 58, 90, 0.05);
}

/*=========================================
MENU ATTIVO
=========================================*/

.menu > li > a.active {
  color: #d6007f;

  font-weight: 700;
}

.menu > li > a.active::after {
  width: 100%;
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
  background: #10294b;

  color: #d9e3ef;

  margin-top: 120px;

  position: relative;
}

.footer-top-line {
  height: 4px;

  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.site-footer .container {
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1.5fr;

  gap: 60px;
}

.footer-logo {
  width: 150px;

  margin-bottom: 22px;
}

.footer-motto {
  font-size: 1.15rem;

  font-weight: 700;

  color: #ffffff;

  margin-bottom: 18px;
}

.footer-about p {
  line-height: 1.9;

  color: #b8c6d8;
}

.footer-column h4 {
  color: #ffffff;

  font-size: 1.15rem;

  margin-bottom: 22px;

  position: relative;

  padding-bottom: 10px;
}

.footer-column h4::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: 0;

  width: 45px;

  height: 3px;

  background: var(--accent);

  border-radius: 20px;
}

.footer-column ul {
  list-style: none;

  padding: 0;

  margin: 0;
}

.footer-column li {
  margin-bottom: 14px;
}

.footer-column a {
  color: #d9e3ef;

  text-decoration: none;

  transition: 0.25s;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;

  align-items: flex-start;

  gap: 14px;

  line-height: 1.8;
}

.footer-contact i {
  color: var(--accent);

  margin-top: 5px;

  width: 18px;

  flex: none;
}

.footer-bottom {
  margin-top: 70px;

  padding-top: 22px;
}

.footer-bottom p {
  font-size: 0.82rem;

  opacity: 0.75;
}

/* ===============================
   FOOTER SOCIAL
================================ */

.footer-social {
  display: flex;

  gap: 14px;

  margin-top: 30px;
}

.footer-social a {
  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social a:hover {
  background: var(--accent);

  border-color: var(--accent);
}

/* ===============================
   BACK TO TOP
================================ */

.back-to-top {
  position: fixed;

  right: 25px;

  bottom: 25px;

  width: 52px;

  height: 52px;

  border: none;

  border-radius: 50%;

  background: var(--primary);

  color: #fff;

  cursor: pointer;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 1rem;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);

  opacity: 0;

  visibility: hidden;

  transition: 0.3s;

  z-index: 999;
}

.back-to-top.show {
  opacity: 1;

  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);

  transform: translateY(-4px);
}

/* ======================================================
   HOME - PULSANTI MAGENTA
====================================================== */

.page-home .nav-cta,
.page-home .hero-buttons .button-primary,
.page-home .cta-buttons .button-primary {
  background: #e6007e !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 10px 24px rgba(230, 0, 126, 0.22);
}

.page-home .nav-cta:hover,
.page-home .hero-buttons .button-primary:hover,
.page-home .cta-buttons .button-primary:hover {
  background: #c4006a !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ======================================================
   PAGINA CONTATTI - PULSANTI
====================================================== */

/* Pulsante Prenota una prova */

.page-contatti .contact-actions .button-primary {
  background: #e6007e !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 10px 24px rgba(230, 0, 126, 0.22);
}

.page-contatti .contact-actions .button-primary:hover {
  background: #c4006a !important;
  color: #ffffff !important;
}

/* Pulsante WhatsApp */

.page-contatti .contact-actions .button-secondary {
  background: #25d366 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.22);
}

.page-contatti .contact-actions .button-secondary:hover {
  background: #1ebe5d !important;
  color: #ffffff !important;
}
