/*
Theme Name: OrigenTech FSE
Theme URI: https://origentech.com
Description: Full Site Editing child theme for OrigenTech - SAP Compliance & Localization Partner Across Latin America. Built on Astra.
Author: OrigenTech
Author URI: https://origentech.com
Template: astra
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: origentech-fse
Tags: full-site-editing, block-patterns, custom-colors, custom-fonts, translation-ready
*/

/* ============================================================
   SECTION 1 — Brand Styles
   (migrated from origentech_enqueue_styles() inline heredoc)
   ============================================================ */

/* ============================================
   OrigenTech Brand Styles - Matching Vercel Site
   ============================================ */

/* CSS Custom Properties */
:root {
    --ot-orange: #DC6010;
    --ot-orange-dark: #c45410;
    --ot-green: #89B922;
    --ot-blue: #2893CC;
    --ot-dark: #222222;
    --ot-white: #ffffff;
    --ot-gray-50: #f9fafb;
    --ot-gray-100: #f3f4f6;
    --ot-gray-200: #e5e7eb;
    --ot-gray-400: #9ca3af;
    --ot-gray-500: #6b7280;
    --ot-gray-700: #374151;
}

/* Base */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ===========================================
   WHAT WE DO - Solution Cards with Hover
   =========================================== */
.ot-wwd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
    font-family: "Outfit", sans-serif;
}
@media (max-width: 900px) { .ot-wwd-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ot-wwd-grid { grid-template-columns: 1fr; } }

.ot-wwd-card {
    position: relative;
    border-radius: 24px;
    border: 1px solid #f3f4f6;
    background: #fff;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    padding: 32px;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.ot-wwd-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

/* Background image */
.ot-wwd-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.ot-wwd-card:hover .ot-wwd-bg {
    opacity: 0;
    transform: scale(1.1) rotate(1deg);
}
.ot-wwd-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ot-wwd-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(34,34,34,0.95) 0%, rgba(34,34,34,0.4) 40%, transparent 100%);
    transition: opacity 0.5s;
}
.ot-wwd-card:hover .ot-wwd-overlay {
    opacity: 0;
}

/* Content layer */
.ot-wwd-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Icon badge */
.ot-wwd-icon {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.5s;
}
.ot-wwd-card:hover .ot-wwd-icon {
    transform: scale(1.1);
}

/* Title + description wrapper */
.ot-wwd-text-wrap {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(140px);
}
.ot-wwd-card:hover .ot-wwd-text-wrap {
    transform: translateY(0);
}

/* Title */
.ot-wwd-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 40px;
    line-height: 1.2;
    transition: all 0.7s;
    font-family: "Outfit", sans-serif;
}
.ot-wwd-card:hover .ot-wwd-title {
    font-size: 20px;
    color: #222;
    margin-bottom: 16px;
}

/* Description */
.ot-wwd-desc {
    opacity: 0;
    transition: opacity 0.5s 0.1s;
}
.ot-wwd-card:hover .ot-wwd-desc {
    opacity: 1;
}
.ot-wwd-desc p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0 0 32px;
}

/* Learn More link */
.ot-wwd-link {
    margin-top: auto;
    transition: all 0.5s;
}
.ot-wwd-link a {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-family: "Outfit", sans-serif;
}
.ot-wwd-card:hover .ot-wwd-link a {
    color: #2893CC;
}
.ot-wwd-link a:hover {
    gap: 12px;
}

/* ===========================================
   WHY ORIGEN - Atmospheric Section
   =========================================== */
.ot-why-atmospheric {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    color: #fff;
    font-family: "Outfit", sans-serif;
}
.ot-why-bg {
    position: absolute; inset: 0; z-index: 0;
}
.ot-why-bg img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.5; filter: grayscale(0.6);
}
.ot-why-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.45), rgba(0,30,60,0.75));
}
.ot-why-grid-overlay {
    position: absolute; inset: 0; opacity: 0.08;
    background: linear-gradient(to right, rgba(255,255,255,0.1) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 60px 60px;
}
.ot-why-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(40,147,204,0.12) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
}
.ot-why-inner {
    position: relative; z-index: 10;
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
.ot-why-heading {
    text-align: center; margin-bottom: 48px;
}
.ot-why-heading h2 {
    font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700;
    margin: 0 0 12px; letter-spacing: -0.02em;
}
.ot-why-heading p {
    font-size: 18px; color: rgba(255,255,255,0.5);
    font-weight: 300; margin: 0;
}

/* Layout container */
.ot-why-layout {
    position: relative; max-width: 1100px; margin: 0 auto;
    min-height: 550px; display: flex;
    align-items: center; justify-content: center;
}

/* SVG Lines */
.ot-why-lines {
    position: absolute; inset: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 10;
}
@media (max-width: 768px) { .ot-why-lines { display: none; } }

/* Central Sphere */
.ot-why-sphere {
    position: relative; z-index: 20;
    width: 220px; height: 220px; flex-shrink: 0;
}
@media (min-width: 769px) {
    .ot-why-sphere { width: 280px; height: 280px; }
}
.ot-sphere-glow {
    position: absolute; inset: 0; border-radius: 50%;
    background: linear-gradient(135deg, #008fd3, #001e3c, #f0ab00);
    animation: spherePulse 3s ease-in-out infinite;
    filter: blur(4px); opacity: 0.8;
}
@keyframes spherePulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.03); }
}
.ot-sphere-inner {
    position: absolute; inset: 8px; border-radius: 50%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 50px rgba(0,143,211,0.3);
}
.ot-sphere-inner img {
    width: 150px; height: auto;
    filter: brightness(0) invert(1); opacity: 0.8;
}
.ot-sphere-ring {
    position: absolute; border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
}
.ot-ring-1 { inset: -32px; animation: spin 25s linear infinite; }
.ot-ring-2 { inset: -64px; animation: spin 35s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Glass Cards */
.ot-why-card {
    position: absolute; width: 320px; padding: 24px;
    border-radius: 16px; z-index: 30;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}
.ot-why-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(220,96,16,0.4);
    box-shadow: 0 0 40px rgba(220,96,16,0.2);
}
.ot-why-card-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #008fd3;
    box-shadow: 0 0 10px rgba(0,143,211,0.8);
    display: inline-block; margin-right: 10px; vertical-align: middle;
}
.ot-why-card h3 {
    display: inline; font-size: 17px; font-weight: 700;
    color: #fff; margin: 0; vertical-align: middle;
    transition: color 0.3s;
    font-family: "Outfit", sans-serif;
}
.ot-why-card:hover h3 { color: #DC6010; }
.ot-why-card p {
    font-size: 14px; color: rgba(255,255,255,0.55);
    line-height: 1.6; margin: 12px 0 0; font-weight: 300;
}

/* Card positions */
.ot-card-tl { top: 5%; left: 3%; }
.ot-card-tr { top: 5%; right: 3%; }
.ot-card-bl { bottom: 5%; left: 3%; }
.ot-card-br { bottom: 5%; right: 3%; }

@media (max-width: 768px) {
    .ot-why-layout {
        flex-direction: column; min-height: auto; gap: 20px;
    }
    .ot-why-card {
        position: relative !important;
        top: auto !important; left: auto !important;
        right: auto !important; bottom: auto !important;
        width: 100%;
    }
    .ot-why-sphere { margin: 20px auto; }
}

/* CTA button */
.ot-why-cta {
    text-align: center; margin-top: 48px; position: relative; z-index: 10;
}
.ot-why-cta a {
    display: inline-block; background: #DC6010; color: #fff;
    padding: 16px 40px; border-radius: 8px;
    font-weight: 700; font-size: 16px; text-decoration: none;
    transition: all 0.3s; font-family: "Outfit", sans-serif;
    box-shadow: 0 8px 25px rgba(220,96,16,0.3);
}
.ot-why-cta a:hover {
    background: #c45410; transform: scale(1.05);
}

/* ===========================================
   SUCCESS STORIES CAROUSEL - Exact Match
   =========================================== */
.ot-success-carousel { padding: 0 20px; }
.ot-success-carousel .splide__arrow {
    background: #fff !important; width: 48px !important; height: 48px !important;
    opacity: 1 !important; box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}
.ot-success-carousel .splide__arrow svg {
    fill: #222 !important; width: 18px !important; height: 18px !important;
}
.ot-success-carousel .splide__arrow:hover {
    background: #f9fafb !important; transform: scale(1.1);
}
.ot-success-carousel .splide__pagination {
    bottom: -40px !important;
}
.ot-success-carousel .splide__pagination__page {
    background: rgba(255,255,255,0.35) !important;
    width: 10px !important; height: 10px !important;
}
.ot-success-carousel .splide__pagination__page.is-active {
    background: #DC6010 !important; width: 28px !important; border-radius: 5px !important;
}
.ot-success-carousel .ot-carousel-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: all 0.4s ease; cursor: pointer;
}
.ot-success-carousel .ot-carousel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.ot-success-carousel .ot-card-img {
    height: 220px; overflow: hidden;
    border-radius: 12px; margin: 10px 10px 0;
}
.ot-success-carousel .ot-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.ot-success-carousel .ot-carousel-card:hover .ot-card-img img {
    transform: scale(1.08);
}
.ot-success-carousel .ot-card-body {
    padding: 20px 20px 24px;
}
.ot-success-carousel .ot-card-body h4 {
    font-weight: 700; font-size: 17px; color: #222;
    margin: 0 0 6px; font-family: Outfit, sans-serif;
    line-height: 1.3;
}
.ot-success-carousel .ot-card-body p {
    color: #9ca3af; font-size: 13px; margin: 0;
    font-family: Outfit, sans-serif;
}

/* ===========================================
   HUB & SPOKE - Why Choose Section
   =========================================== */
.ot-hub-section {
    padding: 96px 0; background: #fff; overflow: hidden;
    font-family: "Outfit", sans-serif;
}
.ot-hub-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
.ot-hub-heading {
    text-align: center; margin-bottom: 80px;
}
.ot-hub-heading h2 {
    font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700;
    color: #222; margin: 0 0 24px;
}

/* Hub layout */
.ot-hub-layout {
    position: relative; max-width: 800px; margin: 0 auto;
    height: 550px; display: flex; align-items: center; justify-content: center;
}
.ot-hub-lines {
    position: absolute; inset: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 1;
}
@media (max-width: 768px) { .ot-hub-lines { display: none; } }

/* Central circle */
.ot-hub-center {
    position: relative; z-index: 20;
}
.ot-hub-circle {
    width: 180px; height: 180px; border-radius: 50%;
    background: #222; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border: 6px solid rgba(220,96,16,0.15);
    position: relative; z-index: 2;
}
.ot-hub-circle img {
    width: 120px; height: auto; filter: brightness(0) invert(1);
    margin-bottom: 8px;
}
.ot-hub-circle span {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.2em; color: #DC6010;
}
.ot-hub-pulse {
    position: absolute; inset: -8px; border-radius: 50%;
    background: rgba(220,96,16,0.15);
    animation: hubPing 2.5s ease-out infinite;
    z-index: 1;
}
.ot-hub-pulse-2 {
    inset: -20px;
    background: rgba(40,147,204,0.08);
    animation: hubPing 3.5s ease-out infinite 0.5s;
}
@keyframes hubPing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Feature nodes */
.ot-hub-node {
    position: absolute; z-index: 30;
    background: #fff; border-radius: 16px; padding: 20px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f3f4f6; width: 240px;
    transition: all 0.3s ease;
}
.ot-hub-node:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-color: #DC6010;
}
.ot-hub-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(220,96,16,0.08); display: inline-flex;
    align-items: center; justify-content: center;
    margin-bottom: 12px;
}
.ot-hub-node h4 {
    font-size: 16px; font-weight: 700; color: #222;
    margin: 0 0 6px; display: inline-block; vertical-align: middle;
    margin-left: 10px; font-family: "Outfit", sans-serif;
}
.ot-hub-node p {
    font-size: 13px; color: #9ca3af; margin: 0; line-height: 1.5;
}

/* Node positions */
.ot-node-top { top: -10px; left: 50%; transform: translateX(-50%); }
.ot-node-right-top { top: 22%; right: -5%; }
.ot-node-right-bottom { bottom: 22%; right: -5%; }
.ot-node-left-bottom { bottom: 22%; left: -5%; }
.ot-node-left-top { top: 22%; left: -5%; }

@media (max-width: 768px) {
    .ot-hub-layout {
        height: auto; flex-direction: column; gap: 16px;
    }
    .ot-hub-node {
        position: relative !important;
        top: auto !important; left: auto !important;
        right: auto !important; bottom: auto !important;
        transform: none !important; width: 100%;
    }
    .ot-hub-center { order: -1; margin-bottom: 24px; }
}

/* CTA Bar */
.ot-hub-cta-bar {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 24px;
    background: #fff; border: 1px solid #f3f4f6; border-radius: 16px;
    padding: 32px 40px; margin-top: 64px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.ot-hub-cta-bar h3 {
    font-size: 22px; font-weight: 700; color: #222;
    margin: 0 0 6px; font-family: "Outfit", sans-serif;
}
.ot-hub-cta-bar p {
    font-size: 14px; color: #9ca3af; margin: 0;
}
.ot-hub-cta-btn {
    display: inline-block; background: #DC6010; color: #fff;
    padding: 14px 32px; border-radius: 8px; font-weight: 700;
    font-size: 15px; text-decoration: none; transition: all 0.3s;
    font-family: "Outfit", sans-serif;
    box-shadow: 0 6px 20px rgba(220,96,16,0.25);
    white-space: nowrap;
}
.ot-hub-cta-btn:hover {
    background: #c45410; transform: scale(1.05);
}
@media (max-width: 600px) {
    .ot-hub-cta-bar { flex-direction: column; text-align: center; }
    .ot-hub-cta-btn { width: 100%; text-align: center; }
}

/* ===========================================
   SOLaaS Checklist Card Grid
   =========================================== */
.ot-solaas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    font-family: "Outfit", sans-serif;
}
.ot-solaas-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    transition: all 0.3s ease;
}
.ot-solaas-item:hover {
    border-color: #89B922;
    box-shadow: 0 4px 12px rgba(137,185,34,0.1);
}
.ot-solaas-item svg {
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .ot-solaas-grid { grid-template-columns: 1fr; }
}

/* ===========================================
   SERVICE BENEFITS - Tab Layout
   =========================================== */
.ot-svc-tabs-layout {
    display: flex; gap: 32px; align-items: stretch;
}
.ot-svc-tabs-sidebar {
    width: 35%; display: flex; flex-direction: column; gap: 12px; flex-shrink: 0;
}
.ot-svc-tab {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px; border-radius: 16px; border: 2px solid transparent;
    background: transparent; cursor: pointer; text-align: left;
    transition: all 0.3s ease; font-family: Outfit, sans-serif;
    position: relative; overflow: hidden;
}
.ot-svc-tab span {
    font-size: 16px; font-weight: 600; color: #6b7280;
    transition: color 0.3s;
}
.ot-svc-tab-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(0,0,0,0.04); display: flex;
    align-items: center; justify-content: center;
    flex-shrink: 0; color: #9ca3af; transition: all 0.3s;
}
.ot-svc-tab:hover {
    background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.ot-svc-tab-active {
    background: #fff !important; border-color: #DC6010 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
    transform: translateX(8px);
}
.ot-svc-tab-active span { color: #222 !important; font-weight: 700 !important; }
.ot-svc-tab-active .ot-svc-tab-icon {
    background: rgba(220,96,16,0.1) !important; color: #DC6010 !important;
}

/* Right panel */
.ot-svc-panels {
    flex: 1; position: relative; min-height: 400px;
}
.ot-svc-panel {
    display: none; position: absolute; inset: 0;
    border-radius: 20px; overflow: hidden;
    background-size: cover; background-position: center;
    animation: otPanelFade 0.4s ease;
}
.ot-svc-panel-active { display: block; }
@keyframes otPanelFade {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}
.ot-svc-panel::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.75) 100%);
}
.ot-svc-panel-inner {
    position: relative; z-index: 1; padding: 48px;
    display: flex; flex-direction: column; justify-content: center;
    height: 100%;
}
.ot-svc-panel-badge {
    width: 52px; height: 52px; border-radius: 14px;
    background: #222; display: flex; align-items: center;
    justify-content: center; margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.ot-svc-panel-inner h3 {
    font-size: 28px; font-weight: 700; color: #222;
    margin: 0 0 16px; font-family: Outfit, sans-serif;
}
.ot-svc-panel-inner p {
    font-size: 16px; color: #6b7280; line-height: 1.7;
    margin: 0; max-width: 500px;
}

@media (max-width: 768px) {
    .ot-svc-tabs-layout { flex-direction: column; }
    .ot-svc-tabs-sidebar { width: 100%; flex-direction: row; overflow-x: auto; gap: 8px; }
    .ot-svc-tab { min-width: 140px; flex-shrink: 0; }
    .ot-svc-tab-active { transform: none; }
    .ot-svc-panels { min-height: 300px; position: relative; }
    .ot-svc-panel { position: relative; }
}

/* Credibility Section Cards */
.ot-cred-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
    transform: translateY(-4px);
    border-color: #e5e7eb !important;
}
@media (max-width: 600px) {
    .ot-credibility-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Astra overrides - remove default padding/margins */
.ast-container { max-width: 100%; padding: 0; }
.site-content .ast-container { padding: 0; }
#primary { margin: 0; padding: 0; }
.entry-content { margin: 0; }
.entry-content > .alignfull { margin-left: 0; margin-right: 0; }

/* =============================================
   FIX WHITE STRIP ABOVE HERO ON INNER PAGES
   Astra default .entry-header { margin-top: 2em }
   creates a ~32px gap. Collapse the entire wrapper
   so hero covers sit flush against the top edge.
   ============================================= */
.entry-header,
.entry-header.ast-no-thumbnail,
header.entry-header {
    margin: 0 !important;
    padding: 0 !important;
}
.site-content,
#content,
.content-area,
#primary.content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.hentry,
article.post,
article.page {
    margin-top: 0 !important;
}

/* =============================================
   HEADER FIXES - Match React design exactly
   ============================================= */

/* 1. Hide "Home" page title above content */
.entry-title,
.page-title,
.ast-archive-title,
.ast-the-post-title {
    display: none !important;
}

/* 2. Hide site title text (keep logo only) */
.site-title,
.ast-site-identity .site-title,
.site-description {
    display: none !important;
}

/* 3. Force header to horizontal layout */
.ast-primary-header .ast-builder-layout-element {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

/* 4. Fix button - prevent vertical text */
.ast-header-button-1,
.ast-builder-layout-element .ast-button-wrap,
.ast-header-button-1 .ast-custom-button {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    white-space: nowrap !important;
}
.ast-header-button-1 .ast-custom-button {
    background: var(--ot-orange) !important;
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 12px rgba(220,96,16,0.2) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}
.ast-header-button-1 .ast-custom-button:hover {
    background: var(--ot-orange-dark) !important;
    transform: scale(1.05) !important;
}

/* 5. Fix language switcher - prevent vertical */
.ast-header-html-1,
.ast-builder-layout-element .ast-header-html-inner {
    writing-mode: horizontal-tb !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

/* ============================================
   6. HEADER LAYOUT - PERFECT CENTERING (CSS GRID)
   Logo (left) | Menu (center) | CTA/Icons (right)
   Menu stays mathematically centered regardless of
   left/right section widths.
   ============================================ */
.ast-primary-header-bar {
    display: block !important;
}
.ast-primary-header-bar .site-primary-header-wrap,
.ast-primary-header-bar .ast-builder-grid-row {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    gap: 24px !important;
}

/* LEFT: Logo section - justified to start */
.ast-primary-header-bar .site-header-primary-section-left,
.ast-primary-header-bar .ast-builder-grid-row > :first-child {
    justify-self: start !important;
    display: flex !important;
    align-items: center !important;
}

/* CENTER: Navigation section - perfectly centered */
.ast-primary-header-bar .site-header-primary-section-center,
.ast-primary-header-bar .ast-builder-grid-row > :nth-child(2) {
    justify-self: center !important;
    display: flex !important;
    align-items: center !important;
}

/* RIGHT: CTA + Icons section - justified to end */
.ast-primary-header-bar .site-header-primary-section-right,
.ast-primary-header-bar .ast-builder-grid-row > :last-child {
    justify-self: end !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
}

/* 7. Ensure nav items stay on one line */
.ast-primary-header .main-navigation,
.ast-primary-header .ast-flex {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
}
.ast-primary-header .main-header-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
}
.ast-primary-header .main-header-menu > .menu-item > a {
    font-size: 14px !important;
    padding: 0 14px !important;
    white-space: nowrap !important;
}

/* Remove any extra spacing that could break centering */
.ast-primary-header-bar .ast-builder-layout-element {
    padding: 0 !important;
    margin: 0 !important;
}

/* Mobile: fallback to flex */
@media (max-width: 921px) {
    .ast-primary-header-bar .site-primary-header-wrap,
    .ast-primary-header-bar .ast-builder-grid-row {
        display: flex !important;
        grid-template-columns: unset !important;
        justify-content: space-between !important;
    }
    .ast-primary-header-bar .site-header-primary-section-center,
    .ast-primary-header-bar .site-header-primary-section-right {
        justify-self: auto !important;
    }
}

/* 8. Transparent header - fully transparent on hero */
.ast-theme-transparent-header .ast-primary-header-bar,
.ast-theme-transparent-header #ast-desktop-header {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.ast-theme-transparent-header .main-header-menu > .menu-item > a {
    color: #ffffff !important;
}
.ast-theme-transparent-header .main-header-menu > .menu-item:hover > a {
    color: var(--ot-orange) !important;
}

/* 9. Logo size fix */
.ast-site-identity .custom-logo-link img,
.ast-site-identity .custom-logo {
    max-width: 200px !important;
    width: 200px !important;
    height: auto !important;
}

/* 10. Remove topbar / above-header / below-header completely */
.ast-above-header,
.ast-above-header-wrap,
.ast-above-header-bar,
.ast-header-above-row,
#ast-desktop-header .ast-above-header,
#ast-desktop-header .ast-above-header-wrap,
.ast-below-header,
.ast-below-header-wrap,
.ast-below-header-bar,
.ast-header-below-row,
#ast-desktop-header .ast-below-header,
#ast-desktop-header .ast-below-header-wrap,
.site-header-above-section-left,
.site-header-above-section-center,
.site-header-above-section-right {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Full width sections */
.entry-content > .wp-block-group.alignfull,
.entry-content > .wp-block-cover.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Hero section - full viewport */
.wp-block-cover.alignfull {
    min-height: 100vh !important;
}
.wp-block-cover .wp-block-cover__inner-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Button styling matching Vercel */
.wp-block-button__link {
    transition: all 0.3s ease;
    transform: scale(1);
}
.wp-block-button__link:hover {
    transform: scale(1.05);
    opacity: 0.95;
}
.wp-block-button__link:active {
    transform: scale(0.98);
}

/* Card hover effects */
.wp-block-column[style*="box-shadow"] {
    transition: all 0.3s ease;
}
.wp-block-column[style*="box-shadow"]:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

/* Service cards hover */
.has-gray-50-background-color .wp-block-column {
    transition: all 0.3s ease;
}
.has-gray-50-background-color .wp-block-column:hover {
    transform: translateY(-6px);
}

/* Success story cards */
.has-brand-blue-background-color .wp-block-column img {
    transition: transform 0.5s ease;
}
.has-brand-blue-background-color .wp-block-column:hover img {
    transform: scale(1.1);
}

/* Image overflow hidden for zoom effect */
.wp-block-column[style*="overflow:hidden"] img,
.wp-block-column[style*="overflow: hidden"] img {
    transition: transform 0.5s ease;
}

/* Orange accent bar under headings */
.wp-block-separator.has-brand-orange-background-color {
    width: 96px;
    height: 6px;
    border: none;
    border-radius: 3px;
    opacity: 1;
}

/* Checkmark styling */
.wp-block-group[style*="border-left-color"] {
    transition: background-color 0.3s ease;
}

/* Why Origen - feature card hover */
.has-white-background-color > .wp-block-columns > .wp-block-column > .wp-block-group[style*="border-radius:12px"]:hover {
    background-color: var(--ot-gray-100);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    border-color: var(--ot-orange) !important;
}

/* Contact section dark card */
.wp-block-group[style*="border-radius:24px"] {
    overflow: hidden;
}

/* Navigation dropdown styling */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-submenu__content {
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 1px solid var(--ot-gray-100);
    padding: 8px;
    min-width: 280px;
}
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-submenu__content a {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--ot-gray-500);
    transition: all 0.2s;
}
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-submenu__content a:hover {
    color: var(--ot-blue);
    background: rgba(40, 147, 204, 0.05);
}

/* Language switcher */
.origentech-lang-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
}
.origentech-lang-switcher .lang-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--ot-gray-500);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}
.origentech-lang-switcher .lang-link:hover {
    color: var(--ot-blue);
    background: rgba(40, 147, 204, 0.08);
}
.origentech-lang-switcher .lang-link.active {
    color: var(--ot-orange);
    font-weight: 700;
}

/* Footer link styling */
footer ul, .has-brand-dark-background-color ul { list-style: none; }
.has-brand-dark-background-color a { text-decoration: none; }
.has-brand-dark-background-color a:hover { color: var(--ot-green) !important; }

/* Social links in footer */
.wp-block-social-links .wp-social-link {
    transition: all 0.3s ease;
}
.wp-block-social-links .wp-social-link:hover {
    background: var(--ot-orange) !important;
    color: white !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .wp-block-cover.alignfull {
        min-height: 80vh !important;
    }
    .wp-block-cover .wp-block-cover__inner-container h1 {
        font-size: 1.875rem !important;
    }
    .wp-block-columns {
        gap: 2rem !important;
    }
}

/* Smooth fade-in animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.entry-content > .wp-block-group,
.entry-content > .wp-block-cover {
    animation: fadeInUp 0.6s ease-out;
}

/* Link arrow animation */
a[style*="text-decoration:none"]:hover {
    gap: 1rem !important;
}

/* ============================================
   RD Station Form Styling
   ============================================ */
#main-office-forms-8c29fa88f4280efd238e {
    font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
}
/* RD Station labels - match screenshot (small uppercase-ish bold) */
.bricks-form label,
.rdstation-popup label,
[id*="office-forms"] label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--ot-gray-500, #6b7280) !important;
    margin-bottom: 6px !important;
    display: block;
    font-family: "Outfit", sans-serif !important;
    letter-spacing: 0.01em !important;
}
/* RD Station inputs - clean rectangular with 8px radius to match screenshot */
.bricks-form input[type="text"],
.bricks-form input[type="email"],
.bricks-form input[type="tel"],
.bricks-form select,
.bricks-form textarea,
[id*="office-forms"] input[type="text"],
[id*="office-forms"] input[type="email"],
[id*="office-forms"] input[type="tel"],
[id*="office-forms"] select,
[id*="office-forms"] textarea {
    border-radius: 8px !important;
    border: 1px solid var(--ot-gray-200, #e5e7eb) !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-family: "Outfit", sans-serif !important;
    color: var(--ot-dark, #222) !important;
    transition: all 0.2s ease !important;
    background: var(--ot-white, #fff) !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: auto !important;
}
.bricks-form input::placeholder,
.bricks-form textarea::placeholder,
[id*="office-forms"] input::placeholder,
[id*="office-forms"] textarea::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
}
.bricks-form input:focus,
.bricks-form select:focus,
.bricks-form textarea:focus,
[id*="office-forms"] input:focus,
[id*="office-forms"] select:focus,
[id*="office-forms"] textarea:focus {
    border-color: var(--ot-orange, #DC6010) !important;
    box-shadow: 0 0 0 3px rgba(220, 96, 16, 0.1) !important;
    outline: none !important;
}
.bricks-form textarea,
[id*="office-forms"] textarea {
    border-radius: 8px !important;
    min-height: 120px !important;
    resize: vertical;
}
.bricks-form select,
[id*="office-forms"] select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%239ca3af%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding-right: 40px !important;
}
/* Two-column form layout for first/last name, company/country rows */
[id*="office-forms"] .bricks-form__fieldset,
.bricks-form .bricks-form__fieldset {
    margin-bottom: 14px !important;
}
/* Try to detect and apply 2-col grid for named field pairs (RD Station renders fieldsets) */
[id*="office-forms"] form {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px 16px !important;
}
/* Full-width fields: email, country (if last in its row), message, submit */
[id*="office-forms"] form .bricks-form__fieldset:has(textarea),
[id*="office-forms"] form .bricks-form__fieldset:has(select),
[id*="office-forms"] form .bricks-form__fieldset:last-child,
[id*="office-forms"] form .bricks-form__submit,
[id*="office-forms"] form .bricks-form__footer {
    grid-column: 1 / -1 !important;
}
@media (max-width: 640px) {
    [id*="office-forms"] form {
        grid-template-columns: 1fr !important;
    }
}
/* RD Station submit button - full width orange */
.bricks-form input[type="submit"],
.bricks-form button[type="submit"],
[id*="office-forms"] input[type="submit"],
[id*="office-forms"] button[type="submit"] {
    width: 100% !important;
    background: var(--ot-orange, #DC6010) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-family: "Outfit", sans-serif !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 6px 18px rgba(220, 96, 16, 0.28) !important;
    margin-top: 6px !important;
    letter-spacing: 0.01em !important;
}
.bricks-form input[type="submit"]:hover,
.bricks-form button[type="submit"]:hover,
[id*="office-forms"] input[type="submit"]:hover,
[id*="office-forms"] button[type="submit"]:hover {
    background: var(--ot-orange-dark, #c45410) !important;
    box-shadow: 0 8px 24px rgba(220, 96, 16, 0.38) !important;
    transform: translateY(-1px);
}
/* Hide RD Station branding */
.bricks-form__footer a[href*="rdstation"],
[id*="office-forms"] a[href*="rdstation"] {
    display: none !important;
}

/* ============================================
   Contact Section Layout
   ============================================ */
.origentech-contact-section {
    background: var(--ot-gray-50) !important;
}
.origentech-contact-card {
    border-radius: 24px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 60px rgba(0,0,0,0.1) !important;
}
.origentech-contact-card > .wp-block-columns {
    gap: 0 !important;
}
.origentech-contact-card .has-brand-dark-background-color {
    border-radius: 20px;
    margin: 12px;
}

/* ============================================
   WPForms Contact Form Styling
   Matches screenshot: 2-col grid, rounded pill inputs
   ============================================ */
.wpforms-container .wpforms-form {
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif !important;
}

/* Field labels */
.wpforms-container .wpforms-form .wpforms-field-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--ot-dark) !important;
    text-transform: none !important;
    margin-bottom: 6px !important;
    letter-spacing: 0 !important;
}

/* All input fields - pill/rounded style matching screenshot */
.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form select,
.wpforms-container .wpforms-form textarea {
    border-radius: 28px !important;
    border: 1.5px solid var(--ot-gray-200) !important;
    padding: 14px 22px !important;
    font-size: 15px !important;
    font-family: "Inter", sans-serif !important;
    color: var(--ot-dark) !important;
    transition: all 0.25s ease !important;
    background: var(--ot-white) !important;
    box-shadow: none !important;
    height: auto !important;
}
.wpforms-container .wpforms-form input::placeholder,
.wpforms-container .wpforms-form textarea::placeholder {
    color: var(--ot-gray-400) !important;
    font-weight: 400 !important;
}
.wpforms-container .wpforms-form input:focus,
.wpforms-container .wpforms-form select:focus,
.wpforms-container .wpforms-form textarea:focus {
    border-color: var(--ot-orange) !important;
    box-shadow: 0 0 0 3px rgba(220, 96, 16, 0.1) !important;
    outline: none !important;
}

/* Select dropdown */
.wpforms-container .wpforms-form select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%239ca3af%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
    padding-right: 48px !important;
}

/* Textarea */
.wpforms-container .wpforms-form textarea {
    border-radius: 20px !important;
    min-height: 100px !important;
    resize: vertical;
}

/* Two-column layout: Full Name + Company, Email + Country */
.wpforms-container .wpforms-form .wpforms-field-name,
.wpforms-container .wpforms-form .wpforms-field:nth-child(1),
.wpforms-container .wpforms-form .wpforms-field:nth-child(2) {
    display: inline-block;
    vertical-align: top;
}

/* Force 2-column grid for first 4 fields */
.origentech-contact-card .wpforms-form {
    display: block;
}
.origentech-contact-card .wpforms-field-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 4px 20px;
}
/* Area of Interest and Message span full width */
.origentech-contact-card .wpforms-field-container .wpforms-field-select,
.origentech-contact-card .wpforms-field-container .wpforms-field-textarea {
    grid-column: 1 / -1;
}

/* Submit button - full width orange pill */
.wpforms-container .wpforms-form .wpforms-submit-container {
    margin-top: 8px !important;
    padding: 0 !important;
}
.wpforms-container .wpforms-form .wpforms-submit-container button,
.wpforms-container .wpforms-form button[type="submit"] {
    width: 100% !important;
    background: var(--ot-orange) !important;
    color: white !important;
    border: none !important;
    border-radius: 28px !important;
    padding: 16px 32px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    font-family: "Inter", sans-serif !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(220, 96, 16, 0.3) !important;
    letter-spacing: 0.01em !important;
}
.wpforms-container .wpforms-form .wpforms-submit-container button:hover,
.wpforms-container .wpforms-form button[type="submit"]:hover {
    background: var(--ot-orange-dark) !important;
    box-shadow: 0 8px 25px rgba(220, 96, 16, 0.4) !important;
    transform: translateY(-1px);
}
.wpforms-container .wpforms-form .wpforms-submit-container button:active,
.wpforms-container .wpforms-form button[type="submit"]:active {
    transform: translateY(0) scale(0.99);
}

/* Hide required asterisk */
.wpforms-container .wpforms-form .wpforms-required-label {
    display: none !important;
}

@media (max-width: 768px) {
    .origentech-contact-card .wpforms-field-container {
        grid-template-columns: 1fr !important;
    }
    .origentech-contact-card .has-brand-dark-background-color {
        margin: 8px;
        border-radius: 16px;
    }
}
/* ============================================================
   SECTION 2 — Header / Footer / Astra Overrides
   (migrated from Custom Layout 66 "Global Brand CSS")
   ============================================================ */

/* ===========================================
   GLOBAL RESETS & FONT
   =========================================== */
body, .wp-block-heading, .wp-block-paragraph,
.wp-block-button__link, h1, h2, h3, h4, h5, h6,
.ast-builder-html-element, .main-header-menu {
    font-family: "Outfit", ui-sans-serif, system-ui, sans-serif !important;
}

/* ===========================================
   HEADER - EXACT MATCH
   =========================================== */
.entry-title, .page-title, .ast-archive-title { display: none !important; }
.site-title, .ast-site-identity .site-title, .site-description { display: none !important; }

.ast-builder-layout-element,
.ast-header-html-1 .ast-builder-html-element,
.ast-header-button-1,
.site-primary-header-wrap .ast-builder-grid-row,
.site-primary-header-wrap .ast-builder-grid-row .ast-builder-layout-element {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}
.ast-primary-header-bar .site-primary-header-wrap {
    display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important;
}
.ast-primary-header-bar .ast-builder-grid-row {
    display: flex !important; flex-direction: row !important; align-items: center !important; flex-wrap: nowrap !important; width: 100% !important;
}
.ast-builder-grid-row .site-header-primary-section-left,
.ast-builder-grid-row .site-header-primary-section-center,
.ast-builder-grid-row .site-header-primary-section-right {
    display: flex !important; flex-direction: row !important; align-items: center !important;
}
.main-header-menu > .menu-item > a {
    font-size: 15px !important; padding: 8px 12px !important; white-space: nowrap !important; font-weight: 600 !important;
}
.ast-primary-header .main-header-menu {
    display: flex !important; flex-wrap: nowrap !important; align-items: center !important;
}

/* Contact Us button */
.ast-header-button-1 .ast-custom-button {
    display: inline-flex !important; align-items: center !important; white-space: nowrap !important;
    background: #DC6010 !important; color: #fff !important; padding: 10px 24px !important;
    border-radius: 6px !important; font-size: 14px !important; font-weight: 700 !important;
    box-shadow: 0 4px 20px rgba(220,96,16,0.25) !important; transition: all 0.3s !important; text-decoration: none !important;
}
.ast-header-button-1 .ast-custom-button:hover { background: #c45410 !important; transform: scale(1.05); }

/* Language switcher */
.ast-header-html-1 .ast-builder-html-element {
    display: flex !important; flex-direction: row !important; align-items: center !important;
}

/* Transparent header on hero */
.ast-theme-transparent-header #ast-desktop-header .ast-primary-header-bar { background: transparent !important; border: none !important; box-shadow: none !important; }
.ast-theme-transparent-header .main-header-menu > .menu-item > a { color: #fff !important; }
.ast-theme-transparent-header .main-header-menu > .menu-item:hover > a { color: #DC6010 !important; }
.ast-theme-transparent-header .custom-logo-link img { filter: brightness(0) invert(1) !important; }
.ast-theme-transparent-header .ast-mobile-menu-trigger-minimal { color: #fff !important; }

/* Logo size */
.ast-site-identity .custom-logo-link img { max-width: 200px !important; width: 200px !important; height: auto !important; }

/* Hide topbar */
.ast-above-header, .ast-above-header-wrap, .ast-above-header-bar,
.ast-below-header, .ast-below-header-wrap, .ast-below-header-bar {
    display: none !important; height: 0 !important; visibility: hidden !important; padding: 0 !important; margin: 0 !important;
}

/* Mega menu dropdowns */
.ast-desktop .sub-menu { border-radius: 16px !important; box-shadow: 0 20px 50px rgba(0,0,0,0.12) !important; border: 1px solid #f3f4f6 !important; overflow: hidden !important; padding: 8px !important; }
.ast-desktop .sub-menu a { padding: 10px 16px !important; border-radius: 8px !important; font-size: 14px !important; color: #6b7280 !important; transition: all 0.2s !important; }
.ast-desktop .sub-menu a:hover { color: #2893CC !important; background: rgba(40,147,204,0.05) !important; }

/* ===========================================
   HERO - EXACT VISUAL MATCH
   =========================================== */
.origentech-hero-gradient {
    background: linear-gradient(to right, #2893CC, #DC6010) !important;
    -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}
.ot-glow-text {
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
    color: #fff !important;
}
.ot-hero-subtitle { font-weight: 400 !important; }

/* Scroll indicator */
@keyframes scrollBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)} }
.ot-scroll-indicator { position:absolute; bottom:16px; left:50%; transform:translateX(-50%); animation:scrollBounce 2s infinite; z-index:5; }
.ot-scroll-ring { width:24px; height:40px; border:2px solid rgba(255,255,255,0.3); border-radius:12px; display:flex; justify-content:center; padding-top:6px; }
.ot-scroll-dot { width:4px; height:8px; background:rgba(255,255,255,0.5); border-radius:2px; }

/* Accent bar */
.ot-accent-bar { width:96px; height:6px; background:#DC6010; border-radius:3px; margin:16px auto 0; }
.ot-accent-bar-left { margin:16px 0 0; }

/* ===========================================
   ASTRA CONTENT OVERRIDES
   =========================================== */
.ast-container { max-width: 100%; padding: 0; }
.site-content .ast-container { padding: 0; }
#primary { margin: 0; padding: 0; }
.entry-content { margin: 0; }
.entry-content > .alignfull { margin-left: 0; margin-right: 0; }
.entry-content > .wp-block-group.alignfull,
.entry-content > .wp-block-cover.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(-50vw + 50%); }
.wp-block-cover.alignfull { min-height: 100vh !important; }

/* ===========================================
   SCROLL ANIMATIONS
   =========================================== */
.ot-animate { opacity:0; transform:translateY(24px); transition:opacity 0.7s ease-out, transform 0.7s ease-out; }
.ot-visible { opacity:1 !important; transform:translateY(0) !important; }

/* ===========================================
   SOLUTION CARDS (What We Do)
   =========================================== */
.ot-solutions-grid { font-family:"Outfit",sans-serif; }
.ot-solution-card { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.ot-solution-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.ot-solution-card:hover img { transform: scale(1.08); }
@media(max-width:900px) { .ot-solutions-grid { grid-template-columns: 1fr 1fr !important; } }
@media(max-width:600px) { .ot-solutions-grid { grid-template-columns: 1fr !important; } }

/* ===========================================
   CARD HOVER EFFECTS
   =========================================== */
.has-gray-50-background-color > .wp-block-columns > .wp-block-column {
    transition: all 0.35s ease !important;
}
.has-gray-50-background-color > .wp-block-columns > .wp-block-column:hover {
    transform: translateY(-6px) !important; box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

/* Feature cards */
.ot-feature-card { transition: all 0.3s ease !important; border: 1px solid transparent !important; }
.ot-feature-card:hover { background: #f3f4f6 !important; border-color: #DC6010 !important; box-shadow: 0 10px 20px rgba(0,0,0,0.06) !important; }

/* Button hover */
.wp-block-button__link { transition: all 0.3s ease !important; }
.wp-block-button__link:hover { transform: scale(1.05) !important; }

/* ===========================================
   TESTIMONIAL CARDS
   =========================================== */
.ot-testimonial-card {
    background: #fff; border-radius: 16px; padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); border: 1px solid #f3f4f6;
    height: 100%; display: flex; flex-direction: column; font-family: "Outfit", sans-serif;
}
.ot-testimonial-stars { color: #DC6010; font-size: 20px; letter-spacing: 2px; margin-bottom: 16px; }
.ot-testimonial-text { color: #374151; font-size: 15px; line-height: 1.7; flex-grow: 1; margin: 0 0 24px; }
.ot-testimonial-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid #f3f4f6; padding-top: 16px; }
.ot-testimonial-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ot-testimonial-author strong { display: block; font-size: 14px; font-weight: 700; color: #222; }
.ot-testimonial-author span { font-size: 12px; color: #9ca3af; }
.ot-testimonial-carousel .splide__arrow { background: rgba(0,0,0,0.05) !important; }
.ot-testimonial-carousel .splide__arrow svg { fill: #222 !important; }
.ot-testimonial-carousel .splide__pagination__page { background: #e5e7eb !important; }
.ot-testimonial-carousel .splide__pagination__page.is-active { background: #DC6010 !important; }

/* ===========================================
   SPLIDE CAROUSEL (Success Stories)
   =========================================== */
.splide__arrow { background: rgba(255,255,255,0.1) !important; width: 48px !important; height: 48px !important; opacity: 1 !important; }
.splide__arrow:hover { background: rgba(255,255,255,0.2) !important; }
.splide__arrow svg { fill: #fff !important; width: 20px !important; height: 20px !important; }
.splide__pagination__page { background: rgba(255,255,255,0.3) !important; width: 10px !important; height: 10px !important; }
.splide__pagination__page.is-active { background: #DC6010 !important; width: 32px !important; border-radius: 5px !important; }
.ot-carousel-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); cursor: pointer; transition: transform 0.3s; }
.ot-carousel-card:hover { transform: translateY(-6px); }
.ot-carousel-card .ot-card-img { height: 192px; overflow: hidden; }
.ot-carousel-card .ot-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.ot-carousel-card:hover .ot-card-img img { transform: scale(1.1); }
.ot-carousel-card .ot-card-body { padding: 24px; }
.ot-carousel-card .ot-card-body h4 { font-weight: 700; font-size: 18px; color: #222; margin: 0 0 8px; font-family: Outfit,sans-serif; }
.ot-carousel-card .ot-card-body p { color: #6b7280; font-size: 14px; margin: 0; }

/* ===========================================
   CONTACT SECTION
   =========================================== */
.origentech-contact-section { background: var(--ot-gray-50, #f9fafb) !important; }
.origentech-contact-card { border-radius: 24px !important; overflow: hidden !important; box-shadow: 0 25px 60px rgba(0,0,0,0.1) !important; }
.origentech-contact-card .has-brand-dark-background-color { border-radius: 20px; margin: 12px; }

/* RD Station form */
[id*="office-forms"] input, [id*="office-forms"] select, [id*="office-forms"] textarea {
    border-radius: 28px !important; border: 1.5px solid #e5e7eb !important; padding: 14px 22px !important;
    font-size: 15px !important; font-family: "Outfit",sans-serif !important; transition: all 0.25s ease !important;
}
[id*="office-forms"] input:focus, [id*="office-forms"] select:focus, [id*="office-forms"] textarea:focus {
    border-color: #DC6010 !important; box-shadow: 0 0 0 3px rgba(220,96,16,0.1) !important; outline: none !important;
}
[id*="office-forms"] textarea { border-radius: 20px !important; }
[id*="office-forms"] input[type="submit"], [id*="office-forms"] button[type="submit"] {
    width: 100% !important; background: #DC6010 !important; color: #fff !important; border: none !important;
    border-radius: 28px !important; padding: 16px 32px !important; font-size: 17px !important; font-weight: 700 !important;
    font-family: "Outfit",sans-serif !important; cursor: pointer !important; box-shadow: 0 6px 20px rgba(220,96,16,0.3) !important;
}

/* ===========================================
   FOOTER
   =========================================== */
.site-footer { display: none !important; }
.ot-custom-footer a:hover { color: #89B922 !important; }

/* ===========================================
   RESPONSIVE
   =========================================== */
@media(max-width:768px) {
    .wp-block-cover.alignfull { min-height: 80vh !important; }
    .ot-floating-stat { display: none; }
}
@media(max-width:921px) {
    .ast-builder-grid-row { flex-wrap: wrap !important; }
    .ot-megamenu { display: none !important; }
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* ============================================================
   SECTION 3 — Solutions Mega Menu
   (migrated from Custom Layout 76 "Mega Menus (Solutions + Industries)")
   ============================================================ */

/* ============================================
   MEGA MENU - Premium Enterprise Design
   ============================================ */

/* Hide default Astra submenu for Solutions */
.main-header-menu > .menu-item.ot-has-megamenu > .sub-menu {
    display: none !important;
}

/* Mega Menu Container */
.ot-megamenu {
    display: none;
    position: fixed;
    top: auto;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 1100px;
    max-width: 95vw;
    background: #f5f7fa;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.04);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
    overflow: hidden;
}
.ot-megamenu.ot-mega-visible {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Two-column layout */
.ot-mm-left {
    width: 38%;
    padding: 32px 24px;
    border-right: 1px solid #e8eaed;
    display: flex;
    flex-direction: column;
}
.ot-mm-right {
    width: 62%;
    padding: 32px 36px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 380px;
}

/* Left panel header */
.ot-mm-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #9ca3af;
    margin: 0 0 20px 16px;
}

/* Category buttons */
.ot-mm-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: 1px;
    box-shadow: none;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
    text-align: left;
    width: 100%;
    transition: all 0.25s ease;
    font-family: inherit;
    margin-bottom: 4px;
    position: relative;
}
.ot-mm-cat:hover {
    /* background: rgba(255,255,255,0.6); */
    color: #222;
}
.ot-mm-cat-active {
    background: #f5f7fa !important;
    color: #2893CC !important;
    font-weight: 600 !important;
    /* box-shadow: 0 4px 16px rgba(0,0,0,0.06); */
    /* border: 1px solid rgba(40,147,204,0.15); */
}
.ot-mm-cat-chevron {
    width: 18px;
    height: 18px;
    opacity: 0;
    transition: opacity 0.2s, transform 0.2s;
    color: #2893CC;
    flex-shrink: 0;
}
.ot-mm-cat-active .ot-mm-cat-chevron {
    opacity: 1;
}

/* Right panel content */
.ot-mm-panel {
    display: none;
    animation: otMMFade 0.3s ease;
}
.ot-mm-panel-active {
    display: block;
}
@keyframes otMMFade {
    from { opacity: 0; transform: translateX(8px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Panel title with orange bar */
.ot-mm-title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}
.ot-mm-title-bar {
    width: 4px;
    height: 32px;
    background: #DC6010;
    border-radius: 2px;
    flex-shrink: 0;
}
.ot-mm-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

/* Sub-items list */
.ot-mm-items {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 18px;
}
.ot-mm-items li {
    margin-bottom: 14px;
}
.ot-mm-items li a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}
.ot-mm-items li a:hover {
    /* background: rgba(40,147,204,0.06); */
    color: #2893CC;
}
.ot-mm-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.ot-mm-dot-primary { background: #DC6010; }
.ot-mm-dot-muted { background: #d1d5db; }
.ot-mm-item-highlight { color: #374151 !important;}

.ot-mm-item-highlight:hover {color: #2893CC !important; font-weight: 600 !important; }
/* Empty state */
.ot-mm-empty {
    color: #9ca3af;
    font-size: 14px;
    font-style: italic;
    padding: 8px 0 0 18px;
}

/* Bottom link */
.ot-mm-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #2893CC;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    margin-top: auto;
    margin-left: 18px;
}
.ot-mm-footer-link:hover {
    /* background: rgba(40,147,204,0.06); */
    gap: 10px;
}
.ot-mm-footer-link svg {
    transition: transform 0.2s;
}
.ot-mm-footer-link:hover svg {
    transform: translateX(3px);
}

/* Separator */
.ot-mm-separator {
    height: 1px;
    background: #e8eaed;
    margin: 16px 0 20px 18px;
    width: calc(100% - 36px);
}

/* Mobile */
@media (max-width: 921px) {
    .ot-megamenu { display: none !important; }
}

/* ============================================================
   SECTION 4 — Custom Footer Responsive
   (migrated from Custom Layout 70 inline <style>)
   ============================================================ */
@media (max-width: 1024px) {
    .ot-custom-footer > div > div:first-child {
        grid-template-columns: 1fr 1fr 1fr !important;
    }
}
@media (max-width: 768px) {
    .ot-custom-footer > div > div:first-child {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .ot-custom-footer > div > div:last-child {
        flex-direction: column !important;
        text-align: center;
        align-items: center;
    }
    .ot-custom-footer > div > div:last-child > div {
        justify-content: center !important;
    }
}

/* ============================================================
   SECTION 5 — Sticky header state, utility icons, simple dropdowns
   ============================================================ */

/* When sticky-state class is on body, the header gets the white-blur look.
 * Using #ast-desktop-header in selectors to beat Astra's existing
 * `.ast-theme-transparent-header #ast-desktop-header .ast-primary-header-bar`
 * rule (specificity 0,2,1). */
.ot-header-sticky .ast-main-header-wrap.is-sticky,
.ot-header-sticky .ast-main-header-wrap {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    transition: all 0.3s ease;
}
.ot-header-sticky #ast-desktop-header .ast-primary-header-bar,
.ot-header-sticky .ast-primary-header-bar {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 8px 0 !important;
    transition: all 0.3s ease;
}
.ot-header-sticky.ast-theme-transparent-header .main-header-menu > .menu-item > a,
.ot-header-sticky .main-header-menu > .menu-item > a {
    color: #222 !important;
}
.ot-header-sticky.ast-theme-transparent-header .custom-logo-link img,
.ot-header-sticky .custom-logo-link img {
    filter: none !important;
}
/* Hover state for nav links across both states */
.main-header-menu > .menu-item > a {
    transition: color 0.2s ease;
}
.main-header-menu > .menu-item > a:hover {
    color: #DC6010 !important;
}

/* Single-post pages: force the header into the solid white state from
   page load. The transparent-header pattern (white menu over dark hero)
   was creating a visibility bug on single posts because the white menu
   would persist over the LIGHT page content below the hero before the
   sticky-on-scroll transition kicked in. This block mirrors the
   .ot-header-sticky styling but applies without a scroll trigger.
   Other page types (home, /sap-drc/, /blog/) keep the cinematic
   transparent-on-hero look unchanged. */
body.single-post.ast-theme-transparent-header #ast-desktop-header .ast-primary-header-bar,
body.single-post .ast-primary-header-bar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
body.single-post.ast-theme-transparent-header .main-header-menu > .menu-item > a,
body.single-post .main-header-menu > .menu-item > a {
    color: #222 !important;
}
body.single-post.ast-theme-transparent-header .custom-logo-link img,
body.single-post .custom-logo-link img {
    filter: none !important;
}
/* Single-post pages: force the search icon + language switcher dark from
   page load (same pattern as the menu-items above). Overrides line 1948–1950's
   white-on-transparent-header treatment so the icons remain readable against
   the solid white header bar we apply to single posts. */
body.single-post.ast-theme-transparent-header .ot-nav-search,
body.single-post.ast-theme-transparent-header .ot-nav-lang-toggle,
body.single-post .ot-nav-search,
body.single-post .ot-nav-lang-toggle {
    color: #222 !important;
}

/* ---- Right utilities (search, language switcher) ---- */
.ot-nav-utils {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 16px;
}
.ot-nav-search,
.ot-nav-lang-toggle {
    background: transparent;
    border: 1px solid transparent;
    padding: 8px 10px;
    border-radius: 8px;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ast-theme-transparent-header:not(.ot-header-sticky) .ot-nav-search,
.ast-theme-transparent-header:not(.ot-header-sticky) .ot-nav-lang-toggle {
    color: #fff;
}
.ot-nav-search:hover,
.ot-nav-lang-toggle:hover {
    background: rgba(220, 96, 16, 0.08);
    color: #DC6010;
}
.ot-header-sticky .ot-nav-search,
.ot-header-sticky .ot-nav-lang-toggle {
    color: #222;
}
.ot-nav-lang {
    position: relative;
}
.ot-nav-lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 160px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    list-style: none;
    margin: 0;
    padding: 8px;
    z-index: 10000;
    font-family: "Outfit", sans-serif;
}
.ot-nav-lang-menu li {
    margin: 0;
}
.ot-nav-lang-menu button,
.ot-nav-lang-menu a {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.ot-nav-lang-menu button:hover,
.ot-nav-lang-menu a:hover {
    background: rgba(40, 147, 204, 0.08);
    color: #2893CC;
}
.ot-nav-lang-menu a.is-active {
    background: rgba(220, 96, 16, 0.08);
    color: #DC6010;
    font-weight: 600;
}

/* ---- Simple 300px dropdowns (Why OrigenTech, Resources) ---- */
.ot-nav-dropdown {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #f3f4f6;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
    padding: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 9998;
    font-family: "Outfit", sans-serif;
}
.ot-nav-dropdown.ot-nav-dropdown-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.ot-nav-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ot-nav-dropdown-list li {
    opacity: 0;
    transform: translateX(-6px);
    animation: otDropdownStagger 0.3s ease forwards;
    animation-delay: calc(var(--i, 0) * 0.04s + 0.05s);
    margin: 0;
}
.ot-nav-dropdown:not(.ot-nav-dropdown-visible) .ot-nav-dropdown-list li {
    animation: none;
    opacity: 0;
}
@keyframes otDropdownStagger {
    to { opacity: 1; transform: translateX(0); }
}
.ot-nav-dropdown-list a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.ot-nav-dropdown-list a:hover {
    /* background: rgba(40, 147, 204, 0.08); */
    color: #2893CC;
    font-weight: 600;
}

/* ============================================================
   SECTION 6 — Mobile drawer (< 1280px) + backdrop + hamburger
   ============================================================ */
.ot-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid transparent;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    color: inherit;
    margin-left: 4px;
}
.ast-theme-transparent-header:not(.ot-header-sticky) .ot-mobile-toggle {
    color: #fff;
}
.ot-header-sticky .ot-mobile-toggle {
    color: #222;
}
.ot-mobile-toggle:hover {
    background: rgba(220, 96, 16, 0.08);
    color: #DC6010;
}

/* The drawer */
.ot-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 92vw;
    height: 100vh;
    background: #fff;
    z-index: 10001;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
    font-family: "Outfit", sans-serif;
}
.ot-mobile-drawer.is-open {
    transform: translateX(0);
}
.ot-mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}
.ot-mobile-drawer-head img {
    height: 32px;
    width: auto;
}
.ot-mobile-drawer-close {
    background: transparent;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #222;
    border-radius: 8px;
    transition: background 0.15s ease;
}
.ot-mobile-drawer-close:hover {
    background: #f3f4f6;
}
.ot-mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ot-mobile-link,
.ot-mobile-acc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: background 0.15s ease;
}
.ot-mobile-link:hover,
.ot-mobile-acc:hover {
    background: #f9fafb;
    color:#374151;
}
.ot-mobile-acc-chevron {
    transition: transform 0.25s ease;
    color: #6b7280;
    flex-shrink: 0;
}
.ot-mobile-acc.is-open .ot-mobile-acc-chevron {
    transform: rotate(180deg);
}
.ot-mobile-acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.ot-mobile-acc-panel.is-open {
    max-height: 1200px;
    padding: 4px 8px 12px;
}
.ot-mobile-cat-group {
    margin: 8px 0;
    padding: 8px 12px;
}
.ot-mobile-cat-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #DC6010;
    margin-bottom: 8px;
}
.ot-mobile-cat-list,
.ot-mobile-flat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ot-mobile-cat-list a,
.ot-mobile-flat-list a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}
.ot-mobile-cat-list a:hover,
.ot-mobile-flat-list a:hover {
    background: rgba(40, 147, 204, 0.08);
    color: #2893CC;
}
.ot-mobile-drawer-foot {
    border-top: 1px solid #f3f4f6;
    padding: 18px 20px;
    flex-shrink: 0;
    background: #fff;
}
.ot-mobile-cta {
    display: block;
    text-align: center;
    background: #DC6010;
    color: #fff !important;
    padding: 14px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(220, 96, 16, 0.28);
    transition: background 0.2s ease, transform 0.2s ease;
}
.ot-mobile-cta:hover {
    background: #c45410;
    transform: translateY(-1px);
}
.ot-mobile-langs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.ot-mobile-langs button {
    background: transparent;
    border: 1px solid #e5e7eb;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.15s ease;
}
.ot-mobile-langs button:hover {
    border-color: #2893CC;
    color: #2893CC;
}
.ot-mobile-langs button.is-active {
    background: #DC6010;
    border-color: #DC6010;
    color: #fff;
}

/* Backdrop */
.ot-mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(34, 34, 34, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10000;
}
.ot-mobile-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Scroll lock */
html.ot-no-scroll,
html.ot-no-scroll body {
    overflow: hidden !important;
}

/* Breakpoint switches */
@media (max-width: 1279px) {
    /* Astra hides #ast-desktop-header at mobile and shows #ast-mobile-header.
       We override that — keep #ast-desktop-header visible so our hamburger
       (which is injected into its right section) is reachable. */
    #ast-desktop-header {
        display: block !important;
    }
    #ast-mobile-header,
    .ast-mobile-header-wrap,
    .ast-mobile-menu-trigger-minimal,
    .ast-button-wrap.mobile-menu-wrap {
        display: none !important;
    }
    /* Header bar layout on mobile: logo (left) | space | hamburger (right) */
    .ast-primary-header-bar .site-primary-header-wrap,
    .ast-primary-header-bar .ast-builder-grid-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        grid-template-columns: unset !important;
        padding: 12px 16px !important;
    }
    .ast-primary-header-bar .site-header-primary-section-left,
    .ast-primary-header-bar .site-header-primary-section-center,
    .ast-primary-header-bar .site-header-primary-section-right {
        display: flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        width: auto !important;
    }
    /* Hide center (menu) and right utilities on mobile — show only the toggle */
    .ast-primary-header-bar .site-header-primary-section-center {
        display: none !important;
    }
    .ot-mobile-toggle {
        display: inline-flex !important;
    }
    /* Hide nav links, contact button, language switcher, search icon on mobile.
       Keep only the hamburger inside the right section.
       Astra wraps Contact Us in .ast-builder-button-wrap and the
       [origentech_lang_switcher] shortcode in .ast-header-html — hide both. */
    .ast-primary-header-bar .main-navigation,
    .ast-primary-header-bar .main-header-menu,
    .ast-header-button-1,
    .ast-primary-header-bar .ast-builder-button-wrap,
    .ast-primary-header-bar .ast-custom-button-link,
    .ast-primary-header-bar .ast-header-html,
    .ast-primary-header-bar .ast-builder-html-element,
    .ast-primary-header-bar .site-header-primary-section-right-center,
    .ot-nav-utils {
        display: none !important;
    }
    /* Hide desktop mega menu + dropdowns (don't render on mobile) */
    .ot-megamenu,
    .ot-nav-dropdown {
        display: none !important;
    }
    /* Logo size on tablet/mobile */
    .custom-logo-link img,
    .ast-site-identity .custom-logo-link img {
        max-width: 160px !important;
        width: 160px !important;
    }
}
@media (max-width: 544px) {
    .custom-logo-link img,
    .ast-site-identity .custom-logo-link img {
        max-width: 120px !important;
        width: 120px !important;
    }
}
@media (min-width: 1280px) {
    .ot-mobile-toggle,
    .ot-mobile-drawer,
    .ot-mobile-backdrop {
        display: none !important;
    }
}

/* ============================================================
   SECTION 7 — Mobile-only fine-tuning (hero scroll cue, etc.)
   ============================================================ */
@media (max-width: 768px) {
    /* The hero scroll-mouse animation is irrelevant on touch devices */
    .ot-scroll-indicator {
        display: none !important;
    }
}

/* ============================================================
   SECTION 17 — Custom Footer (extracted from inline styles)
   inc/custom-footer.html — Phase 1 of inline-style refactor.
   Class names mirror DOM role; rules preserve exact prior values.
   ============================================================ */
.ot-custom-footer {
    background: #222222;
    color: #9ca3af;
    padding: 80px 0 0;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}
.ot-foot-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}
.ot-foot-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
    text-align: left;
}
.ot-foot-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.ot-foot-col-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin: 0;
}
.ot-foot-col-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ot-foot-col-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.ot-foot-form-desc {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    color: #9ca3af;
}
.ot-foot-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ot-foot-form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 16px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.ot-foot-form-btn {
    width: 100%;
    background: #DC6010;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}
.ot-foot-form-btn-arrow {
    transition: transform 0.3s;
}
.ot-foot-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.ot-foot-copy {
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
}
.ot-foot-bottom-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.ot-foot-bottom-link {
    color: #6b7280;
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

/* Footer language switcher — sits on the bottom row before Privacy / Terms */
.ot-foot-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    margin-right: 4px;
}
.ot-foot-lang {
    color: #9ca3af;
    font-size: 12px;
    text-decoration: none;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}
.ot-foot-lang:hover {
    color: #fff;
}
.ot-foot-lang.is-active {
    color: #DC6010;
    font-weight: 700;
    background: rgba(220, 96, 16, 0.08);
}
/* "EN" badge — shown on the active language pill when the current page's
   content is still English (title carries [ES] / [PT-BR] prefix). Helps
   visitors understand they're seeing English under a non-English URL. */
.ot-foot-lang-badge {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 5px;
    background: rgba(255, 255, 255, 0.10);
    color: #d1d5db;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    vertical-align: middle;
    top: 0;
}
/* Header-toggle badge (rendered via megamenu.js into the .ot-nav-lang-label span). */
.ot-nav-lang-label-badge {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 5px;
    background: rgba(0, 0, 0, 0.10);
    color: #6b7280;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.05em;
    vertical-align: middle;
}
/* Footer: tablet — brand spans full width, link columns drop to 2-up */
@media (max-width: 1023px) {
    .ot-foot-inner {
        padding: 0 24px;
    }
    .ot-foot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 32px;
    }
    /* Brand card (first child) spans both columns as a centered banner */
    .ot-foot-grid > div:first-child {
        grid-column: 1 / -1;
    }
    .ot-foot-grid > div:first-child .ot-foot-card {
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    /* Existing rule preserved */
    .ot-foot-lang-switcher {
        border-right: 0;
        padding-right: 0;
        width: 100%;
        justify-content: center;
        margin-bottom: 4px;
    }
    /* Footer: mobile — single-column stack */
    .ot-foot-inner {
        padding: 0 20px;
    }
    .ot-foot-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 48px;
    }
    .ot-foot-grid > div:first-child .ot-foot-card {
        max-width: 100%;
    }
    /* Bottom bar stacks vertically + centers everything */
    .ot-foot-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    .ot-foot-copy {
        order: 3;  /* copyright drops to bottom row */
    }
    .ot-foot-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 20px;
    }
    .ot-foot-bottom-link {
        font-size: 12px;
    }
}

/* ============================================================
   SECTION 18 — Blog Hero (rendered on /blog/ via astra_content_before)
   ============================================================ */
.ot-blog-hero {
    background: #222222;
    padding: 64px 24px 56px;
    color: #fff;
    margin-bottom:20px;
}
/* Compensate for Astra's transparent header (position:absolute, ~80px tall) */
body.ast-theme-transparent-header .ot-blog-hero {
    padding-top: 144px;
}
.ot-blog-hero-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}
.ot-blog-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(32px, 4.2vw, 48px);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin: 0 0 14px;
    color: #fff;
}
.ot-blog-hero-subtitle {
    color: #b0b0b0;
    font-size: 17px;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 28px;
}
.ot-blog-hero-search {
    display: flex;
    gap: 8px;
    max-width: 520px;
    margin: 0 auto 24px;
}
.ot-blog-hero-search-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 15px;
    outline: none;
}
.ot-blog-hero-search-input::placeholder {
    color: #9ca3af;
}
.ot-blog-hero-search-input:focus {
    border-color: #DC6010;
}
.ot-blog-hero-search-btn {
    padding: 0 22px;
    background: #DC6010;
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s;
}
.ot-blog-hero-search-btn:hover {
    background: #c45410;
}
.ot-blog-hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}
.ot-blog-hero-chip {
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #cfcfcf;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.ot-blog-hero-chip:hover,
.ot-blog-hero-chip.is-active {
    background: #DC6010;
    color: #fff;
}
.ot-blog-hero-chip-count {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    vertical-align: 1px;
}
.ot-blog-hero-chip:hover .ot-blog-hero-chip-count,
.ot-blog-hero-chip.is-active .ot-blog-hero-chip-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}
@media (max-width: 640px) {
    .ot-blog-hero {
        padding: 48px 20px 40px;
    }
    body.ast-theme-transparent-header .ot-blog-hero {
        padding-top: 120px;
    }
    .ot-blog-hero-search {
        flex-direction: column;
    }
    .ot-blog-hero-search-btn {
        padding: 12px 22px;
    }
}

/* ============================================================
   SECTION 19 — Case Studies List ([ot_case_studies] shortcode)
   ============================================================ */
.ot-cases-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px 96px;
    font-family: 'Outfit', sans-serif;
    color: #1f2937;
}
.ot-cases-list-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 36px;
}
.ot-cases-list-search {
    flex: 1 1 280px;
    max-width: 360px;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #1f2937;
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s;
}
.ot-cases-list-search::placeholder {
    color: #9ca3af;
}
.ot-cases-list-search:focus {
    border-color: #DC6010;
}
.ot-cases-list-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ot-cases-list-chip {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ot-cases-list-chip:hover {
    border-color: #DC6010;
    color: #DC6010;
}
.ot-cases-list-chip.is-active {
    background: #DC6010;
    border-color: #DC6010;
    color: #fff;
}
.ot-cases-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ot-cases-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.15s, box-shadow 0.15s;
}
.ot-cases-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.ot-cases-card-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef0f3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
}
.ot-cases-card-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}
.ot-cases-card-pill {
    align-self: flex-start;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(220, 96, 16, 0.1);
    color: #DC6010;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.ot-cases-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
}
.ot-cases-card-title a {
    color: inherit;
    text-decoration: none;
}
.ot-cases-card-title a:hover {
    color: #DC6010;
}
.ot-cases-card-excerpt {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ot-cases-card-link {
    margin-top: auto;
    color: #DC6010;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.ot-cases-card-link:hover {
    /* hover affordance handled by color/transform on the parent card; no underline */
}
.ot-cases-list-empty {
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    margin: 48px 0 0;
}
@media (max-width: 960px) {
    .ot-cases-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .ot-cases-list {
        padding: 48px 20px 64px;
    }
    .ot-cases-list-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .ot-cases-list-search {
        max-width: none;
    }
    .ot-cases-list-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   SECTION 20 — Case Studies redesign
   Stats row, featured spotlight, region-tinted card borders,
   and the single case-study hero variant.
   ============================================================ */

/* Stats counter row — sits above the toolbar */
.ot-cases-list-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0 0 40px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}
.ot-cases-stat {
    text-align: center;
    padding: 8px 6px;
    border-right: 1px solid #f3f4f6;
}
.ot-cases-stat:last-child {
    border-right: 0;
}
.ot-cases-stat-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #DC6010;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-family: 'Outfit', sans-serif;
}
.ot-cases-stat-label {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* Card upgrade — region-tinted top border + bigger pill + larger title */
.ot-cases-card {
    border-top: 3px solid #DC6010;
}
.ot-cases-card[data-regions~="argentina"]     { border-top-color: #4F8EF7; }
.ot-cases-card[data-regions~="brazil"]        { border-top-color: #2BA66A; }
.ot-cases-card[data-regions~="chile"]         { border-top-color: #E4544D; }
.ot-cases-card[data-regions~="mexico"]        { border-top-color: #8E63D8; }
.ot-cases-card[data-regions~="panama"]        { border-top-color: #2D9CB6; }
.ot-cases-card[data-regions~="peru"]          { border-top-color: #E89B27; }
.ot-cases-card[data-regions~="vietnam"]       { border-top-color: #B83CA0; }
.ot-cases-card[data-regions~="latin-america"] { border-top-color: #DC6010; }
.ot-cases-card-pill {
    font-size: 12px;
    padding: 6px 14px;
}
.ot-cases-card-title {
    font-size: 20px;
}

/* Featured spotlight card — full-width row at the top of the grid */
.ot-cases-card.is-featured {
    grid-column: 1 / -1;
    background: #fff;
    padding: 32px 36px;
    gap: 18px;
    border-top-width: 4px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}
.ot-cases-card-flag {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 4px;
}
.ot-cases-card.is-featured .ot-cases-card-title {
    font-size: 28px;
    line-height: 1.2;
}
.ot-cases-card.is-featured .ot-cases-card-excerpt {
    -webkit-line-clamp: unset;
    font-size: 15px;
    max-width: 760px;
}
.ot-cases-card.is-featured .ot-cases-card-link {
    font-size: 15px;
}

/* Single case-study hero variant — reuses .ot-blog-hero base */
.ot-case-single-hero .ot-case-single-hero-eyebrow {
    margin: 0 0 16px;
}
.ot-case-single-hero-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(220, 96, 16, 0.18);
    color: #ffd9bd;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.ot-case-single-hero[data-region="argentina"]     .ot-case-single-hero-pill { background: rgba(79, 142, 247, 0.22); color: #c8dcff; }
.ot-case-single-hero[data-region="brazil"]        .ot-case-single-hero-pill { background: rgba(43, 166, 106, 0.22); color: #b8e6cd; }
.ot-case-single-hero[data-region="chile"]         .ot-case-single-hero-pill { background: rgba(228, 84, 77, 0.22); color: #f4c4c0; }
.ot-case-single-hero[data-region="mexico"]        .ot-case-single-hero-pill { background: rgba(142, 99, 216, 0.22); color: #d6c5f0; }
.ot-case-single-hero[data-region="panama"]        .ot-case-single-hero-pill { background: rgba(45, 156, 182, 0.22); color: #b8e0e9; }
.ot-case-single-hero[data-region="peru"]          .ot-case-single-hero-pill { background: rgba(232, 155, 39, 0.22); color: #f4d6a8; }
.ot-case-single-hero[data-region="vietnam"]       .ot-case-single-hero-pill { background: rgba(184, 60, 160, 0.22); color: #ecc1e2; }
.ot-case-single-hero[data-region="latin-america"] .ot-case-single-hero-pill { background: rgba(220, 96, 16, 0.18); color: #ffd9bd; }

/* Single case-study back-link bar (rendered via astra_content_after) */
.ot-case-back {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    padding: 28px 24px;
}
.ot-case-back-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.ot-case-back-link {
    color: #2893CC;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
}
.ot-case-back-link:hover {
    color: #DC6010;
    /* no underline; hover affordance is the color shift */
}

/* Stats responsive */
@media (max-width: 960px) {
    .ot-cases-list-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    .ot-cases-stat:nth-child(2) { border-right: 0; }
    .ot-cases-stat:nth-child(1),
    .ot-cases-stat:nth-child(2) { border-bottom: 1px solid #f3f4f6; padding-bottom: 16px; }
    .ot-cases-stat:nth-child(3),
    .ot-cases-stat:nth-child(4) { padding-top: 16px; }
    .ot-cases-card.is-featured .ot-cases-card-title { font-size: 24px; }
}
@media (max-width: 640px) {
    .ot-cases-list-stats {
        grid-template-columns: 1fr;
        padding: 16px;
    }
    .ot-cases-stat {
        border-right: 0;
        border-bottom: 1px solid #f3f4f6;
        padding: 12px 0;
    }
    .ot-cases-stat:last-child { border-bottom: 0; }
    .ot-cases-stat-num { font-size: 28px; }
    .ot-cases-card.is-featured {
        padding: 24px 20px;
    }
    .ot-cases-card.is-featured .ot-cases-card-title { font-size: 22px; }
}

/* ============================================================
   SECTION 21 — Credibility cards: increase padding on hover
   (Home page — "A Trusted SAP Partner" / 4-card 2x2 grid.)
   The cards already carry an inline `transition: all 0.3s`, so this
   change animates smoothly. !important is required to override the
   inline `padding:28px` style.
   ============================================================ */
.ot-cred-card:hover {
    padding: 36px !important;
}

/* ============================================================
   SECTION 22 — About hero (extracted from inline styles)
   /about/ page — cover with pill, heading, italic quote.
   Quote was previously left-bordered/left-aligned; now centered.
   ============================================================ */
.ot-about-hero-pill-wrap {
    text-align: center;
    margin-bottom: 32px;
}
.ot-about-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(40, 147, 204, 0.18);
    border: 1px solid rgba(40, 147, 204, 0.3);
    border-radius: 999px;
    padding: 6px 16px;
    margin: 0 auto 32px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.ot-about-hero-quote {
    max-width: 720px;
    margin: 48px auto 0;
    padding: 8px 16px;
    font-style: italic;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    font-family: 'Outfit', sans-serif;
    text-align: center;
}

/* ============================================================
   SECTION 23 — Video lightbox (play-button trigger overlay)
   Used on greenfield, sap-drc, drc-partners, solaas, country-solutions.
   Single overlay rendered once via wp_footer; triggered by clicking
   any element carrying .ot-video-trigger + data-video="<iframe url>".
   ============================================================ */
.ot-video-trigger {
    cursor: pointer;
}
.ot-video-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.ot-video-lightbox.is-open {
    display: flex;
}
.ot-video-lightbox-frame {
    position: relative;
    width: min(960px, 100%);
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.ot-video-lightbox-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.ot-video-lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.ot-video-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.24);
}
body.ot-video-open {
    overflow: hidden;
}

/* ============================================================
   SECTION 24 — Migration "Benefits of Initial Assessment"
   2-col grid: 6 dark cards + orange checks on the left,
   image + full-width orange CTA on the right.
   Lives inside the existing wp:cover (brand-dark + image bg).
   ============================================================ */
.ot-mig-benefits-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}
.ot-mig-benefits-heading {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 32px;
}
.ot-mig-benefits-accent {
    color: #DC6010;
    font-style: italic;
}
.ot-mig-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: 'Outfit', sans-serif;
}
.ot-mig-benefits-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px 22px;
    transition: background 0.2s, border-color 0.2s;
}
.ot-mig-benefits-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(220, 96, 16, 0.4);
}
.ot-mig-benefits-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #DC6010;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.ot-mig-benefits-icon svg {
    width: 14px;
    height: 14px;
}
.ot-mig-benefits-text {
    color: #fff;
    font-size: 15px;
    line-height: 1.55;
}
.ot-mig-cta-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ot-mig-cta-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}
.ot-mig-cta-image img {
    display: block;
    width: 100%;
    height: auto;
}
.ot-mig-cta-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(34, 34, 34, 0.2) 0%, rgba(34, 34, 34, 0.55) 100%);
    pointer-events: none;
}
.ot-mig-cta-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: #DC6010;
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 18px 28px;
    border-radius: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 10px 24px rgba(220, 96, 16, 0.35);
}
.ot-mig-cta-button:hover {
    background: #c45410;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(220, 96, 16, 0.45);
}
@media (max-width: 960px) {
    .ot-mig-benefits-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
@media (max-width: 640px) {
    .ot-mig-benefits-card {
        padding: 16px 18px;
        gap: 14px;
    }
    .ot-mig-benefits-text {
        font-size: 14px;
    }
}

/* ============================================================
   SECTION 25 — Remove all link/button underlines, site-wide
   Overrides Astra's body-content underline + browser UA defaults.
   Hover/focus/active/visited states are explicitly covered too.
   ============================================================ */
a,
a:link,
a:visited,
a:hover,
a:focus,
a:active,
button,
button:hover,
button:focus,
.wp-element-button,
.wp-block-button__link {
    text-decoration: none !important;
}

/* ============================================================
   SECTION 26 — IMMEX program band (country-solutions page)
   Flat brand-blue band with left-aligned title/subtitle and a
   right-aligned white "Know More" button.
   ============================================================ */
.ot-immex-band {
    background: #2893CC;
    padding: 56px 24px;
}
.ot-immex-band-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.ot-immex-band-text {
    flex: 1 1 480px;
    color: #fff;
}
.ot-immex-band-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 14px;
    color: #fff;
}
.ot-immex-band-subtitle {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    font-family: 'Outfit', sans-serif;
}
.ot-immex-band-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #2893CC;
    padding: 16px 32px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.15s, box-shadow 0.15s;
}
.ot-immex-band-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}
.ot-immex-band-btn svg {
    width: 20px;
    height: 20px;
}
@media (max-width: 640px) {
    .ot-immex-band {
        padding: 40px 20px;
    }
    .ot-immex-band-inner {
        gap: 24px;
    }
    .ot-immex-band-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}

/* ============================================================
   SECTION 27 — Touch-device fallback for .ot-wwd-card
   Forces the white/expanded state on devices without hover so
   visitors can read each card's body + CTA without tapping.
   Desktop (hover-capable) behavior stays unchanged.
   ============================================================ */
@media (hover: none) {
    .ot-wwd-card .ot-wwd-bg {
        opacity: 0;
    }
    .ot-wwd-card .ot-wwd-overlay {
        opacity: 0;
    }
    .ot-wwd-card .ot-wwd-text-wrap {
        transform: translateY(0);
    }
    .ot-wwd-card .ot-wwd-title {
        font-size: 20px;
        color: #222;
        margin-bottom: 16px;
    }
    .ot-wwd-card .ot-wwd-desc {
        opacity: 1;
    }
    .ot-wwd-card .ot-wwd-link a {
        color: #2893CC;
    }
}

/* ============================================================
   SECTION 28 — Six Business Risks (dark redesign)
   /country-solutions/ page — replaces the old gray-50 light layout.
   Dark full-bleed section, eyebrow + heading top, 2-col grid below
   (5 italic bullets left, 6 risk cards 2x3 right), closing banner.
   ============================================================ */
.ot-risks-section {
    background: #1a1a1a;
    color: #fff;
    padding: 96px 24px;
}
.ot-risks-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.ot-risks-eyebrow {
    text-align: center;
    color: #DC6010;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}
.ot-risks-heading {
    text-align: center;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin: 16px auto 0;
    max-width: 1000px;
}
.ot-risks-accent {
    color: #DC6010;
    font-style: italic;
}
.ot-risks-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    margin: 64px 0 0;
    align-items: start;
}
.ot-risks-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    font-family: 'Outfit', sans-serif;
}
.ot-risks-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.65;
    font-style: italic;
}
.ot-risks-list li::before {
    content: "";
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #DC6010;
    margin-top: 7px;
}
.ot-risks-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    font-family: 'Outfit', sans-serif;
}
.ot-risks-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 22px;
    transition: background 0.2s, border-color 0.2s;
}
.ot-risks-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(220, 96, 16, 0.4);
}
.ot-risks-card-icon {
    width: 28px;
    height: 28px;
    color: #DC6010;
    margin-bottom: 12px;
}
.ot-risks-card-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}
.ot-risks-card-title {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}
.ot-risks-card-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}
.ot-risks-banner {
    margin: 48px 0 0;
    padding: 36px 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Outfit', sans-serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.7;
    text-align: center;
}
.ot-risks-banner strong {
    color: #DC6010;
    font-weight: 700;
    font-style: italic;
}
@media (max-width: 960px) {
    .ot-risks-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
@media (max-width: 640px) {
    .ot-risks-section {
        padding: 64px 20px;
    }
    .ot-risks-cards {
        grid-template-columns: 1fr;
    }
    .ot-risks-banner {
        padding: 24px;
        font-size: 15px;
    }
}

/* ============================================================
   SECTION 29 — Risk Radar (light theme)
   /country-solutions/ Section 5 — "Meet the Risks" radar chart.
   Pulls inline frosted-glass dark styles into reusable classes
   for a clean white panel + chart.js with dark grid/labels.
   ============================================================ */
.ot-radar-card {
    max-width: 900px;
    margin: 48px auto 0;
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    font-family: 'Outfit', sans-serif;
}
.ot-radar-toggles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}
.ot-radar-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid currentColor;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    opacity: 0.5;
    transition: opacity 0.15s, background 0.15s;
}
.ot-radar-toggle .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}
.ot-radar-toggle[data-series="0"] { color: #3b82f6; }
.ot-radar-toggle[data-series="1"] { color: #f97316; }
.ot-radar-toggle[data-series="2"] { color: #6b7280; }
.ot-radar-toggle.is-active {
    opacity: 1;
}
.ot-radar-toggle[data-series="0"].is-active { background: rgba(59, 130, 246, 0.10); }
.ot-radar-toggle[data-series="1"].is-active { background: rgba(249, 115, 22, 0.10); }
.ot-radar-toggle[data-series="2"].is-active { background: rgba(107, 114, 128, 0.10); }
.ot-radar-canvas-wrap {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
}
@media (max-width: 640px) {
    .ot-radar-card {
        padding: 24px;
        border-radius: 24px;
    }
    .ot-radar-toggle {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ============================================================
   SECTION 30 — Comprehensive Rollout Services (dark)
   /sap-consulting/ — 9-card service grid, dark theme.
   Per-card glyph color via inline style="color:#XXX" on the icon.
   ============================================================ */
.ot-services-section {
    background: #1a1a1a;
    color: #fff;
    padding: 96px 24px;
}
.ot-services-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.ot-services-eyebrow {
    text-align: center;
    color: #DC6010;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}
.ot-services-heading {
    text-align: center;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin: 16px auto 0;
    max-width: 900px;
}
.ot-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 48px 0 0;
    font-family: 'Outfit', sans-serif;
}
.ot-services-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px;
    transition: background 0.2s, border-color 0.2s;
}
.ot-services-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(220, 96, 16, 0.4);
}
.ot-services-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.ot-services-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
}
.ot-services-card-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.25;
}
.ot-services-card-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 960px) {
    .ot-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .ot-services-section {
        padding: 64px 20px;
    }
    .ot-services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .ot-services-card {
        padding: 22px;
    }
}

/* ============================================================
   SECTION 31 — SAP DRC countries map (under the country grid)
   /sap-drc/ — centered figure with rounded corners + soft shadow.
   ============================================================ */
.ot-drc-map {
    max-width: 960px;
    margin: 48px auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.ot-drc-map img {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================================================
   SECTION 32 — Gradient text rescue
   wp_update_post + KSES strips `-webkit-background-clip`,
   `background-clip` and `-webkit-text-fill-color` from inline styles
   when synced blocks are saved. This rule re-applies the gradient
   text effect to any heading <span> that still carries an inline
   `background:linear-gradient(...)` style (used on the hero h1 of
   /nearshores-ams/, etc.).
   ============================================================ */
.wp-block-heading span[style*="linear-gradient"],
h1 span[style*="linear-gradient"],
h2 span[style*="linear-gradient"] {
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* ============================================================
   SECTION 33 — Why Nearshore SAP AMS (4-up grid override)
   /nearshores-ams/ — same .ot-wwd-card hover-flip pattern as
   home Integrated Solutions / sap-consulting Key Benefits /
   country-solutions GTS cards. Only the column count differs:
   4 cards in a single row on desktop, 2×2 on tablet, 1-col mobile.
   ============================================================ */
.ot-wwd-grid.ot-wwd-grid--4up {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .ot-wwd-grid.ot-wwd-grid--4up { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .ot-wwd-grid.ot-wwd-grid--4up { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 34 — Partner band (dark)
   /nearshores-ams/ — "Origen Tech: Your Best Nearshore SAP AMS Partner".
   Dark full-bleed band, two-column body: quote card (left) + 6 feature
   cards in 2x3 grid (right). All inline styles dropped.
   ============================================================ */
.ot-partner-section {
    background: #0d0d0d;
    color: #fff;
    padding: 96px 24px;
    font-family: 'Outfit', sans-serif;
}
.ot-partner-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.ot-partner-eyebrow {
    text-align: center;
    color: #DC6010;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
}
.ot-partner-heading {
    text-align: center;
    color: #fff;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin: 16px auto 0;
    max-width: 900px;
}
.ot-partner-body {
    display: flex;
    gap: 32px;
    margin-top: 64px;
    align-items: stretch;
    flex-wrap: wrap;
}
.ot-partner-quote {
    flex: 5 1 360px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}
.ot-partner-quote-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #DC6010;
    color: #DC6010;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ot-partner-quote-text {
    font-style: italic;
    color: rgba(255, 255, 255, 0.72);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}
.ot-partner-grid {
    flex: 7 1 480px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.ot-partner-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 28px;
    transition: background 0.2s, border-color 0.2s;
}
.ot-partner-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(220, 96, 16, 0.4);
}
.ot-partner-card-title {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.3;
    transition: color 0.2s;
}
.ot-partner-card:hover .ot-partner-card-title {
    color: #DC6010;
}
.ot-partner-card-body {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}
@media (max-width: 960px) {
    .ot-partner-body { flex-direction: column; }
}
@media (max-width: 560px) {
    .ot-partner-section { padding: 64px 20px; }
    .ot-partner-grid { grid-template-columns: 1fr; }
    .ot-partner-quote,
    .ot-partner-card { padding: 22px; }
}
/* Touch fallback: show the orange-on-hover title state by default. */
@media (hover: none) {
    .ot-partner-card-title { color: #DC6010; }
}

/* ============================================================
   SECTION 35 — Single case study layout
   /case-study/<slug>/ — when _ot_hero_image meta is set we render
   a dark cover hero; otherwise the existing flat .ot-case-single-hero
   band still applies. The body is wrapped in a 2-col grid:
   metadata sidebar (left) + body sections (right).
   ============================================================ */

/* Full-bleed: break out of Astra's `.site` narrow-container constraint
   so the single case-study hero spans the entire viewport width. */
.ot-case-single-hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Hero (cover variant — only applied when the post has _ot_hero_image meta) */
.ot-case-single-hero--cover {
    position: relative;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}
.ot-case-single-hero--cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.78);
    z-index: 0;
}
.ot-case-single-hero--cover .ot-blog-hero-inner {
    position: relative;
    z-index: 1;
    padding: 96px 24px;
    max-width: 1180px;
    margin: 0 auto;
}
.ot-case-single-hero--cover .ot-case-single-hero-pill {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
}
.ot-case-single-hero--cover .ot-blog-hero-title { color: #fff; }
.ot-case-single-hero--cover .ot-blog-hero-subtitle { color: rgba(255, 255, 255, 0.85); }

.ot-case-single-hero-logo {
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    margin: 0 0 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.ot-case-single-hero-logo img {
    display: block;
    max-height: 36px;
    width: auto;
}
/* Branded variant: when a logo card color is set, the card adopts that color
   and the logo image is filter-whitened so it reads cleanly on the brand bg. */
.ot-case-single-hero-logo--branded {
    padding: 18px 26px;
}
.ot-case-single-hero-logo--branded img {
    filter: brightness(0) invert(1);
    max-height: 40px;
}
/* Featured-image variant: drop the card frame entirely and let the uploaded
   image (presumed pre-branded) stand on its own. */
.ot-case-single-hero-logo--featured {
    background: transparent;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
}
.ot-case-single-hero-logo--featured img {
    max-height: 72px;
    display: block;
}

/* 2-col body wrapper (sidebar + main) */
.ot-case-body-wrap {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    max-width: 1180px;
    margin: 64px auto;
    padding: 0 24px;
    font-family: 'Outfit', sans-serif;
}

/* Metadata sidebar */
.ot-case-meta {
    background: #fafafa;
    border: 1px solid #eef0f3;
    border-radius: 18px;
    padding: 24px;
    align-self: start;
    position: sticky;
    top: 96px;
}
.ot-case-meta-logo {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 16px;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}
.ot-case-meta-logo img {
    max-width: 100%;
    max-height: 56px;
    height: auto;
    display: block;
}
/* Branded variant — same shape, brand-blue (or other) background, white logo. */
.ot-case-meta-logo--branded {
    border: 0;
    padding: 22px;
    min-height: 100px;
}
.ot-case-meta-logo--branded img {
    filter: brightness(0) invert(1);
    max-height: 64px;
}
/* Featured-image variant — bare image, no card frame. */
.ot-case-meta-logo--featured {
    background: transparent;
    border: 0;
    padding: 0;
    min-height: 0;
    border-radius: 10px;
    overflow: hidden;
}
.ot-case-meta-logo--featured img {
    max-height: 110px;
    width: auto;
}
.ot-case-meta-row {
    padding: 14px 0;
    border-top: 1px solid #eef0f3;
}
.ot-case-meta-row:first-of-type {
    border-top: 0;
    padding-top: 0;
}
.ot-case-meta-label {
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.12em;
    color: #6b7280;
    font-weight: 700;
    margin: 0 0 4px;
}
.ot-case-meta-value {
    display: block;
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.45;
}

/* Body column */
.ot-case-body {
    font-family: 'Outfit', sans-serif;
    color: #1a1a1a;
}
.ot-case-body h2 {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 40px 0 16px;
    position: relative;
    padding-left: 16px;
    line-height: 1.25;
}
.ot-case-body h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: #DC6010;
    border-radius: 2px;
}
.ot-case-body h2:first-child {
    margin-top: 0;
}
.ot-case-body p {
    font-size: 16px;
    line-height: 1.75;
    color: #374151;
    margin: 0 0 18px;
}

@media (max-width: 960px) {
    .ot-case-body-wrap {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ot-case-meta {
        position: static;
    }
    .ot-case-single-hero--cover .ot-blog-hero-inner {
        padding: 72px 20px;
    }
}

/* Hide Astra's default "By <author> / <date>" byline on single case-study
   pages. The byline still appears on /blog/<slug>/ and other single posts.
   Structured-data itemprops stay in the DOM — only visually hidden. */
body.single-ot_casestudy .entry-meta {
    display: none;
}

/* ============================================================
   SECTION 36 — Single blog post hero
   /<slug>/ (post_type=post) — Featured Image as a dark cover with
   category pill + date overlaid. Falls back to a flat #1a1a1a band
   when no Featured Image is set.
   ============================================================ */
.ot-single-post-hero {
    background: #1a1a1a;
    color: #fff;
    padding: 96px 24px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    /* Full-bleed: break out of Astra's `.site` narrow-container constraint
       so the hero spans the entire viewport width. */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    /* 75vh cover treatment — matches /country-solutions/ and /nearshores-ams/.
       Flex centers the .ot-blog-hero-inner vertically within the cover. */
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ot-single-post-hero--cover {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.ot-single-post-hero--cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.72);
    z-index: 0;
}
.ot-single-post-hero .ot-blog-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}
.ot-single-post-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    margin: 0;
}
.ot-single-post-hero-pill {
    background: rgba(220, 96, 16, 0.16);
    border: 1px solid rgba(220, 96, 16, 0.5);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.12em;
}
.ot-single-post-hero-date {
    display: inline-flex;
    align-items: center;
}
.ot-single-post-hero-date::before {
    content: "·";
    margin-right: 12px;
    color: rgba(255, 255, 255, 0.5);
}
.ot-single-post-hero .ot-blog-hero-title {
    font-size: clamp(28px, 4vw, 48px);
    color: #fff;
    font-weight: 800;
    margin: 16px 0 0;
    line-height: 1.18;
}

/* Hide Astra's inline featured-image block on single posts (banner already
   shows it in the hero) and the now-redundant .entry-meta byline. */
body.single-post .wp-block-post-featured-image,
body.single-post .entry-meta {
    display: none;
}

@media (max-width: 640px) {
    .ot-single-post-hero {
        padding: 72px 20px;
        min-height: 60vh;
    }
}

/* ============================================================
   SECTION 38 — Single blog post (magazine / editorial layout)
   /<slug>/ (post_type=post). Replaces all prior `.ot-blog-*` rules.
   Composed of: article strip (back link / share / read time),
   intro lede, auto-generated TOC, full-bleed body with orange-rail
   H2s, related-posts strip, tail back link.
   ============================================================ */

/* Site-wide: override Astra's narrow-container CSS-custom-properties from
   750px → 100%. Applies to every page that carries the .ast-narrow-container
   body class (which Astra adds by default). Removes the hard cap so block-
   editor `align: wide` items + default content paragraphs fill the viewport.
   Synced blocks with their own inline max-width containers (e.g., the
   1280px shells in #169 Hero, #325 Contact Us, #303 Country Solutions) are
   unaffected — their inline styles still win. */
.ast-narrow-container {
    --wp--custom--ast-content-width-size: 100%;
    --wp--custom--ast-wide-width-size: 100%;
}

/* Full-width overrides on single blog posts.
   Astra applies several classes that constrain content width and add card
   styling: `ast-narrow-container` (max-width cap), `ast-separate-container`
   (white card with margin + padding around the entry), and the inner
   `#primary` carrying its own width when sidebars are present. We override
   all of these so the article wrap reaches the viewport edges. The
   `ast-no-sidebar` class is already on `<body>` (Astra customizer setting),
   so the sidebar element is not in the DOM. */
body.single-post .ast-container,
body.single-post.ast-narrow-container .ast-container,
body.single-post.ast-separate-container .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.single-post #primary,
body.single-post .ast-row,
body.single-post #main,
body.single-post .ast-article-single,
body.single-post .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Neutralize Astra's `ast-separate-container` card chrome on single posts
   (background tint, border-radius, box-shadow on the article wrapper). The
   article already brings its own typographic scaffolding. */
body.single-post.ast-separate-container .ast-article-single,
body.single-post.ast-separate-container #primary {
    background: transparent;
    box-shadow: none;
    border: 0;
}

/* Insurance: keep the body area background white on single posts so the
   article reads on a clean canvas regardless of Astra layout container. */
body.single-post,
body.single-post #content,
body.single-post .ast-container,
body.single-post .site-content,
body.single-post .entry-content {
    background-color: #fff;
}

/* If a sidebar widget area (#secondary) somehow renders on a single post,
   keep it hidden — full-width article only. */
body.single-post #secondary {
    display: none !important;
}

/* Article wrap — full-bleed with comfortable side padding */
.ot-article {
    max-width: 100%;
    margin: 56px 0 96px;
    padding: 0 32px;
    font-family: 'Outfit', sans-serif;
}

/* Strip directly under the hero — back link / share / read time */
.ot-article-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto 40px;
    padding: 14px 20px;
    background: #fafafa;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    flex-wrap: wrap;
}
.ot-article-back {
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s;
}
.ot-article-back:hover {
    color: #DC6010;
}
.ot-article-share {
    display: inline-flex;
    gap: 10px;
}
.ot-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s, transform 0.15s;
}
.ot-share-btn:hover {
    color: #DC6010;
    border-color: #DC6010;
    transform: translateY(-1px);
}
.ot-share-btn svg {
    width: 16px;
    height: 16px;
}
.ot-share-copy[data-state="ok"] {
    color: #89B922;
    border-color: #89B922;
}
.ot-article-readtime {
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
}

/* Lede paragraph — first <p> auto-extracted from post_content */
.ot-article-lede {
    font-size: 22px;
    line-height: 1.6;
    color: #1a1a1a;
    font-weight: 400;
    margin: 0 auto 32px;
    max-width: 880px;
}
.ot-article-lede a {
    color: #DC6010;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* TOC card — "On this page" auto-generated from H2s */
.ot-article-toc {
    max-width: 880px;
    margin: 0 auto 40px;
    background: #fafafa;
    border-left: 4px solid #DC6010;
    border-radius: 0 12px 12px 0;
    padding: 18px 22px;
}
.ot-article-toc-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
    font-weight: 700;
    margin: 0 0 8px;
}
.ot-article-toc-list {
    margin: 0;
    padding-left: 20px;
    color: #1a1a1a;
}
.ot-article-toc-list li {
    margin: 4px 0;
}
.ot-article-toc-list a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}
.ot-article-toc-list a:hover {
    color: #DC6010;
}
.ot-article-toc-list li.ot-toc-h3 {
    margin-left: 18px;
    list-style-type: disc;
}
.ot-article-toc-list li.ot-toc-h3 > a {
    font-weight: 400;
    color: #475569;
    font-size: 14.5px;
}
.ot-article-toc-list li.ot-toc-h3 > a:hover {
    color: #DC6010;
}

/* Body — full-bleed via .ot-article wrap; reading column kept at ~880px
   for comfortable line lengths (~100 chars at 17px Outfit). */
.ot-article-body {
    max-width: 100%;
    color: #1a1a1a;
}
.ot-article-body > * {
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

/* H3 — secondary section header, lighter accent than h2 */
.ot-article-body h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 40px auto 12px;
    padding-left: 14px;
    position: relative;
    line-height: 1.3;
    max-width: 880px;
}
.ot-article-body h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: #2893CC;  /* brand blue, smaller-scale accent vs h2's orange */
    border-radius: 2px;
}

/* H4 — sub-section header, no rail, lighter weight */
.ot-article-body h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 32px auto 10px;
    line-height: 1.35;
    max-width: 880px;
}

/* Normalize WordPress block-spacer divs imported from Elementor-/block-editor-
   produced content. They use rigid inline heights (14px / 15px / 16px / 32px)
   that don't scale with the column width. Replace with a consistent 16px
   margin and zero rendered height so adjacent paragraph margins handle the
   real rhythm. */
.ot-article-body .wp-block-spacer {
    display: block;
    height: 0 !important;
    margin: 16px auto;
    max-width: 880px;
}

/* Responsive related-posts grid: 3 cols desktop / 2 cols tablet / 1 col mobile */
@media (max-width: 1023px) {
    .ot-article-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 640px) {
    .ot-article-related-grid {
        grid-template-columns: 1fr !important;
    }
}
.ot-article-body h2 {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 48px auto 16px;
    padding-left: 16px;
    position: relative;
    line-height: 1.25;
    scroll-margin-top: 100px;
}
.ot-article-body h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: #DC6010;
    border-radius: 2px;
}
.ot-article-body h2:first-child {
    margin-top: 0;
}
.ot-article-body p {
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
    margin: 0 auto 20px;
}
.ot-article-body a {
    color: #DC6010;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ot-article-body a:hover {
    color: #b54d0c;
}
.ot-article-body ul,
.ot-article-body ol {
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
    margin: 0 auto 20px;
    padding-left: 24px;
}
.ot-article-body ul {
    list-style: disc;
}

/* Related-posts strip */
.ot-article-related {
    max-width: 1180px;
    margin: 80px auto 0;
    padding-top: 48px;
    border-top: 1px solid #eef0f3;
}
.ot-article-related-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
    font-weight: 700;
    margin: 0 0 24px;
}
.ot-article-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ot-article-related-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 20px;
    text-decoration: none;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.15s, box-shadow 0.15s;
}
.ot-article-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.ot-article-related-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    background: #f3f4f6;
    overflow: hidden;
}
.ot-article-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ot-article-related-date {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
}
.ot-article-related-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.35;
}
.ot-article-related-link {
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    color: #DC6010;
}

/* Tail back link */
.ot-article-tail {
    text-align: center;
    margin: 64px 0 0;
}

@media (max-width: 800px) {
    .ot-article {
        padding: 0 20px;
        margin: 32px 0 64px;
    }
    .ot-article-strip {
        padding: 12px 14px;
        gap: 14px;
    }
    .ot-article-lede {
        font-size: 19px;
    }
    .ot-article-body p,
    .ot-article-body ul,
    .ot-article-body ol {
        font-size: 16px;
        line-height: 1.75;
    }
    .ot-article-related-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   SECTION 39 — /solaas/ Why Origen Tech page
   Reuses .ot-services-section (dark cards grid), .ot-risks-section
   (dark band with bullets), and .ot-wwd-grid--4up (hover-flip cards)
   from earlier sections. Adds only:
     - .ot-why-who           — light section wrapper for "Who We Are"
     - .ot-why-cap-grid/card — 5-up capability cards
     - .ot-services-grid--2x2 — modifier so the existing dark-card grid
                                lays out as 2x2 instead of 3x3
     - .ot-why-commit        — light section wrapper for "Our Commitments"
     - .ot-why-stats         — small offices/clients strip below capabilities
   ============================================================ */

/* Who We Are section wrapper */
.ot-why-who {
    background: #f9fafb;
    padding: 96px 24px;
    font-family: 'Outfit', sans-serif;
}
.ot-why-who-inner {
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
}
.ot-why-eyebrow {
    color: #DC6010;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
}
.ot-why-heading {
    color: #1a1a1a;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin: 16px auto 0;
    max-width: 900px;
}
.ot-why-lede {
    color: #374151;
    font-size: 17px;
    line-height: 1.7;
    max-width: 820px;
    margin: 20px auto 0;
}

/* Capability cards 5-up */
.ot-why-cap-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1180px;
    margin: 40px auto 0;
}
.ot-why-cap-card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 24px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform 0.15s, box-shadow 0.15s;
}
.ot-why-cap-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}
.ot-why-cap-card-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(220, 96, 16, 0.1);
    color: #DC6010;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}

/* Stats footer strip */
.ot-why-stats {
    max-width: 900px;
    margin: 32px auto 0;
    text-align: center;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
}
.ot-why-stats strong {
    color: #1a1a1a;
}

/* 2×2 modifier on .ot-services-grid (used by "What Makes Us Different") */
.ot-services-grid.ot-services-grid--2x2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 980px;
}
.ot-services-grid.ot-services-grid--2x2 .ot-services-card-title {
    font-size: 20px;
}

/* Commitments section wrapper (light) */
.ot-why-commit {
    background: #fff;
    padding: 96px 24px;
    font-family: 'Outfit', sans-serif;
}
.ot-why-commit-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.ot-why-commit-head {
    text-align: center;
    margin: 0 auto 48px;
    max-width: 900px;
}

/* Philosophy section — reuses the .ot-services-section dark grid pattern
   (SECTION 30) with a minimal-card variant: icon + title only, no
   description. 6 cards land as 3×2 since .ot-services-grid defaults to
   3 columns. Lede sits between heading and grid; italic footer below. */
.ot-philosophy-lede {
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.7;
    max-width: 820px;
    margin: 24px auto 0;
}
.ot-philosophy-footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.7;
    max-width: 820px;
    margin: 36px auto 0;
    font-style: italic;
}
.ot-services-card.ot-services-card--minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
}
.ot-services-card.ot-services-card--minimal .ot-services-card-icon {
    margin-bottom: 14px;
}
.ot-services-card.ot-services-card--minimal .ot-services-card-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

/* Light variant of .ot-services-section — used by /solaas/'s "Our Delivery
   Philosophy" section. Inverts only the dark color palette; layout / padding
   / grid stay inherited from SECTION 30. /sap-consulting/ Comprehensive
   Rollout still uses the dark base (no --light modifier). */
.ot-services-section.ot-services-section--light {
    background: #f9fafb;
    color: #1a1a1a;
}
.ot-services-section--light .ot-services-heading {
    color: #1a1a1a;
}
.ot-services-section--light .ot-services-eyebrow {
    color: #DC6010;
}
.ot-services-section--light .ot-services-card {
    background: #fff;
    border: 1px solid #e5e7eb;
}
.ot-services-section--light .ot-services-card:hover {
    background: #fff;
    border-color: rgba(220, 96, 16, 0.5);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}
.ot-services-section--light .ot-services-card-icon {
    background: rgba(0, 0, 0, 0.04);
}
.ot-services-section--light .ot-services-card-title {
    color: #1a1a1a;
}
.ot-services-section--light .ot-services-card-desc {
    color: #374151;
}
.ot-services-section--light .ot-philosophy-lede,
.ot-services-section--light .ot-philosophy-footer {
    color: #374151;
}

@media (max-width: 900px) {
    .ot-why-cap-grid { grid-template-columns: repeat(2, 1fr); }
    .ot-services-grid.ot-services-grid--2x2 { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
    .ot-why-who, .ot-why-commit { padding: 64px 20px; }
    .ot-why-cap-grid { grid-template-columns: 1fr; gap: 12px; }
    .ot-why-cap-card { padding: 18px 14px; }
}


.ot-search-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.ot-search-modal.active {
    display: flex;
}

.ot-search-modal-inner {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    border-radius: 12px;
    position: relative;
}

.ot-search-close {
    position: absolute;
    top: 10px;
    right: 15px;
    border: 0;
    background: none;
    font-size: 28px;
    cursor: pointer;
}

.ot-search-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.ot-search-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.ot-search-form button {
    padding: 12px 20px;
    background: #000;
    color: #fff;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

/* ============================================================
   SECTION 19 — Search Results page (search.php)
   ============================================================ */
.ot-search-page {
    background: #f8fafc;
}

/* HERO */
.ot-search-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 96px 24px 64px;
    color: #fff;
}
body.ast-theme-transparent-header .ot-search-hero {
    padding-top: 160px;
}
.ot-search-hero-inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.ot-search-hero-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #DC6010;
    margin: 0 0 14px;
}
.ot-search-hero-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 36px;
    line-height: 1.2;
}
.ot-search-hero-form {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 6px;
}
.ot-search-hero-input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: none;
    color: #fff;
    font-size: 16px;
    padding: 12px 16px;
    font-family: inherit;
}
.ot-search-hero-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.ot-search-hero-button {
    background: #DC6010;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}
.ot-search-hero-button:hover {
    background: #c45410;
}

/* RESULTS */
.ot-search-results {
    padding: 64px 24px 96px;
}
.ot-search-results-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.ot-search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

/* RESULT CARD */
.ot-search-card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ot-search-card:hover {
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}
.ot-search-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 16px;
}
.ot-search-card > *:not(.ot-search-card-link) {
    position: relative;
    z-index: 2;
}
.ot-search-card-badge {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
}
.ot-search-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
}
.ot-search-card-title a {
    color: inherit;
    text-decoration: none;
}
.ot-search-card:hover .ot-search-card-title a {
    color: #DC6010;
}
.ot-search-card-excerpt {
    font-size: 14px;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}
.ot-search-card-readmore {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: #2893CC;
    align-self: flex-start;
}

/* PAGINATION */
.ot-search-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 56px;
    flex-wrap: wrap;
}
.ot-search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.ot-search-pagination .page-numbers:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.ot-search-pagination .page-numbers.current {
    background: #DC6010;
    border-color: #DC6010;
    color: #fff;
}

/* EMPTY STATE */
.ot-search-empty-state {
    max-width: 880px;
    margin: 16px auto 0;
    text-align: center;
}
.ot-search-empty-subhead {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 36px;
}
.ot-search-empty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}
.ot-search-empty-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    text-decoration: none;
    color: #0f172a;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.ot-search-empty-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
    border-color: var(--c, #cbd5e1);
}
.ot-search-empty-tile-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--c, #6b7280) 12%, transparent);
    color: var(--c, #6b7280);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.ot-search-empty-tile-label {
    font-size: 14px;
    font-weight: 700;
    color: inherit;
    text-align: center;
    line-height: 1.3;
}
.ot-search-empty-cta {
    display: inline-block;
    background: #DC6010;
    color: #fff;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(220, 96, 16, 0.25);
    transition: background 0.2s;
}
.ot-search-empty-cta:hover {
    background: #c45410;
    color: #fff;
}

/* SEARCH PAGE — RESPONSIVE */
@media (max-width: 1023px) {
    .ot-search-results-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .ot-search-hero {
        padding: 80px 16px 48px;
    }
    .ot-search-hero-form {
        flex-direction: column;
        background: transparent;
        border: 0;
        padding: 0;
        gap: 12px;
    }
    .ot-search-hero-input {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 10px;
    }
    .ot-search-hero-button {
        width: 100%;
    }
    .ot-search-results {
        padding: 48px 16px 64px;
    }
    .ot-search-results-grid {
        grid-template-columns: 1fr;
    }
    .ot-search-empty-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============================================================
   SECTION 20 — Single-post additions (author byline, prev/next nav)
   ============================================================ */

/* Author byline in the hero */
.ot-single-post-hero-byline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}
.ot-single-post-hero-avatar {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2893CC 0%, #DC6010 100%);
    color: #fff;
    font-family: 'Outfit', ui-sans-serif, system-ui, sans-serif;
    font-weight: 800;
    font-size: 19px;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.ot-single-post-hero-byline-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    text-align: left;
}
.ot-single-post-hero-byline-name {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0;
}
.ot-single-post-hero-byline-role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* TOC hidden state — both the [hidden] attribute and the explicit class */
.ot-article-toc[hidden],
.ot-article-toc:empty {
    display: none;
}

/* Prev/Next article navigation */
.ot-article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 64px auto 8px;
    max-width: 880px;
}
.ot-article-nav-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    min-height: 88px;
}
.ot-article-nav-card:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
    border-color: #cbd5e1;
}
.ot-article-nav-empty {
    border: 1px dashed transparent;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}
.ot-article-nav-arrow {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(40, 147, 204, 0.10);
    color: #2893CC;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}
.ot-article-nav-next {
    text-align: right;
    justify-content: flex-end;
}
.ot-article-nav-next .ot-article-nav-text {
    align-items: flex-end;
}
.ot-article-nav-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;  /* allow title truncation */
    flex: 1;
}
.ot-article-nav-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6b7280;
}
.ot-article-nav-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 640px) {
    .ot-article-nav {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 48px auto 8px;
    }
    .ot-article-nav-card {
        padding: 18px 20px;
    }
    .ot-article-nav-empty {
        display: none;
    }
    .ot-single-post-hero-byline {
        margin-top: 20px;
        gap: 12px;
    }
    .ot-single-post-hero-avatar {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
}

.ast-separate-container .post-navigation {
    display: none;
}

/* Archive cards: hide the empty author + "/" separator Astra renders before
   the date. Author span is empty (no display name), but Astra outputs " / "
   as a text node between author and date — collapse it via font-size:0,
   then restore the date via the inner posted-on override. */
.entry-meta .posted-by { display: none; }
.entry-meta {
    font-size: 0;
    line-height: 0;
}
.entry-meta .posted-on,
.entry-meta .posted-on *,
.entry-meta .updated,
.entry-meta .comments-link {
    font-size: 14px;
    line-height: 1.45;
}

/* Greenfield 5-card grid — collapse to 2 cols on tablet, 1 col on mobile. */
@media (max-width: 1100px) {
    .ot-greenfield-benefits-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
    .ot-greenfield-benefits-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    .ot-greenfield-benefits-grid { grid-template-columns: 1fr !important; }
}

/* Contact Us hero — eliminate any residual white-band spacing above the wp-block-cover
   hero so it sits flush against the transparent header from the very top. */
body.page-id-10 .entry-content,
body.page-id-10 article.page,
body.page-id-10 #primary,
body.page-id-10 #content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.page-id-10 .entry-content > .wp-block-cover.alignfull:first-child,
body.page-id-10 .entry-content > .wp-block-cover:first-child {
    margin-top: 0 !important;
}

/* Card chip "Cases" → "Client Success Stories" on archive cards.
   Swap text via CSS pseudo-element since changing the category name
   site-wide would alter URLs + menus. */
.cat-links a[href$="/category/cases/"],
.cat-links a[href$="/category/cases-es/"],
.cat-links a[href$="/category/cases-pt/"] {
    font-size: 0;
}
.cat-links a[href$="/category/cases/"]::after {
    content: "Client Success Stories";
    font-size: 12px;
}
.cat-links a[href$="/category/cases-es/"]::after {
    content: "Casos de Éxito de Clientes";
    font-size: 12px;
}
.cat-links a[href$="/category/cases-pt/"]::after {
    content: "Casos de Sucesso de Clientes";
    font-size: 12px;
}

/* ============================================================
   Section 23 — PPT Alignment Pass (items 2-6, 8-10, 12-14, 17-20, 21e, 22c)
   Standardizes card heights, multi-column row baselines,
   carousel chevron placement, and grid spacing across all sections.
   ============================================================ */

/* --- Generic: any grid of cards inside a wp-block-group should stretch
   children to equal heights so card bottoms line up. */
.wp-block-group > div[style*="display:grid"],
.wp-block-group > div[style*="display: grid"] {
    align-items: stretch;
}
.wp-block-group > div[style*="display:grid"] > div,
.wp-block-group > div[style*="display: grid"] > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
/* Pull the last <p> in card bodies to the bottom so card bottoms align */
.wp-block-group > div[style*="display:grid"] > div > p:last-child {
    margin-top: auto;
}

/* --- Multi-column rows: ensure each column starts at the top */
.wp-block-columns.alignwide,
.wp-block-columns.alignfull,
.wp-block-columns {
    align-items: flex-start;
}

/* --- Item 5 + #6 + #14 — Splide carousel chevrons: pull arrows into the
   gutter (currently overlap quote text). */
.splide__arrow {
    width: 44px !important;
    height: 44px !important;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08) !important;
    opacity: 1 !important;
}
.splide__arrow--prev { left: -24px !important; }
.splide__arrow--next { right: -24px !important; }
@media (max-width: 768px) {
    .splide__arrow--prev { left: 8px !important; }
    .splide__arrow--next { right: 8px !important; }
}

/* --- Item 6 + #14 — Carousel chip-label baseline drift fix:
   tighten card-body padding so the chip line sits flush with image bottom. */
.ot-carousel-card .ot-card-body {
    padding: 16px 18px;
}
.ot-carousel-card .ot-card-body h4 {
    margin: 0 0 6px;
    line-height: 1.3;
}
.ot-carousel-card .ot-card-body p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

/* --- Item 10 — About Us "Our Global Reach" — increase gap between heading
   block and the 6-country icon row. */
.wp-block-heading + .wp-block-group > div[style*="grid-template-columns"]:has(svg) {
    margin-top: 40px !important;
}
/* Loose-but-safe fallback for browsers without :has() — target the heading-followed-by-icons cluster. */
h2:has(+ .wp-block-paragraph) + div[style*="grid-template-columns"] {
    margin-top: 32px !important;
}

/* --- Item 11 + 14 + 18 + 20 — Card grids: ensure all icon-cards in a row
   have matching heights via min-height. */
.wp-block-group div[style*="grid-template-columns:repeat"] > div,
.wp-block-group div[style*="display:grid"] > div {
    min-height: 100%;
    box-sizing: border-box;
}

/* --- Item 3 — "Your Trusted SAP Partner Across the Americas":
   left col (intro) + right col (4-card 2x2 grid). Top-align both. */
.wp-block-group.alignwide > .wp-block-columns,
.wp-block-group.alignfull > .wp-block-columns {
    align-items: flex-start;
}
.wp-block-columns .wp-block-column > * {
    box-sizing: border-box;
}

/* --- Item 19 — "Why Organizations Choose Origen Tech" 2x2 dark cards:
   normalize card widths + padding. */
.wp-block-columns.alignwide .wp-block-column[style*="50%"] > div {
    padding: 24px;
}

/* --- Item 21e + 22c — Cases archive cards: equal heights via min-height
   so title-line variation doesn't ragged-edge the row bottom. */
.ast-archive-description ~ .ast-row > article,
.ast-blog-layout-1 > article,
.ast-blog-layout-4 > article,
body.tax-category article.post,
body.category article.post {
    display: flex;
    flex-direction: column;
}
body.tax-category article.post .entry-content,
body.category article.post .entry-content {
    flex: 1 1 auto;
}

/* --- Item 17 — Contact Us form panel left half: ensure WPForms (if loaded)
   has visible labels/inputs against any dark background. */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form select,
.wpforms-form textarea {
    background: #fff;
    color: #222;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
}
.wpforms-form label {
    color: #222;
    font-weight: 600;
    font-size: 13px;
}

/* --- Item 18 — "Built for Enterprise Complexity" 5 numbered cards:
   align number chips + card text body baselines. */
.wp-block-group div[style*="grid-template-columns"] > div[style*="border-radius"] {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
}

/* ============================================================
   Section 22 — Cookie Consent Banner
   ============================================================ */
.ot-cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    max-width: 1100px;
    margin: 0 auto;
    background: #0E1B3D;
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.30);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    line-height: 1.55;
    animation: ot-cookie-slide-up 0.4s ease-out;
}
.ot-cookie-banner[hidden] { display: none; }
@keyframes ot-cookie-slide-up {
    from { transform: translateY(120%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.ot-cookie-banner-text {
    flex: 1 1 auto;
    min-width: 0;
}
.ot-cookie-banner-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.ot-cookie-banner-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}
.ot-cookie-banner-desc a {
    color: #89B922;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ot-cookie-banner-desc a:hover { color: #fff; }
.ot-cookie-banner-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
}
.ot-cookie-btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 18px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ot-cookie-btn-accept {
    background: #DC6010;
    color: #fff;
}
.ot-cookie-btn-accept:hover { background: #c45410; }
.ot-cookie-btn-reject {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.30);
}
.ot-cookie-btn-reject:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
@media (max-width: 720px) {
    .ot-cookie-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px 18px;
    }
    .ot-cookie-banner-actions { justify-content: stretch; }
    .ot-cookie-btn { flex: 1 1 0; padding: 12px 16px; }
}

/* ===========================================================================
   Section 24 — DESIGN SYSTEM FOUNDATION (Phase A of UI/UX audit)
   Single source of truth for container widths, spacing scale, breakpoints.
   Aliases the existing WordPress spacing-preset variables so blocks editor
   tokens and theme CSS share the same scale.
   =========================================================================== */
:root {
    /* Container widths */
    --ot-container-narrow:    880px;   /* articles, legal pages, narrow text */
    --ot-container-default:  1180px;   /* most content sections */
    --ot-container-wide:     1280px;   /* hero, full-bleed sections */
    --ot-container-padding-x: clamp(16px, 4vw, 32px);

    /* Vertical spacing scale (mirrors WordPress presets where possible) */
    --ot-space-xs:  0.5rem;   /*   8px */
    --ot-space-sm:  1rem;     /*  16px */
    --ot-space-md:  1.5rem;   /*  24px */
    --ot-space-lg:  2.5rem;   /*  40px */
    --ot-space-xl:  4rem;     /*  64px */
    --ot-space-2xl: 6rem;     /*  96px */
    --ot-space-3xl: 8rem;     /* 128px */

    /* Breakpoints (for use in calc/clamp; media queries use the values directly) */
    --bp-mobile-max:  640px;
    --bp-tablet-max:  1024px;

    /* Typography rhythm */
    --ot-heading-mb:   1.5rem;  /* 24px */
    --ot-paragraph-mb: 1rem;    /* 16px */
}

/* ===========================================================================
   Section 25 — PATTERN HARDENING (Phase B of UI/UX audit)
   Override inline pixel widths and paddings inside hand-coded pattern files
   so all content sections snap to the design-system widths.
   =========================================================================== */

/* Universal container width — every constrained-layout group sits within
   --ot-container-default, NOT whatever the pattern author hardcoded. */
.entry-content > .wp-block-group.alignwide,
.entry-content > .wp-block-group:not(.alignfull):not(.alignwide) {
    max-width: var(--ot-container-default) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Constrained layouts inside alignfull sections also respect the canonical
   default width (1180px) — overrides Brazil Tax Reform's 5 different
   inline contentSize values. */
.wp-block-group.alignfull > .wp-block-group.is-layout-constrained,
.wp-block-group.alignfull > .wp-block-columns.alignwide,
.wp-block-group.alignfull > .wp-block-cover__inner-container > .wp-block-group {
    max-width: var(--ot-container-default);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--ot-container-padding-x);
    padding-right: var(--ot-container-padding-x);
    box-sizing: border-box;
}

/* Narrow-content articles (legal pages, blog single posts) — pin to 880px. */
.entry-content > .wp-block-group[style*="contentSize:\"880px\""],
.entry-content > .wp-block-group[style*="contentSize: 880px"],
body.single-post .ast-narrow-container .ast-container,
body.page-id-17 .entry-content > .wp-block-group,    /* Terms */
body.page-id-244 .entry-content > .wp-block-group,   /* Privacy */
body.page-id-248 .entry-content > .wp-block-group {  /* Cookies (EN) */
    max-width: var(--ot-container-narrow);
    margin-left: auto;
    margin-right: auto;
}

/* Override the most common inline-padding values pattern authors used.
   These are the 96px / 64px / 48px / 40px section paddings that should
   instead reference the spacing scale. */
.wp-block-group[style*="padding-top:96px"],
.wp-block-group[style*="padding-top: 96px"] {
    padding-top: var(--ot-space-2xl) !important;
}
.wp-block-group[style*="padding-bottom:96px"],
.wp-block-group[style*="padding-bottom: 96px"] {
    padding-bottom: var(--ot-space-2xl) !important;
}
.wp-block-group[style*="padding-top:64px"],
.wp-block-group[style*="padding-top: 64px"] {
    padding-top: var(--ot-space-xl) !important;
}
.wp-block-group[style*="padding-bottom:64px"],
.wp-block-group[style*="padding-bottom: 64px"] {
    padding-bottom: var(--ot-space-xl) !important;
}

/* Universal section vertical rhythm — group sections inside entry-content
   get consistent breathing room regardless of inline padding. */
.entry-content > .wp-block-group.alignfull + .wp-block-group.alignfull,
.entry-content > section + section {
    /* No additional margin — sections own their own padding */
}

/* Card-grid pattern — apply to all known inline grids in pattern files
   so heights line up and gaps are consistent. */
.wp-block-group div[style*="grid-template-columns:repeat"],
.wp-block-group div[style*="grid-template-columns: repeat"],
.wp-block-group div[style*="display:grid"],
.wp-block-group div[style*="display: grid"] {
    gap: var(--ot-space-md) !important;
    align-items: stretch;
}

/* Card-grid children — equal heights via flex column. */
.wp-block-group div[style*="grid-template-columns"] > div,
.wp-block-group div[style*="display:grid"] > div {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}
.wp-block-group div[style*="grid-template-columns"] > div > p:last-child,
.wp-block-group div[style*="display:grid"] > div > p:last-child {
    margin-top: auto;
}

/* Heading + paragraph rhythm — uniform margins inside content sections. */
.entry-content h1, .entry-content h2, .entry-content h3 {
    margin-bottom: var(--ot-heading-mb);
}
.entry-content p {
    margin-bottom: var(--ot-paragraph-mb);
}

/* ===========================================================================
   Section 26 — PER-PAGE POLISH (Phase C of UI/UX audit)
   Targeted overrides for the worst-offending pages.
   =========================================================================== */

/* Brazil Tax Reform 2027 — 5 mixed widths in the original pattern.
   Force every section to canonical default width. */
body.page-id-773 .entry-content > .wp-block-group .wp-block-group.is-layout-constrained,
body.page-id-774 .entry-content > .wp-block-group .wp-block-group.is-layout-constrained,
body.page-id-775 .entry-content > .wp-block-group .wp-block-group.is-layout-constrained {
    max-width: var(--ot-container-default) !important;
}

/* About Us — picks one width. */
body.page-id-12 .entry-content > .wp-block-group .wp-block-group.is-layout-constrained {
    max-width: var(--ot-container-default) !important;
}

/* Contact Us — brand card should match section width better. */
body.page-id-10 .entry-content .wp-block-group .wp-block-html > div[style*="max-width:760px"] {
    max-width: var(--ot-container-narrow) !important;
}

/* SAP DRC country flag grid — tablet wrap fix. */
@media (min-width: 641px) and (max-width: 1024px) {
    body.page-id-67 .wp-block-group div[style*="grid-template-columns"] {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Single-post TOC sidebar — push collapse breakpoint up so it stays visible on tablets. */
@media (min-width: 1024px) {
    body.single-post .ot-article-toc {
        display: block !important;
    }
}

/* Footer newsletter column — proper mobile stacking. */
@media (max-width: 768px) {
    footer.ot-custom-footer .ot-foot-grid {
        grid-template-columns: 1fr !important;
        gap: var(--ot-space-lg) !important;
    }
    footer.ot-custom-footer .ot-foot-col {
        text-align: left;
    }
}

/* ===========================================================================
   Section 27 — BREAKPOINT CONSOLIDATION (Phase C, post-design-system)
   Pin all custom layouts to 640 / 1024 canonical breakpoints.
   This wraps the existing 1023/1100/1180/1200 rules so they fire consistently.
   =========================================================================== */

/* Container padding adjusts per device. */
@media (max-width: 640px) {
    :root {
        --ot-container-padding-x: 20px;
        --ot-space-2xl: 4rem;   /* 64px — tighter section gaps on mobile */
        --ot-space-xl:  3rem;   /* 48px */
    }
    .entry-content > .wp-block-group.alignfull {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* Force all multi-column grids to single column on mobile */
    .wp-block-group div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    /* Tablet — reduce grid columns universally */
    .wp-block-group div[style*="grid-template-columns:repeat(5"],
    .wp-block-group div[style*="grid-template-columns:repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
