/* =====================================================
   UppSales — Main Stylesheet
   Design System: Degular headings, green brand palette
   ===================================================== */

/* ---- 1. Design Tokens ---- */
:root {
  --primary:       #079a86;
  --primary-dark:  #067a6a;
  --header-bg:     #0d211e;
  --accent:        #079a86;
  --accent-dark:   #067a6a;
  --dark:          #0f0f0f;
  --gray-dark:     #333;
  --gray-mid:      #555;
  --gray-light:    #8a9a95;
  --border:        #cacaca;
  --bg-alt:        #fafafa;
  --bg-dark:       #0d211e;
  --white:         #ffffff;
  --font:          'Roboto', Arial, Helvetica, sans-serif;
  --font-heading:  "degular", 'Roboto', Arial, Helvetica, sans-serif;
  --gradient:      linear-gradient(135deg, #0b998e 0%, #08af86 55%, #67bc78 100%);
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     16px;
  --shadow:        0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:     0 8px 36px rgba(0,0,0,0.13);
  --container:     1160px;
  --header-h:      68px;
  --section-pad:   80px;
  --section-pad-sm:48px;
  --transition:    0.2s ease;
}

/* ---- 2. Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul, ol { list-style: none; }
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ---- 3. Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
p  { color: var(--gray-mid); line-height: 1.72; }
.lead {
  font-size: 1.2rem;
  line-height: 1.68;
  color: var(--gray-mid);
}
strong { font-weight: 600; color: var(--gray-dark); }

/* ---- 4. Layout ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-pad) 0; }
.section--sm { padding: var(--section-pad-sm) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--bg-dark);
  color: var(--white);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.75); }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-feature { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.grid-feature--rev { direction: rtl; }
.grid-feature--rev > * { direction: ltr; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ---- 5. Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(7,154,134,0.40);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---- 6. Header & Navigation ---- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  height: var(--header-h);
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo img {
  height: 36px;
  width: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-cta {
  margin-left: 12px;
}
/* Language switcher in nav */
.site-nav a.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 4px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}
.site-nav a.lang-switch:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}
.site-nav a.lang-switch::before {
  content: "🌐";
  font-size: 0.82rem;
  opacity: 0.85;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- 7. Hero Section ---- */
.hero {
  background: var(--gradient);
  padding: 80px 0 72px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 75% 50%, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content .lead { color: rgba(255,255,255,0.88); margin-bottom: 32px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.hero-visual {
  position: relative;
  text-align: right;
}
.hero-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
}
.hero-visual img[src$=".svg"] {
  border-radius: 0;
  box-shadow: none;
}
.hero-page {
  background: var(--gradient);
  padding: 52px 0 48px;
}
.hero-page h1 { color: var(--white); margin-bottom: 12px; }
.hero-page .lead { color: rgba(255,255,255,0.88); }

/* ---- 8. Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.6); }

/* ---- 9. Section Headers ---- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}
.section-header h2 { margin-bottom: 14px; }
.section-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ---- 10. Stat Bar ---- */
.stat-bar {
  display: flex;
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--gray-mid);
  margin-top: 6px;
}

/* ---- 11. Feature Cards ---- */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-card .icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  object-fit: contain;
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p { font-size: 0.95rem; }

/* Feature block (alternating image + text) */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.feature-block:last-child { border-bottom: none; }
.feature-block--rev .feature-block-media { order: 2; }
.feature-block--rev .feature-block-text { order: 1; }
.feature-block-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
}
.feature-block-text h2 { margin-bottom: 16px; }
.feature-block-text p  { margin-bottom: 16px; }
.feature-list {
  margin-top: 20px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.97rem;
  color: var(--gray-dark);
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Definition-style list: bullet | fixed-width label | description */
.feature-list--def li {
  display: grid;
  grid-template-columns: 18px 11em 1fr;
  gap: 0 8px;
  align-items: start;
}
.feature-list--def li::before {
  flex-shrink: unset;
  margin-top: 7px;
}
.feature-list--def li strong {
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

/* ---- 12. Before/After Table ---- */
.ba-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
.ba-table thead tr {
  background: var(--header-bg);
  color: var(--white);
}
.ba-table thead th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.ba-table thead th:nth-child(1) { width: 30%; }
.ba-table thead th:nth-child(2) { background: #1a3830; }
.ba-table thead th:nth-child(3) { background: #1a4034; }
.ba-table tbody tr:nth-child(even) { background: #f2f2f2; }
.ba-table tbody tr:hover { background: #ebebeb; }
.ba-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.55;
  color: var(--gray-dark);
}
.ba-table td:nth-child(2) { color: #c0392b; font-size: 0.9rem; }
.ba-table td:nth-child(3) { color: #1e7e5e; font-weight: 500; font-size: 0.9rem; }
.ba-table td:nth-child(3)::before {
  content: '✓ ';
  color: var(--accent);
  font-weight: 700;
}

/* ---- 13. Pricing ---- */
.pricing-builder {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 760px;
  margin: 0 auto;
}
.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.pricing-row:last-of-type { border-bottom: none; }
.pricing-row-label strong { display: block; font-size: 1rem; color: var(--dark); }
.pricing-row-label span   { font-size: 0.85rem; color: var(--gray-light); }
.pricing-row-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.price-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 7px 14px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-mid);
  transition: all var(--transition);
  user-select: none;
}
.price-opt input[type="radio"],
.price-opt input[type="checkbox"] { display: none; }
.price-opt:hover,
.price-opt.selected {
  border-color: var(--accent);
  background: rgba(7,154,134,0.08);
  color: var(--accent-dark);
}
.pricing-total {
  background: var(--gradient);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.pricing-total-amount {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.pricing-total-amount span {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.8;
}
.pricing-total-note {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 4px;
}
.pricing-note {
  font-size: 0.85rem;
  color: var(--gray-light);
  text-align: center;
  margin-top: 16px;
}
.base-included {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(7,154,134,0.1);
  color: var(--accent-dark);
  border: 1px solid rgba(7,154,134,0.3);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---- 14. FAQ Accordion ---- */
.faq-section { max-width: 800px; margin: 0 auto; }
.faq-group { margin-bottom: 40px; }
.faq-group-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  transition: background var(--transition);
  gap: 12px;
}
.faq-question:hover { background: #ececec; }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ececec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--white);
}
.faq-answer {
  display: none;
  padding: 16px 22px 20px;
  font-size: 0.97rem;
  color: var(--gray-mid);
  line-height: 1.72;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-answer { display: block; }

/* ---- 15. Platform Badges ---- */
.platform-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
}
.platform-badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.platform-badges img {
  height: 36px;
  width: auto;
  opacity: 0.9;
  transition: opacity var(--transition);
}
.platform-badges img:hover { opacity: 1; }
.platform-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-right: 4px;
}

/* ---- 16. Step Process ---- */
.steps { counter-reset: step; }
.step-item {
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
}
.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-content h3 { margin-bottom: 8px; }
.step-content p   { font-size: 0.97rem; }

/* ---- 17. Profile Cards ---- */
.profile-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.profile-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--primary);
}
.profile-card p { font-size: 0.95rem; }

/* ---- 18. Testimonial / Trust ---- */
.trust-bar {
  text-align: center;
  padding: 40px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar p {
  font-size: 0.88rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

/* ---- 19. Contact Form ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 16px; font-size: 1.1rem; }
.contact-info p   { font-size: 0.97rem; margin-bottom: 20px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.97rem;
  color: var(--gray-mid);
}
.contact-detail strong { display: block; color: var(--dark); font-size: 0.85rem; }
.contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(7,154,134,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.form-field {
  margin-bottom: 18px;
}
.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.97rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(7,154,134,0.15);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-privacy {
  font-size: 0.82rem;
  color: var(--gray-light);
  margin-bottom: 20px;
  line-height: 1.55;
}
.form-privacy a { color: var(--primary); }

/* ---- 20. CTA Banner ---- */
.cta-banner {
  background: var(--gradient);
  color: var(--white);
  text-align: center;
  padding: 72px 24px;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p  {
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
  font-size: 1.1rem;
  padding: 16px 36px;
}
.cta-banner .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.9);
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.cta-banner .btn-secondary {
  border-color: rgba(255,255,255,0.6);
}

/* ---- 21. About Page ---- */
.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.about-values { margin-top: 0; }
.value-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.value-item:last-child { border-bottom: none; }
.value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(7,154,134,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.value-item h4 { margin-bottom: 6px; }
.value-item p   { font-size: 0.95rem; }

/* ---- 22. Footer ---- */
#site-footer {
  background: #2c353d;
  color: rgba(255,255,255,0.65);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .site-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; max-width: 280px; color: rgba(255,255,255,0.6); }
.footer-col h4 {
  color: var(--white);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

/* ---- 23. Highlight Box ---- */
.highlight-box {
  background: rgba(7,154,134,0.07);
  border: 1px solid rgba(7,154,134,0.22);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
}
.highlight-box p {
  color: var(--gray-dark);
  font-size: 1rem;
  font-style: italic;
}

/* ---- 24. Tag / Badge ---- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}
.tag-green { background: rgba(7,154,134,0.12); color: var(--accent-dark); }
.tag-blue  { background: rgba(7,154,134,0.10); color: var(--primary); }

/* ---- 25. Responsive ---- */
@media (max-width: 1024px) {
  :root {
    --section-pad: 64px;
    --section-pad-sm: 40px;
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  :root { --section-pad: 52px; }

  /* Nav */
  .hamburger { display: flex; }
  .site-nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--header-bg);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 4px;
    overflow-y: auto;
    z-index: 999;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 14px 16px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
  }
  .nav-cta { margin-left: 0; margin-top: 12px; }
  .nav-cta .btn { display: flex; width: 100%; }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-block--rev .feature-block-media { order: -1; }
  .feature-block--rev .feature-block-text  { order: 1; }
  .grid-feature { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .pricing-total { flex-direction: column; text-align: center; }
  .pricing-row { flex-direction: column; align-items: flex-start; }
  .stat-bar { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .ba-table { font-size: 0.85rem; }
  .ba-table td { padding: 10px 12px; }
  .ba-table thead th { padding: 12px; }
}

@media (max-width: 480px) {
  html { font-size: 16px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.55rem; }
  .btn-lg { padding: 14px 24px; font-size: 1rem; }
  .pricing-builder { padding: 24px 18px; }
  .hero { padding: 56px 0 52px; }
  .cta-group { flex-direction: column; }
  .cta-group .btn { width: 100%; }
}

/* ---- 26. Blog Listing ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 10px;
}
.hero-page .blog-card-cat { color: rgba(255,255,255,0.75); }
.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 12px;
}
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt {
  font-size: 0.92rem;
  color: var(--gray-mid);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--gray-light);
}
.blog-card-footer a {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}
.blog-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: stretch;
}
.blog-card-featured .blog-card-body {
  padding: 36px;
}
.blog-card-featured .blog-card-title {
  font-size: 1.4rem;
}
.blog-card-featured-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.blog-card-img {
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  font-size: 4rem;
}

/* ---- 27. Article Page ---- */
.article-header {
  background: var(--gradient);
  padding: 52px 0 48px;
}
.article-header h1 { color: var(--white); margin-bottom: 16px; max-width: 820px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.article-cat-badge {
  background: rgba(255,255,255,0.18);
  color: var(--white);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
  padding: var(--section-pad) 0;
}
.article-body { min-width: 0; }

/* GEO: risposta in breve */
.answer-box {
  background: rgba(7,154,134,0.07);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin-bottom: 36px;
}
.answer-box-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  margin-bottom: 8px;
}
.answer-box p {
  font-size: 1rem;
  color: var(--gray-dark);
  line-height: 1.65;
  margin: 0;
}

/* Article rich content */
.article-content { font-size: 1.02rem; line-height: 1.78; color: var(--gray-dark); }
.article-content h2 {
  font-size: 1.55rem;
  margin-top: 44px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-alt);
}
.article-content h3 {
  font-size: 1.18rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--dark);
}
.article-content p { margin-bottom: 18px; color: var(--gray-dark); }
.article-content ul,
.article-content ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li {
  margin-bottom: 8px;
  line-height: 1.65;
  color: var(--gray-dark);
}
.article-content strong { color: var(--dark); }
.article-content em { color: var(--gray-mid); }
.article-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-content figure { margin: 28px 0; overflow-x: auto; }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-content thead tr { background: var(--header-bg); color: var(--white); }
.article-content thead td,
.article-content thead th {
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.article-content tbody tr:nth-child(even) { background: #f5f5f5; }
.article-content tbody tr:hover { background: #eeeeee; }
.article-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}
.article-content .wp-block-heading { /* normalize WP classes */  }

/* Sidebar */
.article-sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.sidebar-box h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gray-light);
  margin-bottom: 14px;
}
.sidebar-toc { list-style: none; }
.sidebar-toc li { margin-bottom: 8px; }
.sidebar-toc a {
  font-size: 0.88rem;
  color: var(--gray-mid);
  line-height: 1.4;
}
.sidebar-toc a:hover { color: var(--primary); }
.sidebar-cta {
  background: var(--gradient);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.sidebar-cta h4 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.sidebar-cta p { color: rgba(255,255,255,0.82); font-size: 0.85rem; margin-bottom: 16px; }
.sidebar-cta .btn {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
  width: 100%;
  font-size: 0.9rem;
}
.sidebar-cta .btn:hover {
  background: rgba(255,255,255,0.9);
}
.article-related { margin-top: 56px; padding-top: 40px; border-top: 2px solid var(--border); }
.article-related h3 { margin-bottom: 24px; font-size: 1.3rem; }

@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card-featured { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-featured .blog-card-body { padding: 24px; }
}

/* ---- 28. Print ---- */
@media print {
  #site-header, #site-footer, .cta-banner, .hamburger { display: none !important; }
  .hero { padding: 24px 0; }
}

/* ---- 29. Video Modal ---- */
.video-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal-overlay.open {
  display: flex;
}
.video-modal {
  position: relative;
  width: 100%;
  max-width: 900px;
}
.video-modal-inner {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.video-modal-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--transition);
  padding: 0;
}
.video-modal-close:hover { opacity: 1; }

/* ---- 30. Video embed (inline, come-funziona) ---- */
.video-embed {
  max-width: 800px;
  margin: 0 auto;
}
.video-embed-inner {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-embed-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
