/* ==========================================================================
   OMNICOM | Homepage 2026 (Issue 6). Design: Miroslav, Nov 2026.
   Loaded only on pages using the "Homepage 2026" template (template-home-2026.php),
   instead of the theme's dist/style.css. Everything is scoped to body.oc-home.
   Content is WordPress blocks: classes like oc-hero, oc-pillar are set in each
   block's "Additional CSS class(es)" field.
   Colours/type from the OMNICOM brand manual. Breakpoints 1000px / 700px.
   ========================================================================== */

:root {
  --oc-red: #c61f40;
  --oc-red-dark: #8a001a;
  --oc-red-700: #9f1c33;
  --oc-red-600: #b81f43;
  --oc-red-light: #f15b6c;
  --oc-red-200: #f48594;
  --oc-black: #000000;
  --oc-white: #ffffff;
  --oc-ink: #333132;
  --oc-grey-800: #414042;
  --oc-grey-600: #58595b;
  --oc-grey-400: #bcbec0;
  --oc-grey-300: #d1d3d4;
  --oc-grey-100: #f4f4f4;
  --oc-font: "IBM Plex Sans", Arial, sans-serif;
  --oc-h1: clamp(36px, 6vw, 68px);
  --oc-h2: clamp(26px, 3.2vw, 32px);
  --oc-h3: 24px;
  --oc-container: 1200px;
  --oc-gutter: 24px;
  --oc-section-y: 80px;
  --oc-gap: 24px;
}

/* ---------- Base ---------- */

body.oc-home {
  margin: 0;
  font-family: var(--oc-font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--oc-black);
  background: var(--oc-white);
  -webkit-font-smoothing: antialiased;
}
.oc-home *, .oc-home *::before, .oc-home *::after { box-sizing: border-box; }

/* Classic themes wrap each Group block's children in an extra div. Make it transparent to layout,
   so a Group with oc-pillars etc. lays out its children directly. */
.oc-home .wp-block-group__inner-container { display: contents; }

.oc-home :is(h1, h2, h3, h4, p, ul, ol, figure, blockquote) { margin: 0; }
.oc-home .is-layout-flow > *, .oc-home .is-layout-flex > * { margin-block: 0; }
.oc-home :is(h1, h2, h3) { line-height: 1.15; font-weight: 700; font-family: var(--oc-font); }
.oc-home a { color: var(--oc-red); }
.oc-home a:hover { color: var(--oc-red-dark); }
.oc-home a:focus-visible, .oc-home button:focus-visible, .oc-home summary:focus-visible { outline: 3px solid var(--oc-red-light); outline-offset: 2px; }
.oc-home img { max-width: 100%; height: auto; }

.oc-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.oc-visually-hidden, .oc-home .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.oc-home .oc-container { width: 100%; max-width: var(--oc-container); margin-left: auto; margin-right: auto; padding-left: var(--oc-gutter); padding-right: var(--oc-gutter); }

/* ---------- Shared pieces ---------- */

.oc-home .oc-kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--oc-grey-600); line-height: 1.5; }
.oc-home .oc-kicker--on-dark { color: var(--oc-red); }

/* Buttons block: class on the button wrapper (oc-btn oc-btn--primary), style on its link */
.oc-home .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.oc-home .oc-btn > .wp-block-button__link,
.oc-home .oc-btn-link {
  display: inline-block; padding: 14px 28px; border: 2px solid transparent; border-radius: 0;
  font-family: var(--oc-font); font-weight: 700; font-size: 16px; line-height: 1.25; text-decoration: none; box-shadow: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.oc-home .oc-btn-link--small { padding: 10px 20px; }
.oc-home .oc-btn--primary > .wp-block-button__link, .oc-home .oc-btn-link--primary { background: var(--oc-red); color: var(--oc-white); }
.oc-home .oc-btn--primary > .wp-block-button__link:hover, .oc-home .oc-btn-link--primary:hover { background: var(--oc-red-dark); color: var(--oc-white); }
.oc-home .oc-btn--outline-light > .wp-block-button__link { background: transparent; border-color: var(--oc-white); color: var(--oc-white); }
.oc-home .oc-btn--outline-light > .wp-block-button__link:hover { background: var(--oc-white); color: var(--oc-ink); }
.oc-home .oc-btn--white > .wp-block-button__link { background: var(--oc-white); color: var(--oc-red); }
.oc-home .oc-btn--white > .wp-block-button__link:hover { background: var(--oc-ink); color: var(--oc-white); }

/* Text link with arrow (a Paragraph with class oc-link holding one link) */
.oc-home .oc-link a { font-weight: 700; white-space: nowrap; }
.oc-home .oc-link a::after { content: " \2192"; }
.oc-home .oc-link--light a, .oc-home .oc-link--light a:hover { color: var(--oc-white); }

/* Section shell */
.oc-home .oc-section { padding: var(--oc-section-y) 0; }
.oc-home .oc-section--grey { background: var(--oc-grey-100); }
.oc-home .oc-section--dark { background: var(--oc-ink); color: var(--oc-white); }
.oc-home .oc-section__title { font-size: var(--oc-h2); margin-bottom: 40px; }
.oc-home .oc-section__head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.oc-home .oc-section__head .oc-section__title { margin-bottom: 0; }
.oc-home .oc-section__intro { margin-top: 12px; color: var(--oc-grey-600); }

/* Whole-card links: the card's link stretches over the card (::before), keeping ::after for arrows */
.oc-home :is(.oc-tile, .oc-feature, .oc-news) { position: relative; }
.oc-home :is(.oc-tile__title, .oc-tile--topic, .oc-feature__cta, .oc-news__title) a::before { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- 1. Promo strip ---------- */

.oc-home .oc-promo { background: var(--oc-ink); color: var(--oc-white); padding: 10px var(--oc-gutter); display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; align-items: center; font-size: 14px; text-align: center; }
.oc-home .oc-promo__tag { background: var(--oc-red); padding: 2px 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.oc-home .oc-promo a, .oc-home .oc-promo a:hover { color: var(--oc-white); font-weight: 700; }

/* ---------- 2. Header ---------- */

.oc-header { position: relative; z-index: 10; border-bottom: 1px solid var(--oc-grey-300); background: var(--oc-white); }
.oc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 20px; padding-bottom: 20px; }
.oc-logo { display: flex; flex-shrink: 0; }
.oc-logo svg { width: 224px; height: 28px; }   /* brand manual: minimum logo height 22px */
.oc-nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.oc-home .oc-menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.oc-home .oc-menu li { position: relative; }
.oc-home .oc-menu a { display: block; color: var(--oc-black); text-decoration: none; padding: 12px 0; }
.oc-home .oc-menu a:hover, .oc-home .oc-menu .current-menu-item > a { color: var(--oc-red); }
.oc-home .oc-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.oc-home .oc-menu .sub-menu { display: none; position: absolute; top: 100%; left: -16px; z-index: 30; min-width: 230px; margin: 0; padding: 8px 0; list-style: none; background: var(--oc-white); border: 1px solid var(--oc-grey-300); box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.oc-home .oc-menu li:hover > .sub-menu, .oc-home .oc-menu li:focus-within > .sub-menu { display: block; }
.oc-home .oc-menu .sub-menu a { padding: 8px 16px; white-space: nowrap; }

.oc-nav__tools { display: flex; align-items: center; gap: 8px; }
.oc-home .oc-tool { display: inline-flex; align-items: center; justify-content: center; position: relative; min-width: 40px; height: 40px; color: var(--oc-black); cursor: pointer; list-style: none; text-decoration: none; }
.oc-home .oc-tool::-webkit-details-marker { display: none; }
.oc-home .oc-tool:hover { color: var(--oc-red); }
.oc-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.oc-home .oc-cart__count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--oc-red); color: var(--oc-white); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.oc-search, .oc-lang { position: relative; }
.oc-home .oc-lang__current { font-weight: 400; color: var(--oc-grey-600); }
.oc-search__panel, .oc-home .oc-lang__list { position: absolute; top: 100%; right: 0; z-index: 30; background: var(--oc-white); border: 1px solid var(--oc-grey-300); box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.oc-search__panel { width: 320px; padding: 12px; }
.oc-search__panel form { display: flex; gap: 8px; }
.oc-search__panel input[type="search"], .oc-search__panel input[type="text"] { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--oc-grey-300); border-radius: 0; font: inherit; }
.oc-search__panel :is(input[type="submit"], button) { padding: 10px 14px; border: 0; border-radius: 0; background: var(--oc-red); color: var(--oc-white); font: inherit; font-weight: 700; cursor: pointer; }
.oc-home .oc-lang__list { min-width: 64px; margin: 0; padding: 6px 0; list-style: none; }
.oc-home .oc-lang__list a { display: block; padding: 6px 16px; color: var(--oc-black); text-decoration: none; }
.oc-home .oc-lang__list a:hover { color: var(--oc-red); }
.oc-nav__tools .oc-btn-link { margin-left: 8px; }

.oc-nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.oc-nav-toggle__bars, .oc-nav-toggle__bars::before, .oc-nav-toggle__bars::after { display: block; width: 24px; height: 2px; background: var(--oc-black); margin: 0 auto; position: relative; }
.oc-nav-toggle__bars::before, .oc-nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.oc-nav-toggle__bars::before { top: -8px; }
.oc-nav-toggle__bars::after { top: 8px; }

/* ---------- 3. Hero ---------- */

.oc-home .oc-hero { position: relative; overflow: hidden; background: var(--oc-ink); color: var(--oc-white); }
/* Flat OMNICOM mark in the background. Hidden once the Hero 3D plugin's animated mark is running. */
.oc-home .oc-hero::before { content: ""; position: absolute; right: -90px; top: 30px; width: 660px; height: 490px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 136 101'%3E%3Cpath fill='#414042' d='M135.46 95.8604L129.61 81.1904C119.794 85.0188 108.974 85.424 98.9 82.3404C107.371 73.7354 112.118 62.145 112.118 50.0704C112.118 37.9958 107.371 26.4053 98.9 17.8004C103.345 16.4532 107.966 15.7791 112.61 15.8004C118.429 15.7755 124.199 16.8616 129.61 19.0004L135.45 4.32036C128.187 1.44431 120.442 -0.0218186 112.63 0.000361239C102.786 -0.0327528 93.0815 2.32478 84.35 6.87036C75.6152 2.32396 65.9071 -0.0335744 56.06 0.000361239C25.15 0.000361239 0 22.4904 0 50.1204C0 77.7504 25.15 100.24 56.06 100.24C65.9071 100.274 75.6152 97.9168 84.35 93.3704C92.2004 97.4097 100.823 99.7259 109.641 100.164C118.458 100.602 127.268 99.1518 135.48 95.9104L135.46 95.8604ZM96.31 50.0704C96.31 59.6104 91.72 68.2404 84.31 74.4704C76.92 68.2404 72.31 59.6104 72.31 50.0704C72.31 40.5304 76.9 31.9004 84.31 25.6804C91.72 31.9004 96.31 40.5404 96.31 50.0704ZM15.78 50.0704C15.78 31.1504 33.84 15.7504 56.04 15.7504C60.6875 15.7284 65.3121 16.4025 69.76 17.7504C61.2894 26.3553 56.5418 37.9458 56.5418 50.0204C56.5418 62.095 61.2894 73.6854 69.76 82.2904C65.3132 83.6431 60.6879 84.3173 56.04 84.2904C33.84 84.3904 15.78 69.0004 15.78 50.0704Z'/%3E%3C/svg%3E") no-repeat center / contain; pointer-events: none; }
.oc-home .oc-hero.oc-hero3d-ready::before { display: none; }
.oc-home .oc-hero > .wp-block-group__inner-container > p:empty,
.oc-home .oc-hero p:has(> .oc-hero3d-anchor) { display: none; }
.oc-home .oc-hero__inner { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 56px; }
.oc-home .oc-hero__text { max-width: 860px; display: flex; flex-direction: column; gap: 24px; }
.oc-home .oc-hero__title { font-size: var(--oc-h1); line-height: 1.05; color: var(--oc-white); }
.oc-home .oc-hero__title strong { font-weight: inherit; color: var(--oc-red); }
.oc-home .oc-hero__lead { font-size: 24px; line-height: 1.3; max-width: 680px; }
.oc-home .oc-hero__sub { font-size: 17px; color: var(--oc-grey-400); max-width: 560px; }
.oc-home .oc-hero__actions { margin-top: 8px; }

/* Value stream (List block, numbered, class oc-stream__steps) */
.oc-home .oc-stream { display: flex; align-items: stretch; font-weight: 700; line-height: 1.15; }
.oc-home .oc-stream__end { display: flex; align-items: center; padding-right: 20px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--oc-grey-400); }
.oc-home .oc-stream__end--value { padding: 0 0 0 20px; color: var(--oc-red-200); }
.oc-home .oc-stream__steps { flex: 1; display: flex; list-style: none; padding: 0; }
.oc-home .oc-stream__steps li {
  --notch: 22px;
  flex: 1 1 0; min-width: 0; height: 80px;
  display: flex; align-items: center;
  margin-left: -14px; padding: 0 28px 0 40px;
  color: var(--oc-white);
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%, var(--notch) 50%);
}
.oc-home .oc-stream__steps li:first-child { margin-left: 0; padding-left: 24px; clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% 50%, calc(100% - var(--notch)) 100%, 0 100%); }
.oc-home .oc-stream__steps li:nth-child(1) { background: var(--oc-grey-600); }
.oc-home .oc-stream__steps li:nth-child(2) { background: #650019; }
.oc-home .oc-stream__steps li:nth-child(3) { background: #97012a; }
.oc-home .oc-stream__steps li:nth-child(4) { background: var(--oc-red); }
.oc-home .oc-stream__steps li:nth-child(5) { background: #e45260; color: var(--oc-black); }

/* ---------- 4. Proof bar (icon from the item's modifier class) ---------- */

.oc-home .oc-proof { border-bottom: 1px solid var(--oc-grey-300); padding: 40px 0; }
.oc-home .oc-proof__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 40px; }
.oc-home .oc-proof__item { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-content: start; }
.oc-home .oc-proof__item::before { content: ""; grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--oc-red) no-repeat center / 24px 24px; }
.oc-home .oc-proof__item--award::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8v5a4 4 0 0 1-8 0V4z'/%3E%3Cpath d='M8 6H5a3 3 0 0 0 3 3M16 6h3a3 3 0 0 1-3 3M12 13v4M8 20h8M10 17h4'/%3E%3C/svg%3E"); }
.oc-home .oc-proof__item--plugin::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3v5M15 3v5M6 8h12v3a6 6 0 0 1-12 0V8zM12 17v4'/%3E%3C/svg%3E"); }
.oc-home .oc-proof__item--badge::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='M9.5 9l2 2 3-3.5M9 14.5L8 21l4-2 4 2-1-6.5'/%3E%3C/svg%3E"); }
.oc-home .oc-proof__item--clock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.oc-home .oc-proof__item > * > * { grid-column: 2; }
.oc-home .oc-proof__title { font-weight: 700; font-size: 18px; line-height: 1.3; }
.oc-home .oc-proof__text { margin-top: 4px; font-size: 14px; color: var(--oc-grey-600); }

/* ---------- 5. What we do ---------- */

.oc-home .oc-pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--oc-gap); }
.oc-home .oc-pillar { background: var(--oc-grey-100); border-top: 4px solid var(--oc-red); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.oc-home .oc-pillar__num { font-size: 48px; font-weight: 700; line-height: 1; color: var(--oc-red); }
.oc-home .oc-pillar__title { font-size: var(--oc-h3); }
.oc-home .oc-pillar :is(p, ul) { color: var(--oc-ink); }
.oc-home .oc-pillar ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.oc-home .oc-pillar .oc-link { margin-top: auto; padding-top: 12px; }

/* ---------- 6 + 7. Tiles ---------- */

.oc-home .oc-tiles { display: grid; gap: 16px; }
.oc-home .oc-tiles--platforms { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.oc-home .oc-tiles--topics { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 16px; }
.oc-home .oc-tile { transition: background-color .15s; }
.oc-home .oc-tile--dark { background: var(--oc-grey-800); color: var(--oc-white); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.oc-home .oc-tile--dark:hover { background: var(--oc-red); }
.oc-home .oc-tile__title { font-weight: 700; font-size: 20px; line-height: 1.3; }
.oc-home .oc-tile__title a, .oc-home .oc-tile__title a:hover { color: var(--oc-white); text-decoration: none; }
.oc-home .oc-tile__text { font-size: 14px; color: var(--oc-grey-300); }
.oc-home .oc-tile--dark:hover .oc-tile__text { color: var(--oc-white); }
.oc-home .oc-tile--topic { background: var(--oc-grey-100); padding: 22px 24px; font-weight: 700; font-size: 18px; line-height: 1.3; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.oc-home .oc-tile--topic::after { content: "\2192"; color: var(--oc-red); }
.oc-home .oc-tile--topic a, .oc-home .oc-tile--topic a:hover { color: var(--oc-black); text-decoration: none; }
.oc-home .oc-tile--topic:hover { background: var(--oc-grey-300); }

/* ITIL / PRINCE2 quick links */
/* As many equal columns as there are cards (2 or 3) */
.oc-home .oc-features { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 16px; }
.oc-home .oc-feature { color: var(--oc-white); padding: 32px; min-height: 200px; display: flex; flex-direction: column; gap: 12px; transition: background-color .15s; }
.oc-home .oc-feature--red { background: var(--oc-red); }
.oc-home .oc-feature--red:hover { background: var(--oc-red-600); }
.oc-home .oc-feature--dark { background: var(--oc-ink); }
.oc-home .oc-feature--dark:hover { background: var(--oc-black); }
.oc-home .oc-feature--red-dark { background: var(--oc-red-dark); }
.oc-home .oc-feature--red-dark:hover { background: var(--oc-red-700); }
.oc-home .oc-feature__kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.oc-home .oc-feature__title { font-size: clamp(24px, 2.1vw, 30px); font-weight: 700; line-height: 1.1; }
.oc-home .oc-feature__cta { margin-top: auto; font-weight: 700; }
.oc-home .oc-feature__cta a, .oc-home .oc-feature__cta a:hover { color: var(--oc-white); text-decoration: none; }
.oc-home .oc-feature__cta a::after { content: " \2192"; }

/* ---------- 8. News (Query Loop) + 9. Testimonials: shared 3-column grid ---------- */

.oc-home .oc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--oc-gap); list-style: none; padding: 0; margin: 0; }
.oc-home .oc-cards > li { margin: 0; display: flex; }
.oc-home .oc-news { flex: 1; background: var(--oc-white); color: var(--oc-black); display: flex; flex-direction: column; }
.oc-home .oc-news__img { display: block; height: 180px; overflow: hidden; background: var(--oc-ink); }
.oc-home .oc-news__img a, .oc-home .oc-news__img img { display: block; width: 100%; height: 100%; }
.oc-home .oc-news__img img { object-fit: cover; }
.oc-home .oc-news__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.oc-home .oc-news__cat { position: relative; z-index: 2; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--oc-red); }
.oc-home .oc-news__cat a { text-decoration: none; }
.oc-home .oc-news__cat .wp-block-post-terms__separator { color: var(--oc-grey-400); }
.oc-home .oc-news__title { font-size: 20px; font-weight: 700; line-height: 1.2; }
.oc-home .oc-news__title a { color: var(--oc-black); text-decoration: none; }
.oc-home .oc-news:hover .oc-news__title a { color: var(--oc-red); }
.oc-home .oc-news__date { font-size: 14px; color: var(--oc-grey-600); }

.oc-home .oc-quote { border: 1px solid var(--oc-grey-300); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.oc-home .oc-quote__logo { height: 48px; display: flex; align-items: center; }
.oc-home .oc-quote__logo img { max-height: 48px; width: auto; max-width: 100%; object-fit: contain; }
.oc-home .oc-quote .wp-block-quote { flex: 1; display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; border: 0; quotes: none; }
.oc-home .oc-quote .wp-block-quote p { font-size: 17px; color: var(--oc-ink); }
.oc-home .oc-quote cite { margin-top: auto; font-size: 14px; font-style: normal; color: var(--oc-black); }

/* ---------- 10. Partners ---------- */

.oc-home .oc-partners__title { margin: 64px 0 16px; font-size: 14px; }
.oc-home .oc-partners { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.oc-home .oc-partner { background: var(--oc-grey-100); height: 72px; padding: 0 14px; display: flex; align-items: center; justify-content: center; }
.oc-home .oc-partner img { max-height: 32px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; }

/* ---------- 11. Closing CTA ---------- */

.oc-home .oc-cta { position: relative; overflow: hidden; background: var(--oc-red); color: var(--oc-white); }
.oc-home .oc-cta::before { content: ""; position: absolute; right: -60px; top: -40px; width: 620px; height: 460px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 136 101'%3E%3Cpath fill='#b81f43' d='M135.46 95.8604L129.61 81.1904C119.794 85.0188 108.974 85.424 98.9 82.3404C107.371 73.7354 112.118 62.145 112.118 50.0704C112.118 37.9958 107.371 26.4053 98.9 17.8004C103.345 16.4532 107.966 15.7791 112.61 15.8004C118.429 15.7755 124.199 16.8616 129.61 19.0004L135.45 4.32036C128.187 1.44431 120.442 -0.0218186 112.63 0.000361239C102.786 -0.0327528 93.0815 2.32478 84.35 6.87036C75.6152 2.32396 65.9071 -0.0335744 56.06 0.000361239C25.15 0.000361239 0 22.4904 0 50.1204C0 77.7504 25.15 100.24 56.06 100.24C65.9071 100.274 75.6152 97.9168 84.35 93.3704C92.2004 97.4097 100.823 99.7259 109.641 100.164C118.458 100.602 127.268 99.1518 135.48 95.9104L135.46 95.8604ZM96.31 50.0704C96.31 59.6104 91.72 68.2404 84.31 74.4704C76.92 68.2404 72.31 59.6104 72.31 50.0704C72.31 40.5304 76.9 31.9004 84.31 25.6804C91.72 31.9004 96.31 40.5404 96.31 50.0704ZM15.78 50.0704C15.78 31.1504 33.84 15.7504 56.04 15.7504C60.6875 15.7284 65.3121 16.4025 69.76 17.7504C61.2894 26.3553 56.5418 37.9458 56.5418 50.0204C56.5418 62.095 61.2894 73.6854 69.76 82.2904C65.3132 83.6431 60.6879 84.3173 56.04 84.2904C33.84 84.3904 15.78 69.0004 15.78 50.0704Z'/%3E%3C/svg%3E") no-repeat center / contain; pointer-events: none; }
.oc-home .oc-cta__inner { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.oc-home .oc-cta__title { font-size: clamp(28px, 4vw, 40px); max-width: 720px; color: var(--oc-white); }
.oc-home .oc-cta__text { font-size: 20px; max-width: 640px; }
.oc-home .oc-cta__actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 12px; }
.oc-home .oc-cta__phone a, .oc-home .oc-cta__phone a:hover { color: var(--oc-white); font-weight: 700; display: inline-block; padding: 12px 0; }

/* ---------- 12. Footer ---------- */

.oc-footer { background: var(--oc-ink); color: var(--oc-grey-300); font-size: 14px; padding: 56px 0 32px; }
.oc-footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr 1.3fr; gap: 32px 48px; }
.oc-footer__cols > * { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.oc-footer__logo { width: 224px; height: 28px; margin-bottom: 4px; }
.oc-home .oc-footer__brand p { color: var(--oc-white); }
.oc-home .oc-footer__head { font-weight: 700; color: var(--oc-white); }
.oc-home .oc-footer__head--spaced { margin-top: 8px; }
.oc-home .oc-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.oc-home .oc-footer a { color: var(--oc-grey-300); text-decoration: none; }
.oc-home .oc-footer a:hover { color: var(--oc-white); text-decoration: underline; }
.oc-footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--oc-grey-600); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.oc-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.oc-home .oc-footer__legal a { text-decoration: underline; }

/* ==========================================================================
   Tablet: up to 1000px
   ========================================================================== */

@media (max-width: 1000px) {
  :root { --oc-section-y: 64px; }

  .oc-nav-toggle { display: block; }
  .oc-header__inner { flex-wrap: wrap; }
  .oc-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; }
  .oc-nav.is-open { display: flex; }
  .oc-home .oc-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .oc-home .oc-menu > li > a { padding: 14px 0; border-top: 1px solid var(--oc-grey-300); }
  .oc-home .oc-menu .sub-menu { display: block; position: static; min-width: 0; padding: 0 0 8px 16px; border: 0; box-shadow: none; }
  .oc-home .oc-menu .sub-menu a { padding: 6px 0; white-space: normal; color: var(--oc-grey-600); }
  .oc-home .oc-menu .menu-item-has-children > a::after { display: none; }
  .oc-nav__tools { flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--oc-grey-300); }
  .oc-nav__tools .oc-btn-link { flex-basis: 100%; margin: 8px 0 0; text-align: center; }
  .oc-search__panel { left: 0; right: auto; width: min(320px, calc(100vw - 32px)); }
  .oc-home .oc-lang__list { left: 0; right: auto; }

  .oc-home .oc-hero__inner { padding-top: 64px; padding-bottom: 56px; gap: 40px; }
  .oc-home .oc-hero::before { opacity: .6; }
  .oc-home .oc-stream__steps li { font-size: 14px; padding: 0 20px 0 32px; }

  .oc-home .oc-proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-home .oc-pillars, .oc-home .oc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-home .oc-tiles--platforms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .oc-home .oc-tiles--topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-home .oc-partners { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .oc-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-footer__brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   Mobile: up to 700px
   ========================================================================== */

@media (max-width: 700px) {
  :root { --oc-section-y: 48px; --oc-gutter: 16px; }

  .oc-logo svg { width: 176px; height: 22px; }
  .oc-home .oc-stream { display: none; }           /* value stream does not fit; hero is text only */
  .oc-home .oc-hero__lead { font-size: 20px; }
  .oc-home :is(.oc-hero__actions, .oc-cta__buttons) { width: 100%; }
  .oc-home :is(.oc-hero__actions, .oc-cta__buttons) .wp-block-button { width: 100%; }
  .oc-home :is(.oc-hero__actions, .oc-cta__buttons) .wp-block-button__link { display: block; width: 100%; text-align: center; }
  .oc-home .oc-cta__actions { width: 100%; }

  .oc-home :is(.oc-proof__grid, .oc-pillars, .oc-cards, .oc-features, .oc-tiles--topics) { grid-template-columns: minmax(0, 1fr); }
  .oc-home .oc-features { grid-auto-flow: row; }
  .oc-home .oc-tiles--platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-home .oc-partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-home .oc-feature__title { font-size: 28px; }
  .oc-home :is(.oc-section__title, .oc-section__head) { margin-bottom: 28px; }
  .oc-footer__cols { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .oc-home * { transition: none !important; }
}
