/*
Theme Name: IBD Corporate
Author: IBD Internet
Description: Tema corporativo bilingüe de IBD Internet.
Version: 1.0.0
Requires at least: 6.6
Text Domain: ibd
*/
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@600;700&display=swap');

:root {
    --red: #fd9d02;
    --red-dark: #bf2028;
    --ink: #202629;
    --muted: #60696e;
    --paper: #f5f5f2;
    --line: #dedfdc;
    --white: #fff;
    --wrap: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px
}

body {
    margin: 0;
    color: var(--ink);
    background: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased
}

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

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

button,
input,
textarea {
    font: inherit
}

button,
a,
input,
textarea {
    touch-action: manipulation
}

a:hover {
    color: var(--red)
}

:focus-visible {
    outline: 3px solid #16789c;
    outline-offset: 5px
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3 {
    line-height: 1.1;
    letter-spacing: -.035em;
    font-weight: 700
}

h1 {
    font-size: clamp(40px, 5.7vw, 76px)
}

h2 {
    font-size: clamp(32px, 3.8vw, 49px)
}

h3 {
    font-size: 25px
}

p {
    margin-bottom: 1.2em
}

.wrap {
    width: min(var(--wrap), calc(100% - 80px));
    margin-inline: auto
}

.utility {
    background: var(--ink);
    color: #e6e8e7;
    font-size: 12px;
    letter-spacing: .015em
}

.utility>.wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 35px
}

.utility .wrap>div {
    display: flex;
    gap: 28px
}

.utility a:hover {
    color: #fff;
    text-decoration: underline
}

.site-header {
    background: rgba(255, 255, 255, .97);
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid #e7e7e4
}

.header-inner {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand {
    display: block;
    flex-shrink: 0
}

.brand img {
    width: 172px;
    height: auto
}

#primary-menu {
    display: flex;
    align-items: center;
    gap: 25px
}

#primary-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 24px;
    align-items: center
}

#primary-menu li {
    font-size: 14px;
    font-weight: 600
}

#primary-menu .current-menu-item>a {
    color: var(--red)
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: var(--red);
    color: white;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid var(--red);
    cursor: pointer;
    line-height: 1.3;
    transition: background .2s, transform .2s
}

.button:hover {
    background: var(--red-dark);
    color: white;
    border-color: var(--red-dark);
    transform: translateY(-2px)
}

.button-small {
    padding: 12px 19px
}

.button-outline {
    background: transparent;
    color: white;
    border-color: #90989b
}

.button-outline:hover {
    background: white;
    color: var(--ink);
    border-color: white
}

.text-link {
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid currentColor;
    padding-bottom: 6px
}

.menu-toggle {
    display: none
}

.lang-switch {
    display: flex;
    gap: 8px;
    font-size: 12px
}

.lang-switch a[aria-current] {
    color: #333;
}

.hero {
    position: relative;
    background: var(--ink);
    color: white;
    overflow: hidden
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.04fr 1fr;
    min-height: 600px;
    align-items: center;
    gap: 64px
}

.hero-copy {
    padding: 68px 0 74px;
    position: relative;
    z-index: 2
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px
}

.eyebrow:before {
    content: '';
    width: 26px;
    height: 2px;
    background: var(--red);
    display: inline-block;
    flex-shrink: 0
}

.hero h1 {
    font-size: clamp(46px, 5.2vw, 69px);
    margin-bottom: 25px;
    line-height: 1.035;
    letter-spacing: -.05em
}

.hero h1 em {
    font-style: normal;
    color: #fa656a
}

.hero .lead {
    max-width: 440px;
    color: #d3d8da;
    font-size: 17px;
    line-height: 1.7
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 31px
}

.hero-visual {
    position: relative;
    align-self: stretch;
    min-width: 0
}

.hero-visual:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--ink), transparent 24%), linear-gradient(0deg, rgba(32, 38, 41, .25), transparent)
}

.hero-visual>img {
    height: 100%;
    width: calc(100% + 100px);
    max-width: none;
    object-fit: cover;
    object-position: 62% center
}

.hero-note {
    position: absolute;
    z-index: 2;
    bottom: 44px;
    right: 0;
    background: white;
    color: var(--ink);
    padding: 20px 25px;
    width: 220px;
    border-left: 4px solid var(--red);
    font-size: 12px;
    line-height: 1.4
}

.hero-note strong {
    font-size: 40px;
    display: block;
    line-height: 1.1;
    letter-spacing: -.05em;
    margin-bottom: 6px
}

.intro-strip {
    border-bottom: 1px solid var(--line);
    background: var(--paper)
}

.intro-strip .wrap {
    min-height: 87px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.intro-strip p {
    margin: 0;
    font-size: 15px
}

.intro-strip strong {
    font-weight: 700
}

.intro-strip .tags {
    display: flex;
    gap: 25px;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted)
}

.section {
    padding: 94px 0
}

.section-soft {
    background: var(--paper)
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px
}

.section-head h2 {
    margin-bottom: 0;
    max-width: 650px
}

.section-head .eyebrow {
    margin-bottom: 17px
}

.section-head>p {
    max-width: 330px;
    color: var(--muted);
    font-size: 15px
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line)
}

.service-card {
    padding: 30px 28px 27px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: relative
}

.service-card .number {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    display: block;
    margin-bottom: 28px
}

.service-card h3 {
    font-size: 23px;
    max-width: 260px
}

.service-card p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 0
}

.service-card a:after {
    content: '↗';
    float: right;
    color: var(--red)
}

.section-more {
    margin-top: 30px;
    text-align: right
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px 26px
}

.project-card[hidden] {
    display: none
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 540/394;
    background: #e8e9e8
}

.project-image>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s
}

.project-card:hover .project-image>img {
    transform: scale(1.035)
}

.project-arrow {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: white;
    font-size: 21px;
    color: var(--ink)
}

.project-caption {
    padding-top: 17px
}

.project-caption p {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--muted);
    margin-bottom: 9px
}

.project-caption h3 {
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -.025em
}

.project-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px
}

.project-filters button {
    border: 1px solid var(--line);
    background: white;
    padding: 9px 18px;
    cursor: pointer;
    font-size: 13px
}

.project-filters button.active {
    background: var(--ink);
    color: white;
    border-color: var(--ink)
}

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

.about-grid h2 {
    max-width: 450px
}

.about-grid .about-copy p {
    color: #000;
    font-size: 16px
}

.about-facts {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--line);
    margin-top: 30px;
    padding-top: 24px
}

.about-facts strong {
    font-size: 38px;
    line-height: 1;
    display: block;
    letter-spacing: -.04em
}

.about-facts span {
    font-size: 12px;
    color: var(--muted)
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line)
}

.client-logo {
    padding: 22px 16px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.client-logo img {
    max-height: 55px;
    width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .78;
    transition: filter .2s, opacity .2s
}

.client-logo:hover img {
    filter: none;
    opacity: 1
}

.split-promo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px
}

.promo {
    padding: 44px;
    background: var(--ink);
    color: white
}

.promo h2 {
    font-size: 37px
}

.promo p {
    color: #ccd1d3
}

.promo-light {
    background: #f8eeee;
    color: var(--ink)
}

.promo-light p {
    color: var(--muted)
}

.promo .eyebrow {
    font-size: 10px
}

.promo img {
    max-width: 170px;
    margin-bottom: 20px
}

.contact-section {
    background: var(--ink);
    color: white
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px
}

.contact-copy h2 {
    max-width: 450px;
    font-size: clamp(40px, 4vw, 56px)
}

.contact-copy>p {
    color: #c6cccf
}

.contact-copy .contact-phone {
    display: block;
    font-size: 29px;
    letter-spacing: -.035em;
    margin-top: 34px
}

.contact-copy address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    color: #c6cccf;
    margin-top: 25px
}

.contact-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .015em
}

.contact-form input:not([type=checkbox]),
.contact-form textarea {
    width: 100%;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid #9ca2a5;
    background: transparent;
    color: inherit;
    outline-offset: 4px;
    margin-bottom: 22px;
    border-radius: 0
}

.contact-form textarea {
    resize: vertical
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px
}

.contact-form .consent {
    display: flex;
    align-items: start;
    gap: 9px;
    line-height: 1.5;
    font-size: 11px;
    font-weight: 400;
    margin-bottom: 25px
}

.consent input {
    accent-color: var(--red);
    margin-top: 3px
}

.consent a {
    text-decoration: underline
}

.form-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.form-notice {
    padding: 15px;
    border: 1px solid var(--red);
    font-size: 14px
}

.site-footer {
    padding: 60px 0 0;
    background: #171d20;
    color: #c1c8cb;
    font-size: 13px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr .7fr;
    gap: 60px;
    padding-bottom: 45px
}

.footer-brand {
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.04em;
    margin-bottom: 19px
}

.footer-brand span {
    color: var(--red)
}

.site-footer h2 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: white;
    margin-bottom: 20px
}

.footer-bottom {
    border-top: 1px solid #394044;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 21px;
    padding-bottom: 24px;
    font-size: 11px
}

.footer-bottom>div {
    display: flex;
    gap: 24px
}

.page-heading {
    background-color: #0b0f19 !important;
    /* Foco atenuado más visible y envolvente desde la esquina derecha */
    background-image: 
      radial-gradient(
        ellipse 600px 400px at 90% 0%, 
        rgba(220, 38, 38, 0.35) 0%, 
        rgba(220, 38, 38, 0.12) 45%, 
        transparent 80%
      ) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 70px 0 !important;
  }
  
  .page-heading h1 {
    color: #ffffff !important;
    font-family: "Space Grotesk", sans-serif !important;
    font-size: clamp(36px, 4.5vw, 78px) !important;
  }
  
  .page-heading p {
    color: #ffffff !important;
    font-family: "Plus Jakarta Sans", sans-serif !important;
    font-size: 18px !important;
  }
  
  .page-heading .eyebrow {
    
    font-family: "JetBrains Mono", monospace !important;
  }
  
  .breadcrumb {
    color: #ffffffd4 !important;
    font-family: "JetBrains Mono", monospace !important;
  }
  
  .breadcrumb a {
    color: #94a3b8 !important;
  }
  
  .breadcrumb a:hover {
    color: #ffffff !important;
  }
.content-wrap {
    padding-top: 65px;
    padding-bottom: 80px
}

.entry-content>p,
.entry-content>ul {
    max-width: 860px
}

.entry-content h2,
.entry-content h3 {
    margin-top: 32px
}

.entry-content h3 {
    font-size: 25px
}

.entry-content a:not(.button):not(.client-logo):not(.project-card a) {
    text-underline-offset: 3px
}

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

.entry-content .services-grid {
    margin: 25px 0 45px
}

.entry-content .services-grid h3 {
    margin-top: 0
}

.entry-content:has(.client-grid),
.entry-content:has(.contact-grid),
.entry-content:has(.project-grid),
.entry-content:has(.services-grid) {
    max-width: none
}

.project-detail {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 60px;
    align-items: start
}

.detail-image {
    background: var(--paper);
    text-align: center;
    padding: 25px
}

.detail-image img {
    width: 100%;
    object-fit: contain
}

.detail-image+.entry-content {
    padding-top: 5px
}

.detail-image+.entry-content ul {
    padding-left: 20px
}

.legacy-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px
}

.legacy-col {
    flex: 1 1 260px;
    min-width: 0
}

.legacy-content img {
    max-height: 600px;
    object-fit: contain
}

.legacy-content [hidden] {
    display: none !important
}

.legacy-content h1 {
    font-size: 36px
}

.legacy-content h2 {
    font-size: 30px
}

.legacy-content h3 {
    font-size: 25px
}

.legacy-content table {
    width: 100%;
    border-collapse: collapse
}

.legacy-content td,
.legacy-content th {
    padding: 10px;
    border: 1px solid var(--line)
}

.screen-reader-text,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.skip-link:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100;
    background: white;
    padding: 15px
}

.entry-content .contact-grid {
    gap: 60px
}

.entry-content .contact-copy>p,
.entry-content .contact-copy address {
    color: var(--muted)
}

@media(min-width:1500px) {
    .hero-visual>img {
        width: calc(100% + 200px)
    }
}

@media(max-width:1100px) {
    .wrap {
        width: calc(100% - 48px)
    }

    #primary-menu {
        gap: 18px
    }

    #primary-menu ul {
        gap: 15px
    }

    #primary-menu li {
        font-size: 12px
    }

    .brand img {
        width: 150px
    }

    .hero-inner {
        gap: 30px
    }

    .hero h1 {
        font-size: 56px
    }

    .intro-strip .tags {
        gap: 15px
    }

    .contact-grid {
        gap: 50px
    }

    .about-grid {
        gap: 50px
    }
}

@media(max-width:860px) {
    .header-inner {
        height: 74px
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 14px;
        border: 0;
        background: none;
        padding: 10px;
        font-size: 14px
    }

    #primary-menu {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--line);
        padding: 25px;
        box-shadow: 0 12px 20px #0001
    }

    #primary-menu.open {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap
    }

    #primary-menu ul {
        display: flex;
        flex-direction: column;
        align-items: start;
        width: 100%;
        gap: 15px
    }

    #primary-menu li {
        font-size: 17px
    }

    .hero-inner {
        min-height: 560px;
        grid-template-columns: 1.1fr .9fr;
        gap: 0
    }

    .hero h1 {
        font-size: 48px
    }

    .hero-visual>img {
        object-position: 68% center
    }

    .hero-note {
        width: 165px;
        padding: 17px;
        right: -8px;
        font-size: 11px
    }

    .intro-strip .tags {
        display: none
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .client-grid {
        grid-template-columns: repeat(4, 1fr)
    }

    .contact-grid {
        gap: 40px
    }

    .split-promo {
        gap: 20px
    }

    .promo {
        padding: 30px
    }

    .promo h2 {
        font-size: 30px
    }

    .footer-grid {
        gap: 30px
    }

    .footer-bottom {
        flex-wrap: wrap
    }

    .section {
        padding: 70px 0
    }

    .project-detail {
        grid-template-columns: 1fr;
        gap: 35px
    }
}

@media(max-width:600px) {
    .wrap {
        width: calc(100% - 40px)
    }

    .utility .wrap>span {
        display: none
    }

    .utility .wrap>div {
        width: 100%;
        justify-content: space-between;
        font-size: 11px
    }

    .header-inner {
        height: 68px
    }

    .brand img {
        width: 148px
    }

    #primary-menu {
        top: 68px
    }

    .hero-inner {
        display: block;
        min-height: 0
    }

    .hero-copy {
        padding: 46px 0 38px
    }

    .hero h1 {
        font-size: 47px;
        max-width: 400px
    }

    .hero .lead {
        font-size: 15px;
        max-width: 350px
    }

    .eyebrow {
        font-size: 10px;
        margin-bottom: 22px
    }

    .hero-actions {
        gap: 12px
    }

    .hero-actions .button {
        font-size: 12px;
        padding: 14px 17px;
        gap: 16px
    }

    .hero-visual {
        height: 250px;
        margin: 0 -20px
    }

    .hero-visual>img {
        width: 100%;
        object-position: 50% 50%
    }

    .hero-visual:after {
        background: linear-gradient(180deg, var(--ink), transparent 35%)
    }

    .hero-note {
        bottom: 22px;
        right: 20px;
        width: 170px
    }

    .hero-note strong {
        font-size: 34px
    }

    .intro-strip .wrap {
        min-height: 75px;
        gap: 15px
    }

    .intro-strip p {
        font-size: 12px;
        max-width: 190px
    }

    .intro-strip .text-link {
        font-size: 11px;
        white-space: nowrap
    }

    .section {
        padding: 57px 0
    }

    .section-head {
        display: block;
        margin-bottom: 30px
    }

    .section-head .text-link {
        display: inline-block;
        margin-top: 22px
    }

    .section-head>p {
        margin-top: 20px
    }

    .services-grid {
        grid-template-columns: 1fr
    }

    .service-card {
        padding: 25px
    }

    .service-card .number {
        margin-bottom: 16px
    }

    .service-card h3 {
        font-size: 24px;
        max-width: none
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .project-caption h3 {
        font-size: 22px
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .about-grid h2 {
        margin-bottom: 0
    }

    .about-facts {
        gap: 36px
    }

    .client-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .client-logo {
        min-height: 82px;
        padding: 16px 10px
    }

    .client-logo img {
        max-height: 40px
    }

    .split-promo {
        grid-template-columns: 1fr
    }

    .promo {
        padding: 32px 27px
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .contact-copy h2 {
        font-size: 42px
    }

    .contact-copy .contact-phone {
        margin-top: 25px
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px
    }

    .footer-grid>div:first-child {
        grid-column: 1/-1
    }

    .footer-bottom>div {
        gap: 15px;
        flex-wrap: wrap
    }

    .page-heading {
        padding: 40px 0
    }

    .page-heading h1 {
        overflow-wrap: anywhere;
        font-size: 37px
    }

    .content-wrap {
        padding-top: 40px;
        padding-bottom: 50px
    }

    .legacy-row {
        display: block
    }

    .legacy-col {
        margin-bottom: 20px
    }

    .entry-content {
        overflow-wrap: anywhere
    }

    .entry-content .contact-grid {
        gap: 30px
    }

    .project-filters {
        gap: 6px
    }

    .project-filters button {
        font-size: 11px;
        padding: 8px 11px
    }
}

.partner-strip {
    padding: 44px 0 0
}

.technology-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    gap: 40px;
    padding: 8px 0 10px
}

.technology-logos img {
    width: 100%;
    max-height: 65px;
    object-fit: contain
}

.lang-switch a {
    padding: 5px;
    min-width: 28px;
    text-align: center
}

.lang-switch a[aria-current] {
    font-weight: 700;
    border-bottom: 2px solid var(--red)
}

@media(max-width:600px) {
    .technology-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px
    }

    .technology-logos img {
        max-height: 42px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *:before,
    *:after {
        transition: none !important;
        animation: none !important
    }
}

.hero-visual>img {
    object-position: 53% center
}

.enterprise-feature {
    background: var(--ink);
    color: white;
    border-top: 1px solid #ffffff20
}

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

.enterprise-grid h2 {
    max-width: 550px;
    margin: 0
}

.enterprise-grid p:not(.eyebrow) {
    color: #d3d8da;
    font-size: 18px
}

.enterprise-grid strong {
    color: white
}

.enterprise-grid a {
    color: white
}

.service-intro {
    font-size: clamp(21px, 2.4vw, 30px);
    line-height: 1.5;
    /*max-width: 920px;*/
    margin-bottom: 55px;
    letter-spacing: -.02em
}

.service-sections>section {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 25px;
    padding: 35px 0;
    border-top: 1px solid var(--line)
}

/* wpautop can insert an empty paragraph after the section number. Keep both columns explicit. */
.service-sections>section>.number {
    grid-column: 1;
    grid-row: 1
}

.service-sections>section>div {
    grid-column: 2;
    grid-row: 1;
    min-width: 0
}

.service-sections>section>p:empty {
    display: none
}

.service-sections>section>div>h2:first-child {
    margin-top: 0
}

/* Círculo rojo con el número en blanco para las secciones de servicio */
.service-sections .number {
    display: flex !important;
    align-items: center;
    justify-content: center;
    
    /* Tamaño del círculo */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    
    /* Colores */
    background-color: #dc2626 !important;
    color: #ffffff !important;
    
    /* Tipografía */
    font-family: "JetBrains Mono", monospace !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1;
    padding-top: 0 !important; /* Limpia el padding anterior */
    
    /* Sombra sutil */
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
    flex-shrink: 0;
  }

.service-sections h2 {
    font-size: clamp(26px, 3vw, 36px);
    max-width: 850px
}

.service-sections p {
    max-width: 8950px;
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 0
}

.related-services {
    margin-top: 65px
}

.related-services>h2 {
    font-size: 36px;
    margin-bottom: 30px
}

.service-cta {
    margin: 55px 0 30px;
    padding: 40px;
    background: var(--paper);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border-left: 4px solid var(--red)
}

.service-cta h2 {
    font-size: 32px;
    margin: 0
}

.service-cta .button {
    flex-shrink: 0
}

.service-cta .eyebrow {
    margin-bottom: 12px
}

.team-section {
    padding: 50px 0 10px;
    border-top: 1px solid var(--line);
    margin-top: 40px
}



#primary-menu {
    gap: 18px
}

#primary-menu ul {
    gap: 18px
}

@media(max-width:1100px) {
    .header-inner {
        height: 74px
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 14px;
        border: 0;
        background: none;
        padding: 10px;
        font-size: 14px
    }

    #primary-menu {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--line);
        padding: 25px;
        box-shadow: 0 12px 20px #0001
    }

    #primary-menu.open {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap
    }

    #primary-menu ul {
        display: flex;
        flex-direction: column;
        align-items: start;
        width: 100%;
        gap: 15px
    }

    #primary-menu li {
        font-size: 17px
    }
}

@media(max-width:700px) {
    .enterprise-grid {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .enterprise-grid p:not(.eyebrow) {
        font-size: 16px
    }

    .service-sections>section {
        grid-template-columns: 30px 1fr;
        gap: 12px;
        padding: 25px 0
    }

    .service-cta {
        display: block;
        padding: 28px
    }

    .service-cta .button {
        margin-top: 22px
    }

    .service-cta h2 {
        font-size: 28px
    }

    .service-intro {
        margin-bottom: 32px
    }

    .related-services>h2 {
        font-size: 30px
    }
}

@media(max-width:600px) {
    .hero-visual>img {
        object-position: 50% center
    }

    .header-inner {
        height: 68px
    }

    #primary-menu {
        top: 68px
    }
}

.service-card-featured {
    grid-column: 1/-1;
    background: var(--paper)
}

.service-card-featured h3 {
    max-width: none
}

.service-card-featured p {
    max-width: 850px
}

/* ================================================================
   REDISEÑO STITCH · PRECISION ARCHIVAL
   Adaptación al HTML y a las clases existentes del tema IBD.
   Esta capa está al final para conservar la compatibilidad del tema.
================================================================ */

:root {
    --red: #dc2626;
    --red-dark: #b70011;
    --ink: #0f172a;
    --muted: #565e74;
    --paper: #f8fafc;
    --line: #e2e8f0;
    --white: #fff;
    --wrap: 1280px;
    --surface-dark: #0b0f19;
    --surface-dark-card: #111827;
    --surface-muted: #f1f5f9;
    --font-display: "Space Grotesk", "Arial Narrow", Arial, sans-serif;
    --font-body: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
    --font-mono: "JetBrains Mono", Consolas, monospace;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --surface-canvas: #faf8ff;
    --surface-card: #fff;
    --telemetry-emerald: #10b981;
    --shadow-card: none;
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, .04)
}

body {
    color: #171b26;
    background: #fff;
    font-family: var(--font-body);
    line-height: 1.6
}

h1,
h2,
h3,
.footer-brand,
.about-facts strong,
.hero-note strong {
    font-family: var(--font-display)
}

h1,
h2,
h3 {
    color: inherit;
    letter-spacing: -.03em
}

h1 {
    font-size: clamp(44px, 5.3vw, 72px);
    line-height: 1.05
}

h2 {
    font-size: clamp(34px, 3.8vw, 52px);
    line-height: 1.12
}

h3 {
    line-height: 1.3
}

.wrap {
    width: min(var(--wrap), calc(100% - 128px))
}

.eyebrow,
.service-card .number,
.service-sections .number,
.project-caption p,
.promo .eyebrow,
.site-footer h2 {
    font-family: var(--font-mono);
    font-weight: 600;
    letter-spacing: .08em
}

.eyebrow:before {
    width: 24px;
    height: 2px;
    background: var(--red)
}

/* Cabecera y navegación */
.utility {
    background: var(--surface-dark);
    color: #eaf1ff
}

.site-header {
    background: rgba(255, 255, 255, .85);
    border-bottom-color: rgba(226, 232, 240, .9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px)
}

.header-inner {
    height: 92px
}

#primary-menu li {
    font-size: 14px;
    font-weight: 500
}

#primary-menu a {
    position: relative
}

#primary-menu ul a:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease
}

#primary-menu ul a:hover:after,
#primary-menu .current-menu-item>a:after {
    transform: scaleX(1)
}

.lang-switch a {
    font-family: var(--font-mono)
}

/* Ajuste del menú según la referencia visual de Stitch */
@media(min-width:1101px) {
    .site-header {
        border-bottom: 0;
        box-shadow: 0 1px 0 rgba(226, 232, 240, .45)
    }

    .header-inner.wrap {
        width: min(1216px, calc(100% - 64px))
    }

    .header-inner {
        display: grid;
        grid-template-columns: 38% max-content 1fr;
        justify-content: initial;
        height: 100px;
        gap: 0
    }

    .brand {
        grid-column: 1;
        justify-self: start
    }

    .brand img {
        width: 184px
    }

    #primary-menu {
        grid-column: 2;
        justify-self: start;
        gap: 32px
    }

    #primary-menu ul {
        gap: 40px
    }

    #primary-menu li {
        color: #475569;
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 600;
        line-height: 1.25;
        white-space: nowrap
    }

    #primary-menu li>a {
        padding: 38px 0 31px
    }

    #primary-menu .current-menu-item>a {
        color: #4c5a6d;
    }

    #primary-menu .current-menu-item>a:before {
        content: "";
        position: absolute;
        top: 50%;
        left: -16px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--red);
        transform: translateY(-50%)
    }

    #primary-menu ul a:after {
        bottom: 22px;
        height: 2px
    }

    #primary-menu .current-menu-item>a:after {
        left: -16px
    }
}

/* Botones y enlaces */
.button {
    justify-content: center;
    gap: 18px;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    background: var(--red);
    border-color: var(--red);
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .1);
    transition: background .2s, border-color .2s, box-shadow .2s, transform .2s
}

.button:after {
    display: inline-block;
    transition: transform .2s
}

.button:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px)
}

.button:hover:after {
    transform: translate(2px, -2px)
}

.button-outline {
    background: var(--surface-dark-card);
    border-color: rgba(255, 255, 255, .1);
    box-shadow: none
}

.text-link {
    border: 0;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .02em
}

.text-link:after {
    content: " →";
    color: var(--red)
}

/* Hero */
.hero {
    background: var(--surface-dark)
}

.hero-inner {
    min-height: 680px;
    grid-template-columns: 1.08fr .92fr;
    gap: 72px
}

.hero-copy {
    padding: 88px 0 96px
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 28px;
    font-size: clamp(48px, 5.3vw, 72px);
    line-height: 1.05;
    letter-spacing: -.04em
}

.hero h1 em {
    color: #ff5b61
}

.hero .lead {
    max-width: 560px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.65
}

.hero-visual:after {
    background: linear-gradient(90deg, var(--surface-dark), transparent 30%), linear-gradient(0deg, rgba(11, 15, 25, .35), transparent)
}

.hero-note {
    bottom: 40px;
    padding: 22px 26px;
    border: 1px solid var(--border-hairline, #e2e8f0);
    border-left: 3px solid var(--red);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card)
}

.hero-note strong {
    color: var(--ink)
}

.intro-strip {
    background: var(--surface-muted)
}

/* Secciones y cabeceras */
.section {
    padding: 96px 0
}

.section-soft {
    background: var(--paper)
}

.section-head {
    margin-bottom: 48px
}

.section-head>p {
    color: var(--muted);
    line-height: 1.65
}

/* Servicios: bento técnico */
.services-grid {
    gap: 16px;
    border: 0;
    background: transparent
}

/* ================================================================
   Efecto HOVER para tarjetas de servicio (IBD Tech Style)
================================================================ */

.service-card {
    /* Transición fluida para todos los cambios */
    background-color: #e2e8f0;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
  }
  
  /* Transición suave para los elementos internos */
  .service-card h3,
  .service-card p,
  .service-card a,
  .service-card .number {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease !important;
  }
  .service-card h3 a:hover {

 color: #ccc;

  }


  /* Estado HOVER: Transformación a fondo oscuro con iluminación */
  .service-card:hover {
    background-color: #0b0f19 !important; /* Fondo negro/azulado profundo */
    border-color: rgba(220, 38, 38, 0.5) !important; /* Borde rojo técnico encendido */
    transform: translateY(-5px) !important; /* Elevación sutil */
    
    /* Sombra flotante con resplandor rojo alrededor */
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6), 
                0 0 20px rgba(220, 38, 38, 0.25) !important;
  }
  
  /* Cambio de color de textos a blanco e iluminaciones al hacer hover */
  .service-card:hover h3 {
    color: #ffffff !important; /* Título en blanco puro */
  }
  
  .service-card:hover p {
    color: #cbd5e1 !important; /* Texto de descripción en gris claro de alto contraste */
  }
  
  /* Círculo con número: pasa de rojo sólido a resplandeciente */
  .service-card:hover .number {
    background-color: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.6) !important; /* Foco neón en el número */
  }
  
  /* Flecha/enlace interactivo en la tarjeta */
  .service-card:hover a:after {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
    transform: translate(3px, -3px) !important; /* Pequeño movimiento dinámico de la flecha */
  }

/* Círculo sutil con número en blanco para las tarjetas de servicio */
.service-card .number {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    
    /* Tamaño sutil y compacto */
    width: 32px;
    height: 32px;
    border-radius: 50%;
    
    /* Colores: fondo rojo y texto blanco */
    background-color: #dc2626 !important;
    color: #ffffff !important;
    
    /* Tipografía */
    font-family: "JetBrains Mono", monospace !important;
    font-size: 0.8125rem !important; /* 13px */
    font-weight: 700 !important;
    line-height: 1;
    
    /* Margen inferior para separarlo del título */
    margin-bottom: 1.25rem !important;
    
    /* Sombra casi imperceptible para darle profundidad suave */
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.2);
  }

.service-card .number {
    margin-bottom: 40px;
    font-size: 14px
}

.service-card h3 {
    font-size: 24px
}

.service-card p {
    color: var(--muted);
    line-height: 1.7
}

.service-card a:after {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    transition: transform .2s, border-color .2s
}

.service-card:hover a:after {
    border-color: rgba(220, 38, 38, .45);
    transform: translate(2px, -2px)
}

.service-card-featured {
    background: var(--surface-muted)
}

/* Proyectos */
.project-grid {
    gap: 32px
}

.project-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform .25s, border-color .25s, box-shadow .25s
}

.project-card:hover {
    border-color: rgba(220, 38, 38, .35);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px)
}

.project-image {
    aspect-ratio: 16/10;
    background-color: #f1f5f9;
    background-image: radial-gradient(circle, rgba(71, 85, 105, .16) 1px, transparent 1px);
    background-size: 16px 16px;
    isolation: isolate
}

.project-image>img {
    position: relative;
    z-index: 1
}

.project-caption {
    padding: 22px 24px 24px
}

.project-caption h3 {
    margin-bottom: 0
}

.project-arrow {
    right: 16px;
    bottom: 16px;
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: var(--shadow-card)
}

.project-filters button {
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-size: 12px;
    transition: color .2s, background .2s, border-color .2s
}

.project-filters button.active {
    background: var(--ink)
}

/* Datos, clientes y promociones */
.about-facts strong {
    font-size: clamp(48px, 5vw, 68px)
}

.about-facts span {
    font-family: var(--font-mono)
}

.client-grid {
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line)
}

.client-logo {
    border: 0;
    transition: background .2s, transform .2s
}

.client-logo:hover {
    position: relative;
    z-index: 1;
    background: var(--paper);
    transform: translateY(-2px)
}

.split-promo {
    gap: 16px
}

.promo {
    padding: 48px;
    border: 1px solid #1e293b;
    border-radius: var(--radius-lg);
    background: var(--surface-dark-card)
}

.promo-light {
    border-color: var(--line);
    background: var(--surface-muted)
}

/* Contacto y formularios */
.contact-section,
.enterprise-feature {
    background: var(--surface-dark)
}

.contact-form label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase
}

.contact-form input:not([type=checkbox]),
.contact-form textarea {
    padding: 13px 14px;
    border: 1px solid #334155;
    border-radius: var(--radius-sm);
    background: rgba(248, 250, 252, .04);
    transition: border-color .2s, box-shadow .2s, background .2s
}

.contact-form input:not([type=checkbox]):focus,
.contact-form textarea:focus {
    border-color: var(--red);
    background: rgba(248, 250, 252, .07);
    box-shadow: 0 0 0 1px var(--red);
    outline: 0
}

.service-cta {
    border: 1px solid var(--line);
    border-left: 3px solid var(--red);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow-card)
}

/* Páginas interiores y pie */
.page-heading {
    padding: 80px 0;
    background: #090d16;
}

.breadcrumb {
    font-family: var(--font-mono)
}

.site-footer {
    background: var(--surface-dark)
}

.footer-bottom {
    border-top-color: #1e293b;
    font-family: var(--font-mono)
}

/* Responsive del sistema de Stitch */
@media(max-width:1199px) {
    .wrap {
        width: calc(100% - 80px)
    }

    .hero-inner {
        min-height: 620px;
        gap: 40px
    }

    .service-card {
        padding: 32px
    }
}

@media(max-width:767px) {
    .wrap {
        width: calc(100% - 40px)
    }

    .site-header {
        background: rgba(255, 255, 255, .94)
    }

    #primary-menu {
        background: rgba(255, 255, 255, .98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px)
    }

    .hero h1 {
        font-size: clamp(40px, 11vw, 48px);
        line-height: 1.1;
        letter-spacing: -.03em
    }

    .hero .lead {
        font-size: 16px
    }

    .section {
        padding: 64px 0
    }

    .service-card {
        min-height: auto;
        padding: 28px
    }

    .service-card .number {
        margin-bottom: 24px
    }

    .project-grid {
        gap: 24px
    }

    .promo {
        padding: 32px 28px
    }

    .page-heading {
        padding: 48px 0
    }
}

/* ================================================================
   HERO HOME · FONDO TECNOLÓGICO Y CONTENIDO CENTRADO
================================================================ */

.home .hero,
body:has(.hero) .hero,
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    width: 100%;
    min-height: 650px;
    background-color: var(--surface-dark);
    background-image: url("assets/Hero-imgv7.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #fff;
    overflow: hidden
}

.home .hero:before,
body:has(.hero) .hero:before,
.hero:before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background:
        radial-gradient(circle at center,
            rgba(11, 15, 25, .16) 0%,
            rgba(11, 15, 25, .08) 38%,
            rgba(11, 15, 25, .2) 100%),
        linear-gradient(180deg,
            rgba(11, 15, 25, .08) 0%,
            rgba(11, 15, 25, 0) 55%,
            rgba(11, 15, 25, .18) 100%);
    pointer-events: none
}

/* Pulsos sobre conexiones: misma geometría y recorte que Hero-imgv6.png.
   Se requiere assets/hero-conexiones-pulsos.svg junto a la imagen. */
.hero.hero {
    background-position: center center;
    background-size: cover;
}
.hero.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url("assets/hero-conexiones-pulsos.svg") center center / cover no-repeat;
    opacity: .85;
    transform: none;
    filter: none;
    animation: none;
    will-change: auto;
}
.hero .hero-inner::before,
.hero .hero-inner::after {
    content: none;
    animation: none;
}
@media (prefers-reduced-motion: reduce) {
    .hero.hero::after { display: none; }
}

.home .hero-inner,
body:has(.hero) .hero-inner,
.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 650px
}

.home .hero-copy,
body:has(.hero) .hero-copy,
.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(820px, 90%);
    margin: 0 auto;
    padding: 90px 20px;
    text-align: center
}

.home .hero .eyebrow,
body:has(.hero) .hero .eyebrow {
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
    text-align: center
}

.home .hero h1,
body:has(.hero) .hero h1 {
    max-width: 800px;
    margin: 0 auto 24px;
    font-size: clamp(48px, 5.5vw, 78px);
    line-height: 1.02;
    letter-spacing: -.045em;
    text-align: center;
    text-shadow: 0 3px 28px rgba(0, 0, 0, .45)
}

.home .hero .lead,
body:has(.hero) .hero .lead {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.65;
    text-align: center;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .5)
}

.home .hero-actions,
body:has(.hero) .hero-actions {
    justify-content: center;
    width: 100%;
    gap: 14px;
    margin-top: 32px
}

/* La antigua imagen del ordenador deja de ocupar espacio */
.home .hero-visual,
body:has(.hero) .hero-visual {
    display: none
}

@media(max-width:860px) {
    .home .hero,
    body:has(.hero) .hero,
    .home .hero-inner,
    body:has(.hero) .hero-inner {
        min-height: 590px
    }

    .home .hero,
    body:has(.hero) .hero {
        background-position: center
    }

    .home .hero-copy,
    body:has(.hero) .hero-copy {
        width: min(700px, 92%);
        padding: 72px 20px
    }

    .home .hero h1,
    body:has(.hero) .hero h1 {
        font-size: clamp(44px, 8vw, 62px)
    }
}

@media(max-width:600px) {
    .home .hero,
    body:has(.hero) .hero,
    .home .hero-inner,
    body:has(.hero) .hero-inner {
        min-height: 560px
    }

    .home .hero,
    body:has(.hero) .hero {
        background-position: center
    }

    .home .hero:before,
    body:has(.hero) .hero:before {
        background: rgba(11, 15, 25, .28)
    }

    .home .hero-copy,
    body:has(.hero) .hero-copy {
        width: 100%;
        padding: 64px 20px
    }

    .home .hero h1,
    body:has(.hero) .hero h1 {
        max-width: 420px;
        font-size: clamp(40px, 12vw, 52px)
    }

    .home .hero .lead,
    body:has(.hero) .hero .lead {
        max-width: 380px;
        font-size: 15px
    }

    .home .hero-actions,
    body:has(.hero) .hero-actions {
        flex-direction: column;
        gap: 12px
    }

    .home .hero-actions .button,
    body:has(.hero) .hero-actions .button {
        justify-content: center;
        width: min(100%, 280px)
    }
}

@media(prefers-reduced-motion:reduce) {
    .home .hero:after,
    body:has(.hero) .hero:after,
    .hero:after,
    .home .hero-inner:before,
    .home .hero-inner:after,
    body:has(.hero) .hero-inner:before,
    body:has(.hero) .hero-inner:after,
    .hero-inner:before,
    .hero-inner:after,
    .service-card,
    .project-card,
    .button,
    .client-logo {
        animation: none !important;
        transform: none !important
    }
}


/* Color de fondo para todo el bloque */
#quienes-somos {
    background-color: #ff5b612b;
    padding: 4rem 2rem; /* Espaciado interno general */
  }
  
  /* Grid contenedor principal */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* En pantallas medianas y grandes, organizar en 2 columnas */
  @media (min-width: 768px) {
    .about-grid {
      grid-template-columns: 1fr 1fr;
      align-items: start;
    }
  }
  
  /* Estilos de tipografía y elementos */
  .eyebrow {
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
  }
  
  #quienes-somos h2 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 2rem;
  }
  
  /* Sección de datos / datos clave */
  .about-facts {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
  }
  
  .about-facts div {
    display: flex;
    flex-direction: column;
  }
  
  .about-facts strong {
    font-size: 2.5rem;
    line-height: 1;
  }
  
  .about-facts span {
    font-size: 0.875rem;
    margin-top: 0.25rem;
  }
  
  /* Párrafos y enlace */
  .about-copy p {
    margin-bottom: 1.25rem;
    line-height: 1.6;
  }
  
  .text-link {
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    display: inline-block;
    margin-top: 0.5rem;
  }
  
  .text-link:hover {
    text-decoration: underline;
  }






/* CTA final */
body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .service-cta {
    position: relative;
    isolation: isolate;
    display: flex;
    overflow: hidden;
    margin: 0 0 96px;
    padding: 64px;
    border: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 16px;
    background:
        linear-gradient(to right, rgba(226, 232, 240, .55) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(226, 232, 240, .55) 1px, transparent 1px),
        linear-gradient(180deg, #f8fafc, #fff);
    background-size: 32px 32px, 32px 32px, auto;
    box-shadow: 0 18px 45px -35px rgba(15, 23, 42, .35)
}

body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .service-cta:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 520px;
    height: 260px;
    border-radius: 50%;
    background: rgba(254, 226, 226, .8);
    filter: blur(80px);
    transform: translate(-50%, -50%)
}

body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .service-cta h2 {
    color: #090d16;
    font-family: var(--font-display);
    font-size: clamp(30px, 3.4vw, 46px)
}

body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .service-cta .button {
    min-height: 52px;
    padding: 15px 28px
}

@media(max-width:1024px) {
    body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .service-sections,
    body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .related-services .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:767px) {
    body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .page-heading {
        padding: 40px 0 64px;
        background-size: 24px 24px
    }

    body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .page-heading h1 {
        font-size: clamp(38px, 11vw, 46px)
    }

    body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .page-heading p {
        font-size: 17px
    }

    body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .service-intro {
        padding: 48px 0 32px;
        font-size: 18px
    }

    body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .service-sections,
    body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .related-services .services-grid {
        grid-template-columns: 1fr;
        gap: 18px
    }

    body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .service-sections {
        padding: 40px 0 64px
    }

    body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .service-sections>section {
        min-height: 0;
        padding: 24px
    }

    body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .service-sections>section>div:after {
        margin-top: 26px
    }

    body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .service-card-featured {
        padding: 28px
    }

    body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .related-services {
        padding: 64px 0
    }

    body:is(.page-servicios, :has(.service-intro):has(.service-sections)) .service-cta {
        display: block;
        margin-bottom: 64px;
        padding: 40px 28px
    }
}


.utility .wrap > div a:first-child{
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
}

.utility .wrap > div a:first-child::before{
    content: "";
    width: 13px;
    height: 13px;
    flex: 0 0 13px;

    background-color: #94a3b8;

    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.utility .wrap > div a:first-child:hover::before{
    background-color: var(--red);
}
