/* ==============================================================
   IRSA — Corporate Brand Override
   Palette: Navy #0B1D3A · Teal #0F6B74 · Gold #D4A017
              Charcoal #23272F · Light Gray #E8E9EC
   ============================================================== */

:root {
    --theme-color: #0F6B74;     /* primary teal */
    --theme-color2: #D4A017;    /* gold accent */
    --title-color: #0B1D3A;     /* deep navy */
    --body-color: #4A5160;      /* readable charcoal */
    --smoke-color: #F4F6F9;
    --smoke-color2: #EEF3F4;
    --smoke-color3: #F4F6F9;
    --smoke-color4: #E8E9EC;
    --smoke-color5: #F4F6F9;

    --black-color: #0B1D3A;
    --black-color2: #0B1D3A;
    --black-color3: #102749;
    --black-color4: #0B1D3A;
    --black-color5: #23272F;
    --black-color6: #23272F;
    --black-color7: #0B1D3A;

    --title-font: "Inter", "Tajawal", "IBM Plex Sans Arabic", "Noto Kufi Arabic", sans-serif;
    --title-font2: "Inter", "Tajawal", sans-serif;
    --title-font3: "Inter", "Tajawal", sans-serif;
    --body-font: "Inter", "Tajawal", "IBM Plex Sans Arabic", "Noto Kufi Arabic", sans-serif;
}

/* Arabic page typography */
html[lang="ar"],
html[lang="ar"] body {
    --title-font: "Tajawal", "IBM Plex Sans Arabic", "Noto Kufi Arabic", sans-serif;
    --title-font2: "Tajawal", "IBM Plex Sans Arabic", sans-serif;
    --title-font3: "Tajawal", "IBM Plex Sans Arabic", sans-serif;
    --body-font: "Tajawal", "IBM Plex Sans Arabic", "Noto Kufi Arabic", sans-serif;
    font-family: "Tajawal", "IBM Plex Sans Arabic", "Noto Kufi Arabic", sans-serif;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] .sec-title,
html[lang="ar"] .hero-title,
html[lang="ar"] .box-title,
html[lang="ar"] .sub-title,
html[lang="ar"] .widget_title {
    font-family: "Tajawal", "IBM Plex Sans Arabic", "Noto Kufi Arabic", sans-serif;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
}

html[lang="ar"] .hero-title {
    line-height: 1.2;
}

html[lang="ar"] body,
html[lang="ar"] p,
html[lang="ar"] li,
html[lang="ar"] a,
html[lang="ar"] span,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] textarea {
    font-family: "Tajawal", "IBM Plex Sans Arabic", sans-serif;
    letter-spacing: 0;
}

/* RTL hero alignment & content flow */
html[dir="rtl"] .hero-style5,
html[dir="rtl"] .title-area {
    text-align: right;
}
html[dir="rtl"] .text-lg-start { text-align: right !important; }
html[dir="rtl"] .text-lg-end { text-align: left !important; }

html[dir="rtl"] .me-2 { margin-right: 0 !important; margin-left: .5rem !important; }
html[dir="rtl"] .ms-2 { margin-left: 0 !important; margin-right: .5rem !important; }
html[dir="rtl"] .me-3 { margin-right: 0 !important; margin-left: 1rem !important; }
html[dir="rtl"] .ms-3 { margin-left: 0 !important; margin-right: 1rem !important; }

/* Arrow icons inside buttons should mirror in RTL */
html[dir="rtl"] .th-btn svg,
html[dir="rtl"] .th-btn .ms-2 svg {
    transform: scaleX(-1);
}

/* IRSA brand mark — uses the official circular logo */
.irsa-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}
.irsa-logo img {
    width: 56px;
    height: 56px;
    display: block;
    border-radius: 50%;
}
@media (max-width: 575px) {
    .irsa-logo img { width: 48px; height: 48px; }
}
/* Footer keeps a larger lockup */
.footer-wrapper .irsa-logo img { width: 70px; height: 70px; }
/* Mobile menu logo */
.mobile-logo .irsa-logo img { width: 90px; height: 90px; }

/* Lang switcher pill */
.lang-switch {
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    border: 1px solid rgba(11,29,58,.15);
    border-radius: 999px;
    background: #fff;
}
.lang-switch a {
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    color: var(--title-color);
    text-decoration: none;
    line-height: 1.4;
}
.lang-switch a.active {
    background: var(--title-color);
    color: #fff;
}

/* Hero gradient overlay for navy mood */
.irsa-hero-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,29,58,.78) 0%, rgba(15,107,116,.55) 100%);
    z-index: 1;
}
.irsa-hero-overlay .container { position: relative; z-index: 2; }

/* Hero badges (capabilities chips) */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.hero-badges .badge-chip {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.28);
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
    backdrop-filter: blur(6px);
}
.hero-badges .badge-chip.gold {
    border-color: var(--theme-color2);
    color: var(--theme-color2);
}

/* Pillars row */
.pillars-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}
@media (max-width: 767px) {
    .pillars-row { grid-template-columns: 1fr; }
}
.pillar-card {
    background: #fff;
    border: 1px solid var(--smoke-color4);
    border-radius: 14px;
    padding: 24px 22px;
    transition: all .35s ease;
}
.pillar-card:hover {
    border-color: var(--theme-color);
    box-shadow: 0 14px 30px rgba(11,29,58,.08);
    transform: translateY(-3px);
}
.pillar-card .pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(15,107,116,.1);
    color: var(--theme-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.pillar-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--title-color);
    margin: 0 0 8px;
}
.pillar-card p {
    font-size: 14.5px;
    color: var(--body-color);
    margin: 0;
    line-height: 1.65;
}

/* Service cards (IRSA refresh) */
.irsa-service-card {
    background: #fff;
    border: 1px solid var(--smoke-color4);
    border-radius: 16px;
    padding: 32px 28px;
    height: 100%;
    position: relative;
    transition: all .35s ease;
    overflow: hidden;
}
.irsa-service-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--theme-color), var(--theme-color2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
html[dir="rtl"] .irsa-service-card::after { transform-origin: right; }
.irsa-service-card:hover {
    border-color: transparent;
    box-shadow: 0 24px 50px rgba(11,29,58,.10);
    transform: translateY(-4px);
}
.irsa-service-card:hover::after { transform: scaleX(1); }
.irsa-service-card .svc-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--theme-color), var(--title-color));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
}
.irsa-service-card .svc-number {
    position: absolute;
    top: 22px;
    inset-inline-end: 26px;
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-size: 56px;
    color: var(--smoke-color4);
    line-height: 1;
}
.irsa-service-card h3 {
    font-size: 21px;
    font-weight: 800;
    color: var(--title-color);
    margin: 0 0 12px;
}
.irsa-service-card p {
    color: var(--body-color);
    line-height: 1.75;
    margin: 0 0 20px;
    font-size: 15px;
}
.irsa-service-card .svc-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--theme-color);
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: .3px;
}
.irsa-service-card .svc-link:hover { color: var(--title-color); }

/* Sectors grid */
.sector-card {
    background: #fff;
    border: 1px solid var(--smoke-color4);
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
    transition: all .3s ease;
    height: 100%;
}
.sector-card:hover {
    border-color: var(--theme-color);
    background: linear-gradient(180deg, #fff 0%, var(--smoke-color2) 100%);
    transform: translateY(-3px);
}
.sector-card .sec-ic {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(212,160,23,.12);
    color: var(--theme-color2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}
.sector-card h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--title-color);
    margin: 0;
    line-height: 1.4;
}

/* Why-IRSA list */
.why-list { list-style: none; padding: 0; margin: 0; }
.why-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px dashed var(--smoke-color4);
}
.why-list li:last-child { border-bottom: 0; }
.why-list .ic {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15,107,116,.1);
    color: var(--theme-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 2px;
}
.why-list .txt {
    font-size: 16px;
    color: var(--title-color);
    font-weight: 600;
    line-height: 1.6;
}

/* Capabilities grid */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (max-width: 575px) {
    .cap-grid { grid-template-columns: 1fr; }
}
.cap-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--smoke-color4);
    border-radius: 10px;
}
.cap-item .ic {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--title-color);
    color: var(--theme-color2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex: 0 0 38px;
}
.cap-item span {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--title-color);
}

/* CTA band */
.irsa-cta-band {
    background: linear-gradient(135deg, var(--title-color) 0%, var(--theme-color) 100%);
    border-radius: 20px;
    padding: 56px 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.irsa-cta-band::before {
    content: "";
    position: absolute;
    inset: -50% auto auto -10%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,160,23,.25) 0%, rgba(212,160,23,0) 70%);
}
.irsa-cta-band::after {
    content: "";
    position: absolute;
    inset: auto -10% -60% auto;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 70%);
}
.irsa-cta-band > * { position: relative; z-index: 2; }
.irsa-cta-band h2 {
    color: #fff;
    margin: 0 0 14px;
    font-weight: 800;
}
.irsa-cta-band p {
    color: rgba(255,255,255,.85);
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.7;
}

/* Stats strip */
.irsa-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid var(--smoke-color4);
    border-radius: 18px;
    overflow: hidden;
}
@media (max-width: 767px) { .irsa-stats { grid-template-columns: repeat(2, 1fr); } }
.irsa-stats .stat {
    text-align: center;
    padding: 36px 18px;
    border-inline-end: 1px solid var(--smoke-color4);
}
.irsa-stats .stat:last-child { border-inline-end: 0; }
@media (max-width: 767px) {
    .irsa-stats .stat:nth-child(2) { border-inline-end: 0; }
    .irsa-stats .stat:nth-child(-n+2) { border-bottom: 1px solid var(--smoke-color4); }
}
.irsa-stats .stat .num {
    font-family: "Inter", sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--title-color);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}
.irsa-stats .stat .num .accent { color: var(--theme-color2); }
.irsa-stats .stat .lbl {
    font-size: 14px;
    color: var(--body-color);
    font-weight: 600;
    line-height: 1.5;
}

/* WhatsApp floating button */
.wa-float {
    position: fixed;
    bottom: 26px;
    inset-inline-end: 26px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    z-index: 999;
    box-shadow: 0 12px 28px rgba(37,211,102,.4);
    text-decoration: none;
    transition: transform .3s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* Theme button overrides — use gold accent style */
.th-btn.style-gold {
    background: var(--theme-color2);
    color: var(--title-color);
}
.th-btn.style-gold:hover { background: var(--title-color); color: var(--theme-color2); }
.th-btn.style-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.6);
}
.th-btn.style-outline:hover { background: #fff; color: var(--title-color); }

/* Header tweaks */
.header-top { background: var(--title-color); }
.header-top a, .header-top li, .header-top i { color: rgba(255,255,255,.9) !important; }
.header-top .lang-switch { margin-inline-start: 12px; }
.header-top .lang-switch a { color: var(--title-color); }
.header-top .lang-switch a.active { color: #fff; background: var(--theme-color); }

.menu-area { padding: 14px 28px; border-radius: 14px; box-shadow: 0 4px 24px rgba(11,29,58,.06); }
.main-menu ul li a { color: var(--title-color); font-weight: 600; }
.main-menu ul li a:hover { color: var(--theme-color); }

/* Section title spacing */
.sec-title { font-weight: 800; }
.sub-title {
    color: var(--theme-color) !important;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    text-transform: uppercase;
}
html[lang="ar"] .sub-title {
    letter-spacing: 0;
    font-size: 14px;
}

/* Contact / form */
.irsa-contact-card {
    background: #fff;
    border: 1px solid var(--smoke-color4);
    border-radius: 18px;
    padding: 38px 32px;
    box-shadow: 0 12px 38px rgba(11,29,58,.06);
}
.irsa-info-block {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--smoke-color4);
    margin-bottom: 14px;
}
.irsa-info-block .ic {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(15,107,116,.1);
    color: var(--theme-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex: 0 0 46px;
}
.irsa-info-block .lbl {
    font-size: 13px;
    color: var(--body-color);
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.irsa-info-block .val {
    font-size: 16px;
    font-weight: 700;
    color: var(--title-color);
    margin: 0;
    text-decoration: none;
    display: block;
    word-break: break-word;
}
.irsa-info-block a.val:hover { color: var(--theme-color); }

/* Footer override */
.footer-wrapper.irsa-footer {
    background: var(--title-color);
    color: rgba(255,255,255,.78);
}
.footer-wrapper.irsa-footer .widget_title,
.footer-wrapper.irsa-footer .box-title { color: #fff; }
.footer-wrapper.irsa-footer .menu li a,
.footer-wrapper.irsa-footer p,
.footer-wrapper.irsa-footer .box-text,
.footer-wrapper.irsa-footer .box-link {
    color: rgba(255,255,255,.78);
    text-decoration: none;
}
.footer-wrapper.irsa-footer .menu li a:hover,
.footer-wrapper.irsa-footer .box-link:hover { color: var(--theme-color2); }
.footer-wrapper.irsa-footer .th-social a {
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
}
.footer-wrapper.irsa-footer .th-social a:hover {
    background: var(--theme-color2);
    color: var(--title-color);
    border-color: var(--theme-color2);
}
.footer-wrapper.irsa-footer .copyright-wrap {
    border-top: 1px solid rgba(255,255,255,.1);
    background: rgba(0,0,0,.18);
}
.footer-wrapper.irsa-footer .copyright-text,
.footer-wrapper.irsa-footer .footer-links a { color: rgba(255,255,255,.7); }

/* Hide template artifacts we don't ship */
.color-scheme-wrap,
.preloader,
#magic-cursor,
.popup-search-box { display: none !important; }

/* Soft section dividers */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--smoke-color4), transparent);
    margin: 0;
    border: 0;
}

/* Breadcrumb override */
.breadcumb-wrapper {
    background: linear-gradient(135deg, var(--title-color) 0%, var(--theme-color) 100%);
    padding: 110px 0 90px;
    position: relative;
    color: #fff;
    text-align: center;
}
.breadcumb-wrapper .breadcumb-title {
    color: #fff;
    font-size: 44px;
    font-weight: 800;
    margin: 0 0 14px;
}
.breadcumb-wrapper .breadcumb-menu {
    display: inline-flex;
    gap: 8px;
    padding: 8px 22px;
    background: rgba(255,255,255,.1);
    border-radius: 999px;
    list-style: none;
    margin: 0;
}
.breadcumb-wrapper .breadcumb-menu li,
.breadcumb-wrapper .breadcumb-menu a {
    color: rgba(255,255,255,.85);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.breadcumb-wrapper .breadcumb-menu li.active { color: var(--theme-color2); }

/* ===== Polish, fixes, and responsive tuning ===== */

/* Form controls — clean, branded, accessible */
.irsa-contact-card .form-control,
.irsa-contact-card .form-select {
    border: 1px solid var(--smoke-color4);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14.5px;
    color: var(--title-color);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
    height: auto;
}
.irsa-contact-card .form-control:focus,
.irsa-contact-card .form-select:focus {
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(15,107,116,.12);
    outline: 0;
}
.irsa-contact-card textarea.form-control { min-height: 110px; }
.irsa-contact-card .form-group { margin-bottom: 14px; }
.irsa-contact-card .form-label { display:block; margin-bottom:6px; }

/* Floating WhatsApp — fixed visual position regardless of language */
.wa-float { inset-inline-end: auto; right: 26px; }
html[dir="rtl"] .wa-float { right: 26px; left: auto; }

/* Hero responsive typography + tight spacing */
.hero-style5 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.hero-style5 .hero-title { font-size: 54px; line-height: 1.18; }
.hero-style5 .hero-text { margin-bottom: 0; }
@media (max-width: 991px) {
    .hero-style5 .hero-title { font-size: 40px; }
}
@media (max-width: 575px) {
    .hero-style5 .hero-title { font-size: 30px; }
    .hero-style5 .hero-text { font-size: 15px; }
    .hero-badges .badge-chip { font-size: 12px; padding: 6px 12px; }
    .irsa-cta-band h2 { font-size: 24px !important; }
}

/* CTA band on mobile — buttons should align right edge in RTL/LTR consistently */
@media (max-width: 991px) {
    .irsa-cta-band { padding: 36px 26px; }
    .irsa-cta-band .text-lg-end { text-align: inherit !important; }
    .irsa-stats .stat .num { font-size: 34px; }
}

/* Breadcumb spacing on mobile */
@media (max-width: 575px) {
    .breadcumb-wrapper { padding: 80px 0 60px; }
    .breadcumb-wrapper .breadcumb-title { font-size: 30px; }
}

/* Header tweaks */
.header-top { padding: 8px 0; font-size: 13px; }
.header-top .header-left-wrap,
.header-top .header-links > ul { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.header-top .header-left-wrap > li,
.header-top .header-links > ul > li { display: inline-flex; align-items: center; gap: 8px; }
.header-top a:hover { color: var(--theme-color2) !important; }

.th-social { display: inline-flex; gap: 8px; }
.th-social a {
    width: 32px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #fff;
    font-size: 13px;
    transition: background .2s ease;
    text-decoration: none;
}
.th-social a:hover { background: var(--theme-color2); color: var(--title-color); }

/* Menu area — proper sticky look */
.sticky-wrapper { background: #fff; border-bottom: 1px solid var(--smoke-color4); }
.sticky-wrapper .menu-area { box-shadow: none; padding: 8px 0; }
.main-menu ul { display: inline-flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.main-menu ul li > a { padding: 8px 0; display: inline-block; font-size: 15px; }

/* About image collage — simpler, robust layout (replaces template absolute positioning quirks) */
.img-box5 {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr .9fr;
    grid-template-rows: auto auto;
    gap: 14px;
    align-items: stretch;
}
.img-box5 .img1 { grid-column: 1 / 2; grid-row: 1 / 3; }
.img-box5 .img2 { grid-column: 2 / 3; grid-row: 2 / 3; }
.img-box5 .img1 .thumb,
.img-box5 .img2 .thumb { overflow: hidden; border-radius: 18px; height: 100%; }
.img-box5 .img1 img,
.img-box5 .img2 img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-box5 .about-tag {
    position: absolute;
    bottom: -22px;
    inset-inline-start: -22px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: var(--title-color);
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    padding: 18px;
    box-shadow: 0 18px 40px rgba(11,29,58,.22);
}
.img-box5 .about-tag .year-counter,
.img-box5 .about-tag .about-experience-tag { position: static; }
.img-box5 .about-tag .year-counter { text-align: center; }
@media (max-width: 575px) {
    .img-box5 { grid-template-columns: 1fr 1fr; }
    .img-box5 .img1 { grid-row: 1 / 2; }
    .img-box5 .img2 { grid-row: 1 / 2; grid-column: 2 / 3; }
    .img-box5 .about-tag { width: 120px; height: 120px; bottom: -10px; inset-inline-start: 4px; }
}

/* Hero — natural height; compact top/bottom space */
/* Kill template's .hero-5 { padding-top: 145px } (style.css:12122) */
.hero-5 { padding-top: 0 !important; }
@media (max-width: 991px) { .hero-5 { padding-top: 0 !important; } }

.th-hero-wrapper.hero-5 {
    position: relative;
    min-height: 0;
    display: block;
}
.th-hero-wrapper.hero-5 .hero-inner {
    position: relative;
    width: 100%;
    padding: 80px 0 90px;
}
.th-hero-wrapper.hero-5 .th-hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.th-hero-wrapper.hero-5 .th-hero-bg .thumb { width: 100%; height: 100%; }
.th-hero-wrapper.hero-5 .th-hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.th-hero-wrapper.hero-5 .container { position: relative; z-index: 2; }
@media (max-width: 991px) {
    .th-hero-wrapper.hero-5 .hero-inner { padding: 60px 0 70px; }
}
@media (max-width: 575px) {
    .th-hero-wrapper.hero-5 .hero-inner { padding: 48px 0 56px; }
}

/* Service number watermark — RTL-aware */
html[dir="rtl"] .irsa-service-card .svc-number { inset-inline-end: 26px; }

/* Buttons — unify hover */
.th-btn { transition: all .25s ease; }
.th-btn:hover { transform: translateY(-2px); }

/* Sector card icon — slightly bigger on hover */
.sector-card:hover .sec-ic { background: var(--theme-color2); color: #fff; }

/* Section spacing on mobile */
@media (max-width: 767px) {
    .space, .space-top, .space-bottom { padding-top: 60px; padding-bottom: 60px; }
}

/* Pillar cards should not overflow on small screens */
.pillars-row .pillar-card { min-width: 0; }

/* Lang switcher pill — better contrast on dark header-top */
.header-top .lang-switch { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); }
.header-top .lang-switch a { color: rgba(255,255,255,.85); }
.header-top .lang-switch a.active { background: var(--theme-color2); color: var(--title-color); }

/* Make sure header top is visible (override stray template rules) */
.header-top { display: block !important; }

/* Make ::placeholder readable */
.form-control::placeholder, .form-select { color: rgba(11,29,58,.5); }

/* Strong link affordance on info blocks */
.irsa-info-block .val[href] { transition: color .2s ease; }

/* Ensure footer logo doesn't shrink awkwardly */
.footer-wrapper .irsa-logo .mark { box-shadow: 0 6px 18px rgba(0,0,0,.25); }

/* Hero badges spacing on RTL — make icons sit at the start of the chip */
.hero-badges .badge-chip { display: inline-flex; align-items: center; gap: 6px; }

/* Clean — kill stray template artifacts */
.preloader,
#magic-cursor,
.popup-search-box,
.sidemenu-wrapper,
.color-scheme-wrap { display: none !important; }

/* ====== Fix purple wrapper around header social icons ====== */
.header-default .header-top .th-social {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: inline-flex !important;
    gap: 10px !important;
}
.header-default .header-top .th-social a {
    width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(255,255,255,.04) !important;
    color: #fff !important;
    font-size: 12px !important;
    transition: all .2s ease;
}
.header-default .header-top .th-social a:hover {
    background: var(--theme-color2) !important;
    color: var(--title-color) !important;
    border-color: var(--theme-color2) !important;
}

/* Lang switcher refresh on dark header */
.header-top .lang-switch {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.18);
}
.header-top .lang-switch a {
    color: rgba(255,255,255,.85);
    font-size: 12.5px;
    padding: 5px 14px;
}
.header-top .lang-switch a.active {
    background: var(--theme-color2);
    color: var(--title-color);
    box-shadow: 0 4px 12px rgba(212,160,23,.35);
}

/* Gap between social pill and lang pill in header */
.header-top .header-links > ul > li + li { margin-inline-start: 14px; }

/* ===========================================================
   Corporate "About" visual — replaces broken template photos
   =========================================================== */
.irsa-about-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-width: 520px;
    margin-inline: auto;
    border-radius: 28px;
    background:
      radial-gradient(circle at 80% 15%, rgba(212,160,23,.18) 0, transparent 45%),
      radial-gradient(circle at 15% 85%, rgba(15,107,116,.30) 0, transparent 50%),
      linear-gradient(135deg, #0B1D3A 0%, #0F6B74 100%);
    box-shadow: 0 30px 60px -20px rgba(11,29,58,.45);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Dot grid overlay */
.irsa-about-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .55;
    mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
}
/* Decorative concentric rings */
.irsa-about-visual::after {
    content: "";
    position: absolute;
    width: 140%; height: 140%;
    border: 1px solid rgba(212,160,23,.18);
    border-radius: 50%;
    top: -20%; right: -20%;
    pointer-events: none;
}
.irsa-about-visual .ring-2 {
    position: absolute;
    width: 110%; height: 110%;
    border: 1px dashed rgba(255,255,255,.10);
    border-radius: 50%;
    top: -5%; left: -5%;
}

/* Central logo lockup */
.irsa-about-visual .logo-disc {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0,0,0,.35);
    z-index: 2;
}
.irsa-about-visual .logo-disc img {
    width: 88%;
    height: 88%;
    object-fit: contain;
}

/* Floating service chips around the disc */
.irsa-about-visual .chip {
    position: absolute;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    padding: 10px 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.irsa-about-visual .chip i { color: var(--theme-color2); font-size: 14px; }
.irsa-about-visual .chip.c1 { top: 12%; inset-inline-start: 6%; }
.irsa-about-visual .chip.c2 { top: 28%; inset-inline-end: 4%; }
.irsa-about-visual .chip.c3 { bottom: 30%; inset-inline-start: 4%; }
.irsa-about-visual .chip.c4 { bottom: 12%; inset-inline-end: 6%; }

/* Stat card overlapping at bottom-start */
.irsa-about-visual .stat-card {
    position: absolute;
    bottom: -28px;
    inset-inline-start: -18px;
    background: #fff;
    border-radius: 18px;
    padding: 18px 22px;
    box-shadow: 0 20px 40px rgba(11,29,58,.18);
    z-index: 3;
    min-width: 160px;
    border: 1px solid var(--smoke-color4);
}
.irsa-about-visual .stat-card .big {
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-size: 34px;
    color: var(--title-color);
    line-height: 1;
}
.irsa-about-visual .stat-card .big sup { color: var(--theme-color2); font-size: 18px; margin-inline-start: 2px; }
.irsa-about-visual .stat-card .lbl {
    color: var(--body-color);
    font-size: 12.5px;
    font-weight: 600;
    margin-top: 6px;
    line-height: 1.4;
}

/* Gold "established trust" badge top-end */
.irsa-about-visual .seal {
    position: absolute;
    top: -22px;
    inset-inline-end: -10px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--theme-color2);
    color: var(--title-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 20px 40px rgba(212,160,23,.40);
    z-index: 3;
    border: 4px solid #fff;
}
.irsa-about-visual .seal .seal-big {
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-size: 26px;
    line-height: 1;
}
.irsa-about-visual .seal .seal-lbl {
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 5px;
    letter-spacing: .3px;
}

@media (max-width: 575px) {
    .irsa-about-visual { aspect-ratio: 1 / 1.1; max-width: 360px; }
    .irsa-about-visual .logo-disc { width: 150px; height: 150px; }
    .irsa-about-visual .chip { font-size: 11.5px; padding: 7px 12px; }
    .irsa-about-visual .seal { width: 84px; height: 84px; top: -16px; }
    .irsa-about-visual .seal .seal-big { font-size: 20px; }
    .irsa-about-visual .stat-card { padding: 12px 16px; min-width: 130px; }
    .irsa-about-visual .stat-card .big { font-size: 26px; }
}

