/* =========================================
   GIESSE INTRALOG - STYLESHEET
   ========================================= */


/* =========================================
   VARIABILI
   ========================================= */

:root {
  --black: #101010;
  --dark: #181818;
  --orange: #f47b20;
  --orange2: #ff9a3d;
  --white: #ffffff;
  --light: #f5f5f3;
  --gray: #6b6b6b;
  --border: #deded9;
}


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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 100px;

  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;

  color: var(--black);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1050px, 88%);
  margin: 0 auto;
}

section {
  padding: 75px 0;
}


/* =========================================
   TOPBAR
   ========================================= */

.topbar {
  padding: 10px 0;

  background: var(--black);
  color: var(--white);

  font-size: 13px;
  text-align: center;
}


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

header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  z-index: 1000;

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

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

  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

nav {
  min-height: 100px;

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


/* =========================================
   LOGO
   ========================================= */

.logo {
  height: 100px;
  width: auto;

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

.logo img {
  height: 100px;
  width: auto;
  display: block;
}


/* =========================================
   NAV CTA
   ========================================= */

.nav-cta {
  padding: 12px 20px;

  background: var(--orange);

  border-radius: 5px;

  font-size: 14px;
  font-weight: 800;
}


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

.hero {
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url("hero_image.png");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  color: var(--white);

  padding: 100px 0;
}

.hero-grid {
  display: flex;

  justify-content: center;
  align-items: center;

  text-align: center;
}

.hero-grid > div {
  width: 100%;
  max-width: 800px;
}


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

h1 {
  margin: 15px 0 22px;

  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h1 span {
  color: var(--orange);
}

.hero p {
  max-width: 650px;

  margin-left: auto;
  margin-right: auto;

  color: #dddddd;

  font-size: 20px;
}


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

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;

  gap: 12px;

  margin-top: 30px;
}

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  padding: 15px 22px;

  border: 1px solid transparent;
  border-radius: 5px;

  font-weight: 800;

  cursor: pointer;
}

.btn-primary {
  background: var(--orange);
  color: #111111;
}

.btn-secondary {
  border-color: #666666;
  color: var(--white);
}


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

.hero-card {
  padding: 30px;

  background: var(--white);
  color: #111111;

  border-radius: 12px;

  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.mini-list {
  display: grid;

  gap: 10px;

  margin: 20px 0 0;
  padding: 0;

  list-style: none;
}

.mini-list li {
  padding: 11px 12px;

  background: var(--light);

  border-left: 4px solid var(--orange);

  font-weight: 700;
}


/* =========================================
   TITOLI SEZIONI
   ========================================= */

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

  margin: 0 auto 42px;

  text-align: center;
}

.section-title h2 {
  margin: 0 0 12px;

  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-title p {
  color: var(--gray);

  font-size: 17px;
}


/* =========================================
   SERVIZI
   ========================================= */

.services {
  background: var(--light);
}

.cards {
  display: grid;

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

  gap: 18px;
}

.card {
  padding: 27px;

  background: var(--white);

  border: 1px solid var(--border);
  border-radius: 8px;
}

.number {
  color: var(--orange);

  font-size: 14px;
  font-weight: 900;
}

.card h3 {
  margin: 8px 0;

  font-size: 22px;
}

.card p {
  margin: 0;

  color: var(--gray);
}


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

.form-section {
  background: #111111;
  color: var(--white);
}

.form-grid {
  display: grid;

  grid-template-columns: 0.75fr 1.25fr;

  gap: 55px;

  align-items: start;
}

.form-copy h2 {
  margin: 0 0 18px;

  font-size: 42px;
  line-height: 1.05;
}

.form-copy p {
  color: #cccccc;

  font-size: 17px;
}

.form-copy .promise {
  margin-top: 28px;
  padding-left: 16px;

  border-left: 4px solid var(--orange);
}


/* =========================================
   FORM
   ========================================= */

form {
  padding: 30px;

  background: var(--white);
  color: #111111;

  border-radius: 10px;
}

.row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 14px;
}

.field {
  margin-bottom: 15px;
}

label {
  display: block;

  margin: 0 0 6px;

  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;

  padding: 13px 14px;

  border: 1px solid #cccccc;
  border-radius: 5px;

  background: var(--white);

  font: inherit;
}

textarea {
  min-height: 105px;

  resize: vertical;
}


/* =========================================
   CHECKBOX
   ========================================= */

.checks {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 9px;

  margin: 8px 0 18px;
}

.check {
  display: flex;

  gap: 8px;

  align-items: flex-start;

  color: #444444;

  font-size: 13px;
}

.check input {
  width: auto;

  margin-top: 3px;
}


/* =========================================
   PRIVACY / SUBMIT
   ========================================= */

.privacy {
  margin: 12px 0 18px;

  color: #666666;

  font-size: 11px;
}

.submit {
  width: 100%;

  border: 0;

  font-size: 16px;
}


/* =========================================
   MESSAGGI FORM
   ========================================= */

.success {
  display: none;

  padding: 22px;

  background: #eef7ee;
  color: #245b2a;

  border-radius: 8px;

  font-weight: 700;
}

.form-error {
  display: none;

  margin: 12px 0;
  padding: 12px;

  background: #fff0ee;
  color: #a52820;

  border-radius: 5px;
}


/* =========================================
   SLOGAN FINALE
   ========================================= */

.after {
  padding: 50px 0;

  background: var(--orange);
  color: #111111;

  text-align: center;
}

.after h2 {
  margin: 0;
}

.slogan {
  margin: 0;

  /*font-family: "Space Grotesk", sans-serif;*/
  /*font-size: clamp(2rem, 4vw, 4rem);*/
  font-size: 2.5rem;
  font-weight: 200;

  line-height: 1.3;
  /*letter-spacing: -0.03em;*/

  color: #111111;
}

.slogan-white {
  color: var(--white);
}


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

.footer {
  padding: 28px 0;

  background: #0c0c0c;
  color: #aaaaaa;

  font-size: 12px;
}

.footer-inner {
  display: flex;

  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;

  text-align: center;
}


/* =========================================
   WHATSAPP
   ========================================= */

.whatsapp-btn {
  position: fixed;

  right: 25px;
  bottom: 25px;

  width: 65px;
  height: 65px;

  z-index: 9999;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.whatsapp-btn img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}

.whatsapp-btn:hover {
  transform: scale(1.12);
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 850px) {

  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding: 70px 0;
  }

  .whatsapp-btn {
    width: 55px;
    height: 55px;

    right: 18px;
    bottom: 18px;
  }
}


/* =========================================
   SMARTPHONE
   ========================================= */

@media (max-width: 580px) {

  /* HEADER */

  body {
    padding-top: 70px;
  }

  nav {
    min-height: 70px;
  }

  .logo {
    height: 70px;
  }

  .logo img {
    height: 70px;
    width: auto;
  }


  /* SEZIONI */

  section {
    padding: 55px 0;
  }


  /* HERO */

  .hero {
    padding: 70px 0;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }


  /* SERVIZI */

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

  .section-title h2 {
    font-size: 32px;
  }


  /* FORM */

  .form-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .row,
  .checks {
    grid-template-columns: 1fr;
  }

  .form-copy h2 {
    font-size: 32px;
  }

  form {
    padding: 22px;
  }


  /* SLOGAN */

  .after {
    padding: 45px 0;
  }

  .slogan {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }


  /* WHATSAPP */

  .whatsapp-btn {
    width: 52px;
    height: 52px;

    right: 16px;
    bottom: 16px;
  }


  /* FOOTER */

  .footer {
    padding: 24px 0;

    font-size: 11px;
  }
}