/* =============================================
   CLAVE FISCAL — Wise-Inspired Clean Design
   ============================================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f3;
    --bg-dark: #0a1628;
    --bg-dark-2: #0f1f38;
    --bg-tinted: #f7f8f6;

    --color-primary: #1a9e8f;
    --color-primary-light: #2dd4bf;
    --color-primary-bg: rgba(45, 212, 191, 0.08);
    --color-primary-bg-strong: rgba(45, 212, 191, 0.15);
    --color-accent: #163066;

    --text-primary: #1a1a2e;
    --text-secondary: #4a4a5e;
    --text-tertiary: #8b8b9e;
    --text-inverse: #ffffff;
    --text-inverse-2: #b0b8c9;

    --border: #e5e7eb;
    --border-dark: rgba(255, 255, 255, 0.08);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-w: 1140px;
    --header-h: 92px;
    --radius: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.08);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s var(--ease);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── HEADER ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    transition: all 0.3s var(--ease);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.025);
}

.header--scrolled {
    top: 0;
}

.header .logo__text,
.header .nav__link {
    color: var(--text-primary);
}

.header .nav__link:hover {
    color: var(--color-primary);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo__icon {
    width: 142px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.logo__text {
    display: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    letter-spacing: -0.1px;
    transition: color 0.25s var(--ease), background 0.25s var(--ease);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.25s var(--ease);
}

.nav__link:hover {
    color: var(--color-primary);
    background: transparent;
}

.nav__link:hover::after,
.nav__link.active::after {
    transform: scaleX(1);
}

.nav__link.active {
    color: var(--color-primary);
    background: transparent;
}

.nav__link--cta {
    background: var(--color-primary);
    color: white !important;
    margin-left: 10px;
    font-weight: 600;
}

.nav__link--cta:hover {
    background: var(--color-primary-light);
    transform: translateY(-1px);
}

.nav__link--cta::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.header--scrolled .hamburger span {
    background: var(--text-primary);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── HERO ── */
.hero {
    position: relative;
    padding-top: calc(var(--header-h) + 80px);
    padding-bottom: 0;
    overflow: hidden;
    background: #000;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 680px;
    margin: 0;
    padding-left: 48px;
    padding-bottom: 100px;
}

.hero__title {
    font-size: clamp(2.025rem, 4.6vw, 3.025rem);
    font-weight: 800;
    color: white;
    line-height: 1.35;
    letter-spacing: -1px;
    margin-bottom: 22px;
}

.hero__title--sans {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero__title--accent {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 0.85em;
    color: white;
    letter-spacing: -0.5px;
    margin-top: 6px;
    display: inline-block;
}

.hero__separator {
    width: 48px;
    height: 2px;
    background: var(--color-primary-light);
    border-radius: 1px;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    max-width: 490px;
    margin: 0 0 36px;
}

.hero__actions {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Buttons – Wise style: bold, rounded, clean */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 34px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn--primary {
    background: var(--color-primary);
    color: white;
}

.btn--primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 212, 191, 0.25);
}

.btn--secondary {
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn--secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.btn--full {
    width: 100%;
}

/* Hero Cards Row */
.hero__cards {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.hero__cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.hero-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 44px 8px;
}

.hero-card__icon {
    flex-shrink: 0;
    color: var(--color-primary);
}

.hero-card__icon svg {
    display: block;
}

.hero-card__content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.hero-card__content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ── SECTIONS ── */
.section {
    padding: 112px 0;
}

.section--tinted {
    background: var(--bg-tinted);
}

.section--dark {
    background: var(--bg-dark);
    color: var(--text-inverse);
}

.section--clients-bg {
    position: relative;
    background: url('Nuestros clientes2.jpg') center center / cover no-repeat;
}

.section--clients-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.88);
    z-index: 0;
}

.section--clients-bg>.container {
    position: relative;
    z-index: 1;
}

.section-intro {
    text-align: center;
    margin-bottom: 56px;
}

.section__tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section__title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.25;
    margin-bottom: 14px;
}

.section--dark .section__title {
    color: white;
}

.section__subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
}

.section--dark .section__subtitle {
    color: var(--text-inverse-2);
}

/* ── ABOUT ── */
.about__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about__lead {
    font-size: 1.05rem;
    color: var(--text-primary) !important;
    font-weight: 500;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature-row {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.feature-row:first-child {
    padding-top: 0;
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-icon {
    font-size: 22px;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-bg);
    border-radius: 10px;
}

.feature-row h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.feature-row p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── STATEMENT ── */
.statement-section {
    background: var(--bg-secondary);
    overflow: hidden;
    margin-top: -48px;
}

.statement__layout {
    display: flex;
    align-items: stretch;
    min-height: 420px;
}

.statement__content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 56px 64px;
}

.statement__text-block {
    max-width: 380px;
}

.statement__text {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.55;
    letter-spacing: -0.2px;
}

.statement__text--secondary {
    margin-top: 24px;
    font-weight: 700;
    color: var(--text-primary);
    font-size: clamp(1.25rem, 2.1vw, 1.5rem);
}

.statement__text em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
}

.statement__image {
    flex: 0 0 44%;
    overflow: hidden;
    position: relative;
}

.statement__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.25) 0%, rgba(26, 158, 143, 0.1) 100%);
}

.statement__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── SERVICES ── */

/* Editorial variant — boutique premium */
.service-editorial {
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    padding: 64px;
    margin-bottom: 48px;
    overflow: hidden;
}

.service-editorial--alt {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
    margin-top: 48px;
    margin-bottom: 0;
}

.service-editorial__keywords {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-editorial__keywords span {
    font-size: 0.88rem;
    color: rgba(176, 184, 201, 0.7);
    line-height: 1.5;
    font-weight: 500;
}

.service-editorial__layout {
    display: flex;
    gap: 56px;
    align-items: center;
}

.service-editorial__content {
    flex: 1;
    padding-right: 16px;
}

.service-editorial__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-primary-light);
    margin-bottom: 24px;
    opacity: 0.85;
}

.service-editorial__title {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: white;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.service-editorial__desc {
    color: rgba(176, 184, 201, 0.9);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 400px;
}

.service-editorial__image {
    flex: 0 0 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.service-editorial__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.6s var(--ease);
}

.service-editorial:hover .service-editorial__image img {
    transform: scale(1.03);
}

.service-editorial__divider {
    width: 48px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    margin: 28px 0;
}

.service-editorial__priority {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-editorial__priority-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-light);
    opacity: 0.75;
}

.service-editorial__priority p {
    font-size: 0.9rem;
    color: rgba(176, 184, 201, 0.75);
    line-height: 1.6;
    max-width: 380px;
}

.service-hero {
    background: var(--bg-dark);
    border-radius: var(--radius-xl);
    padding: 52px;
    margin-bottom: 48px;
}

.service-hero--alt {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
    margin-top: 48px;
    margin-bottom: 0;
}

.service-hero__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary-light);
    margin-bottom: 16px;
}

.service-hero__title {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.service-hero__subtitle {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    letter-spacing: 0;
}

.service-hero__desc {
    color: var(--text-inverse-2);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 680px;
}

.service-hero__layout {
    display: flex;
    gap: 40px;
    align-items: center;
}

.service-hero__content {
    flex: 1;
}

.service-hero__image {
    flex: 0 0 360px;
    border-radius: var(--radius);
    overflow: hidden;
}

.service-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.grid-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.cert-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.3s var(--ease);
    border: 1px solid transparent;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.cert-card:hover {
    background: white;
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.cert-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.cert-card__bar {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: width 0.3s var(--ease);
}

.cert-card:hover .cert-card__bar {
    width: 36px;
}

.cert-card__num {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-tertiary);
    letter-spacing: 0.5px;
}

.cert-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.35;
    flex: 1;
}

.cert-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cert-footer {
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-style: italic;
    text-align: center;
    padding-top: 12px;
}

/* Check list in audit section */
.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(176, 184, 201, 0.7);
    font-weight: 400;
}

.check-item span {
    color: var(--color-primary-light);
    font-weight: 500;
    font-size: 13px;
    opacity: 0.65;
}

/* ── CLIENTS ── */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.client-card {
    background: rgba(20, 40, 72, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}

.client-card__accent {
    position: absolute;
    top: 0;
    left: 32px;
    width: 32px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 0 0 2px 2px;
    transition: width 0.3s var(--ease);
}

.client-card:hover .client-card__accent {
    width: 48px;
}

.client-card:hover {
    border-color: rgba(45, 212, 191, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    background: rgba(24, 48, 82, 0.9);
}

.client-card__icon {
    font-size: 28px;
    margin-bottom: 18px;
}

.client-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.client-card p {
    font-size: 0.88rem;
    color: rgba(176, 184, 201, 0.8);
    line-height: 1.7;
}

/* ── NOVEDADES ── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid transparent;
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
}

.news-card:hover {
    background: white;
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.news-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    background: var(--color-primary-bg);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 16px;
    align-self: flex-start;
}

.news-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 12px;
}

.news-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.news-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.news-card__date {
    font-size: 13px;
    color: var(--text-tertiary);
}

.news-card__read {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
}

.news-card:hover .news-card__read {
    text-decoration: underline;
}

/* Button outline variant */
.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 212, 191, 0.25);
}

/* News CTA (Ver todas) */
.news-cta {
    text-align: center;
    margin-top: 40px;
}

/* ── ARCHIVE PAGE ── */
.archive {
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 80px;
}

.archive__header {
    text-align: center;
    margin-bottom: 48px;
}

.archive__title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.archive__subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
}

.archive__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.archive-card {
    display: block;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    border: 1px solid transparent;
    transition: all 0.25s var(--ease);
    text-decoration: none;
    color: inherit;
}

.archive-card:hover {
    background: white;
    border-color: var(--border);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.archive-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    background: var(--color-primary-bg);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.archive-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 10px;
}

.archive-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.archive-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.archive-card__date {
    font-size: 13px;
    color: var(--text-tertiary);
}

.archive-card__read {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
}

.archive-card:hover .archive-card__read {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .archive {
        padding-top: calc(var(--header-h) + 32px);
        padding-bottom: 48px;
    }

    .archive-card {
        padding: 24px;
    }
}

/* ── FAQ ── */
.faq__container {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
    border-top: 1px solid var(--border);
}

.faq-item__q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    gap: 16px;
    transition: color 0.2s var(--ease);
}

.faq-item__q:hover {
    color: var(--color-primary);
}

.faq-item__chevron {
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
    color: var(--text-tertiary);
}

.faq-item.active .faq-item__chevron {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-item__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}

.faq-item.active .faq-item__a {
    max-height: 200px;
}

.faq-item__a p {
    padding-bottom: 22px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ── CONTACT ── */
.contact__layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 48px;
    align-items: start;
}

.contact-block {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.contact-block:last-of-type {
    border-bottom: none;
}

.contact-block__icon {
    font-size: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-bg);
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-block h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    margin-bottom: 2px;
}

.contact-block a,
.contact-block p {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.contact-block a:hover {
    color: var(--color-primary);
}

.contact__badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.badge span {
    color: var(--color-primary);
    font-weight: 700;
}

/* Contact Form */
.contact__form {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 36px;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-opt {
    font-weight: 400;
    color: var(--text-tertiary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 14px;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-tertiary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-bg);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b8b9e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-note {
    font-size: 12px;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 12px;
}

/* Form success */
.contact__form.form--success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    text-align: center;
}

.form-success__icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.form-success__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.form-success__text {
    color: var(--text-secondary);
}

/* ── FOOTER ── */
.footer {
    background: #f4f5f7;
    border-top: none;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.06);
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding: 56px 0 40px;
}

.footer__brand p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 14px;
    max-width: 280px;
    line-height: 1.6;
}

.footer .logo__text {
    color: white !important;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__col h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.footer__col a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer__col a:hover {
    color: var(--color-primary);
    transform: translateX(2px);
}

.footer__bottom {
    border-top: 1px solid var(--border);
    padding: 18px 0;
}

.footer__bottom p {
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
}

/* ── ARGENTINA BADGE ── */
.argentina-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 8px 18px;
    margin-top: 16px;
    transition: all 0.2s var(--ease);
}

.argentina-badge:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-bg);
}

.argentina-badge__flag {
    width: 26px;
    height: 18px;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.argentina-badge__flag span {
    flex: 1;
    min-height: 6px;
    display: block;
    width: 100%;
}

.argentina-badge__flag span:nth-child(1),
.argentina-badge__flag span:nth-child(3) {
    background: #74ACDF;
}

.argentina-badge__flag span:nth-child(2) {
    background: #FFFFFF;
}

.argentina-badge__text {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

/* ── SCROLL ANIMATIONS ── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .about__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .contact__layout {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 24px;
        transition: right 0.35s var(--ease);
    }

    .nav.active {
        right: 0;
    }

    .nav__link {
        font-size: 18px;
        padding: 14px 24px;
        text-align: center;
        width: 100%;
        color: rgba(255, 255, 255, 0.8);
    }

    .nav__link--cta {
        margin-left: 0;
        margin-top: 8px;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: calc(var(--header-h) + 48px);
    }

    .hero__content {
        padding-bottom: 48px;
    }

    .hero__cards-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .hero-card:last-child {
        border-bottom: none;
    }

    .section {
        padding: 64px 0;
    }

    .section-intro {
        margin-bottom: 36px;
    }

    .statement__layout {
        flex-direction: column;
    }

    .statement__content {
        flex: none;
        padding: 48px 24px;
    }

    .statement__image {
        flex: none;
        height: 300px;
    }

    .service-editorial {
        padding: 36px;
    }

    .service-editorial__layout {
        flex-direction: column;
    }

    .service-editorial__image {
        flex: none;
        width: 100%;
    }

    .service-hero {
        padding: 32px;
    }

    .service-hero__layout {
        flex-direction: column;
    }

    .service-hero__image {
        flex: none;
        width: 100%;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

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

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 0 28px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .values-strip {
        gap: 8px;
    }

    .value-chip {
        padding: 8px 14px;
        font-size: 13px;
    }

    .contact__form {
        padding: 24px;
    }
}

/* ── ARTICLE PAGE ── */
.article-page .header {
    position: fixed;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
}

.article-page .logo__text,
.article-page .nav__link {
    color: var(--text-primary);
}

.article-page .nav__link:hover {
    color: var(--color-primary);
}

.article-page .hamburger span {
    background: var(--text-primary);
}

.article {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 80px;
}

.article__back {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 32px;
    transition: all 0.2s var(--ease);
}

.article__back:hover {
    color: var(--color-primary-light);
    transform: translateX(-4px);
}

.article__back--bottom {
    margin-top: 48px;
    margin-bottom: 0;
}

.article__header {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.article__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    background: var(--color-primary-bg);
    padding: 5px 12px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.article__title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
}

.article__date {
    font-size: 14px;
    color: var(--text-tertiary);
}

.article__body {
    max-width: 720px;
    margin: 0 auto;
}

.article__body p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 20px;
}

.article__lead {
    font-size: 1.1rem !important;
    color: var(--text-primary) !important;
    font-weight: 500;
    line-height: 1.8 !important;
    border-left: 3px solid var(--color-primary);
    padding-left: 20px;
    margin-bottom: 28px !important;
}

.article__body h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.article__body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.article__body ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.article__body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.5;
}

.article__body strong {
    color: var(--text-primary);
    font-weight: 600;
}

.article__cta {
    margin-top: 48px;
    padding: 36px;
    background: var(--bg-tinted);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
}

.article__cta p {
    color: var(--text-secondary) !important;
    margin-bottom: 24px !important;
    font-size: 0.95rem !important;
}

.article__cta .btn {
    display: inline-flex;
}

/* Article page responsive */
@media (max-width: 768px) {
    .article {
        padding-top: calc(var(--header-h) + 32px);
        padding-bottom: 48px;
    }

    .article__header {
        margin-bottom: 28px;
    }

    .article__cta {
        padding: 24px;
    }
}