@charset "UTF-8";
/*!
Theme Name: Albors Galiano Portales
Author: MAT
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: artigas
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

AGP is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/* SETTINGS */
@font-face {
  font-family: "Antique Legacy";
  src: url("resources/fonts/antique-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
/* TOOLS */
/* TOOLS - MIXINS */
/* GENERIC */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

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

/* TAGS */
:root {
  --font-base: "Antique Legacy", monospace;
  --transition: 0.25s ease;
  --color-text: rgb(4, 63, 97);
  --color-text-opacity: rgba(4, 63, 97, 0.5);
  --color-background: rgb(247, 244, 240);
  --color-grey: rgb(190, 190, 190);
  --padding-side: 1rem;
}
@media (max-width: 768px) {
  :root {
    --padding-side: 0.5rem;
    --padding-top: 5rem;
  }
}

html {
  font-size: clamp(21px, 1.4vh, 26px);
  scrollbar-gutter: stable;
}
@media (max-width: 768px) {
  html {
    font-size: 20px;
  }
}

body {
  width: 100%;
  overflow-x: hidden;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-base);
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}
a:hover {
  opacity: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: normal;
  font-size: inherit;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

::selection {
  background-color: var(--color-text);
  color: var(--color-background);
}

.pagefade {
  position: fixed;
  inset: -2px; /* evita línies de 1px */
  background: var(--color-text);
  opacity: 1;
  pointer-events: none;
  z-index: 99999;
  transition: opacity 420ms ease;
}

.pagefade.is-hidden {
  opacity: 0;
}

.pagefade.is-active {
  opacity: 1;
}

html.is-scroll-locked,
body.is-scroll-locked {
  overflow: hidden;
}

body.is-scroll-locked {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

.otgs-development-site-front-end {
  display: none;
}

/* KEYFRAMES */
/* OBJECTS */
.o-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .o-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.o-container {
  padding: 0 var(--padding-side);
}

.o-base, .mc4wp-form-fields input[type=email] {
  font-size: 0.6rem;
  line-height: 1.25;
}

.o-tiny {
  text-transform: uppercase;
  font-size: 0.45rem;
}

.o-medium {
  font-size: 0.8rem;
}
@media (max-width: 768px) {
  .o-medium {
    font-size: 0.6rem;
  }
}

.o-big {
  font-size: 3.25rem;
  line-height: 0.925;
  letter-spacing: -0.04em;
}
@media (max-width: 768px) {
  .o-big {
    font-size: 1.9rem;
  }
}

.o-m1 {
  font-size: 1.4rem;
  line-height: 1.3rem;
}
@media (max-width: 768px) {
  .o-m1 {
    font-size: 1rem;
    line-height: 1.1;
  }
}

.o-m2 {
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
@media (max-width: 768px) {
  .o-m2 {
    font-size: 1rem;
    line-height: 1.1;
  }
}

.o-m3 {
  font-size: 1.15rem;
  line-height: 1.3rem;
}
@media (max-width: 768px) {
  .o-m3 {
    font-size: 0.75rem;
    line-height: 1.2;
  }
}

.o-m4 {
  font-size: 1rem;
  line-height: 1.15rem;
  letter-spacing: -0.01em;
}
@media (max-width: 768px) {
  .o-m4 {
    font-size: 0.6rem;
    letter-spacing: 0;
    line-height: 1.15;
  }
}

/* COMPONENTS */
.b-header {
  width: 100%;
  padding: 1rem;
  --color-header: var(--color-text);
  --block-width: 4rem;
  color: var(--color-header);
}
@media (max-width: 768px) {
  .b-header {
    padding: 0.5rem;
  }
}
.c-jumbo .b-header, .c-singlearea__jumbo .b-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  --color-header: var(--color-background);
  --color-text: var(--color-background);
  --color-text-opacity: var(--color-background);
}
.c-singlearea__second .b-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
}
.c-singlearea__second .b-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 1rem;
  width: 100vw;
  background: var(--color-background);
  z-index: 3;
}
.c-singlearea__second .b-header .b-header__inner {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 768px) {
  .c-singlearea__second .b-header {
    display: none;
  }
}
.page-template-page-lawyers .b-header, .page-template-page-areas .b-header, .u-mobile-special .b-header, .c-404 .b-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  text-align: left;
}
.single-lawyer .b-header, .page-template-page-contact .b-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 50%;
  padding-right: 0.25rem;
}
@media (max-width: 768px) {
  .single-lawyer .b-header, .page-template-page-contact .b-header {
    width: 100%;
    padding-right: 0.5rem;
  }
}
@media (min-width: 769px) {
  .single-post .b-header, .page-template-default .b-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
  }
  .single-post .b-header::before, .page-template-default .b-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 1rem;
    width: 100vw;
    background: var(--color-background);
    z-index: 3;
  }
}
.page-template-page-contact .b-header {
  width: 33vw;
}
@media (max-width: 768px) {
  .page-template-page-contact .b-header {
    position: absolute;
    width: 100%;
  }
}

.b-header__outer {
  position: relative;
  padding-top: 0.3rem !important;
  padding-left: 0.45rem !important;
}

.b-header__inner {
  position: relative;
  display: flex;
  gap: 1rem;
}
@media (max-width: 768px) {
  .b-header__inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto;
    gap: 0.5rem;
  }
}

.b-header__trigger {
  cursor: pointer;
  min-width: var(--block-width);
  user-select: none;
}
.b-header__trigger .open {
  display: none;
}
.b-header.is-open .b-header__trigger .open {
  display: block;
}
.b-header__trigger .close {
  display: block;
}
.b-header.is-open .b-header__trigger .close {
  display: none;
}
@media (max-width: 768px) {
  .b-header__trigger {
    grid-column: span 1;
    min-width: 0;
  }
}

.b-header__nav {
  pointer-events: none;
}
.b-header.is-open .b-header__nav {
  pointer-events: auto;
}

.b-header__menu {
  margin-left: auto;
  display: flex;
  gap: 0.65rem;
  list-style-type: none;
}
.b-header__menu > li {
  position: relative;
  opacity: 0;
  transform: translateY(10px);
}
.b-header__menu > li:hover .sub-menu {
  display: block;
}
.b-header__menu .sub-menu {
  position: absolute;
  left: 0;
  width: 20rem;
  top: 100%;
  display: none;
  list-style-type: none;
}

.b-header__menu:has(a:hover) a:not(:hover) {
  opacity: 0.1;
}
.b-header__menu a:hover + .sub-menu a {
  opacity: 1;
}
.b-header__menu li:has(.sub-menu a:hover) > a {
  opacity: 1;
}
.b-header__menu li:has(.sub-menu a:hover) .sub-menu a {
  opacity: 1;
}

.b-header__lang {
  margin-left: auto;
}
.b-header__lang ul {
  list-style-type: none;
  display: flex;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .b-header__lang {
    grid-column: -1/span 1;
  }
}

.b-header__indicator {
  position: absolute;
  left: calc(var(--block-width) + 1rem);
}
.b-header__indicator span {
  display: block;
  width: 6rem;
  cursor: default;
}
.b-header__indicator--flex {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.b-header__indicator--flex > * {
  width: var(--block-width);
}
@media (max-width: 768px) {
  .b-header__indicator--flex > * {
    width: auto;
  }
}
@media (max-width: 768px) {
  .b-header__indicator--flex {
    flex-direction: column;
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .b-header__indicator {
    position: static;
    grid-column: span 4;
  }
}

.b-header__filter {
  display: flex;
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .b-header__filter {
    gap: 0.5rem;
  }
}

.b-header__filter-item {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.b-header__filter-item.is-active {
  color: var(--color-text-opacity);
}
.b-header__filter-item.is-active:hover {
  color: var(--color-text);
}

.b-header__filter:has(.b-header__filter-item:hover) .b-header__filter-item:not(:hover) {
  opacity: 0.1;
  transition: opacity var(--transition);
}

.b-footer {
  width: 100%;
  padding: 1rem;
  margin-top: 5rem;
  align-items: start;
}
.page-template-page-home .b-footer {
  margin-top: 7.5rem;
}
@media (max-width: 768px) {
  .page-template-page-home .b-footer {
    margin-top: 0;
    background-color: var(--color-background);
    position: relative;
    z-index: 10;
  }
}
.page-template-page-areas .b-footer, .page-template-page-insights .b-footer, .single-area .b-footer, body:has(.c-404) .b-footer {
  position: absolute;
  bottom: 0;
  left: 0;
}
@media (max-width: 768px) {
  .page-template-page-areas .b-footer, .page-template-page-insights .b-footer, .single-area .b-footer, body:has(.c-404) .b-footer {
    position: static;
  }
}
@media (max-width: 768px) {
  body:has(.c-404) .b-footer {
    position: absolute;
  }
}
.single-area .b-footer, .single-post .b-footer {
  margin-top: 0rem;
}
@media (max-width: 768px) {
  .b-footer {
    padding: 0.5rem 0.5rem 3.5rem;
    gap: 2rem 0.5rem;
  }
}
.b-overlay .b-footer {
  padding-right: 0;
}

.b-footer__inner {
  grid-column: span 6;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.b-footer__inner:has(a:hover) a:not(:hover),
.b-footer__inner:has(a:hover) .wpml-ls-item::after {
  opacity: 0.1;
}
@media (max-width: 990px) {
  .b-footer__inner {
    grid-column: span 12;
  }
}
@media (max-width: 768px) {
  .b-footer__inner {
    grid-column: 2/span 4;
    gap: 2rem;
  }
}

.b-footer__block {
  margin-right: 2rem;
}
@media (max-width: 768px) {
  .b-footer__block {
    margin-right: 0;
  }
}

.b-footer__menu {
  list-style-type: none;
  display: flex;
  gap: 0.75rem;
}
.b-footer__menu--lang {
  gap: 0.5rem;
  margin-left: auto;
}
@media (max-width: 768px) {
  .b-footer__menu--lang {
    display: none;
  }
}
.b-footer__menu li.wpml-ls-item {
  /* &:not(:last-child) {
  	margin-left: 0.5rem;

  	@include mobile {
  		margin-left: 0;
  		margin-top: 0.5rem;
  	}
  	&::after {
  		color: var(--color-text-opacity) !important;
  		transition: opacity var(--transition);
  		position: absolute;
  		right: -0.45rem;
  		transform: translateY(-1px);
  		top: 0;
  		content: "|";

  		@include mobile {
  			display: none;
  		}
  	}
  } */
}
.b-footer__menu li.wpml-ls-item.wpml-ls-current-language {
  color: var(--color-text-opacity);
  pointer-events: none;
}
@media (max-width: 768px) {
  .b-footer__menu {
    flex-direction: column;
    gap: 0;
  }
}

.mc4wp-form-fields {
  display: flex;
  gap: 0.5rem;
}
.mc4wp-form-success .mc4wp-form-fields {
  display: none;
}
.mc4wp-form-fields input[type=email] {
  padding: 0;
  background-color: transparent;
  border: none;
  color: var(--color-text);
  width: 10rem;
}
.mc4wp-form-fields input[type=email]:focus {
  outline: none;
  box-shadow: none;
  background: transparent;
}
.mc4wp-form-fields input[type=email]:focus + input[type=submit] {
  opacity: 1;
  pointer-events: auto;
}
.mc4wp-form-fields input[type=email]::placeholder {
  color: var(--color-text-opacity);
}
.mc4wp-form-fields input[type=submit] {
  all: unset;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  font-family: inherit;
  color: var(--color-text);
}

.b-overlay {
  --color-background: rgb(4, 63, 97);
  --color-text: rgb(247, 244, 240);
  --color-text-opacity: rgba(247, 244, 240, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--padding-side);
  pointer-events: none;
  z-index: 9999;
  transition: opacity var(--transition);
  background-color: var(--color-background);
  color: var(--color-text);
}
.b-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.b-overlay__outer {
  position: relative;
  padding-top: 0.3rem !important;
  padding-left: 0.45rem !important;
}

.b-overlay__trigger {
  grid-column: 1/span 1;
  cursor: pointer;
}

.b-overlay__nav {
  grid-column: 2/span 4;
  margin-top: -0.08rem;
  font-size: 1.1rem;
  line-height: 1.1;
}

.b-overlay__menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.b-overlay__menu > li {
  margin-bottom: 0.8em;
}
.b-overlay__menu .sub-menu {
  opacity: 0.5;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.panel {
  position: relative;
  z-index: 0;
}

.c-jumbo {
  position: relative;
  background-color: var(--color-background);
  height: 100vh;
  height: 100dvh;
}
@media (max-width: 768px) {
  .c-jumbo {
    height: 100svh;
  }
}

.c-jumbo__logo {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0 1.5rem 2rem;
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}
@media (max-width: 768px) {
  .c-jumbo__logo {
    padding: 0 0.5rem 1rem;
  }
}

.c-jumbo__media {
  height: 100%;
}
.c-jumbo__media img,
.c-jumbo__media video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.c-intro,
.c-text {
  background-color: var(--color-background);
  padding: 0.75rem var(--padding-side);
}

.c-intro {
  padding-bottom: 5rem;
}
@media (max-width: 768px) {
  .c-intro {
    padding: 1rem 1rem 2rem;
  }
}

@media (max-width: 768px) {
  .c-text {
    padding-bottom: 6rem;
  }
}

.c-intro__text,
.c-text__text {
  grid-column: span 7;
}
.c-intro__text--extra,
.c-text__text--extra {
  grid-column: span 8;
}
@media (max-width: 768px) {
  .c-intro__text,
  .c-text__text {
    grid-column: span 5;
  }
}

.c-pictext {
  background-color: var(--color-background);
}

.c-pictext__img {
  width: 100%;
  height: 100dvh;
  object-fit: cover;
}
@media (max-width: 768px) {
  .c-pictext__img {
    height: auto;
    min-height: 67vw;
  }
}

.c-slider {
  padding: 1rem 0 4rem;
}
@media (max-width: 768px) {
  .c-slider {
    padding: 1rem 0.5rem 3rem;
  }
}

.c-slider__content {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  justify-content: center;
  background-color: var(--color-background);
}
@media (max-width: 768px) {
  .c-slider__content {
    gap: 0.5rem;
  }
}

/* TEXT */
.c-slider__text {
  padding: 0 1rem;
  margin-top: 0;
  margin-bottom: auto;
}

/* CONTAINER SWIPER */
.c-slider__container {
  position: relative;
  padding-left: var(--padding-side);
  padding-right: var(--padding-side);
  margin-bottom: auto;
  width: 100%;
  overflow: visible;
}
@media (max-width: 768px) {
  .c-slider__container {
    /* 🔑 clau perquè el swiper vertical funcione */
    height: min(70dvh, 520px);
    overflow: hidden;
  }
}

/* SLIDE */
.c-slider__slide {
  aspect-ratio: 23/16;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-background);
}
.c-slider__slide.swiper-slide-active {
  z-index: 2;
}
.c-slider__slide:not(.swiper-slide-active) {
  cursor: pointer;
}
@media (max-width: 768px) {
  .c-slider__slide {
    /* en vertical no forcem aspect-ratio al contenidor */
    width: 50vw;
    margin: 0 auto;
  }
}

/* INNER (on passa la màgia visual) */
.c-slider__inner {
  aspect-ratio: 23/16;
  background-color: var(--color-background);
  transform: scale(1);
  transition: transform 1s ease, opacity 1s ease;
  opacity: 0.1;
  will-change: transform;
}
.swiper-slide-active .c-slider__inner {
  transform: scale(1.375);
  opacity: 1;
  z-index: 3;
}
@media (max-width: 768px) {
  .swiper-slide-active .c-slider__inner {
    transform: scale(1.8);
  }
}

/* IMATGE */
.c-slider__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.c-inshome {
  background-color: var(--color-background);
  padding-bottom: 1.25rem;
  margin-top: -1px;
}

.c-inshome__content {
  padding: 0.35rem 0.45rem;
}

.c-inshome__tag {
  grid-column: span 12;
}
@media (max-width: 768px) {
  .c-inshome__tag {
    grid-column: span 6;
  }
}

.c-inshome__list {
  grid-column: span 8;
  margin-top: 0.5rem;
  list-style-type: none;
}
@media (max-width: 768px) {
  .c-inshome__list {
    grid-column: span 6;
  }
}

.c-inshome__item {
  margin-bottom: 0.75rem;
  transition: opacity 0.1s ease;
}
.c-inshome__item time,
.c-inshome__item span {
  display: block;
}
.c-inshome__item time {
  margin-bottom: 0.15rem;
}

/* Dim siblings when hovering a list item */
.c-inshome__list:has(.c-inshome__item:hover) .c-inshome__item:not(:hover) {
  opacity: 0.1;
  transition: opacity var(--transition);
}

#smooth-content:has(.c-insights) {
  min-height: 100vh;
  min-height: 100dvh;
}

.c-insights {
  padding: 0 var(--padding-side) 3rem var(--padding-side);
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .c-insights {
    margin-top: 0;
    padding-bottom: 0;
  }
}

.c-insights__list {
  list-style-type: none;
  margin: 0;
  padding: 0 0 3rem;
}
@media (max-width: 768px) {
  .c-insights__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0 0.5rem;
    padding: 0;
  }
}

.c-insights__item {
  margin-bottom: 0.5rem;
}
.c-insights__item a {
  display: block;
  transition: opacity var(--transition);
  max-width: 62.5%;
}
@media (max-width: 990px) {
  .c-insights__item a {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .c-insights__item {
    grid-column: 2/span 4;
  }
}

.c-insights__list:not(:hover) > .c-insights__item:nth-child(1 of :not(.u-none))::before {
  opacity: 1;
}

@media (max-width: 768px) {
  .c-insights__list > .c-insights__item:nth-child(1 of :not(.u-none))::before {
    opacity: 1;
  }
}

.c-insights__title {
  display: block;
  line-height: 1;
}
@media (max-width: 768px) {
  .c-insights__title {
    line-height: 1.1;
  }
}

@media (min-width: 769px) {
  .c-insights__list:has(.c-insights__item a:hover) .c-insights__item a:not(:hover) {
    opacity: 0.1;
  }
}

.c-lawyers {
  padding: 1rem var(--padding-side) 0;
}
@media (max-width: 768px) {
  .c-lawyers {
    padding-top: var(--padding-top);
  }
}

.c-lawyers__item {
  grid-column: span 3;
  transition: opacity var(--transition);
}
@media (max-width: 768px) {
  .c-lawyers__item {
    grid-column: 2/span 5;
  }
}

.c-lawyers__grid {
  gap: 1.5rem 0.5rem;
  margin-top: 3rem;
}
@media (max-width: 768px) {
  .c-lawyers__grid {
    grid-column: 2/span 5;
    gap: 1rem 0.5rem;
  }
}

.c-lawyers__photo img {
  display: block;
  aspect-ratio: 27/20;
  object-fit: cover;
}

.c-lawyers__info {
  margin-top: 0.25rem;
}

.c-lawyers__position {
  color: var(--color-text-opacity);
}

@media (min-width: 769px) {
  .c-lawyers__grid:has(.c-lawyers__item a:hover) .c-lawyers__item:not(:hover) {
    opacity: 0.1;
  }
}

.c-lawyers__text {
  position: relative;
  z-index: 2;
  grid-column: 7/span 3;
  padding-top: 0.3rem !important;
}
@media (max-width: 768px) {
  .c-lawyers__text {
    grid-column: 2/span 5;
  }
}

.c-contact {
  width: 100%;
  padding: 1rem var(--padding-side) 0;
  min-height: calc(100vh - 8rem);
  min-height: calc(100dvh - 8rem);
}
@media (max-width: 768px) {
  .c-contact {
    padding-top: var(--padding-top);
  }
}

.c-contact__location,
.c-contact__careers {
  grid-column: 5/span 8;
  display: grid;
  grid-template-columns: subgrid;
}
@media (max-width: 768px) {
  .c-contact__location,
  .c-contact__careers {
    grid-column: 2/span 5;
    gap: 1.5rem 0.5rem;
  }
}

@media (max-width: 768px) {
  .c-contact__careers {
    gap: 0.5rem;
  }
}

.c-contact__careers__title,
.c-contact__location-info {
  grid-column: span 2;
}
@media (max-width: 768px) {
  .c-contact__careers__title,
  .c-contact__location-info {
    grid-column: span 5;
  }
}

.c-contact__careers__text {
  grid-column: span 3;
  padding-right: 1rem;
}
@media (max-width: 768px) {
  .c-contact__careers__text {
    grid-column: span 5;
    padding-right: 0;
  }
}

.c-contact__location-map {
  grid-column: span 6;
}
@media (max-width: 768px) {
  .c-contact__location-map {
    grid-column: span 5;
  }
}

.c-contact__location__capital {
  position: absolute;
  left: 0;
  top: 0.12rem;
  margin-right: 0.1rem;
}

.c-contact__location__data {
  position: relative;
  padding-left: 0.8rem;
}

.c-contact__location__extra {
  padding-left: 0.8rem;
  margin-top: 0.4rem;
}

.c-contact__location__title {
  margin-bottom: 0.85rem;
}

.c-contact__map {
  aspect-ratio: 18/10;
  width: 100%;
}
@media (max-width: 768px) {
  .c-contact__map {
    aspect-ratio: 5/6;
  }
}

.mapmarker {
  background-image: url("resources/images/marker.png");
  background-size: contain;
  width: 36px;
  height: 36px;
  background-position: center center;
  background-repeat: no-repeat;
}

#smooth-content:has(.c-areas) {
  min-height: 100vh;
  min-height: 100dvh;
}

.c-areas {
  padding: 1rem var(--padding-side) 5rem;
  row-gap: 3rem;
  min-height: auto;
}
@media (max-width: 768px) {
  .c-areas {
    padding-top: var(--padding-top);
    row-gap: 0.5rem;
    min-height: 0;
    padding-bottom: 0;
  }
}

.c-areas__intro-col {
  padding-top: 0.3rem !important;
  grid-column-end: span 3;
}
.c-areas__intro-col--1 {
  grid-column-start: 7;
}
.c-areas__intro-col p:not(:last-child) {
  margin-bottom: 1em;
}
@media (max-width: 768px) {
  .c-areas__intro-col {
    grid-column: 2/span 4;
    padding-left: 0.3rem;
  }
}

.c-areas__list {
  grid-column: 7/span 6;
}
@media (min-width: 769px) {
  .c-areas__list:has(.c-areas__item:hover) .c-areas__item:not(:hover) {
    opacity: 0.1;
  }
}
@media (max-width: 768px) {
  .c-areas__list {
    grid-column: 2/span 4;
    margin-top: 2rem;
  }
}

.c-areas__item {
  position: relative;
  margin-bottom: 0.1rem;
  padding-top: 0.2rem !important;
  transition: opacity var(--transition);
}
@media (max-width: 768px) {
  .c-areas__item {
    margin-bottom: 0;
  }
}
@media (max-width: 768px) {
  .c-areas__item:not(:first-child) {
    padding-top: 0 !important;
  }
}
.c-areas__list:not(:hover) .c-areas__item:first-child::before {
  opacity: 1;
}
@media (max-width: 768px) {
  .c-areas__item:first-child::before {
    opacity: 1 !important;
  }
}

.c-areas__image {
  position: absolute;
  right: calc(100% + 0.5rem);
  top: 0;
  display: none;
}
.c-areas__image img {
  width: 8rem;
  object-fit: cover;
}
@media (min-width: 769px) {
  .c-areas__item:hover .c-areas__image {
    display: block;
  }
}

.c-singlelaw {
  padding: 1rem var(--padding-side) 0;
  min-height: calc(100vh - 8rem);
  min-height: calc(100dvh - 8rem);
}
@media (max-width: 768px) {
  .c-singlelaw {
    padding-top: 5rem;
  }
}

.c-singlelaw__container {
  grid-column: 7/span 6;
}
@media (max-width: 768px) {
  .c-singlelaw__container {
    grid-column: 1/span 5;
    display: grid;
    grid-template-columns: subgrid;
    row-gap: 2rem;
  }
}

.c-singlelaw__photo {
  position: relative;
  overflow: hidden;
  background-color: var(--color-white);
}
.c-singlelaw__photo img {
  display: block;
  aspect-ratio: 27/20;
  object-fit: cover;
}

.c-singlelaw__header,
.c-singlelaw__content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-right: 0 !important;
}
@media (max-width: 768px) {
  .c-singlelaw__header,
  .c-singlelaw__content {
    gap: 0.5rem;
  }
}

.c-singlelaw__info,
.c-singlelaw__photo {
  grid-column: span 1;
}
@media (max-width: 768px) {
  .c-singlelaw__info,
  .c-singlelaw__photo {
    grid-column: 1/span 2;
  }
}

.c-singlelaw__photo {
  background-color: var(--color-white);
}
@media (max-width: 768px) {
  .c-singlelaw__photo {
    order: 1;
  }
}

.c-singlelaw__name,
.c-singlelaw__position {
  grid-column: 2/span 4;
}
@media (max-width: 768px) {
  .c-singlelaw__name,
  .c-singlelaw__position {
    order: 2;
  }
}

.c-singlelaw__header {
  margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
  .c-singlelaw__header {
    grid-column: 1/span 5;
  }
}

.c-singlelaw__content {
  grid-column: 1/span 2;
}
@media (max-width: 768px) {
  .c-singlelaw__content {
    grid-column: 2/span 4;
    gap: 0;
  }
}

.c-singlelaw__info {
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .c-singlelaw__info {
    order: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0 0.5rem;
  }
}

.c-singlelaw__email {
  margin-top: auto;
}
.c-singlelaw__email:hover {
  opacity: 0.5;
}
@media (max-width: 768px) {
  .c-singlelaw__email {
    margin-top: 0;
    grid-column: 1/span 1;
    order: 1;
  }
}

.c-singlelaw__column {
  padding-right: 0.25rem;
}
.c-singlelaw__column h2,
.c-singlelaw__column h3 {
  color: var(--color-text-opacity);
}
.c-singlelaw__column p {
  margin-bottom: 1em;
}
@media (max-width: 768px) {
  .c-singlelaw__column {
    grid-column: 1/-1;
  }
}

#smooth-content:has(.c-singlearea) {
  min-height: 100vh;
  min-height: 100dvh;
}

.c-singlearea__jumbo {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  padding-top: 1rem;
  color: var(--color-background);
}
.c-singlearea__jumbo img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center calc(var(--image-vertical, 50%));
}
.c-singlearea__jumbo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  height: 12rem;
  width: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 20%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
@media (max-width: 768px) {
  .c-singlearea__jumbo {
    gap: 0.5rem;
    padding: 1rem var(--padding-side);
  }
}

.c-singlearea__text {
  grid-column: 7/span 6;
  padding-top: 0.3rem !important;
  padding-bottom: 6rem;
}
.c-singlearea__text p:not(:last-child),
.c-singlearea__text ul:not(:last-child),
.c-singlearea__text ol:not(:last-child) {
  margin-bottom: 1em;
}
.c-singlearea__text ul {
  padding-left: 0.75em;
  list-style: none;
}
.c-singlearea__text ul li {
  margin-bottom: 0.15rem;
}
.c-singlearea__text ul li::marker {
  content: "– ";
}
@media (max-width: 768px) {
  .c-singlearea__text {
    grid-column: 2/span 5;
    padding-left: 0.4rem;
  }
}

.c-singlearea__second {
  padding: 1rem var(--padding-side) 1rem;
  min-height: calc(100vh + 2px);
  min-height: calc(100dvh + 2px);
  background-color: var(--color-background);
}
@media (max-width: 768px) {
  .c-singlearea__second {
    padding-bottom: 0;
  }
}

.c-singlearea__title {
  --color-text: var(--color-background);
  margin-top: 0.3rem !important;
  grid-column: 7/span 5;
  position: relative;
  z-index: 1;
  color: var(--color-background);
  opacity: 0;
  text-wrap: balance;
}
@media (max-width: 768px) {
  .c-singlearea__title {
    grid-column: 2/span 5;
    margin-top: 4rem !important;
  }
}

.c-singleinsight {
  position: relative;
  padding: 1rem var(--padding-side) 3rem;
  row-gap: 3rem;
  grid-template-rows: auto;
  min-height: calc(100dvh - 3rem);
  align-content: start;
}
.c-singleinsight:has(.c-singleinsight__images) {
  min-height: 100vh;
  min-height: 100dvh;
}
@media (max-width: 768px) {
  .c-singleinsight {
    row-gap: 2.25rem;
    padding-bottom: 9rem;
    padding-top: 2rem;
  }
}

.c-singleinsight__header {
  grid-column: 7/span 3;
  padding-top: 0.3rem !important;
}
@media (max-width: 768px) {
  .c-singleinsight__header {
    order: 2;
    grid-column: 1/span 5;
    margin-bottom: -2rem;
    display: grid;
    grid-template-columns: subgrid;
    gap: 0.5rem;
    height: 4.5rem;
  }
}
@media (max-width: 768px) {
  .c-singleinsight:has(.c-singleinsight__images) .c-singleinsight__header {
    margin-top: -1.5rem;
  }
}

.c-singleinsight__date {
  margin-bottom: 1em;
}
@media (max-width: 768px) {
  .c-singleinsight__date {
    grid-column: 1/span 1;
  }
}

@media (max-width: 768px) {
  .c-singleinsight__title {
    grid-column: 2/span 4;
    padding-left: 8px;
  }
}

.c-singleinsight__block {
  grid-column: 5/span 8;
  display: grid;
  grid-template-columns: subgrid;
  min-width: 0;
  width: 100%;
  justify-self: stretch;
}
.c-singleinsight__block ul {
  padding-left: 0.75em;
  list-style-position: outside;
  list-style-type: "– ";
}
.c-singleinsight__block ul li {
  margin-bottom: 1em;
}
.c-singleinsight__block ul li::marker {
  content: "– ";
}
.c-singleinsight__block ol {
  list-style-position: inside;
}
@media (max-width: 768px) {
  .c-singleinsight__block {
    order: 3;
    grid-column: 2/span 4;
  }
}

.c-singleinsight__left {
  grid-column: 1/span 2;
  padding-right: 0.5rem;
  min-width: 0;
  width: 100%;
  justify-self: stretch;
}
.c-singleinsight__left a {
  text-decoration: underline;
  text-decoration-thickness: 0.25px;
}
.c-singleinsight__left a:hover {
  text-decoration: none;
}
.c-singleinsight__left p:not(:last-child) {
  margin-bottom: 1em;
}
@media (max-width: 768px) {
  .c-singleinsight__left {
    grid-column: 1/span 4;
    margin-bottom: 0.5rem;
  }
}

.c-singleinsight__content {
  grid-column: 3/-1;
  min-width: 0;
  width: 100%;
  justify-self: stretch;
}
.c-singleinsight__content p:not(:last-child),
.c-singleinsight__content ul:not(:last-child),
.c-singleinsight__content ol:not(:last-child) {
  margin-bottom: 1em;
}
.c-singleinsight__content a {
  text-decoration: underline;
  text-decoration-thickness: 0.25px;
}
.c-singleinsight__content a:hover {
  text-decoration: none;
}
.c-singleinsight__content strong {
  font-weight: 400;
  color: var(--color-text-opacity);
}
@media (max-width: 768px) {
  .c-singleinsight__content {
    grid-column: 1/span 5;
  }
}

.c-singleinsight__images {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 0 0 1rem 1rem;
  min-width: 0;
}
@media (min-width: 769px) {
  .c-singleinsight__images {
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    height: 100dvh;
    width: calc(25vw + 0.5rem);
  }
}
.c-singleinsight__images .swiper {
  width: 100%;
  position: relative;
  padding-top: 1rem;
}
.c-singleinsight__images .swiper-slide {
  width: 100%;
  cursor: pointer;
}
@media (max-width: 990px) {
  .c-singleinsight__images {
    width: calc(30vw + 0.5rem);
  }
}
@media (max-width: 768px) {
  .c-singleinsight__images {
    order: 1;
    grid-column: 1/span 5;
    width: 100%;
    padding: 0;
  }
}

.c-singleinsight__counter {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.c-singleinsight__image {
  width: 100%;
  background-color: var(--color-background);
}
.c-singleinsight__image img {
  display: block;
  width: 100%;
}
.c-singleinsight__image.swiper-slide img {
  aspect-ratio: 27/20;
  object-fit: cover;
}
@media (min-width: 769px) {
  .c-singleinsight__image.is-unique img {
    height: 15rem;
    object-fit: contain;
    object-position: left bottom;
  }
}

#smooth-content:has(.c-404) {
  min-height: 100vh;
  min-height: 100dvh;
}

.c-404 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  text-align: center;
}

.c-404__content {
  padding: 2rem var(--padding-side) 4rem;
}
.c-404__content h1 {
  margin-bottom: 0.25rem;
}
.c-404__content p {
  text-wrap: balance;
}
.c-404__content a {
  text-decoration: underline;
  text-decoration-thickness: 0.75px;
}
.c-404__content a:hover {
  text-decoration: none;
}
@media (max-width: 768px) {
  .c-404__content {
    padding-top: 1rem;
    padding-bottom: 8rem;
  }
}

/* SCOPES */
.s-debug [class] {
  outline: 3px solid lightgrey;
}

/* UTILITIES */
.u-none {
  display: none !important;
}

.u-tal {
  text-align: left !important;
}

.u-tac {
  text-align: center !important;
}

.u-tar {
  text-align: right !important;
}

.u-pic {
  mix-blend-mode: luminosity !important;
  filter: grayscale(100%) !important;
}

.u-text-opac {
  color: var(--color-text-opacity) !important;
}

.u-balance {
  text-wrap: balance !important;
}

.u-border {
  position: relative;
  padding-top: 0.4rem;
  padding-left: 0.4rem;
  padding-top: 8px;
  padding-left: 8px;
}
.u-border::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0.4rem;
  border-top: 0.25px solid var(--color-text);
  border-left: 0.25px solid var(--color-text);
}
@media (max-width: 768px) {
  .u-border::before {
    border-top: 1px solid var(--color-text);
    border-left: 1px solid var(--color-text);
  }
}

@media (min-width: 769px) {
  .u-border-desktop {
    position: relative;
    padding-top: 0.4rem;
    padding-left: 0.5rem;
  }
  .u-border-desktop::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0.4rem;
    border-top: 0.25px solid var(--color-text);
    border-left: 0.25px solid var(--color-text);
  }
}
@media (min-width: 769px) and (max-width: 768px) {
  .u-border-desktop::before {
    border-top: 1px solid var(--color-text);
    border-left: 1px solid var(--color-text);
  }
}

@media (max-width: 768px) {
  .u-border-mobile {
    position: relative;
    padding-top: 0.4rem;
    padding-left: 0.3rem;
    padding-top: 8px;
    padding-left: 8px;
  }
  .u-border-mobile::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0.4rem;
    border-top: 1px solid var(--color-text);
    border-left: 1px solid var(--color-text);
  }
}

.u-border-hidden {
  position: relative;
  padding-top: 8px;
  padding-left: 8px;
}
.u-border-hidden::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0.4rem;
  opacity: 0;
  transition: opacity var(--transition);
  border-top: 0.25px solid var(--color-text);
  border-left: 0.25px solid var(--color-text);
}
@media (max-width: 768px) {
  .u-border-hidden::before {
    border-top: 1px solid var(--color-text);
    border-left: 1px solid var(--color-text);
  }
}
@media (min-width: 769px) {
  .u-border-hidden:hover::before {
    opacity: 1;
  }
}

.u-border-hidden-space {
  position: relative;
  padding-top: 0.2rem;
  padding-left: 0.5rem;
}
.u-border-hidden-space::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0.4rem;
  opacity: 0;
  border-top: 0.25px solid var(--color-text);
  border-left: 0.25px solid var(--color-text);
}
@media (max-width: 768px) {
  .u-border-hidden-space::before {
    border-top: 1px solid var(--color-text);
    border-left: 1px solid var(--color-text);
  }
}
@media (min-width: 769px) {
  .u-border-hidden-space:hover::before {
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .u-border-hidden-space {
    padding-top: 0;
    padding-left: 0.3rem;
  }
}

.u-sbetween {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.js-opac {
  opacity: 0;
  will-change: opacity;
}

@media (min-width: 769px) {
  .u-mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .u-desktop {
    display: none !important;
  }
}

.is-not-clickable > a {
  cursor: default;
}

@media (min-width: 769px) {
  .u-mobile-special {
    display: none !important;
  }
}
.u-mobile-special .b-header__outer::before,
.u-mobile-special .b-header__inner > * {
  display: none !important;
}
.u-mobile-special .b-header__trigger {
  display: block !important;
}
@media (max-width: 768px) {
  body:has(.u-mobile-special) #smooth-content .b-header .b-header__trigger {
    opacity: 0 !important;
  }
}

/*# sourceMappingURL=style.css.map */
