/*
Theme Name: BBVA Technology América
Theme URI: 
Author: Sebastián Paredes López
Author URI: 
Description: Theme diseñado para el sitio web de BBVA Technology América
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: BBVA, Technology, America
Text Domain: bbva-technology-america
*/

/* ========================================
   TABLE OF CONTENTS
   ========================================
   1. IMPORTS & FONTS
   2. CSS VARIABLES
   3. RESET & BASE STYLES  
   4. TYPOGRAPHY
   5. UTILITY CLASSES
   6. LAYOUT COMPONENTS
   7. UI COMPONENTS
   8. POST LAYOUTS & CONTENT
   9. FORMS
   10. FOOTER
   11. NAVIGATION (BTA NAVBAR)
   12. RESPONSIVE DESIGN
   13. ANIMATIONS
   ======================================== */

/* ========================================
   1. IMPORTS & FONTS
   ======================================== */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

/* Benton Sans BBVA Family */
@font-face {
	font-family: "Benton Sans BBVA";
	src: url("fonts/BentonSansBBVA-Light.woff") format("woff");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Benton Sans BBVA";
	src: url("fonts/BentonSansBBVA-Book.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Benton Sans BBVA";
	src: url("fonts/BentonSansBBVA-Medium.woff") format("woff");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Benton Sans BBVA";
	src: url("fonts/BentonSansBBVA-Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Tiempos Family */
@font-face {
	font-family: "Tiempos";
	src: url("fonts/TiemposTextWeb-RegularItalic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Tiempos";
	src: url("fonts/tiempos-headline-bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Tiempos";
	src: url("fonts/tiempos-headline-bold-italic.woff2") format("woff2");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}

/* ========================================
   2. CSS VARIABLES
   ======================================== */
:root {
	/* Typography */
	--font-family: "Benton Sans BBVA", "Lato", sans-serif;
	--font-family-tiempos: "Tiempos", serif;
	--font-weight: 400;
	--font-style: normal;
	--font-brand-x: 500 12px/1.1 "Benton Sans BBVA", system-ui;
	--font-link: 500 15px/1.4 "Benton Sans BBVA", sans-serif;
	--font-menuicon: 500 12px/1.2 "Benton Sans BBVA", system-ui;

	/* Brand Colors */
	--primary-color: #000448;
	--secondary-color: #ffffff;

	/* BBVA Color Palette - Blues */
	--bbva-midnight-blue: #070e46;
	--bbva-electric-blue: #001391;
	--bbva-royal-blue-dark: #2165ca;
	--bbva-royal-blue: #0c6dff;
	--bbva-serene-dark-blue: #53a9ef;
	--bbva-serene-blue: #85c8ff;
	--bbva-blue-light: #d6e9f8;

	/* BBVA Color Palette - Neutrals */
	--bbva-black-1000: #000519;
	--bbva-grey-900: #11192d;
	--bbva-grey-800: #222c42;
	--bbva-grey-700: #334056;
	--bbva-grey-600: #46536d;
	--bbva-grey-500: #adb8c2;
	--bbva-grey-400: #cad1d8;
	--bbva-grey-300: #e2e6ea;
	--bbva-grey-200: #f7f8f8;
	--bbva-white-100: #ffffff;

	/* BBVA Color Palette - Accent Colors */
	--bbva-mandarin: #ffb56b;
	--bbva-canary: #ffe761;
	--bbva-lime: #88e783;
	--bbva-aqua: #8be1e9;
	--bbva-purple: #9694ff;

	/* Design System */
	--bbva-primary-alt: #072146;
	--bbva-primary-alt-action: #001fbb;
	--bbva-surface: #ffffff;
	--bbva-shadow: 0 -1px 10px rgba(7, 14, 70, 0.15);
	--bbva-shadow-stacked: -1px 0 10px rgba(7, 14, 70, 0.15);

	/* Mobile Specific */
	--bbva-mobile-padding: 16px;
	--bbva-mobile-gap: 8px;
	--bbva-mobile-icon-bg: #f4f6fa;
	--bbva-icon-action: #072146;
}

/* ========================================
   3. RESET & BASE STYLES
   ======================================== */
html {
	box-sizing: border-box;
	font-size: 62.5%; /* 1rem = 10px */
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	color: var(--primary-color);
	font-family: var(--font-family);
	font-weight: var(--font-weight);
	font-style: var(--font-style);
	font-size: 1.8rem; /* 18px */
	line-height: 2;
	background-color: var(--bbva-grey-200);
}

a {
	color: var(--bbva-electric-blue);
	text-decoration: none;
}

/* ========================================
   4. TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-family-tiempos);
	margin: 0 0 5rem 0;
	line-height: 1.2;
}

h1 {
	font-size: 6rem; /* 60px */
}

h2 {
	font-size: 4.8rem; /* 48px */
}

h3 {
	font-size: 3.6rem; /* 36px */
}

h4 {
	font-size: 2.4rem; /* 24px */
}

.description {
	font-size: 3rem;
	line-height: 1.5;
	color: var(--primary-color);
}

/* ========================================
   5. UTILITY CLASSES
   ======================================== */

/* Font Size Utilities */
.fontsize-1 {
	font-size: 6rem;
} /* 60px */
.fontsize-2 {
	font-size: 4.8rem;
} /* 48px */
.fontsize-3 {
	font-size: 3.6rem;
} /* 36px */
.fontsize-4 {
	font-size: 2.4rem;
} /* 24px */
.fontsize-5 {
	font-size: 1.5rem;
} /* 15px */

/* Font Weight Utilities */
.fw-900 {
	font-weight: 900;
}

.p-24 {
	padding: 24px;
}
.mb-16 {
	margin-bottom: 16px;
}
.mb-24 {
	margin-bottom: 24px;
}
.fw-700 {
	font-weight: 700;
}
.fw-400 {
	font-weight: 400;
}
.fw-300 {
	font-weight: 300;
}
.fw-100 {
	font-weight: 100;
}

/* Font Family Utilities */
.heading-lato {
	font-family: var(--font-family);
}
.text-tiempos {
	font-family: var(--font-family-tiempos);
}
.text-lato {
	font-family: var(--font-family);
}

/* Tiempos Font Variants */
.tiempos-italic {
	font-family: "Tiempos";
	font-weight: 400;
	font-style: italic;
}

.tiempos-bold {
	font-family: "Tiempos";
	font-weight: 700;
	font-style: normal;
}

.tiempos-bold-italic {
	font-family: "Tiempos";
	font-weight: 700;
	font-style: italic;
}

/* Background Color Utilities */
.bg-primary-bta {
	background-color: var(--primary-color);
	color: var(--secondary-color);
}
.bg-lightblue {
	background-color: #9bc7fd;
	color: var(--primary-color);
}
.bg-peach {
	background-color: var(--bbva-mandarin);
	color: var(--primary-color);
}
.bg-white {
	background-color: var(--bbva-white-100);
}
.bg-electric-blue {
	background-color: var(--bbva-electric-blue);
	color: var(--bbva-white-100);
}
.bg-mandarin {
	background-color: var(--bbva-mandarin);
	color: var(--bbva-midnight-blue);
}
.bg-canary {
	background-color: var(--bbva-canary);
	color: var(--bbva-midnight-blue);
}
.bg-lime {
	background-color: var(--bbva-lime);
	color: var(--bbva-midnight-blue);
}
.bg-aqua {
	background-color: var(--bbva-aqua);
	color: var(--bbva-midnight-blue);
}
.bg-purple {
	background-color: var(--bbva-purple);
	color: var(--bbva-midnight-blue);
}

/* Home CTA */
.home-cta__content {
	width: 100%;
}

.home-cta__media {
	margin-left: auto;
}

/* General Utilities */
.button {
	text-decoration: none;
}

/* Vacancy Card Hover Effect */
.vacancy-card {
	transition: background-color 0.3s ease;
}

.vacancy-card:hover {
	background-color: var(--primary-color) !important;
	color: var(--secondary-color);
}

/* ========================================
   6. LAYOUT COMPONENTS
   ======================================== */

/* Header */
header {
	position: sticky;
	top: 15px;
	z-index: 1000;
	font-weight: bold;
	color: var(--primary-color);
}

/* Banner Section */
.banner {
	height: 70vh;
	background-color: black;
	border-radius: 2rem;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 3rem;
	position: relative;
	overflow: hidden;
}

.banner-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 2rem;
	z-index: 1;
}

.banner-content {
	position: relative;
	z-index: 2;
}

.banner h1 {
	letter-spacing: 3px;
	line-height: 1.3;
	color: white;
	text-align: center;
}

.more {
	display: flex;
	justify-content: center;
	margin: 2rem 0;
}

/* Navigation Elements */
.active-page {
	font-weight: bold;
	text-decoration: none;
	border-bottom: 3px solid var(--primary-color);
	padding-bottom: 8px;
}

/* Interactive Elements */
.item {
	transition: transform 0.3s ease;
}

.item:hover {
	transform: scale(1.05);
}

.number {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	font-weight: 900;
}

.valor {
	background-color: var(--bbva-white-100);
	transition: all 0.3s ease;
}

.valor:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	transform: translateY(-5px);
	background-color: var(--primary-color);
	color: var(--secondary-color);
}

/* About Banner with Image */
.banner-about {
	height: 60vh;
	min-height: 400px;
	border-radius: 2rem;
	position: relative;
	overflow: hidden;
	padding: 3rem;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.banner-about-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 2rem;
	z-index: 1;
}

.banner-about-content {
	position: relative;
	z-index: 2;
	background-color: var(--bbva-electric-blue);
	color: var(--bbva-serene-blue);
	padding: 3rem 4rem;
	border-radius: 1.6rem;
	max-width: 700px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.banner-about-content h3 {
	font-family: var(--font-family-tiempos);
	font-size: 3.2rem;
	line-height: 1.3;
	margin: 0;
	color: var(--bbva-serene-blue);
}

@media (max-width: 768px) {
	.banner-about {
		height: 50vh;
		min-height: 350px;
		padding: 2rem;
	}

	.banner-about-content {
		padding: 2rem 2.5rem;
		max-width: 100%;
	}

	.banner-about-content h3 {
		font-size: 2.4rem;
	}
}

/* Misc Elements */
.life {
	display: block;
	width: 50%;
}

.content-article > * {
	margin-bottom: 1.1rem;
}
.content-article p {
	line-height: 1.75;
}
.content-article h2,
.content-article h3 {
	margin-top: 2rem;
}
.content-article ul,
.content-article ol {
	padding-left: 1.2rem;
}

/* ========================================
   7. UI COMPONENTS
   ======================================== */

/* Carousel Controls */
.carousel-control-next-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
	fill: var(--primary-color);
}

.carousel-control-prev-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
	fill: var(--primary-color);
}

/* Flip Cards */
.card-container {
	perspective: 1000px;
	width: 100%;
	cursor: pointer;
}

.card-flipper {
	display: grid;
	transition: transform 0.8s;
	transform-style: preserve-3d;
	border-radius: 1rem;
	background: var(--bbva-serene-blue);
	min-height: 300px;
}

.card-container input:checked ~ .card-flipper {
	transform: rotateY(180deg);
}

.card-face {
	grid-area: 1 / 1;
	backface-visibility: hidden;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
}

.card-front {
	transform: rotateY(0);
}

.card-back {
	margin-top: auto;
	margin-bottom: auto;
	font-family: var(--font-family);
	line-height: 1.5;
	transform: rotateY(180deg);
}

/* Carousel Navigation Controls */
.carousel-controls,
.testimonios-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.5rem;
}

.carousel-btn {
	background: none;
	border: none;
	padding: 0;
	color: var(--bbva-electric-blue);
	cursor: pointer;
}

.carousel-btn:hover {
	color: var(--bbva-royal-blue);
}

.carousel-btn.disabled {
	opacity: 0.4;
	pointer-events: none;
}

.carousel-fraction {
	background: var(--bbva-white-100);
	border-radius: 999px;
	padding: 6px 12px;
	font-family: "Tiempos", serif;
	font-size: 14px;
	font-weight: 400;
	font-style: italic;
	color: var(--primary-color);
}

.carousel-fraction .sep {
	margin: 0 0.25rem;
}

.step-badge,
.step-number {
	width: 5rem;
	height: 5rem;
	min-width: 5rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.step-number {
	position: absolute;
	left: 50%;
	bottom: 0.75rem;
	transform: translateX(-50%);
	z-index: 2;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
}

/* Blog Cards */
.card-title {
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--primary-color);
}

.card-blog {
	height: 100%;
	display: flex;
	flex-direction: column;
	background-color: var(--bbva-white-100);
	transition: all 0.3s ease;
}

.card-blog .rounded-5 {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.card-blog:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	background-color: var(--bbva-serene-blue);
	transform: scale(1.01);
}

.card-img-container {
	height: 250px;
	overflow: hidden;
	width: 100%;
}

.card-img-top {
	width: 100%;
	height: 100px;
	object-fit: cover;
	object-position: center;
}

.card-body {
	flex: 0;
	padding: 1.5rem;
}

.card-text {
	line-height: 1.5;
}

.leyenda {
	font-size: 1.4rem;
	color: var(--primary-color);
}

.author-photo {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 50%;
}

/* Steps Slider */
.bta-steps {
	background-color: var(--bbva-grey-200);
	overflow: hidden;
}

.bta-steps__container {
	position: relative;
}

.bta-steps__header {
	max-width: 808px;
	margin: 0 auto 40px;
	text-align: center;
}

.bta-steps__title {
	margin: 0;
	color: var(--primary-color);
	font-family: var(--font-family-tiempos);
	font-size: clamp(4rem, 5vw, 6.4rem);
	font-weight: 700;
	line-height: 1;
}

.bta-steps__slider {
	margin-bottom: 40px;
}

.bta-steps__track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 12px;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
}

.bta-steps__track::-webkit-scrollbar {
	height: 8px;
}

.bta-steps__track::-webkit-scrollbar-thumb {
	background: rgba(0, 19, 145, 0.25);
	border-radius: 999px;
}

.bta-steps__card {
	position: relative;
	flex: 0 0 240px;
	width: 240px;
	min-height: 252px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	padding: 24px;
	border: none;
	border-radius: 16px;
	background-color: var(--bbva-white-100);
	color: var(--primary-color);
	font-family: var(--font-family);
	text-align: left;
	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		transform 0.25s ease;
	cursor: pointer;
}

.bta-steps__card:hover {
	transform: translateY(-2px);
}

.bta-steps__card.is-active {
	background-color: var(--bbva-electric-blue);
	color: var(--bbva-white-100);
}

.bta-steps__card-number {
	display: block;
	margin-bottom: 16px;
	color: inherit;
	font-family: var(--font-family-tiempos);
	font-size: 5.6rem;
	font-weight: 700;
	line-height: 1;
}

.bta-steps__card-text {
	display: block;
	flex-grow: 1;
	color: inherit;
	font-size: 1.6rem;
	line-height: 1.45;
}

.bta-steps__card.is-active .bta-steps__card-text {
	font-weight: 600;
}

.bta-steps__card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-top: 16px;
	flex-shrink: 0;
}

.bta-steps__card-icon svg {
	width: 24px;
	height: 24px;
}

.bta-steps__card-icon circle,
.bta-steps__card-icon path {
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.bta-steps__card-pointer {
	position: absolute;
	left: 28px;
	bottom: -8px;
	width: 16px;
	height: 16px;
	background-color: inherit;
	transform: rotate(45deg);
	opacity: 0;
	border-radius: 0 0 3px 0;
}

.bta-steps__card.is-active .bta-steps__card-pointer {
	opacity: 1;
}

.bta-steps__content {
	max-width: 100%;
}

.bta-steps__description {
	color: var(--primary-color);
	font-family: var(--font-family);
	font-size: 1.6rem;
	line-height: 1.75;
}

.bta-steps__description p {
	margin: 0 0 16px;
}

.bta-steps__description p:last-child {
	margin-bottom: 0;
}

/* bta-steps: Desktop — 5 cards visibles */
@media (min-width: 993px) {
	.bta-steps__card {
		flex: 0 0 calc((100% - 64px) / 5);
		width: calc((100% - 64px) / 5);
		min-width: calc((100% - 64px) / 5);
	}
}

/* bta-steps: Tablet y mobile */
@media (max-width: 992px) {
	.bta-steps__header {
		margin-bottom: 40px;
	}

	.bta-steps__slider {
		margin-bottom: 32px;
	}

	.bta-steps__track {
		padding-left: 16px;
		padding-right: 16px;
		margin-left: -16px;
		margin-right: -16px;
	}
}

/* bta-steps: Tablet */
@media (min-width: 769px) and (max-width: 992px) {
	.bta-steps__card {
		flex: 0 0 240px;
		width: 240px;
		min-height: 252px;
	}
}

/* bta-steps: Mobile */
@media (max-width: 768px) {
	.bta-steps {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	.bta-steps__header {
		margin-bottom: 40px;
		padding: 0 16px;
	}

	.bta-steps__title {
		font-size: clamp(3.5rem, 8vw, 5.2rem);
	}

	.bta-steps__slider {
		margin-bottom: 32px;
	}

	.bta-steps__card {
		flex: 0 0 128px;
		width: 128px;
		min-height: 200px;
		padding: 20px 16px 16px;
	}

	.bta-steps__card-number {
		margin-bottom: 12px;
		font-size: 4.4rem;
	}

	.bta-steps__card-text {
		font-size: 1.5rem;
		line-height: 1.4;
	}

	.bta-steps__card-pointer {
		left: 20px;
		width: 14px;
		height: 14px;
		bottom: -7px;
	}

	.bta-steps__content {
		padding: 0 16px;
	}
}

/* Specialities Cards Slider */
.specialities-cards-section {
	background-color: var(--bbva-grey-200);
	overflow: hidden;
}

.specialities-cards-header {
	margin-bottom: 32px;
}

.specialities-cards-header h1 {
	margin: 0;
	color: var(--primary-color);
	font-family: var(--font-family-tiempos);
	font-size: clamp(4rem, 6vw, 6.4rem);
	font-weight: 700;
	line-height: 1;
}

.specialities-cards-slider {
	overflow: visible;
}

.specialities-cards-track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding-bottom: 24px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.specialities-cards-track::-webkit-scrollbar {
	display: none;
}

.speciality-card {
	flex: 0 0 calc((100% - 48px) / 3);
	scroll-snap-align: start;
	background-color: var(--bbva-white-100);
	border-radius: 24px;
	padding: 32px;
	color: var(--primary-color);
}

.speciality-card__media {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 12px;
	margin-bottom: 32px;
}

.speciality-card__media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

.speciality-card__title {
	margin: 0 0 16px;
	color: var(--primary-color);
	font-family: var(--font-family-tiempos);
	font-size: clamp(2.25rem, 3vw, 3.25rem);
	font-weight: 700;
	line-height: 1;
}

.speciality-card__description {
	margin: 0;
	color: var(--primary-color);
	font-family: var(--font-family);
	font-size: 1.6rem;
	line-height: 1.45;
}

.specialities-cards-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin-top: 24px;
	color: var(--primary-color);
}

.specialities-cards-pagination__btn {
	border: 0;
	background: transparent;
	color: var(--bbva-electric-blue);
	font-size: 3rem;
	line-height: 1;
	cursor: pointer;
	padding: 0 8px;
}

.specialities-cards-pagination__count {
	background: var(--bbva-white-100);
	border-radius: 999px;
	padding: 8px 16px;
	font-family: var(--font-family);
	font-size: 1.4rem;
	color: var(--primary-color);
}

/* Specialities Cards — Tablet */
@media (max-width: 1199.98px) {
	.speciality-card {
		flex-basis: 70%;
	}
}

/* Specialities Cards — Mobile */
@media (max-width: 767.98px) {
	.specialities-cards-header {
		margin-bottom: 32px;
	}

	.specialities-cards-track {
		gap: 16px;
		padding-left: 4px;
		padding-right: 16px;
	}

	.speciality-card {
		flex: 0 0 88%;
		padding: 24px;
		border-radius: 24px;
	}

	.speciality-card__media {
		margin-bottom: 32px;
	}

	.speciality-card__title {
		font-size: clamp(2.4rem, 5vw, 3.2rem);
	}

	.speciality-card__description {
		font-size: 1.6rem;
	}
}

/* Testimonios Slider */
.testimonios-section {
	--testimonio-blue: var(--bbva-electric-blue);
	--testimonio-bg: var(--bbva-grey-200);
	--testimonio-image-bg: var(--bbva-grey-300);
}

.testimonios-slider {
	overflow: visible;
}

.testimonios-track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.testimonios-track::-webkit-scrollbar {
	display: none;
}

.testimonio-card {
	flex: 0 0 100%;
	scroll-snap-align: start;
	background: var(--bbva-white-100);
	border-radius: 18px;
	padding: 24px;
	display: grid;
	grid-template-columns: 40% 1fr;
	gap: 48px;
	align-items: center;
	min-height: 380px;
}

.testimonio-image-wrap {
	background: var(--testimonio-image-bg);
	border-radius: 6px;
	width: 100%;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.testimonio-image {
	width: 78%;
	height: auto;
	object-fit: contain;
	display: block;
}

.testimonio-content {
	color: var(--primary-color);
}

.testimonio-title {
	font-family: var(--font-family-tiempos);
	font-style: italic;
	font-weight: 700;
	font-size: clamp(42px, 5vw, 64px);
	line-height: 0.95;
	margin-bottom: 24px;
	color: var(--primary-color);
}

.testimonio-meta {
	font-size: 16px;
	line-height: 1.4;
	margin-bottom: 22px;
	color: var(--primary-color);
}

.testimonio-text {
	font-size: 17px;
	line-height: 1.55;
	color: var(--primary-color);
	max-width: 560px;
}

.testimonio-text p:last-child {
	margin-bottom: 0;
}

.testimonio-link {
	display: inline-block;
	margin-top: 18px;
	color: var(--testimonio-blue);
	font-weight: 700;
	text-decoration: none;
}

.testimonio-link:hover {
	text-decoration: underline;
}

.testimonios-controls {
	gap: 28px;
}

/* Testimonios — Tablet */
@media (max-width: 991.98px) {
	.testimonio-card {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 18px;
		max-width: 520px;
		margin: 0 auto;
	}

	.testimonio-image-wrap {
		aspect-ratio: 4 / 3;
	}

	.testimonio-image {
		width: 72%;
	}

	.testimonio-title {
		font-size: 48px;
		margin-bottom: 20px;
	}

	.testimonio-meta {
		font-size: 15px;
	}

	.testimonio-text {
		font-size: 15px;
	}

	.testimonios-controls {
		max-width: 520px;
		margin-left: auto;
		margin-right: auto;
		justify-content: space-between;
		padding: 0 10px;
	}
}

/* Testimonios — Mobile */
@media (max-width: 575.98px) {
	.testimonios-section .container,
	.testimonios-section {
		padding-left: 12px;
		padding-right: 12px;
	}

	.testimonio-card {
		border-radius: 16px;
		padding: 16px;
	}

	.testimonio-title {
		font-size: 42px;
	}

	.testimonio-image-wrap {
		aspect-ratio: 1.35 / 1;
	}

	.testimonio-image {
		width: 76%;
	}
}

/* Purpose Section Slider */
.bta-purpose-section {
	background-color: var(--bbva-grey-200);
	overflow: hidden;
}

.bta-purpose-description {
	color: var(--primary-color);
	font-family: var(--font-family);
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	line-height: 1.5;
	max-width: 780px;
	margin: 0 auto 3.5rem;
}

.bta-purpose-description p {
	margin-bottom: 0;
}

.bta-purpose-slider-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.bta-purpose-slider {
	display: flex;
	gap: 1.5rem;
	width: 100%;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	padding: 0.5rem 0 1.25rem;
	scrollbar-width: none;
}

.bta-purpose-slider::-webkit-scrollbar {
	display: none;
}

.bta-purpose-card {
	flex: 0 0 184px;
	min-height: 168px;
	background-color: var(--bbva-white-100);
	border-radius: 14px;
	padding: 2rem 1.25rem 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	scroll-snap-align: start;
	text-align: center;
	transition:
		background-color 0.25s ease,
		box-shadow 0.25s ease;
}

.bta-purpose-card:hover {
	box-shadow: 0 14px 30px rgba(0, 27, 93, 0.08);
}

.bta-purpose-card:nth-child(1):hover { background-color: var(--bbva-mandarin); }
.bta-purpose-card:nth-child(2):hover { background-color: var(--bbva-canary); }
.bta-purpose-card:nth-child(3):hover { background-color: var(--bbva-lime); }
.bta-purpose-card:nth-child(4):hover { background-color: var(--bbva-aqua); }
.bta-purpose-card:nth-child(5):hover { background-color: var(--bbva-purple); }

.bta-purpose-card__icon {
	width: 42px;
	height: 42px;
	object-fit: contain;
	margin-bottom: 1.1rem;
	transition: transform 0.25s ease;
}

.bta-purpose-card:hover .bta-purpose-card__icon {
	transform: translateY(-6px);
}

.bta-purpose-card__title {
	color: var(--bbva-electric-blue);
	font-family: var(--font-family);
	font-size: 1.6rem;
	line-height: 1.45;
	font-weight: 500;
	margin: 0;
}

.bta-purpose-card__title * {
	font-weight: 500 !important;
}

.bta-purpose-arrow {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border: 0;
	background: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.bta-purpose-arrow span {
	display: block;
	width: 18px;
	height: 18px;
	border-top: 2px solid var(--bbva-grey-500);
	border-right: 2px solid var(--bbva-grey-500);
}

.bta-purpose-arrow--prev span {
	transform: rotate(-135deg);
}

.bta-purpose-arrow--next span {
	transform: rotate(45deg);
}

.bta-purpose-arrow:hover span {
	border-color: var(--bbva-electric-blue);
}

@media (min-width: 992px) {
	.bta-purpose-slider {
		justify-content: center;
	}
}

@media (max-width: 767.98px) {
	.bta-purpose-section {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	.bta-purpose-description {
		margin-bottom: 2.5rem;
		font-size: 1rem;
	}

	.bta-purpose-slider-wrap {
		gap: 0;
	}

	.bta-purpose-arrow {
		display: none;
	}

	.bta-purpose-slider {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
		overflow-x: visible;
		scroll-snap-type: none;
		padding-bottom: 0;
	}

	.bta-purpose-card {
		flex: none;
		width: 100%;
		min-height: 155px;
		padding: 1.75rem 1rem 1.35rem;
	}

	.bta-purpose-card__icon {
		width: 36px;
		height: 36px;
	}

	.bta-purpose-card__title {
		font-size: 1.6rem;
	}
}

/* ========================================
   8. POST LAYOUTS & CONTENT
   ======================================== */

.bta-post__article {
	max-width: 820px; /* ancho lectura */
	margin: 0 auto; /* centra la columna */
}

.bta-post__title {
	font-family: var(--font-family-tiempos);
	font-size: 6rem;
	line-height: 1.05;
	margin-bottom: 2rem;
}

.bta-post__excerpt {
	font-size: 2.4rem;
	line-height: 1.4;
	color: var(--bbva-grey-800);
	max-width: 70ch;
}

.bta-post__hero img {
	border-radius: 2.4rem;
	object-fit: cover;
}

/* Share rail */
.bta-share-rail {
	position: sticky;
	top: 160px; /* ajusta según tu navbar fija */
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 10px;
	border-radius: 999px;
	background: var(--bbva-electric-blue);
	box-shadow: var(--bbva-shadow-stacked);
}

.bta-share-btn {
	width: 44px;
	height: 44px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	color: #fff;
	text-decoration: none;
	background: transparent;
	transition:
		transform 0.15s ease,
		background 0.15s ease,
		opacity 0.15s ease;
}

.bta-share-btn:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

/* Callout flotante tipo BBVA */
.bta-float-card {
	float: left;
	max-width: 340px;
	margin: 0.4rem 3.2rem 1.6rem 0;
	background: #fff;
	border-radius: 1.6rem;
	padding: 2.4rem;
}

.bta-float-card h3 {
	font-family: var(--font-family-tiempos);
	font-size: 2.2rem;
	line-height: 1.25;
	margin-bottom: 1.2rem;
}

.bta-float-card p {
	font-size: 1.6rem;
	line-height: 1.5;
	margin: 0;
	color: var(--bbva-grey-800);
}

/* Limpieza para que no rompa el layout después */
.content-article::after {
	content: "";
	display: block;
	clear: both;
}

/* Mobile: Ajustes responsive para posts */
@media (max-width: 991.98px) {
	.bta-post__title {
		font-size: 3.2rem;
	}
	.bta-post__excerpt {
		font-size: 1.8rem;
	}

	.bta-share-rail {
		position: fixed;
		left: 50%;
		transform: translateX(-50%);
		bottom: 16px;
		top: auto;
		flex-direction: row;
		padding: 10px 14px;
		z-index: 1700;
	}
}

@media (max-width: 768px) {
	.bta-float-card {
		float: none;
		max-width: 100%;
		margin: 0 0 2.4rem 0;
	}
}

/* ========================================
   9. FORMS
   ======================================== */
input[type="submit"] {
	background-color: var(--bbva-electric-blue);
	color: var(--bbva-white-100);
	border: none;
	padding: 12px 32px 16px 32px;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
	background-color: var(--bbva-midnight-blue);
}

/* Comment Form */
p.comment-form-comment {
	margin-bottom: 1rem;
}

p.comment-form-comment > label {
	display: block;
	margin-bottom: 8px;
	color: var(--bbva-grey-800);
}

p.comment-form-comment > textarea {
	display: block;
	width: 100%;
	padding: 16px;
	min-height: 120px;
	background: var(--bbva-grey-200);
	border: 2px solid var(--bbva-electric-blue);
	border-radius: 8px;
	color: var(--bbva-midnight-blue);
	resize: vertical;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

p.comment-form-comment > textarea::placeholder {
	color: var(--bbva-grey-500);
	opacity: 1;
}

/* ========================================
   10. FOOTER
   ======================================== */
.bta-footer {
	margin: 64px 32px 32px 32px;
	position: relative;
}

.bta-footer__container {
	max-width: 1320px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	background: var(--bbva-electric-blue);
	border-radius: 16px;
	box-shadow: var(--bbva-shadow);
	min-height: 88px;
	padding: 24px;
	box-sizing: border-box;
	column-gap: 32px;
	color: var(--bbva-white-100);
}

/* Logo */
.bta-footer__brand {
	display: flex;
	align-items: center;
}

.bta-footer__logo-link {
	display: block;
	text-decoration: none;
}

.bta-footer__logo {
	display: block;
	height: 36px;
	width: auto;
	transition: opacity 0.2s ease;
}

.bta-footer__logo-link:hover .bta-footer__logo {
	opacity: 0.8;
}

/* Contact */
.bta-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-self: start;
}

.bta-footer__contact span {
	font: var(--font-link);
	opacity: 0.8;
}

.bta-footer__nav {
	justify-self: end;
}

.bta-footer__links {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 32px;
}

.bta-footer__link {
	font: var(--font-link);
	color: var(--bbva-white-100);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.bta-footer__link:hover {
	opacity: 0.8;
	color: var(--bbva-white-100);
}

/* Footer responsive */
@media (max-width: 768px) {
	.bta-footer {
		margin: 32px 15px 15px 15px;
	}

	.bta-footer__container {
		grid-template-columns: 1fr;
		row-gap: 20px;
		text-align: center;
		padding: 24px 15px;
	}

	.bta-footer__brand {
		justify-self: center;
		order: 1;
	}

	.bta-footer__contact {
		justify-self: center;
		align-items: center;
		order: 2;
	}

	.bta-footer__nav {
		justify-self: center;
		order: 3;
	}

	.bta-footer__links {
		flex-direction: column;
		gap: 12px;
	}
}

/* ========================================
   11. NAVIGATION (BTA NAVBAR)
   ======================================== */
.bta-navbar {
	margin: 0;
	padding: 24px 32px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1600;
}

/* Compensar navbar fija */
body {
	padding-top: 136px;
}

@media (max-width: 768px) {
	.bta-navbar {
		padding: 15px;
	}

	body {
		padding-top: 118px;
	}
}

.bta-navbar__container {
	max-width: 1320px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	background: var(--bbva-surface);
	border-radius: 16px;
	box-shadow: var(--bbva-shadow);
	height: 88px;
	padding: 0 24px;
	box-sizing: border-box;
	column-gap: 64px;
	position: relative;
	z-index: inherit; /* hereda el z-index del navbar */
}

.bta-navbar--stacked .bta-navbar__container {
	border-radius: 0 0 16px 16px;
	box-shadow: var(--bbva-shadow-stacked);
}

/* Brand */
.bta-navbar__brand {
	display: flex;
	align-items: center;
}

.bta-logo {
	display: block;
	height: 72px;
	width: auto;
}

/* Navigation */
.bta-navbar__nav {
	justify-self: start;
}

.bta-navlist {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 40px;
}

.bta-navlist > li > a {
	position: relative;
	font: var(--font-link);
	color: var(--bbva-electric-blue);
	text-decoration: none;
	padding: 6px 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.bta-navlist > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	height: 2px;
	background: transparent;
	transition: background 0.2s ease;
	border-radius: 2px;
}

.bta-navlist > li:hover > a::after,
.bta-navlist > li.current-menu-item > a::after {
	background: var(--bbva-primary-alt-action);
}

/* Actions */
.bta-navbar__actions {
	display: flex;
	align-items: center;
}

.bta-iconlink {
	width: 24px;
	height: 24px;
	display: inline-grid;
	place-items: center;
	color: var(--bbva-electric-blue);
	margin-right: 32px;
}

.bta-iconlink svg {
	width: 24px;
	height: 24px;
	display: block;
}

/* Buttons */
.bta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	padding: 0 32px;
	min-width: 120px; /* ancho mínimo equivalente a dos columnas */
	border-radius: 12px;
	font: var(--font-link);
	text-decoration: none;
	border: 1px solid transparent;
	transition:
		background-color 150ms cubic-bezier(0.2, 0, 0.1, 1),
		color 150ms cubic-bezier(0.2, 0, 0.1, 1);
	white-space: nowrap;
}

.bta-btn--primary {
	background-color: var(--bbva-electric-blue);
	color: var(--bbva-white-100);
	min-width: 140px; /* ancho específico para botones primarios */
}

.bta-btn--primary:hover {
	background-color: var(--bbva-midnight-blue);
	color: var(--bbva-grey-200);
	text-decoration: none;
}

.bta-btn--primary:active {
	background-color: var(--bbva-midnight-blue);
	color: var(--bbva-grey-200);
}

.bta-btn--primary:disabled,
.bta-btn--primary[aria-disabled="true"] {
	background-color: var(--bbva-grey-500);
	color: var(--bbva-grey-300);
	cursor: not-allowed;
	pointer-events: none;
}

.bta-btn--primary + .bta-iconbtn {
	margin-left: 32px;
}

.bta-btn--secondary {
	background-color: var(--bbva-white-100);
	color: var(--bbva-electric-blue);
	min-width: 140px;
}

.bta-btn--secondary:hover {
	background-color: var(--bbva-grey-200);
	color: var(--bbva-midnight-blue);
	text-decoration: none;
}

.bta-btn--secondary:active {
	background-color: var(--bbva-grey-300);
	color: var(--bbva-midnight-blue);
}

.bta-iconbtn + .bta-link--menu {
	margin-left: 32px;
}

.bta-link--menu + .bta-iconbtn {
	margin-left: 8px;
}

/* Icon Buttons */
.bta-iconbtn {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid transparent;
	background: transparent;
	cursor: pointer;
	display: grid;
	place-items: center;
	color: var(--bbva-primary-alt);
}

.bta-iconbtn svg {
	width: 24px;
	height: 24px;
	display: block;
}

.bta-iconbtn:hover {
	border-color: rgba(7, 14, 70, 0.15);
}

/* Links */
.bta-link {
	font: var(--font-link);
	color: var(--bbva-primary-alt);
	text-decoration: none;
}

.bta-link--right {
	text-align: right;
}

/* ========================================
   12. RESPONSIVE DESIGN
   ======================================== */

/* Custom Banner Styles - Responsive adjustments */
.custom-banner-carousel .position-absolute {
	bottom: 1rem !important;
	top: auto !important;
	margin-left: 1rem !important;
	transform: none !important;
}

.carousel-text-overlay {
	bottom: 1rem;
	top: auto;
	margin-left: 1rem;
	transform: none;
}

/* Large screens */
@media (max-width: 1100px) {
	.bta-navlist {
		gap: 24px;
	}
}

/* Tablets */
@media (max-width: 992px) {
	.bta-navbar__container {
		grid-template-columns: 1fr auto;
		row-gap: 12px;
	}

	.bta-navbar__brand {
		order: 1;
	}

	.bta-navbar__actions {
		order: 2;
	}

	.bta-navbar__nav {
		order: 3;
		grid-column: 1 / -1;
	}

	.bta-navlist {
		justify-content: flex-start;
		gap: 20px;
		overflow: auto;
		padding-bottom: 2px;
	}
}

/* Home CTA - Tablet only */
@media (min-width: 769px) and (max-width: 992px) {
	.home-cta {
		padding: 16px;
	}

	.home-cta__content {
		flex-direction: column;
	}

	.home-cta__media {
		margin: 16px auto 0;
		width: 100%;
		max-width: 100%;
		flex: 0 0 100%;
	}

	.home-cta__image {
		width: min(80%, 420px);
		height: auto;
	}

	.home-cta__text {
		display: flex;
		flex-direction: column;
		width: 100% !important;
		max-width: 100%;
		flex: 0 0 100%;
	}

	.home-cta__button {
		display: flex;
		width: calc(100% - 32px);
		margin: 0 auto;
		justify-content: center;
		align-self: center;
	}
}

/* Mobile - Portrait tablets and large phones */
@media screen and (max-width: 768px) {
	.home-cta {
		padding: 16px;
	}

	.home-cta__content {
		flex-direction: column;
	}

	.home-cta__text {
		width: 100% !important;
		max-width: 100%;
		flex: 0 0 100%;
	}

	.home-cta__media {
		order: -1;
		margin-bottom: 16px;
	}

	.home-cta__title {
		margin-bottom: 8px;
	}

	.home-cta__description {
		margin-bottom: 24px;
	}

	.home-cta__button {
		display: flex;
		width: calc(100% - 32px);
		margin: 0 auto;
		justify-content: center;
		align-self: center;
	}



	.custom-banner-carousel .position-absolute {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		transform: none !important;
		margin: 0 !important;
		width: 100%;
	}

	.custom-banner-carousel .bg-white {
		margin-top: -50px;
		margin-left: 15px;
		margin-right: 15px;
	}
}

@media screen and (max-width: 576px) {
	.container {
		padding: 0 15px;
	}

	/* Typography adjustments */
	h1 {
		font-size: 30px;
	}

	h2 {
		font-size: 20px;
	}

	.fontsize-2 {
		font-size: 32px;
	}

	.fontsize-3 {
		font-size: 18px;
	}

	.fontsize-4 {
		font-size: 12px;
	}

	/* Layout adjustments */
	.custom-banner-carousel {
		height: 400px !important;
	}

	.life {
		width: 100%;
	}
}

/* Oculta los wrappers mobile en desktop */
.bta-mobitem {
	display: none;
}

/* ====== < 1024px: barra móvil ====== */
@media (max-width: 1024px) {
	/* Contenedor: grid 3 columnas, 2 filas (iconos + labels), 16px de padding */
	.bta-navbar__container {
		height: auto; /* la altura la da el contenido */
		padding: var(--bbva-mobile-padding);
		grid-template-columns: 1fr auto 1fr; /* left | center | right */
		grid-template-rows: auto auto; /* fila 1: iconos / fila 2: labels */
		align-items: center;
		column-gap: 0; /* el centrado lo lograremos con justify/self */
		row-gap: var(--bbva-mobile-gap);
	}

	/* Logo centrado */
	.bta-navbar__brand {
		grid-column: 2 / 3; /* centro */
		grid-row: 1 / 3; /* ocupa ambas filas para centrarse verticalmente */
		justify-self: center;
		align-self: center; /* centrado vertical perfecto */
	}
	.bta-logo {
		height: 40px;
		width: auto;
	}

	/* Menú de links de desktop y acciones de desktop: ocultar en mobile */
	.bta-navbar__nav {
		display: none;
	}
	.bta-navbar__actions {
		grid-column: 3 / 4; /* ocupa la zona derecha en desktop; en mobile solo alberga wrappers */
		grid-row: 1 / 3; /* no es relevante, los mobitems se posicionan por sí mismos */
		justify-self: end;
		gap: 0;
	}
	.bta-navbar__actions .bta-iconlink,
	.bta-navbar__actions .bta-btn,
	.bta-navbar__actions .bta-iconbtn {
		display: none;
	} /* solo los del navbar se ocultan en mobile */

	/* Asegurar que botones fuera del navbar siempre sean visibles */
	.bta-btn--primary:not(.bta-navbar__actions .bta-btn--primary):not(
			.home-cta__button
		) {
		display: inline-flex !important;
	}

	/* Wrappers de icono+label (izq y der) */
	.bta-mobitem {
		display: grid;
		grid-template-rows: 40px auto; /* icono 40x40 + label */
		justify-items: center;
		row-gap: 6px; /* gap más pequeño entre icono y label */
		align-content: start; /* alinea el contenido al inicio */
	}
	.bta-mobitem--left {
		grid-column: 1 / 2; /* izquierda */
		grid-row: 1 / 3;
		justify-self: start;
		align-self: start; /* se alinea al inicio para no competir con el logo */
	}
	.bta-mobitem--right {
		grid-column: 3 / 4; /* derecha */
		grid-row: 1 / 3;
		justify-self: end;
		align-self: start; /* se alinea al inicio para no competir con el logo */
	}

	/* Icono redondo 40x40, svg 24x24 */
	.bta-mobicon {
		width: 40px;
		height: 40px;
		border-radius: 20px;
		background: var(--bbva-mobile-icon-bg);
		display: grid;
		place-items: center;
		border: 0;
		cursor: pointer;
		text-decoration: none; /* para enlaces */
		color: inherit; /* para enlaces */
	}
	.bta-mobicon svg {
		width: 24px;
		height: 24px;
		display: block;
		color: var(--bbva-icon-action);
	}

	/* Label bajo el icono */
	.bta-mobicon__label {
		font: var(--font-menuicon);
		color: var(
			--bbva-primary-alt
		); /* color.primary.text.action.default aprox */
		text-align: center;
		white-space: nowrap;
	}

	.bta-menumobile__panel {
		top: 64px;
	}
}

/* ===== Contenedor offcanvas */
.bta-menumobile {
	position: fixed;
	inset: 0;
	z-index: 1500; /* Por debajo de la navbar fija */
	visibility: hidden;
	opacity: 0;
	transition:
		visibility 0s linear 0.4s,
		opacity 0.4s ease;
}

.bta-menumobile.is-open {
	visibility: visible;
	opacity: 1;
	transition:
		visibility 0s linear 0s,
		opacity 0.4s ease;
}

/* Panel */
.bta-menumobile__panel {
	position: fixed;
	background: #fff;
	padding: 15px;
	transform: translateY(100%);
	opacity: 0;
	transition:
		transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
		opacity 0.4s ease;
	border-radius: 16px 16px 0 0;
	top: 140px; /* valor seguro por debajo de la navbar fija */
	left: 8px;
	right: 8px;
	bottom: 0;
	box-shadow: 0 -4px 20px rgba(7, 14, 70, 0.15);
	will-change: transform, opacity;
	z-index: inherit; /* hereda del contenedor padre */
}

.bta-menumobile.is-open .bta-menumobile__panel {
	transform: translateY(0);
	opacity: 1;
}

/* Header con 3 columnas (icono izq, logo, icono der) */
.bta-menumobile__header {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	row-gap: 8px;
	padding: 8px 0 16px 0;
	border-bottom: 1px solid rgba(7, 14, 70, 0.1);
	margin-bottom: 8px;
}
.bta-menumobile__brand {
	margin: 0;
	justify-self: center;
}
.bta-menumobile .bta-logo {
	height: 24px;
	width: auto;
}

/* Screen reader only - para accesibilidad */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Body: lista con separadores y paddings exactos */
.bta-menumobile__body {
	margin-top: 0;
}
.bta-mm-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.bta-mm-list > li {
	border-bottom: 1px solid rgba(7, 14, 70, 0.15);
}
.bta-mm-list > li:last-child {
	border-bottom: none;
}
.bta-mm-list > li > a {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	text-decoration: none;
	color: var(--bbva-primary-alt);
	font:
		500 16px/1.4 "Benton Sans BBVA",
		system-ui;
	padding: 16px; /* 16px vertical/horizontal como en la guía */
	border-radius: 12px; /* si va dentro de tarjetas claras */
}
.bta-mm-list > li > a:hover {
	background: #f7f9fd;
}

/* ========================================
   13. ANIMATIONS
   ======================================== */
