/*
Theme Name: Blocksy Child — Semantiqa
Theme URI: https://semantiqa.io
Description: Child theme di Blocksy per semantiqa.io
Author: Paolo Conti
Author URI: https://semantiqa.io
Template: blocksy
Version: 1.5.0
Text Domain: blocksy-child
*/

/* ============================================
   SEMANTIQA.IO — Custom CSS v1.5
   ============================================ */


/* ============================================
   BLOCKSY — Header e Footer
   ============================================ */

#header,
.ct-header,
.ct-header [data-row],
.ct-header [data-row*="middle"],
.ct-header [data-column] {
  background: #F7F4EF !important;
}

#footer,
.ct-footer,
.ct-footer [data-row],
.ct-footer [data-column] {
  background: #F7F4EF !important;
}


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

.ct-header a,
.ct-header nav a,
.ct-menu a {
  text-transform: lowercase !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  color: #7A7568 !important;
  text-decoration: none !important;
}

.ct-menu a:hover {
  color: #1A1A14 !important;
}

a.ct-menu-link[aria-current="page"] {
  color: #1A1A14 !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(0,0,0,0.25) !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.15em !important;
}


/* ============================================
   LINK editoriali
   ============================================ */

.entry-content a:not(.sq-button),
.site-main a:not(.sq-button),
article a:not(.sq-button) {
  color: #3A3730 !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(0,0,0,0.2) !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.15em !important;
  transition: color 0.2s ease, text-decoration-color 0.2s ease !important;
}

.entry-content a:not(.sq-button):hover,
.site-main a:not(.sq-button):hover,
article a:not(.sq-button):hover {
  color: #1A1A14 !important;
  text-decoration-color: rgba(0,0,0,0.5) !important;
}


/* ============================================
   BLOCKSY — Container override
   ============================================ */

.entry-content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ct-container {
  max-width: 100% !important;
}


/* ============================================
   LAYOUT — Container e sezioni
   ============================================ */

.sq-container,
.entry-content .sq-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 8vw;
  padding-right: 8vw;
}

.sq-section {
  border-bottom: 1px solid #D8D3CB;
  padding-top: 80px;
  padding-bottom: 80px;
}

.sq-section:last-child {
  border-bottom: none;
}


/* ============================================
   ELEMENTI TIPOGRAFICI BASE
   ============================================ */

.sq-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8B7355;
  font-weight: 500;
  margin-bottom: 20px;
  display: block;
}

.sq-rule {
  width: 40px;
  height: 2px;
  background: #8B7355;
  margin-bottom: 24px;
}

.sq-lead {
  font-size: 18px;
  color: #5C5650;
  line-height: 1.7;
  max-width: 700px;
  font-weight: 300;
  margin-bottom: 12px;
}

.sq-sublead {
  font-size: 16px;
  color: #7A7568;
  line-height: 1.7;
  max-width: 700px;
  font-weight: 300;
}

.sq-prose p {
  font-size: 17px;
  color: #3A3730;
  line-height: 1.8;
  max-width: 680px;
  font-weight: 300;
  margin-bottom: 22px;
}

.sq-prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #1A1A14;
  line-height: 1.3;
  max-width: 680px;
  margin-top: 48px;
  margin-bottom: 16px;
  font-weight: 400;
}


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

.sq-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  line-height: 1.15;
  color: #1A1A14;
  max-width: 800px;
  margin-bottom: 24px;
}

.sq-hero h1 em {
  font-style: italic;
  color: #6B5A3E;
}


/* ============================================
   HEADINGS E TESTO SEZIONI
   ============================================ */

.sq-framework h2,
.sq-different h2,
.sq-cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  line-height: 1.3;
  color: #1A1A14;
  max-width: 700px;
  margin-bottom: 14px;
  font-weight: 400;
}

.sq-framework p,
.sq-different p,
.sq-cta-section p {
  font-size: 16px;
  color: #5C5650;
  line-height: 1.7;
  max-width: 680px;
  font-weight: 300;
  margin-bottom: 14px;
}


/* ============================================
   DIMENSIONI FRAMEWORK
   ============================================ */

.sq-dims {
  margin-top: 40px;
  border-top: 1px solid #D8D3CB;
}

.sq-dim {
  display: grid;
  grid-template-columns: 80px 1fr 2fr;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #D8D3CB;
}

.sq-dim-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #D8D3CB;
  line-height: 1;
}

.sq-dim-name {
  font-size: 14px;
  font-weight: 500;
  color: #1A1A14;
}

.sq-dim-desc {
  font-size: 14px;
  color: #7A7568;
  font-weight: 300;
  line-height: 1.5;
}


/* ============================================
   BLOCCO REPORT
   ============================================ */

.sq-report-block {
  background: #EDE9E3;
  border-left: 3px solid #8B7355;
  padding: 24px 28px;
  margin-top: 40px;
}

.sq-report-block p {
  font-size: 15px;
  color: #3A3730;
  line-height: 1.7;
  font-weight: 400;
  max-width: 100%;
  margin-bottom: 0;
}


/* ============================================
   PRICING
   ============================================ */

.sq-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: #D8D3CB;
  margin-top: 32px;
  margin-bottom: 24px;
}

.sq-price-cell {
  background: #F7F4EF;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.sq-price-range {
  font-size: 11px;
  color: #8B7355;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.sq-price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #1A1A14;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.sq-price-note {
  font-size: 12px;
  color: #7A7568;
  font-weight: 300;
}

.sq-pricing-note {
  font-size: 13px;
  color: #7A7568;
  line-height: 1.7;
  font-weight: 300;
  font-style: italic;
}


/* ============================================
   TABELLA COMPARATIVA
   ============================================ */

.sq-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  font-size: 14px;
}

.sq-compare-table th {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8B7355;
  font-weight: 500;
  padding: 12px 16px;
  border-bottom: 2px solid #D8D3CB;
  text-align: left;
}

.sq-compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #D8D3CB;
  color: #5C5650;
  font-weight: 300;
  vertical-align: top;
}

.sq-compare-table tr:last-child td {
  border-bottom: none;
}

.sq-compare-table .sq-col-semantiqa {
  color: #1A1A14;
  font-weight: 500;
}

.sq-check {
  color: #8B7355;
  font-weight: 500;
}

.sq-cross {
  color: #C4B8A8;
}


/* ============================================
   BOTTONE CTA
   ============================================ */

.sq-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1A1A14;
  color: #F7F4EF !important;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.sq-button:hover {
  background: #3A3730;
}

.sq-manifesto-cta {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #D8D3CB;
}


/* ============================================
   TEAM
   ============================================ */

.sq-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 32px;
}

.sq-person-role {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8B7355;
  font-weight: 500;
  margin-bottom: 8px;
  display: block;
}

.sq-person-divider {
  width: 30px;
  height: 1px;
  background: #D8D3CB;
  margin-bottom: 14px;
}

.sq-person-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #1A1A14;
  margin-bottom: 14px;
  font-weight: 400;
}

.sq-person-bio {
  font-size: 14px;
  color: #5C5650;
  line-height: 1.75;
  font-weight: 300;
}

.sq-person-photo {
  width: 120px;
  height: 120px;
  overflow: hidden;
  margin-bottom: 20px;
}

.sq-person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%);
}


/* ============================================
   MANIFESTO
   ============================================ */

.sq-manifesto-title {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  line-height: 1.2;
  color: #1A1A14;
  max-width: 760px;
  margin-bottom: 20px;
  font-weight: 600;
}

.sq-manifesto-byline {
  font-size: 13px;
  color: #8B7355;
  font-weight: 400;
  letter-spacing: 0.04em;
}


/* ============================================
   TITOLI PAGINE INTERNE
   ============================================ */

.sq-framework-hero h1,
.sq-about-hero h1,
.sq-approach-hero h1,
.sq-audit-hero h1,
.sq-framework-title,
.sq-about-title,
.sq-approach-title,
.sq-audit-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 44px !important;
  line-height: 1.2 !important;
  color: #1A1A14 !important;
  max-width: 760px;
  margin-bottom: 20px;
  font-weight: 600 !important;
}


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

.sq-prose-section h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: 26px !important;
  line-height: 1.3 !important;
  color: #1A1A14 !important;
  max-width: 680px;
  margin-top: 48px;
  margin-bottom: 16px;
  font-weight: 400 !important;
}

.sq-prose-section p {
  font-size: 16px !important;
  color: #5C5650 !important;
  line-height: 1.75 !important;
  max-width: 680px;
  font-weight: 300 !important;
  margin-bottom: 18px !important;
}


/* ============================================
   FRAMEWORK PAGE
   ============================================ */

.sq-framework-cta {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #D8D3CB;
}


/* ============================================
   ABOUT PAGE
   ============================================ */

.sq-about-cta {
  margin-top: 40px;
}


/* ============================================
   OUR APPROACH PAGE
   ============================================ */

.sq-phase {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid #D8D3CB;
}

.sq-phase:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sq-phase-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 24px;
}

.sq-phase-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: #D8D3CB;
  line-height: 1;
}

.sq-phase-label {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #1A1A14;
  font-weight: 400;
}

.sq-phase-intro {
  font-size: 16px;
  color: #5C5650;
  line-height: 1.7;
  max-width: 680px;
  font-weight: 300;
  margin-bottom: 32px;
}

.sq-service-item {
  padding: 28px 0;
  border-top: 1px solid #D8D3CB;
}

.sq-service-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #1A1A14;
  font-weight: 400;
  margin-bottom: 12px;
}

.sq-service-desc {
  font-size: 15px;
  color: #5C5650;
  line-height: 1.75;
  max-width: 680px;
  font-weight: 300;
  margin-bottom: 12px;
}

.sq-service-link {
  font-size: 13px;
  color: #8B7355;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.sq-approach-phases {
  padding-bottom: 0;
}

.sq-approach-phases .sq-phase:last-child {
  padding-bottom: 80px;
}


/* ============================================
   AUDIT PAGE
   ============================================ */

.sq-compare-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #1A1A14;
  font-weight: 400;
  margin-bottom: 12px;
}

.sq-compare-intro {
  font-size: 16px;
  color: #5C5650;
  line-height: 1.7;
  max-width: 580px;
  font-weight: 300;
  margin-bottom: 32px;
}

.sq-audit-discount {
  margin-top: 32px;
  padding: 24px 28px;
  border-left: 3px solid #8B7355;
  background: #EDE9E3;
}

.sq-discount-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8B7355;
  font-weight: 500;
  margin-bottom: 10px;
}

.sq-audit-discount p {
  font-size: 15px;
  color: #3A3730;
  line-height: 1.7;
  font-weight: 300;
  max-width: 580px;
}


/* ============================================
   HOMEPAGE v2
   ============================================ */

.sq-home-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  line-height: 1.3;
  color: #1A1A14;
  max-width: 680px;
  margin-bottom: 16px;
  font-weight: 400;
}

.sq-home-section-intro {
  font-size: 16px;
  color: #5C5650;
  line-height: 1.7;
  max-width: 620px;
  font-weight: 300;
  margin-bottom: 48px;
}

.sq-home-phases {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: #D8D3CB;
  margin-bottom: 40px;
}

.sq-home-phase {
  background: #F7F4EF;
  padding: 32px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.sq-home-phase-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #D8D3CB;
  line-height: 1;
  flex-shrink: 0;
}

.sq-home-phase-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #1A1A14;
  font-weight: 400;
  margin-bottom: 10px;
}

.sq-home-phase-desc {
  font-size: 14px;
  color: #5C5650;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 14px;
}

.sq-home-phase-link {
  font-size: 13px;
  color: #8B7355;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none !important;
}

.sq-home-phase-link:hover {
  color: #1A1A14 !important;
}

.sq-home-framework-link {
  text-align: right;
  margin-top: 8px;
}

.sq-home-text-link {
  font-size: 13px;
  color: #8B7355;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none !important;
}

.sq-home-text-link:hover {
  color: #1A1A14 !important;
}

.sq-home-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.sq-home-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  line-height: 1.3;
  color: #1A1A14;
  max-width: 480px;
  margin-bottom: 12px;
  font-weight: 400;
}

.sq-home-cta p {
  font-size: 15px;
  color: #5C5650;
  line-height: 1.7;
  font-weight: 300;
  max-width: 480px;
}

.sq-home-cta-action {
  text-align: center;
  flex-shrink: 0;
}

.sq-home-cta-note {
  font-size: 12px;
  color: #A09A93;
  margin-top: 12px;
  font-weight: 300;
  font-style: italic;
}



.sq-home-nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #1A1A14;
  font-weight: 400;
  margin-bottom: 8px;
}

.sq-home-nav-desc {
  font-size: 13px;
  color: #7A7568;
  line-height: 1.6;
  font-weight: 300;
}


/* ============================================
   PADDING SPECIFICI
   ============================================ */

#team {
  padding-bottom: 48px;
}


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

@media (max-width: 768px) {
  .sq-hero h1 { font-size: 36px; }
  .sq-manifesto-title { font-size: 30px; }
  .sq-framework-hero h1,
  .sq-about-hero h1,
  .sq-approach-hero h1,
  .sq-audit-hero h1,
  .sq-framework-title,
  .sq-about-title,
  .sq-approach-title,
  .sq-audit-title { font-size: 32px !important; }
  .sq-framework h2,
  .sq-different h2,
  .sq-cta-section h2 { font-size: 26px; }
  .sq-container,
  .entry-content .sq-container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .sq-home-phases { grid-template-columns: 1fr; }
  .sq-home-cta-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .sq-hero h1 { font-size: 30px; }
  .sq-manifesto-title { font-size: 26px; }
  .sq-dim { grid-template-columns: 48px 1fr; }
  .sq-dim-desc { display: none; }
  .sq-pricing-grid { grid-template-columns: 1fr; }
  .sq-team-grid { grid-template-columns: 1fr; gap: 40px; }
  .sq-compare-table { font-size: 12px; }
  .sq-compare-table td,
  .sq-compare-table th { padding: 10px 8px; }
}

.sq-home-nav-desc {
  font-size: 13px;
  color: #7A7568;
  line-height: 1.6;
  font-weight: 300;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.sq-home-nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #1A1A14;
  font-weight: 400;
  margin-bottom: 8px;
  margin-top: 0 !important;
  padding: 0 !important;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.sq-contact-title {
  font-family: 'Playfair Display', serif !important;
  font-size: 44px !important;
  line-height: 1.2 !important;
  color: #1A1A14 !important;
  max-width: 640px;
  margin-bottom: 20px;
  font-weight: 600 !important;
}

.sq-contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: flex-start;
}

.sq-contact-block {
  margin-bottom: 32px;
}

.sq-contact-block p {
  font-size: 15px;
  color: #3A3730;
  line-height: 1.7;
  font-weight: 300;
  margin-top: 6px;
}

.sq-contact-block a {
  color: #3A3730 !important;
}

.wpcf7-form input,
.wpcf7-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #D8D3CB;
  padding: 12px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: #1A1A14;
  margin-bottom: 8px;
  outline: none;
  transition: border-color 0.2s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-bottom-color: #8B7355;
}

.wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #A09A93;
  font-weight: 300;
}

.wpcf7-form .sq-cf7-field {
  margin-bottom: 24px;
}

.wpcf7-form label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8B7355;
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.wpcf7-form input[type="submit"] {
  background: #1A1A14;
  color: #F7F4EF;
  border: none;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  width: auto;
  margin-top: 16px;
  transition: background 0.2s;
}

.wpcf7-form input[type="submit"]:hover {
  background: #3A3730;
}

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

@media (max-width: 768px) {
  .sq-audit-compare .sq-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 0;
  }
  .sq-compare-table {
    min-width: 580px;
  }
}

/* --- Home Nav Grid --- */
.sq-home-nav .sq-container .sq-home-nav-grid {
  width: 100% !important;
  border-top: 1px solid #D8D3CB !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  box-sizing: border-box;
}

.sq-home-nav .sq-container .sq-home-nav-grid a {
  display: block !important;
  padding: 28px !important;
  border-bottom: 1px solid #D8D3CB !important;
  border-right: 1px solid #D8D3CB !important;
  text-decoration: none !important;
  background: #F7F4EF !important;
  outline: none;
  box-sizing: border-box;
}

.sq-home-nav .sq-container .sq-home-nav-grid a:nth-child(even) {
  border-right: none !important;
}

@media (max-width: 768px) {
  .sq-home-nav .sq-container .sq-home-nav-grid {
    grid-template-columns: 1fr !important;
  }

  .sq-home-nav .sq-container .sq-home-nav-grid a {
    border-right: none !important;
  }
}