/* ---------------------------------------------------------------------
   Sub page components (cold calling, ads, connect, about, careers)
   Shared hero, steps, cards etc. come from sections.css
   --------------------------------------------------------------------- */

/* Hero variants */
.hero-inner.hero-short { padding-top: 104px; padding-bottom: 88px; }
.hero-portrait .hero-bg img { left: auto; width: 56%; object-position: 50% 25%; }
.hero-portrait::before {
   background:
      linear-gradient(90deg, var(--navy) 0%, var(--navy) 40%, rgba(16, 24, 32, 0.7) 50%, rgba(16, 24, 32, 0.05) 70%),
      linear-gradient(0deg, rgba(16, 24, 32, 0.95) 0%, rgba(16, 24, 32, 0) 30%);
}

.hero-visual { position: relative; z-index: 2; }
.hero-split .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 72px; }
.hero-split::before { display: none; }
.hero-split { background: radial-gradient(ellipse at 75% 40%, #1E2C3A 0%, var(--navy) 65%); }
.hero-visual img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-row.four { grid-template-columns: repeat(4, 1fr); }
.stat-row > div { display: flex; align-items: center; gap: 18px; padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.stat-row > div:first-child { padding-left: 0; border-left: 0; }
.stat-row .ico { width: 40px; height: 40px; color: var(--red-bright); }
.stat-row strong { display: block; font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--white); }
.stat-row span { font-size: 15px; color: var(--muted-dark); }
.stat-row p { margin: 0; }
.trust-bar.stats { display: block; }
.trust-bar.stats > * + * { padding-left: 0; border-left: 0; }

/* Dark variant of the numbered steps */
.dark .steps li:not(:last-child)::after { background: var(--navy-line); }
.dark .steps p { color: var(--muted-dark); }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps.three { grid-template-columns: repeat(3, 1fr); }
.steps-cta { margin-top: 56px; text-align: center; }

/* Generic card grid */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.five { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
   padding: 36px 30px;
   border-radius: var(--radius-lg);
   background: var(--white);
   box-shadow: 0 14px 34px rgba(16, 24, 32, 0.07);
}
.section-white .card { background: #F6F6F3; box-shadow: none; }
.card > .ico { width: 52px; height: 52px; margin-bottom: 22px; }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); font-size: 16px; }
.card.card-dark { background: var(--navy-card); color: #C9D0D7; }
.card.card-dark h3 { color: var(--white); }
.card.card-dark p { color: #C9D0D7; }
.card.card-dark > .ico { color: var(--red-bright); }
.dark .card { background: var(--navy-card); box-shadow: none; border: 1px solid var(--navy-line); }
.dark .card h3 { color: var(--white); }
.dark .card p { color: var(--muted-dark); }
.dark .card > .ico { color: var(--red-bright); }

/* Text + photo split helpers */
.split-photo { aspect-ratio: 4 / 3; }
.split-photo.tall { aspect-ratio: 5 / 6; }
.split .check-list { margin: var(--space-md) 0 0; }

/* Quote block (testimonial with video) */
.quote-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.quote-split .video-thumb { border-radius: var(--radius-lg); overflow: hidden; }
.big-quote { font-size: 36px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; color: var(--white); margin-bottom: 20px; }
.quote-name { color: var(--muted-dark); margin-bottom: 32px; }
.quote-name strong { color: var(--white); font-weight: 600; }
.small-quote { padding-left: 20px; border-left: 2px solid var(--red); color: #C9D0D7; }
.small-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 15px; color: var(--muted-dark); }

/* Flow: Ad → Website → ... */
.flow { display: flex; align-items: center; justify-content: center; gap: 12px; list-style: none; margin: 8px 0 32px; }
.flow li {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 12px;
   width: 150px;
   padding: 24px 12px;
   border-radius: var(--radius-lg);
   background: var(--white);
   box-shadow: 0 12px 28px rgba(16, 24, 32, 0.08);
   font-weight: 600;
   text-align: center;
   line-height: 1.25;
}
.flow li .ico { width: 36px; height: 36px; }
.flow .flow-arrow { width: auto; padding: 0; background: none; box-shadow: none; color: var(--red); }
.flow .flow-arrow .ico { width: 24px; height: 24px; }

/* Reference cards */
.ref-card { overflow: hidden; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 16px 36px rgba(16, 24, 32, 0.08); }
.ref-card img { width: 100%; aspect-ratio: 1000 / 620; object-fit: cover; object-position: top; border-bottom: 1px solid var(--warm); }
.ref-card-body { padding: 26px 30px 30px; }
.ref-card h3 { font-size: 24px; }
.ref-card p { color: var(--muted); }
.tag { display: inline-block; margin-top: 14px; padding: 5px 14px; border-radius: 999px; background: rgba(196, 33, 38, 0.1); color: var(--crimson); font-size: 14px; font-weight: 500; }

/* Connect: problem illustration */
.tool-chaos { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.tool-cloud { position: relative; height: 300px; }
.tool-cloud span {
   position: absolute;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 64px;
   height: 64px;
   border-radius: 14px;
   background: var(--white);
   box-shadow: 0 10px 24px rgba(16, 24, 32, 0.1);
}
.tool-cloud span .ico { width: 30px; height: 30px; color: var(--muted); }
.tool-cloud svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.tool-arrow .ico { width: 40px; height: 40px; }
.tool-one {
   padding: 26px;
   border-radius: var(--radius-lg);
   background: var(--navy-card);
   color: var(--white);
   box-shadow: 0 20px 40px rgba(16, 24, 32, 0.25);
}
.tool-one img { width: 120px; margin-bottom: 18px; }
.tool-one ul { list-style: none; display: grid; gap: 10px; font-size: 15px; color: #C9D0D7; }
.tool-one li { display: flex; align-items: center; gap: 10px; }
.tool-one .ico { width: 18px; height: 18px; color: var(--red-bright); }

/* Connect: knowledge flow */
.knowledge-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.knowledge-steps li { position: relative; }
.knowledge-steps strong { display: block; font-size: 22px; margin: 6px 0 6px; }
.knowledge-steps .num { font-size: 56px; font-weight: 800; line-height: 1; color: var(--red); }
.knowledge-steps p { color: var(--muted); font-size: 16px; }

/* About: founders */
.founder-card { overflow: hidden; border-radius: var(--radius-lg); background: #F6F6F3; }
.founder-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.founder-body { padding: 30px 32px 36px; }
.founder-body h3 { font-size: 26px; margin-bottom: 2px; }
.role { margin-bottom: 20px; color: var(--red); font-weight: 500; }
.founder-body .check-list { font-size: 16px; }
.founder-intro { font-size: 17px; font-weight: 500; color: var(--text); margin: 12px 0 4px; }

/* About: team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card .portrait { aspect-ratio: 5 / 6; margin-bottom: 18px; border-radius: var(--radius-lg); overflow: hidden; background: var(--stone); }
.team-card .portrait img { width: 100%; height: 100%; object-fit: cover; }
.team-card .portrait.initials { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--navy-card), var(--navy)); font-size: 56px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.team-card h3 { font-size: 20px; margin-bottom: 2px; }
.team-card .role { margin-bottom: 10px; font-size: 15px; }
.team-card p { color: var(--muted); font-size: 15px; }

/* About: timeline */
.timeline { list-style: none; position: relative; margin-top: 16px; }
.timeline::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 7px; width: 2px; background: var(--crimson); }
.timeline > li { position: relative; display: grid; grid-template-columns: 1fr 380px; gap: 40px; padding: 0 0 56px 48px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before { content: ""; position: absolute; top: 6px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(196, 33, 38, 0.25); }
.timeline .year { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red-bright); }
.timeline h3 { font-size: 26px; margin: 4px 0 10px; }
.timeline p { color: #C9D0D7; }
.timeline-photos { display: grid; gap: 12px; }
.timeline-photos img { width: 100%; border-radius: var(--radius); }
.timeline > li.no-photo { grid-template-columns: 1fr; max-width: 760px; }

/* Row with text left and button right */
.inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.inline-cta h2 { margin-bottom: 8px; }

/* Careers */
.whatsapp-band { background: var(--navy-card); color: #C9D0D7; }
.whatsapp-band .container { display: flex; align-items: center; gap: 28px; padding-top: 28px; padding-bottom: 28px; }
.wa-icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; background: #25D366; }
.wa-icon .ico { width: 32px; height: 32px; color: var(--white); }
.whatsapp-band .wa-text { flex: 1; }
.whatsapp-band strong { display: block; font-size: 21px; color: var(--white); }
.whatsapp-band small { font-size: 14px; color: var(--muted-dark); }

.match-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; list-style: none; }
.match-list .num { display: block; font-size: 52px; font-weight: 800; line-height: 1; color: var(--red); }
.match-list .num::after { content: ""; display: block; width: 32px; height: 2px; margin: 16px 0; background: var(--red); }
.match-list p { color: var(--muted); }

.voice-card { display: flex; flex-direction: column; padding: 32px 30px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 14px 34px rgba(16, 24, 32, 0.07); }
.voice-card .quote { width: 36px; height: 36px; margin-bottom: 16px; color: var(--red); }
.voice-card > p { flex: 1; margin-bottom: 24px; color: var(--muted); }
.voice-person { display: flex; align-items: center; gap: 14px; }
.voice-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.voice-person strong { display: block; font-weight: 600; }
.voice-person span { font-size: 14px; color: var(--muted); }

.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-row .photo { aspect-ratio: 4 / 3; }

.closing-note { max-width: 620px; margin: 24px auto 0; font-size: 14px !important; color: var(--muted-dark); }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */

@media (max-width: 1100px) {
   .card-grid.five { grid-template-columns: repeat(3, 1fr); }
   .card-grid.four, .team-grid { grid-template-columns: repeat(2, 1fr); }
   .match-list { grid-template-columns: repeat(3, 1fr); }
   .flow { flex-wrap: wrap; }
}

@media (max-width: 900px) {
   .hero-portrait .hero-bg img { width: 100%; }
   .hero-split .hero-inner { grid-template-columns: 1fr; padding-top: 56px; }
   .stat-row, .stat-row.four { grid-template-columns: 1fr; gap: 18px; }
   .stat-row > div { padding: 0; border-left: 0; }
   .steps.four, .steps.three { grid-template-columns: 1fr 1fr; }
   .card-grid, .card-grid.two { grid-template-columns: 1fr; }
   .quote-split { grid-template-columns: 1fr; }
   .tool-chaos { grid-template-columns: 1fr; }
   .tool-arrow { transform: rotate(90deg); justify-self: center; }
   .knowledge-steps { grid-template-columns: 1fr; }
   .timeline > li { grid-template-columns: 1fr; gap: 20px; }
   .inline-cta { flex-direction: column; align-items: flex-start; }
   .whatsapp-band .container { flex-wrap: wrap; }
   .photo-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
   .card-grid.five, .card-grid.four, .team-grid, .match-list, .steps.four, .steps.three { grid-template-columns: 1fr; }
   .big-quote { font-size: 27px; }
   .flow li { width: 130px; }
   .flow .flow-arrow { transform: rotate(90deg); width: 100%; }
}

.dark .icon-points span { color: var(--muted-dark); }
.dark .icon-points strong { color: var(--white); }
.hero-split h1 { font-size: clamp(36px, 4vw, 54px); }
.hero-bright::before {
   background:
      linear-gradient(90deg, rgba(16, 24, 32, 0.96) 0%, rgba(16, 24, 32, 0.88) 38%, rgba(16, 24, 32, 0.35) 68%, rgba(16, 24, 32, 0.2) 100%),
      linear-gradient(0deg, rgba(16, 24, 32, 0.95) 0%, rgba(16, 24, 32, 0) 30%);
}

@media (max-width: 900px) {
   .hero-portrait .hero-bg img, .hero-bright .hero-bg img { width: 100%; height: 460px; object-position: 50% 20%; }
   .hero-portrait::before, .hero-bright::before { background: linear-gradient(180deg, rgba(16, 24, 32, 0) 0, rgba(16, 24, 32, 0.15) 240px, var(--navy) 460px); }
   .hero-inner.hero-short { padding-top: 380px; padding-bottom: 48px; }
}

@media (max-width: 640px) {
   .hero-portrait .hero-bg img, .hero-bright .hero-bg img { height: 340px; }
   .hero-portrait::before, .hero-bright::before { background: linear-gradient(180deg, rgba(16, 24, 32, 0) 0, rgba(16, 24, 32, 0.15) 180px, var(--navy) 340px); }
   .hero-inner.hero-short { padding-top: 280px; }
}

/* Connect: software alone doesn't sell */
.one-split { align-items: center; }
.one-split .icon-points { margin-bottom: 20px; }
.one-result { color: var(--red-bright); font-size: 21px; font-weight: 600; }

/* Funding page */

.funding-split { align-items: center; }
.list-title { font-size: 19px; margin: var(--space-md) 0 0; }
.calc-card { background: #F6F6F3; border-radius: var(--radius-lg); border-top: 3px solid var(--red); padding: 36px 40px; }
.section-white .calc-card { background: var(--warm); }
.dark .calc-card { background: var(--navy-card); border: 1px solid var(--navy-line); border-top: 3px solid var(--red); }
.section-warm .calc-card { background: var(--white); }
.calc-label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.dark .calc-label { color: var(--red-bright); }
.calc-sum { font-size: clamp(40px, 5vw, 56px); font-weight: 800; line-height: 1.05; margin: 0; }
.dark .calc-sum { color: var(--white); }
.calc-sum-label { font-size: 16px; color: var(--muted); margin: 6px 0 22px; }
.dark .calc-sum-label { color: var(--muted-dark); }
.calc-card dl { margin: 0; }
.calc-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--stone); font-size: 16px; }
.dark .calc-card dl div { border-top-color: var(--navy-line); }
.calc-card dt { color: var(--muted); }
.dark .calc-card dt { color: var(--muted-dark); }
.calc-card dd { margin: 0; font-weight: 600; text-align: right; }
.dark .calc-card dd { color: var(--white); }
.calc-note { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.dark .calc-note { color: var(--muted-dark); }
.funding-projects { margin-top: 64px; }

.partner-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; margin-top: 64px; background: var(--white); border-radius: var(--radius-lg); padding: 40px 44px; }
.partner-card h3 { font-size: 28px; margin: 0; }
.partner-logo { display: inline-block; margin: 6px 0 18px; }
.partner-logo img { height: 48px; width: auto; }
.partner-card .role { color: var(--red); font-weight: 600; margin-bottom: 14px; }
.partner-card p { color: var(--muted); }
.partner-stats { display: grid; gap: 18px; }
.partner-stats div { display: flex; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--stone); }
.partner-stats div:last-child { border-bottom: 0; padding-bottom: 0; }
.partner-stats strong { min-width: 96px; font-size: 34px; font-weight: 800; color: var(--red); line-height: 1; }
.partner-stats span { color: var(--muted); font-size: 16px; }

.funding-notes { padding-top: 64px; padding-bottom: 64px; }
.notes-title { margin-bottom: 20px; }
.funding-notes ul { padding-left: 20px; max-width: 900px; }
.funding-notes li { font-size: 17px; color: var(--muted); margin-bottom: 10px; }

@media (max-width: 900px) {
   .partner-card { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
   .calc-card { padding: 30px 28px; }
}

/* Connect: data protection band with server room photo */
.privacy-band { position: relative; overflow: hidden; }
.privacy-band .band-bg { position: absolute; inset: 0; }
.privacy-band .band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.privacy-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,24,32,0.9) 0%, rgba(16,24,32,0.62) 45%, rgba(16,24,32,0.5) 100%); }
.privacy-band .container { position: relative; z-index: 1; }

/* Light funding band (Connect, below the dark data protection band) */
.funding-light .funding-band { background: var(--white); color: var(--text); }
.funding-light .funding-text h2 { color: var(--text); }
.funding-light .funding-text p { color: var(--muted); }
.funding-light .funding-text .label { color: var(--red); }
.funding-light .funding-text,
.funding-light .funding-actions { border-left-color: var(--stone); }
.funding-light .funding-actions .link-arrow { color: var(--text); }

@media (max-width: 900px) {
   .privacy-band::after { background: rgba(16,24,32,0.72); }
}

/* Ads & Connect: large product render as hero background */
.hero-render .hero-bg img { object-position: 50% 45%; }
.hero-render .hero-text { max-width: 600px; }

/* Reference cards: tag and website button */
.ref-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.ref-card-foot .tag { margin-top: 0; }
.btn-small { padding: 9px 18px; font-size: 15px; gap: 8px; }
.btn-small .ico { width: 16px; height: 16px; }

/* Ads: note below the click-to-meeting flow */
.flow-note { max-width: 760px; margin: 16px auto 0; font-size: 16px; color: var(--muted); }
.hero-render .hero-bg img.pos-top { object-position: 50% 0%; }
.digital-photo-row { margin-top: 64px; }

/* Funding: white label */
.wl-split { align-items: center; }
.wl-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 14px; margin: var(--space-md) 0; }
.wl-steps li { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border: 1px solid var(--navy-line); border-radius: 999px; background: var(--navy-card); color: var(--white); font-weight: 500; font-size: 16px; }
.wl-steps .num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); font-size: 14px; font-weight: 700; }

/* Cold calling: KPI comparison */
.kpi-split { align-items: center; }
.kpi-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--navy-card); border: 1px solid var(--navy-line); border-top: 3px solid var(--red); border-radius: var(--radius-lg); overflow: hidden; }
.kpi-table th, .kpi-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--navy-line); }
.kpi-table tr:last-child td { border-bottom: 0; }
.kpi-table th { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
.kpi-table th:last-child { color: var(--red-bright); }
.kpi-table td { color: #DCE1E6; font-size: 17px; }
.kpi-table td.you { color: var(--muted-dark); font-size: 24px; font-weight: 700; text-align: center; }
.kpi-table th:nth-child(2) { text-align: center; }
.kpi-table td.ours { color: var(--white); font-size: 24px; font-weight: 800; white-space: nowrap; }
.kpi-note { font-size: 14px; color: var(--muted-dark); margin: 14px 0 0; }
.kpi-skills-title { color: var(--white); font-weight: 600; margin: var(--space-md) 0 12px; }
.kpi-skills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.kpi-skills li { padding: 8px 16px; border: 1px solid var(--navy-line); border-radius: 999px; background: var(--navy-card); color: #DCE1E6; font-size: 15px; }
.fit-split { align-items: center; }
.fit-split .btn { margin-top: 8px; }
@media (max-width: 640px) {
   .kpi-table th, .kpi-table td { padding: 14px 12px; }
   .kpi-table td { font-size: 15px; }
   .kpi-table td.you, .kpi-table td.ours { font-size: 19px; }
}
.coaching-note { font-size: 15px; color: var(--muted); border-left: 2px solid var(--red); padding-left: 14px; }

/* Websites: tech block */
.tech-block { margin-top: var(--space-lg); }
.tech-title { font-size: 28px; margin-bottom: var(--space-md); }
