/* ============================================================
   TOOLUX — SEO Landing Template
   Stylesheet condiviso per le pagine generate semi-automaticamente
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --orange: #e9531e;
  --orange-dark: #c8430f;
  --navy: #271a2b;          /* footer / dark sections */
  --navy-2: #1f1424;
  --ink: #1d2b4a;           /* dark blue body text */
  --ink-soft: #3a4a6b;
  --mint: #dde7e0;          /* light sage section */
  --gray: #f0f1f0;          /* light gray section */
  --line: #e3e6ea;
  --white: #ffffff;
  --maxw: 1180px;
  --pad: clamp(20px, 4vw, 48px);
  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---- Placeholder image blocks (sostituire con foto reali) ---- */
.ph {
  position: relative;
  background-color: #d7dbe0;
  background-image: repeating-linear-gradient(
    -45deg, #d7dbe0 0 14px, #cdd2d8 14px 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5d6675;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  letter-spacing: .04em;
  text-align: center;
  padding: 12px;
}
.ph span {
  background: rgba(255,255,255,.78);
  padding: 5px 10px;
  border-radius: 3px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand { display: flex; flex-direction: column; line-height: 1; gap: 4px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand .logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  color: var(--navy);
  letter-spacing: -.01em;
}
.brand .logo .dot { color: var(--orange); }
.brand .tagline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: .85;
}

.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: .01em;
}
.main-nav a:hover,
.main-nav a.is-active { color: var(--orange); }

.nav-toggle { display: none; }

/* ============================================================
   HERO + FORM
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, rgba(31,20,36,.94) 0%, rgba(31,20,36,.72) 55%, rgba(233,83,30,.40) 100%),
    repeating-linear-gradient(-45deg, #2e2033 0 16px, #271a2b 16px 32px);
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 64px;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  opacity: .85;
  margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04;
  margin: 0 0 20px;
  letter-spacing: -.01em;
}
.hero h1 .q { color: var(--orange); }
.hero-intro { font-size: 17px; opacity: .92; margin: 0 0 26px; max-width: 46ch; }

.hero-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.hero-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-weight: 600; font-size: 16px;
}
.hero-list li::before {
  content: "";
  flex: 0 0 22px;
  width: 22px; height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.btn-phone {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  padding: 15px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .15s ease;
}
.btn-phone:hover { background: var(--orange-dark); text-decoration: none; }

/* Form card */
.lead-form {
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  padding: 28px 26px 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
}
.lead-form h2 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--orange);
  font-size: 28px;
  text-align: center;
  margin: 0 0 4px;
  text-transform: uppercase;
}
.lead-form .sub { text-align: center; font-size: 14px; color: var(--ink-soft); margin: 0 0 20px; }
.lead-form input[type=text],
.lead-form input[type=email],
.lead-form input[type=tel],
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #f7f8f9;
  border-radius: 4px;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 12px;
}
.lead-form textarea { resize: vertical; min-height: 110px; }
.lead-form input:focus,
.lead-form textarea:focus { outline: none; border-color: var(--orange); background: #fff; }

.privacy-row {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 12px; color: var(--ink-soft); line-height: 1.5;
  margin: 4px 0 16px;
}
.privacy-row input { margin-top: 3px; }

.btn-submit {
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  padding: 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s ease;
}
.btn-submit:hover { background: var(--orange-dark); }

/* ============================================================
   CONTACT BAR  (fissa in basso, segue lo scroll)
   ============================================================ */
.contact-bar {
  display: flex;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  box-shadow: 0 -6px 20px rgba(0,0,0,.18);
}
/* spazio in fondo alla pagina per non coprire footer/contenuti */
body { padding-bottom: 56px; }
.contact-bar a {
  flex: 1;
  text-align: center;
  padding: 16px 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.contact-bar .cb-dark { background: var(--navy); color: #fff; }
.contact-bar .cb-orange { background: var(--orange); color: #fff; }
.contact-bar a:hover { text-decoration: none; filter: brightness(1.08); }

/* ============================================================
   GENERIC CONTENT SECTIONS
   ============================================================ */
.section { padding: 64px 0; }
.section--tight { padding: 48px 0; }

.section h2 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--orange);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  margin: 0 0 18px;
}
.section p { margin: 0 0 18px;  }
.section .container > *:last-child { margin-bottom: 0; }

.fullwidth-img {
	width: 100%;
	height: clamp(240px, 32vw, 420px);
	background-image:URL('https://toolux.it/wp-content/uploads/2025/09/AdobeStock_1554595719@2x.png');
	background-size:cover;
	background-position:center;
}

/* ============================================================
   PRODUCTS (orange band) — sostituisce "specialità"
   ============================================================ */
.products {
  background: var(--orange);
  color: #fff;
  padding: 64px 0;
}
.products h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 40px);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0 0 44px;
  color: #fff;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}
.prod-cat h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 21px;
  margin: 0 0 14px;
  color: #fff;
}
.prod-cat ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.prod-cat ul a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-size: 16px;
}
.prod-cat ul a:hover { color: #fff; text-decoration: underline; }

/* ============================================================
   ABOUT (dark band, image + text)
   ============================================================ */
.about { background: var(--navy); color: #fff; padding: 70px 0; }
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 44px;
  align-items: center;
}
.about h2 {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 32px);
  text-transform: uppercase;
  margin: 0 0 18px;
  line-height: 1.2;
}
.about p { color: rgba(255,255,255,.85); margin: 0 0 16px; }
.about .btn-ghost {
  display: inline-block;
  margin-top: 8px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
}
.about .btn-ghost:hover { background: var(--orange-dark); text-decoration: none; }
.about-img {
	aspect-ratio: 4/3;
	border-radius: 6px;
	overflow: hidden;
	background-image:URL('https://toolux.it/wp-content/uploads/2025/09/AdobeStock_456056450.jpeg');
	background-size:cover;
	background-position:center;
}

/* About secondary (light) row */
.about2 { background: var(--gray); padding: 64px 0; }
.about2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.about2-img {
	aspect-ratio: 4/3;
	border-radius: 6px;
	overflow: hidden;
	background-image:URL('https://toolux.it/wp-content/uploads/2025/09/AdobeStock_230172178@2x.png');
	background-size:cover;
	background-position:left;
}

/* ============================================================
   RELATED / NEXT KEYWORD
   ============================================================ */
.related { text-align: center; padding: 56px 0 64px; }
.related .label {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 16px;
  margin: 0 0 14px;
}
.related a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--orange);
  padding-bottom: 3px;
}
.related a:hover { color: var(--orange); }

/* ============================================================
   CTA BAR
   ============================================================ */
.cta-bar {
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 26px 16px;
}
.cta-bar a {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 28px);
  color: #fff;
  text-decoration: none;
  letter-spacing: .02em;
}
.cta-bar a:hover { text-decoration: none; opacity: .92; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.82); padding: 56px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  color: #fff;
}
.footer-brand .logo .dot { color: var(--orange); }
.footer-brand .tagline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 4px 0 22px;
}
.footer-brand address { font-style: normal; font-size: 15px; line-height: 1.9; }
.footer-brand address a { color: var(--orange); }

.footer-col h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col ul a { color: rgba(255,255,255,.82); text-decoration: none; font-size: 15px; }
.footer-col ul a:hover { color: var(--orange); }
.footer-col ul a.is-active { color: var(--orange); }

.footer-bottom {
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0 26px;
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: var(--orange); }


.logoimg {
	max-width:150px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .about2-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .main-nav {
    display: none;
    position: absolute; top: 84px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px var(--pad); width: 100%; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }
  .products-grid { grid-template-columns: 1fr; gap: 28px; }
  /* su mobile resta solo il pulsante centrale "Richiedi un preventivo" */
  .contact-bar .cb-dark { display: none; }
  .contact-bar .cb-orange { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; }
}
