/*
Theme Name: Contento Consulting
Theme URI: https://contento.consulting
Description: Custom theme for Contento.Consulting — Scientific Elegance direction. Light, warm, business-first design with Montserrat + Lora typography.
Author: Kerstin Petrick
Author URI: https://contento.consulting
Version: 1.4.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: contento
*/

/* ========================================
   CONTENTO CONSULTING THEME
   Direction: "Scientific Elegance"
   Light & Clean · Business & Trust
   ======================================== */

:root {
  --bg: #F9F9F9;
  --bg-white: #FFFFFF;
  --bg-warm: #F4F1EC;
  --bg-footer: #1E1E2E;
  --text: #2D2D2D;
  --text-light: #5A5A6A;
  --text-muted: #8A8A9A;
  --accent: #4F46E5;
  --accent-light: #6366F1;
  --accent-glow: rgba(79, 70, 229, 0.08);
  --accent-border: rgba(79, 70, 229, 0.15);
  --border: #E5E5E5;
  --border-light: #EFEFEF;
  --radius: 12px;
  --radius-lg: 20px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lora', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

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

/* ========================================
   LAYOUT
   ======================================== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--accent);
}

.section-label.centered { justify-content: center; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 560px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(79, 70, 229, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent);
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid var(--accent-border);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s;
  border-bottom: 1px solid transparent;
}

.btn-link:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all 0.4s ease;
  background: transparent;
}

.nav.scrolled, .nav.solid {
  background: rgba(249, 249, 249, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--accent); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-family: var(--font-heading);
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.nav-menu a:hover, .nav-menu a.active { color: var(--accent); }

.nav-menu .nav-cta {
  background: var(--accent);
  color: white !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.nav-menu .nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(79, 70, 229, 0.25);
}

/* Dropdown menu */
.nav-menu .has-dropdown { position: relative; }
.nav-menu .has-dropdown > a::after { content: " \25BE"; font-size: 0.7em; }
.nav-menu .has-dropdown > a { padding-bottom: 1.2rem; }
.nav-menu .has-dropdown > .dropdown {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 0.5rem 0;
  min-width: 200px;
  z-index: 1000;
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
  flex-direction: column;
}
.nav-menu .has-dropdown:hover > .dropdown,
.nav-menu .has-dropdown:focus-within > .dropdown { display: block !important; }
.nav-menu .dropdown li { padding: 0; list-style: none !important; list-style-type: none !important; }
.nav-menu .dropdown li a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--text-main, #2D2D2D);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-menu .dropdown li a:hover {
  background: var(--bg-warm, #f8f6f3);
  color: var(--accent);
}


/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb-bar {
  padding-top: 80px;
  background: var(--bg);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--accent); font-weight: 600; }

/* ========================================
   PAGE HERO (internal pages)
   ======================================== */
.page-hero {
  padding: 60px 0 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.page-hero-text .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-hero-text .label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--accent);
}

.page-hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.page-hero-text h1 .accent { color: var(--accent); }

.page-hero-text .sub {
  font-family: var(--font-body);
  font-size: 1.12rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* ========================================
   HOMEPAGE HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-text h1 .accent { color: var(--accent); }

.hero-text .sub-headline {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}

/* Abstract visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abstract-shape {
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.abstract-shape .layer {
  position: absolute;
  border-radius: 50%;
}

.abstract-shape .layer-1 {
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, #E8E4F0 0%, #D4CEE8 30%, #C5BDD6 50%, #F4F1EC 80%);
}

.abstract-shape .layer-2 {
  top: 15%; left: 15%; right: 15%; bottom: 15%;
  background: radial-gradient(ellipse at 60% 50%, rgba(79,70,229,0.12) 0%, rgba(79,70,229,0.04) 50%, transparent 70%);
  animation: breathe 6s ease-in-out infinite;
}

.abstract-shape .layer-3 {
  top: 30%; left: 30%; right: 30%; bottom: 30%;
  background: radial-gradient(ellipse at 40% 60%, rgba(79,70,229,0.15) 0%, rgba(99,102,241,0.08) 40%, transparent 70%);
  animation: breathe 6s ease-in-out infinite reverse;
}

.abstract-shape .vein {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(79,70,229,0.15), transparent);
  height: 1px;
  transform-origin: center;
}

.abstract-shape .vein-1 { width: 80%; top: 35%; left: 10%; transform: rotate(-15deg); }
.abstract-shape .vein-2 { width: 60%; top: 55%; left: 20%; transform: rotate(25deg); }
.abstract-shape .vein-3 { width: 40%; top: 68%; left: 30%; transform: rotate(-8deg); background: linear-gradient(90deg, transparent, rgba(79,70,229,0.1), transparent); }

@keyframes breathe {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

/* ========================================
   HOOK SECTION
   ======================================== */
.hook-section {
  padding: 64px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.hook-text {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--text-light);
  font-style: italic;
}

.hook-text strong {
  color: var(--text);
  font-weight: 600;
  font-style: normal;
}

/* ========================================
   3 PILLARS / CARDS
   ======================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.pillar-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.4s ease;
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
  border-color: var(--accent-border);
}

.pillar-card .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
}

.pillar-card .card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.pillar-card .card-headline {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.pillar-card p {
  font-family: var(--font-body);
  color: var(--text-light);
  line-height: 1.75;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.pillar-card .card-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pillar-card .card-link:hover { gap: 10px; }

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section { background: var(--bg-white); }


/* Coaching Highlight Section */
.coaching-highlight {
  background: linear-gradient(135deg, var(--bg-warm, #f4f1ec) 0%, #ede8ff 100%);
  padding: 5rem 0;
  border-radius: 24px;
  margin: 2rem auto;
  max-width: 1140px;
}
.coaching-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}
.coaching-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.coaching-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
}
.coaching-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.coaching-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}
.feature-icon {
  font-size: 1.3rem;
  color: var(--accent);
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}
.btn-coaching {
  display: inline-block;
  background: var(--accent);
  color: white !important;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-coaching:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.25);
}
.coaching-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.coaching-orbit {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(79, 70, 229, 0.15));
  border: 2px solid rgba(79, 70, 229, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.coaching-orbit::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px dashed rgba(79, 70, 229, 0.15);
}
.orbit-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--accent);
}
.orbit-center span:nth-child(2) {
  font-size: 1.2rem;
  opacity: 0.5;
}

.about-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.about-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 12px;
}

.about-header .subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  font-style: italic;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #E8E4F0, #D4CEE8 40%, #C5BDD6 70%, #F4F1EC);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-frame .initials {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual { position: relative; }

.timeline-badge {
  position: absolute;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.timeline-badge.top { top: -12px; right: -12px; }
.timeline-badge.bottom { bottom: -12px; left: -12px; }

.timeline-badge .badge-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.timeline-badge .badge-value {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2px;
}

.about-story p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 20px;
}

.about-story p strong { color: var(--text); font-weight: 600; }

.highlight-quote {
  border-left: 3px solid var(--accent);
  padding: 16px 0 16px 24px;
  margin: 28px 0;
  font-style: italic;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.7;
  background: var(--accent-glow);
  border-radius: 0 8px 8px 0;
}

.superpowers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.superpower {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border-light);
}

.superpower .sp-icon { font-size: 1.4rem; margin-bottom: 10px; }

.superpower h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.superpower p {
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
}

/* ========================================
   INNOVATION LAB
   ======================================== */
.lab-section { background: var(--bg-warm); }

.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.lab-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.lab-card:hover { transform: scale(1.02); }

.lab-card .lab-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.lab-card .lab-bg img { width: 100%; height: 100%; object-fit: cover; }

.lab-card:nth-child(1) .lab-bg { background: linear-gradient(135deg, #E8E4F0, #D4CEE8 50%, #B8B0D0); color: rgba(79,70,229,0.4); }
.lab-card:nth-child(2) .lab-bg { background: linear-gradient(135deg, #F0E8E4, #E8D4CE 50%, #D0B8B0); color: rgba(160,100,80,0.4); }
.lab-card:nth-child(3) .lab-bg { background: linear-gradient(135deg, #E4E8F0, #CED4E8 50%, #B0B8D0); color: rgba(60,80,160,0.4); }

.lab-card .lab-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(30,30,46,0.85));
}

.lab-card .lab-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}

.lab-card .lab-overlay p {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
.problem-section {
  padding: 80px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.problem-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.problem-text p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-light);
}

.pain-points { display: flex; flex-direction: column; gap: 16px; }

.pain-point {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}

.pain-point:hover {
  border-color: var(--accent-border);
  box-shadow: 0 4px 16px rgba(79,70,229,0.06);
}

.pain-point .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #FEE2E2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.pain-point h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.pain-point p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ========================================
   SOLUTION SECTION
   ======================================== */
.solution-section {
  padding: 100px 0;
  background: var(--bg);
}

.solution-intro {
  max-width: 700px;
  margin-bottom: 56px;
}

.solution-intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.solution-intro p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text-light);
}

.highlight-box {
  border-left: 3px solid var(--accent);
  padding: 20px 28px;
  margin: 28px 0;
  background: var(--accent-glow);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.highlight-box p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
  border-color: var(--accent-border);
}

.service-card:hover::before { opacity: 1; }

.service-card .card-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process-section {
  padding: 100px 0;
  background: var(--bg-warm);
}

.process-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.process-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.process-header p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-border), var(--accent), var(--accent), var(--accent-border));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.step .step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(79,70,229,0.12);
  transition: all 0.4s;
}

.step:hover .step-num {
  background: var(--accent);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(79,70,229,0.3);
}

.step h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.step p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-light);
  max-width: 220px;
  margin: 0 auto;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: 100px 0;
  background: var(--bg);
}

.cta-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #8B5CF6, var(--accent));
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.cta-box p {
  font-family: var(--font-body);
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 460px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   PROJECTS PAGE
   ======================================== */
.project-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: visible;
  margin-bottom: 40px;
  transition: all 0.4s;
}

.project-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
  border-color: var(--accent-border);
}

.project-card-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
}

.project-card-inner.reverse { direction: rtl; }
.project-card-inner.reverse > * { direction: ltr; }

.project-img {
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.project-img .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.project-content {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-content .tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.project-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.project-content .project-sub {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
}

.project-content p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* Sub-projects */
.sub-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.sub-project {
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.sub-project h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.sub-project p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-light);
}

/* ========================================
   BLOG / CONTENTLAB
   ======================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.06);
  border-color: var(--accent-border);
}

.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card-img .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(79,70,229,0.3);
}

.blog-card-body {
  padding: 24px;
}

.blog-card-body .cat {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.blog-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.blog-card-body p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-light);
  margin-bottom: 12px;
}

.blog-card-body .read-more {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* Blog categories filter */
.blog-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Newsletter box */
.newsletter-box {
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  margin-top: 64px;
}

.newsletter-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.newsletter-box p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 24px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-white);
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-form input:focus { border-color: var(--accent); }

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-form .field { margin-bottom: 20px; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-white);
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--accent); }

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-info-side h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-detail .detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-detail h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.contact-detail p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-light);
}

.trust-points {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.trust-point {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.trust-point .check {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trust-point h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.trust-point p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-footer);
  padding: 56px 0 36px;
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  margin-bottom: 12px;
}

.footer-brand .footer-logo span { color: var(--accent-light); }

.footer-brand p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover { color: white; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom .social-links { display: flex; gap: 12px; }

.footer-bottom .social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  transition: all 0.3s;
}

.footer-bottom .social-links a:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  background: rgba(79,70,229,0.1);
}

/* ========================================
   DIVIDER
   ======================================== */
.divider {
  height: 1px;
  background: var(--border-light);
  border: none;
  margin: 0;
}

/* ========================================
   ORBIT ANIMATION (page visuals)
   ======================================== */
.orbit-visual {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  position: relative;
  margin: 0 auto;
}

.orbit-visual .orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent-border);
}

.orbit-visual .orbit-1 { inset: 0; animation: spin 40s linear infinite; }
.orbit-visual .orbit-2 { inset: 15%; border-color: rgba(79,70,229,0.1); animation: spin 30s linear infinite reverse; }
.orbit-visual .orbit-3 { inset: 30%; border-color: rgba(79,70,229,0.08); animation: spin 20s linear infinite; }

.orbit-visual .center-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 24px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-visual .center-icon svg {
  width: 44px;
  height: 44px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-tag {
  position: absolute;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-light);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  animation: float 6s ease-in-out infinite;
}

.float-tag .tag-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.project-card-inner {
  overflow: visible;
}

.project-content {
  overflow: visible;
  min-width: 0;
}
/* ========================================
   RESPONSIVE
   ======================================== */

/* ==========================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ========================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .abstract-shape { max-width: 320px; margin: 0 auto; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 360px; margin: 0 auto; }
  .superpowers { grid-template-columns: 1fr; }
  .lab-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .project-card-inner { grid-template-columns: 1fr; }
  .project-card-inner.reverse { direction: ltr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .orbit-visual { max-width: 300px; }
  .coaching-content { grid-template-columns: 1fr; gap: 2rem; }
  .coaching-visual { order: -1; }
}

/* ==========================================
   RESPONSIVE — Mobile (max-width: 768px)
   ========================================== */
@media (max-width: 768px) {
  /* Force no horizontal overflow */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  /* Container padding for mobile */
  .container {
    padding: 0 20px;
  }

  /* Sections */
  .section {
    padding: 56px 0;
  }

  /* Typography — scale down */
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* Navigation */
  .nav-menu { display: none; }
  .nav-toggle { display: block; }

  /* Mobile menu open state */
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border-radius: 0 0 16px 16px;
    z-index: 999;
    gap: 0;
  }
  .nav-menu.open a {
    display: block;
    padding: 12px 0;
    font-size: 1.05rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .nav-menu.open > li:last-child a,
  .nav-menu.open > .has-dropdown:last-of-type > a {
    border-bottom: none;
  }
  .nav-menu.open .nav-cta {
    display: block;
    margin-top: 16px;
    padding: 14px 24px;
    text-align: center;
    background: var(--accent);
    color: #fff !important;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: none;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-menu.open .nav-cta:hover {
    opacity: 0.9;
  }

  /* Dropdown within mobile menu */
  .nav-menu.open .has-dropdown > .dropdown {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    background: var(--bg-warm, #f8f6f3) !important;
    border-radius: 10px !important;
    margin: 4px 0 8px !important;
    padding: 8px 0 !important;
    min-width: auto !important;
  }
  .nav-menu.open .has-dropdown > .dropdown li a {
    padding: 10px 20px;
    font-size: 0.95rem;
    border-bottom: none;
  }

  /* Hero */
  .hero {
    padding-top: 60px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-visual { order: -1; }
  .hero-text h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .hero-text .sub-headline {
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .abstract-shape {
    max-width: 220px;
    margin: 0 auto;
  }

  /* Page Hero */
  .page-hero {
    padding: 40px 0 60px;
  }
  .page-hero::after {
    width: 300px;
    height: 300px;
  }
  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .page-hero-text h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .page-hero-text .sub {
    font-size: 1rem;
    max-width: 100%;
  }

  /* Come Lavoro / Pillars */
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-card {
    padding: 28px 20px;
  }

  /* Coaching Section */
  .coaching-highlight {
    padding: 3rem 20px;
    margin: 1rem 16px;
    max-width: calc(100vw - 32px);
    border-radius: 16px;
  }
  .coaching-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .coaching-visual {
    order: 0;
    justify-content: center;
  }
  .coaching-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    text-align: center;
  }
  .coaching-desc {
    font-size: 0.95rem;
    text-align: center;
  }
  .coaching-features {
    flex-direction: column;
    align-items: center;
  }
  .coaching-orbit {
    width: 200px;
    height: 200px;
  }
  .coaching-orbit::before {
    width: 240px;
    height: 240px;
  }
  .btn-coaching {
    display: block;
    text-align: center;
  }

  /* About / Chi Sono */
  .about-content { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { max-width: 280px; margin: 0 auto; }
  .about-header {
    margin: 0 auto 40px;
  }
  .about-header h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }
  .about-story p {
    font-size: 0.95rem;
  }
  .superpowers { grid-template-columns: 1fr; }

  /* R&D / Lab */
  .lab-grid { grid-template-columns: 1fr; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }

  /* Projects */
  .project-card-inner { grid-template-columns: 1fr; }
  .project-card-inner.reverse { direction: ltr; }
  .sub-projects { grid-template-columns: 1fr; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-box {
    padding: 40px 20px;
    border-radius: 16px;
  }
  .cta-box h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .cta-box p {
    font-size: 0.95rem;
  }
  .cta-actions {
    flex-direction: column;
    gap: 12px;
  }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-brand p {
    max-width: 100%;
    text-align: center;
  }
  .footer-col {
    text-align: center;
  }
  .footer-col ul {
    padding: 0;
  }
  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    max-width: 280px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  .footer-bottom .social-links {
    justify-content: center;
  }

  /* Float tags — show on mobile, scaled down */
  .float-tag {
    display: block !important;
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
  }
  .hero-visual-inner {
    position: relative;
    min-height: 200px;
  }

  /* Orbit visual — scale down */
  .orbit-visual {
    max-width: 220px;
    margin: 0 auto;
  }
  .orbit-visual .orbit-1,
  .orbit-visual .orbit-2,
  .orbit-visual .orbit-3 {
    animation-duration: 60s;
  }

  /* Problem grid */
  .problem-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Gallery grid */
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }

  /* General overflow prevention */
  img, video, iframe, svg {
    max-width: 100%;
    height: auto;
  }
  pre, code {
    overflow-x: auto;
    max-width: 100%;
  }

  /* ====== Blog cards — compact mobile ====== */
  
  /* Blog card inner: less padding */
  [style*="repeat(3,1fr)"][style*="gap:24"] > a [style*="padding:32px"] {
    padding: 20px 16px !important;
  }
  [style*="repeat(3,1fr)"][style*="gap:24"] > a [style*="margin-bottom:16px"] {
    margin-bottom: 8px !important;
  }
  [style*="repeat(3,1fr)"][style*="gap:24"] > a h3[style*="margin-bottom:10px"] {
    margin-bottom: 6px !important;
    font-size: 0.95rem !important;
  }
  [style*="repeat(3,1fr)"][style*="gap:24"] > a [style*="margin-top:16px"] {
    margin-top: 10px !important;
  }

  /* ====== ContentLab page — mobile fixes ====== */
  
  /* Project card image containers: auto height instead of fixed 280px */
  .section-padding [style*="height:280px"] {
    height: auto !important;
    max-height: 220px !important;
  }
  
  /* Inline grids: force 1 column on mobile */
  .section-padding [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .section-padding [style*="grid-template-columns:repeat(2"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  /* Sub-project cards (Ebook, Micro-Learning) */
  .section-padding [style*="border-radius:16px"][style*="overflow:hidden"] {
    min-height: auto !important;
  }
  .section-padding [style*="border-radius:16px"] img {
    max-height: 200px !important;
    object-fit: cover !important;
  }
  
  /* Blog grid: force 1 column */
  [style*="grid-template-columns:repeat(3,1fr)"][style*="gap:24px"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  /* Blog cards: contained images */
  [style*="grid-template-columns:repeat(3,1fr)"] > a [style*="height"] {
    height: 180px !important;
  }
  
  /* All inline-styled images: ensure they fit */
  .section-padding img[style*="object-fit"] {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  /* Inline cards with fixed widths */
  .section-padding [style*="background:#fff"],
  .section-padding [style*="background: #fff"],
  .section-padding [style*="background:white"] {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

}

/* ==========================================
   RESPONSIVE — Small Mobile (max-width: 480px)
   ========================================== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-text h1 {
    font-size: 1.6rem;
  }
  .section-title {
    font-size: 1.4rem;
  }
  .coaching-highlight {
    padding: 2.5rem 16px;
    margin: 1rem 8px;
  }
  .coaching-title {
    font-size: 1.4rem;
  }
  .cta-box h2 {
    font-size: 1.3rem;
  }
  .pillar-card {
    padding: 24px 16px;
  }
  .gallery-grid { grid-template-columns: 1fr !important; }
  .abstract-shape {
    max-width: 180px;
  }
  .coaching-orbit {
    width: 160px;
    height: 160px;
  }
  .coaching-orbit::before {
    width: 200px;
    height: 200px;
  }
  .photo-frame .initials {
    font-size: 2.5rem;
  }
}