/* =========================================================
   RESPONSIVE
   Blanca Sosa World Lawyer
========================================================= */


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

	:root {
		--bs-section-space: 70px;
	}


	/* =====================================================
	   CONTAINER
	===================================================== */

	.bs-container {
		width: min(
			calc(100% - 36px),
			var(--bs-container)
		);
	}


	/* =====================================================
	   HEADER
	===================================================== */

	.bs-header__nav {
		display: none;
	}


	.bs-menu-toggle {
		display: flex;
	}


	.bs-mobile-nav.is-open {
		display: block;
	}


	/* =====================================================
	   HERO
	===================================================== */

	.bs-hero {
		padding: 0;
	}


	.bs-hero__shell {
		grid-template-columns: 1fr;
	}


	.bs-hero__left {
		min-height: auto;
		padding: 30px 24px;
	}


	.bs-hero__panel {
		width: 100%;
		max-width: 620px;

		margin: 0 auto;
		padding: 30px;
	}


	.bs-hero__panel-inner {
		min-height: auto;
		padding: 20px 0;
	}


	.bs-hero__logo .custom-logo {
		max-width: 165px;
		max-height: 160px;
	}


	.bs-hero__website {
		font-size: 1.15rem;
	}


	.bs-hero__right {
		min-height: 420px;
	}


	.bs-hero__statue {
		min-height: 420px;
	}


	.bs-hero__statue img {
		width: 100%;
		height: 420px;

		object-fit: cover;
		object-position: center;
	}


	/* =====================================================
	   ÁREAS DE PRÁCTICA
	===================================================== */

	.bs-practice {
		padding: 72px 0 78px;
	}


	.bs-practice__heading {
		max-width: 620px;
		margin-bottom: 36px;
	}


	.bs-practice__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}


	.bs-practice-card {
		min-height: 230px;
		padding: 28px 22px;
	}


	.bs-practice-card:last-child {
		grid-column: 1 / -1;

		width: calc(50% - 10px);
		justify-self: center;
	}


	/* =====================================================
	   ARTÍCULOS
	===================================================== */

	.bs-articles {
		padding: 72px 0 78px;
	}


	.bs-articles__heading {
		margin-bottom: 34px;
	}


	.bs-articles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}


	.bs-article-card__title {
		font-size: 1.2rem;
	}


	.bs-articles__footer {
		margin-top: 36px;
	}


	/* =====================================================
	   CONTACTO
	===================================================== */

	.bs-contact {
		min-height: auto;
		padding: 72px 0 78px;
	}


	.bs-contact__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}


	.bs-contact__intro {
		max-width: 680px;
	}


	.bs-contact__title {
		font-size: clamp(3rem, 8vw, 4.5rem);
	}


	.bs-contact__description {
		max-width: 620px;
	}


	.bs-contact__card {
		width: 100%;
		max-width: 680px;

		padding: 38px 34px;
	}


	/* =====================================================
	   FOOTER
	===================================================== */

	.bs-footer__grid {
		grid-template-columns:
			minmax(0, 1fr)
			minmax(180px, 0.75fr);

		gap: 40px;
	}


	.bs-footer__brand {
		max-width: none;

		grid-column: 1 / -1;
	}


	.bs-footer__description {
		max-width: 520px;
	}


	.bs-footer__bottom {
		flex-wrap: wrap;
	}

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

	:root {
		--bs-header-height: 72px;
		--bs-section-space: 52px;
	}


	/* =====================================================
	   CONTAINER
	===================================================== */

	.bs-container {
		width: calc(100% - 28px);
	}


	/* =====================================================
	   HEADER
	===================================================== */

	.bs-header__inner {
		min-height: var(--bs-header-height);
		gap: 14px;
	}


	.bs-header__brand {
		min-width: 0;
	}


	.bs-header__brand .custom-logo {
		width: auto;

		max-width: 160px;
		max-height: 54px;
	}


	.bs-menu-toggle {
		flex: 0 0 auto;
	}


	/* =====================================================
	   MOBILE NAV
	===================================================== */

	.bs-mobile-nav {
		width: 100%;
	}


	.bs-mobile-nav__inner {
		padding: 14px;
	}


	.bs-mobile-nav ul {
		margin: 0;
		padding: 0;

		list-style: none;
	}


	.bs-mobile-nav li {
		width: 100%;
	}


	.bs-mobile-nav a {
		display: block;

		width: 100%;
		padding: 12px 8px;

		font-size: 0.95rem;
		line-height: 1.3;
	}


	/* =====================================================
	   CLAIM
	===================================================== */

	.bs-claim {
		padding: 10px 0;
	}


	.bs-claim__text {
		font-size: 0.9rem;
		line-height: 1.4;

		text-align: center;
	}


	/* =====================================================
	   HERO
	===================================================== */

	.bs-hero {
		padding: 0;
	}


	.bs-hero > .bs-container {
		width: 100%;
	}


	.bs-hero__shell {
		grid-template-columns: 1fr;
		width: 100%;
	}


	.bs-hero__left {
		min-height: auto;
		padding: 24px 18px;
	}


	.bs-hero__panel {
		width: 100%;
		max-width: none;

		margin: 0;
		padding: 22px 18px;

		border-width: 2px;
		border-radius: 14px;
	}


	.bs-hero__panel-inner {
		min-height: auto;
		padding: 8px 0;
	}


	.bs-hero__logo-wrap {
		margin-bottom: 12px;
	}


	.bs-hero__logo .custom-logo {
		width: auto;

		max-width: 135px;
		max-height: 130px;
	}


	.bs-hero__website {
		margin-bottom: 16px;

		font-size: 0.95rem;
		line-height: 1.35;

		overflow-wrap: anywhere;
	}


	.bs-hero__social {
		gap: 8px;
		margin-bottom: 18px;

		flex-wrap: wrap;
	}


	.bs-hero__social-link {
		width: 36px;
		height: 36px;

		flex: 0 0 36px;
	}


	.bs-hero__actions {
		width: 100%;

		flex-direction: column;
		align-items: stretch;

		gap: 10px;
	}


	.bs-button {
		width: 100%;
		min-height: 48px;

		padding: 0 18px;

		font-size: 0.9rem;

		text-align: center;
	}


	.bs-hero__right {
		width: 100%;

		min-height: 300px;
		height: 300px;
	}


	.bs-hero__statue {
		width: 100%;

		height: 300px;
		min-height: 300px;
	}


	.bs-hero__statue img {
		width: 100%;
		height: 300px;

		object-fit: cover;
		object-position: center;
	}


	/* =====================================================
	   ÁREAS DE PRÁCTICA
	===================================================== */

	.bs-practice {
		padding: 56px 0 62px;
	}


	.bs-practice__heading {
		max-width: none;
		margin-bottom: 30px;
	}


	.bs-practice__eyebrow {
		margin-bottom: 8px;

		font-size: 0.7rem;
		letter-spacing: 0.16em;
	}


	.bs-practice__title {
		font-size: clamp(2.15rem, 10vw, 3rem);
		line-height: 0.98;
	}


	.bs-practice__grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}


	.bs-practice-card {
		width: 100%;

		min-height: 210px;

		padding: 26px 22px;

		border-radius: 20px;
	}


	.bs-practice-card:last-child {
		grid-column: auto;

		width: 100%;
		justify-self: stretch;
	}


	.bs-practice-card__icon {
		width: 105px;
		height: 105px;

		margin-bottom: 16px;
	}


	.bs-practice-card__title {
		max-width: 100%;

		font-size: 1.15rem;
		line-height: 1.08;
	}


	/* =====================================================
	   ARTÍCULOS
	===================================================== */

	.bs-articles {
		padding: 56px 0 62px;
	}


	.bs-articles__heading {
		margin-bottom: 30px;
	}


	.bs-articles__eyebrow {
		font-size: 0.7rem;
		letter-spacing: 0.16em;
	}


	.bs-articles__title {
		font-size: clamp(2.15rem, 10vw, 3rem);
		line-height: 1;
	}


	.bs-articles__grid {
		grid-template-columns: 1fr;
		gap: 38px;
	}


	.bs-article-card {
		width: 100%;
	}


	.bs-article-card__image {
		margin-bottom: 16px;
		border-radius: 12px;
	}


	.bs-article-card__meta {
		margin-bottom: 7px;

		font-size: 0.75rem;
	}


	.bs-article-card__title {
		margin-bottom: 10px;

		font-size: 1.25rem;
		line-height: 1.15;
	}


	.bs-article-card__excerpt {
		margin-bottom: 16px;

		font-size: 0.93rem;
		line-height: 1.55;
	}


	.bs-article-card__link {
		margin-top: 0;

		font-size: 0.8rem;
	}


	.bs-articles__footer {
		justify-content: flex-start;

		margin-top: 34px;
	}


	.bs-articles__all {
		font-size: 0.8rem;
		line-height: 1.35;
	}


	.bs-articles__empty {
		padding: 28px 22px;
	}


	/* =====================================================
	   CONTACTO
	===================================================== */

	.bs-contact {
		min-height: auto;

		padding: 56px 0 62px;

		align-items: stretch;
	}


	.bs-contact__overlay {
		background:
			linear-gradient(
				180deg,
				rgba(9, 33, 63, 0.94) 0%,
				rgba(14, 44, 80, 0.90) 50%,
				rgba(20, 55, 96, 0.82) 100%
			);
	}


	.bs-contact__grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}


	.bs-contact__intro {
		width: 100%;
		max-width: none;
	}


	.bs-contact__eyebrow {
		margin-bottom: 10px;

		font-size: 0.7rem;
		letter-spacing: 0.16em;
	}


	.bs-contact__title {
		margin-bottom: 18px;

		font-size: clamp(2.6rem, 13vw, 3.7rem);
		line-height: 0.96;
	}


	.bs-contact__description {
		max-width: none;

		margin-bottom: 28px;

		font-size: 0.96rem;
		line-height: 1.6;
	}


	.bs-contact__details {
		flex-direction: column;
		gap: 18px;
	}


	.bs-contact-detail {
		width: 100%;
	}


	.bs-contact-detail__value {
		font-size: 0.9rem;

		overflow-wrap: anywhere;
	}


	.bs-contact__card {
		width: 100%;
		max-width: none;

		padding: 32px 20px 24px;

		border-radius: 18px;
	}


	.bs-contact__card::before {
		left: 20px;

		width: 60px;
	}


	.bs-contact__card-header {
		margin-bottom: 24px;
	}


	.bs-contact__card-title {
		font-size: 1.8rem;
		line-height: 1.08;
	}


	.bs-contact-form {
		width: 100%;
		gap: 16px;
	}


	.bs-contact-form__field {
		width: 100%;
		min-width: 0;
	}


	.bs-contact-form__field input,
	.bs-contact-form__field textarea {
		display: block;

		width: 100%;
		max-width: 100%;

		box-sizing: border-box;

		font-size: 0.9rem;
	}


	.bs-contact-form__field textarea {
		min-height: 120px;
	}


	.bs-contact-form__submit {
		width: 100%;

		min-height: 50px;

		padding: 0 18px;
	}


	/* =====================================================
	   FOOTER
	===================================================== */

	.bs-footer {
		padding-top: 32px;
	}


	.bs-footer__grid {
		grid-template-columns: 1fr;

		gap: 30px;

		padding-bottom: 26px;
	}


	.bs-footer__brand {
		grid-column: auto;

		width: 100%;
		max-width: none;
	}


	.bs-footer__logo-link {
		margin-bottom: 14px;
	}


	.bs-footer__logo {
		max-width: 88px;
		max-height: 74px;
	}


	.bs-footer__description {
		max-width: none;

		margin-bottom: 18px;

		font-size: 0.84rem;
		line-height: 1.6;
	}


	.bs-footer__social {
		gap: 10px;
	}


	.bs-footer__social-link {
		width: 38px;
		height: 38px;
		min-width: 38px;
	}


	.bs-footer__social-link i {
		font-size: 1rem;
	}


	.bs-footer__title {
		margin-bottom: 14px;

		font-size: 0.72rem;
	}


	.bs-footer__nav {
		gap: 10px;
	}


	.bs-footer__nav a {
		font-size: 0.88rem;
		line-height: 1.4;
	}


	.bs-footer__contact {
		gap: 10px;
	}


	.bs-footer__contact a,
	.bs-footer__contact span {
		font-size: 0.86rem;
		line-height: 1.45;

		overflow-wrap: anywhere;
	}


	.bs-footer__bottom {
		flex-direction: column;

		align-items: flex-start;
		justify-content: flex-start;

		min-height: auto;

		gap: 10px;

		padding: 18px 0;
	}


	.bs-footer__copyright {
		font-size: 0.72rem;
		line-height: 1.45;
	}


	.bs-footer__credit {
		font-size: 0.72rem;
		line-height: 1.3;
	}


	/* =====================================================
	   WHATSAPP
	===================================================== */

	.bs-whatsapp {
		right: 16px;
		bottom: 16px;

		width: 54px;
		height: 54px;
	}


	.bs-whatsapp i {
		font-size: 1.7rem;
	}


	/* =====================================================
	   SEGURIDAD GENERAL
	===================================================== */

	img,
	video,
	iframe {
		max-width: 100%;
	}


	html,
	body {
		max-width: 100%;
		overflow-x: hidden;
	}

}



/* =========================================================
   MOBILE PEQUEÑO
   380px o menos
========================================================= */

@media (max-width: 380px) {

	.bs-container {
		width: calc(100% - 24px);
	}


	/* HEADER */

	.bs-header__brand .custom-logo {
		max-width: 145px;
		max-height: 50px;
	}


	/* HERO */

	.bs-hero__left {
		padding: 20px 14px;
	}


	.bs-hero__panel {
		padding: 20px 15px;
	}


	.bs-hero__logo .custom-logo {
		max-width: 120px;
		max-height: 118px;
	}


	.bs-hero__website {
		font-size: 0.88rem;
	}


	.bs-hero__right,
	.bs-hero__statue,
	.bs-hero__statue img {
		height: 270px;
		min-height: 270px;
	}


	/* TITULARES */

	.bs-practice__title,
	.bs-articles__title {
		font-size: 2.1rem;
	}


	.bs-contact__title {
		font-size: 2.65rem;
	}


	/* CARDS */

	.bs-practice-card {
		padding: 24px 18px;
	}


	.bs-contact__card {
		padding: 30px 16px 22px;
	}


	.bs-contact__card::before {
		left: 16px;
	}


	/* FOOTER */

	.bs-footer__social {
		gap: 8px;
	}


	.bs-footer__social-link {
		width: 36px;
		height: 36px;
		min-width: 36px;
	}


	/* WHATSAPP */

	.bs-whatsapp {
		right: 12px;
		bottom: 12px;

		width: 50px;
		height: 50px;
	}


	.bs-whatsapp i {
		font-size: 1.58rem;
	}

}