:root {
  --site-brand: #31b8bd;
  --site-brand-dark: #23538d;
  --site-accent: #60b7fe;

  --site-text: #172033;
  --site-muted: #667085;
  --site-border: #e4e7ec;

  --site-bg: #f7f9fc;
  --site-surface: #ffffff;

  --site-radius: 18px;
  --site-shadow: 0 14px 40px rgba(16,24,40,.07);

  --site-header-height: 78px;
  --site-footer-height: 68px;
}


/* ============================================================
   BASE
   ============================================================ */

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;

  padding-top: var(--site-header-height);
  padding-bottom: var(--site-footer-height);

  background: var(--site-bg);
  color: var(--site-text);

  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}


/* ============================================================
   NAVEGACIÓN GLOBAL
   ============================================================ */

.site-header {
  position: fixed;
  z-index: 1000;

  top: 0;
  left: 0;

  width: 100%;
  height: var(--site-header-height);

  background: rgba(255,255,255,.96);

  border-bottom: 1px solid var(--site-border);

  box-shadow:
    0 4px 20px rgba(16,24,40,.04);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-header__inner {
  width: min(1240px, calc(100% - 40px));
  height: 100%;

  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.site-brand {
  flex: 0 0 auto;

  display: flex;
  align-items: center;

  text-decoration: none;
}

.site-brand--logo {
  height: 62px;
}

.site-brand__logo {
  width: auto;
  height: 58px;

  display: block;

  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;

  gap: 24px;
}

.site-nav a {
  padding: 8px 0;

  color: #475467;

  font-size: 14px;
  font-weight: 650;

  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--site-brand-dark);
}

.site-nav a[aria-current="page"] {
  border-bottom: 2px solid var(--site-brand);
}

.site-kicker {
  color: var(--site-brand);

  font-size: 12px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: .12em;
}


/* ============================================================
   VOLVER ARRIBA
   ============================================================ */

.site-back-top {
  position: fixed;
  z-index: 1100;

  right: 24px;
  bottom: calc(var(--site-footer-height) + 20px);

  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;

  background: var(--site-brand-dark);
  color: #fff;

  box-shadow:
    0 8px 24px rgba(35,83,141,.22);

  font-size: 24px;
  font-weight: 800;
  line-height: 1;

  text-decoration: none;

  transition:
    transform .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.site-back-top:hover {
  transform: translateY(-3px);

  background: var(--site-brand);

  box-shadow:
    0 11px 28px rgba(35,83,141,.28);
}


/* ============================================================
   BLOG · LISTADO
   ============================================================ */

.blog-shell {
  width: min(1240px, calc(100% - 40px));

  margin: 0 auto 70px;
}

.blog-hero {
  max-width: 790px;

  padding: 68px 0 40px;
}

.blog-hero h1 {
  margin: 8px 0 14px;

  color: var(--site-brand-dark);

  font-size: clamp(42px, 7vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
}

.blog-hero p {
  max-width: 680px;

  margin: 0;

  color: var(--site-muted);

  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin-bottom: 32px;
  padding-bottom: 24px;

  border-bottom: 1px solid var(--site-border);
}

.blog-categories a {
  min-height: 38px;

  padding: 0 13px;

  display: inline-flex;
  align-items: center;

  gap: 8px;

  border: 1px solid var(--site-border);
  border-radius: 999px;

  background: #fff;
  color: #475467;

  font-size: 13px;
  font-weight: 700;

  text-decoration: none;
}

.blog-categories a:hover,
.blog-categories a.active {
  border-color: var(--site-brand);
  color: var(--site-brand-dark);
}

.blog-categories a.active {
  background: rgba(49,184,189,.09);
}

.blog-categories span {
  min-width: 22px;
  height: 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  background: #f2f4f7;

  font-size: 11px;
}

.blog-current-category {
  display: flex;
  align-items: baseline;

  gap: 8px;

  margin-bottom: 24px;
}

.blog-current-category span {
  color: var(--site-muted);

  font-size: 13px;
}

.blog-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 24px;
}

.blog-card {
  min-width: 0;

  overflow: hidden;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);

  background: #fff;

  box-shadow: var(--site-shadow);
}

.blog-card__image {
  position: relative;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  display: block;

  background:
    linear-gradient(
      135deg,
      rgba(49,184,189,.16),
      rgba(35,83,141,.18)
    );
}

.blog-card__image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform .35s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.035);
}

.blog-card__placeholder {
  width: 100%;
  height: 100%;

  display: grid;
  place-items: center;

  color: var(--site-brand-dark);

  font-size: 20px;
  font-weight: 800;
}

.blog-card__body {
  flex: 1;

  padding: 22px;

  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  min-height: 23px;

  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 7px 12px;

  color: var(--site-muted);

  font-size: 12px;
}

.blog-card__meta a {
  color: var(--site-brand-dark);

  font-weight: 750;

  text-decoration: none;
}

.blog-card h2 {
  margin: 12px 0 10px;

  font-size: 23px;
  line-height: 1.14;
  letter-spacing: -.025em;
}

.blog-card h2 a {
  text-decoration: none;
}

.blog-card h2 a:hover {
  color: var(--site-brand-dark);
}

.blog-card__excerpt {
  margin: 0 0 22px;

  color: var(--site-muted);

  font-size: 14px;
  line-height: 1.65;
}

.blog-card__footer {
  margin-top: auto;
  padding-top: 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 14px;

  border-top: 1px solid #f0f2f5;

  color: var(--site-muted);

  font-size: 12px;
}

.blog-read-more {
  flex: 0 0 auto;

  color: var(--site-brand-dark);

  font-size: 13px;
  font-weight: 800;

  text-decoration: none;
}

.blog-pagination {
  margin-top: 38px;
  padding-top: 22px;

  display: grid;

  grid-template-columns:
    1fr auto 1fr;

  align-items: center;

  gap: 18px;

  border-top: 1px solid var(--site-border);
}

.blog-pagination a {
  width: fit-content;

  color: var(--site-brand-dark);

  font-size: 14px;
  font-weight: 750;

  text-decoration: none;
}

.blog-pagination a:last-child {
  justify-self: end;
}

.blog-pagination strong {
  color: var(--site-muted);

  font-size: 12px;
}

.blog-empty {
  padding: 60px 30px;

  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);

  background: #fff;

  text-align: center;
}


/* ============================================================
   ARTÍCULO
   ============================================================ */

.article-shell {
  width: min(1120px, calc(100% - 40px));

  margin: 0 auto;

  padding: 64px 0 80px;
}

.article {
  width: 100%;
}

.article-header {
  max-width: 880px;

  margin: 0 auto 36px;
}

.article-back {
  display: inline-block;

  margin-bottom: 28px;

  color: var(--site-muted);

  font-size: 13px;
  font-weight: 700;

  text-decoration: none;
}

.article-category {
  display: block;

  width: fit-content;

  margin-bottom: 12px;

  color: var(--site-brand);

  font-size: 12px;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: .08em;

  text-decoration: none;
}

.article-header h1 {
  margin: 0;

  color: var(--site-brand-dark);

  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -.052em;
}

.article-meta {
  margin-top: 22px;

  display: flex;
  flex-wrap: wrap;

  gap: 8px 18px;

  color: var(--site-muted);

  font-size: 14px;
}

.article-cover {
  width: min(1020px, 100%);

  margin: 0 auto 46px;
}

.article-cover img {
  width: 100%;
  max-height: 620px;

  display: block;

  object-fit: contain;

  border-radius: var(--site-radius);

  background: #fff;
}

.article-content {
  width: min(780px, 100%);

  margin: auto;

  color: #253044;

  font-size: 18px;
  line-height: 1.8;
}

.article-content p {
  margin: 0 0 1.4em;
}

.article-intro {
  margin-bottom: 1.7em;

  color: #344054;

  font-size: 20px;
  line-height: 1.7;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 1.9em 0 .7em;

  color: var(--site-brand-dark);

  line-height: 1.2;
}

.article-content a {
  color: var(--site-brand-dark);

  text-decoration-color: var(--site-brand);

  text-underline-offset: 3px;
}

.article-content img {
  width: auto;
  max-width: 100%;
  height: auto;

  display: block;

  margin: 30px auto;

  border-radius: 12px;
}

.article-content figure {
  margin: 32px auto;
}

.article-content ul,
.article-content ol {
  padding-left: 1.5em;
}

.article-content li {
  margin-bottom: .55em;
}

.article-content blockquote {
  margin: 30px 0;

  padding: 6px 0 6px 24px;

  border-left: 4px solid var(--site-brand);

  color: #475467;
}

.article-content audio {
  width: 100%;

  display: block;

  margin: 26px 0;
}

.article-content hr {
  margin: 40px 0;

  border: 0;
  border-top: 1px solid var(--site-border);
}

.article-audio {
  width: min(780px, 100%);

  margin: 0 auto 36px;
}

.article-audio audio {
  width: 100%;

  display: block;
}

.article-footer {
  width: min(780px, 100%);

  margin: 50px auto 0;
  padding-top: 24px;

  border-top: 1px solid var(--site-border);
}

.article-footer a {
  color: var(--site-brand-dark);

  font-size: 14px;
  font-weight: 750;

  text-decoration: none;
}


/* ============================================================
   POSTDATA · VALORACIONES Y COMENTARIOS
   ============================================================ */

.postdata-feedback {
  width: min(780px, 100%);

  margin: 56px auto 0;
}

.postdata-rating-summary {
  margin-bottom: 46px;

  padding: 28px;

  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);

  background: var(--site-surface);
}

.postdata-rating-summary h2 {
  margin: 8px 0 0;

  color: var(--site-brand-dark);

  font-size: 22px;
}

.postdata-rating-summary p {
  margin: 6px 0 0;

  color: var(--site-muted);

  font-size: 13px;
}

.postdata-rating-number {
  margin-top: 8px;

  display: flex;
  align-items: baseline;

  gap: 5px;
}

.postdata-rating-number strong {
  color: var(--site-brand-dark);

  font-size: 48px;
  line-height: 1;
  letter-spacing: -.05em;
}

.postdata-rating-number span {
  color: var(--site-muted);

  font-size: 17px;
  font-weight: 700;
}

.postdata-comments__heading {
  margin-bottom: 24px;
}

.postdata-comments__heading h2 {
  margin: 5px 0 2px;

  color: var(--site-brand-dark);

  font-size: 30px;
}

.postdata-comments__heading p {
  margin: 0;

  color: var(--site-muted);

  font-size: 13px;
}

.postdata-comments__list {
  display: grid;

  gap: 14px;
}

.postdata-comment {
  padding: 20px;

  border: 1px solid var(--site-border);
  border-radius: 14px;

  background: var(--site-surface);
}

.postdata-comment--reply {
  margin-top: 12px;

  background: var(--site-bg);
}

.postdata-comment__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;

  gap: 15px;

  margin-bottom: 9px;
}

.postdata-comment__header strong {
  color: var(--site-brand-dark);

  font-size: 15px;
}

.postdata-comment__header span {
  color: var(--site-muted);

  font-size: 12px;
}

.postdata-comment__rating {
  margin-bottom: 9px;

  color: var(--site-muted);

  font-size: 12px;
}

.postdata-comment__rating strong {
  color: var(--site-brand);
}

.postdata-comment__text {
  color: #344054;

  font-size: 15px;
  line-height: 1.65;
}

.postdata-comment__replies {
  margin-top: 14px;

  padding-left: 22px;

  border-left: 2px solid var(--site-border);
}

.postdata-comments__empty {
  padding: 22px;

  border: 1px solid var(--site-border);
  border-radius: 14px;

  background: var(--site-surface);

  color: var(--site-muted);
}

.postdata-comment-form {
  margin-top: 42px;
  padding-top: 36px;

  border-top: 1px solid var(--site-border);
}

.postdata-comment-form h2 {
  margin: 0 0 6px;

  color: var(--site-brand-dark);

  font-size: 27px;
}

.postdata-comment-form > p {
  margin: 0 0 24px;

  color: var(--site-muted);

  font-size: 14px;
}

.postdata-comment-form form {
  display: grid;

  gap: 18px;
}

.postdata-form-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 16px;
}

.postdata-comment-form label {
  display: grid;

  gap: 7px;

  color: #344054;

  font-size: 13px;
  font-weight: 700;
}

.postdata-comment-form input,
.postdata-comment-form select,
.postdata-comment-form textarea {
  width: 100%;

  padding: 12px 13px;

  border: 1px solid var(--site-border);
  border-radius: 10px;

  background: var(--site-surface);
  color: var(--site-text);

  font: inherit;
}

.postdata-comment-form textarea {
  resize: vertical;
}

.postdata-comment-form input:focus,
.postdata-comment-form select:focus,
.postdata-comment-form textarea:focus {
  outline: 2px solid rgba(49,184,189,.18);

  border-color: var(--site-brand);
}

.postdata-submit {
  width: fit-content;

  padding: 12px 20px;

  border: 0;
  border-radius: 999px;

  background: var(--site-brand-dark);
  color: #fff;

  font-size: 14px;
  font-weight: 800;

  cursor: pointer;
}

.postdata-submit:hover {
  background: var(--site-brand);
}

.postdata-form-message,
.postdata-form-error {
  margin-bottom: 20px;

  padding: 13px 15px;

  border-radius: 10px;

  font-size: 14px;
}

.postdata-form-message {
  background: rgba(49,184,189,.1);

  color: var(--site-brand-dark);
}

.postdata-form-error {
  background: #fff1f1;

  color: #a12828;
}

.postdata-honeypot {
  position: absolute;

  width: 1px;
  height: 1px;

  overflow: hidden;

  clip: rect(0 0 0 0);
  clip-path: inset(50%);

  white-space: nowrap;
}


/* ============================================================
   POSTDATA · ESTRELLAS
   ============================================================ */

.postdata-stars-field {
  margin: 0;
  padding: 0;

  border: 0;
}

.postdata-stars-field legend {
  margin-bottom: 7px;

  color: #344054;

  font-size: 13px;
  font-weight: 700;
}

.postdata-stars-input {
  width: fit-content;

  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;

  gap: 3px;
}

.postdata-stars-input input {
  position: absolute;

  opacity: 0;

  pointer-events: none;
}

.postdata-stars-input label {
  color: #d0d5dd;

  font-size: 34px;
  line-height: 1;

  cursor: pointer;

  transition:
    color .15s ease,
    transform .15s ease;
}

.postdata-stars-input label:hover,
.postdata-stars-input label:hover ~ label,
.postdata-stars-input input:checked ~ label {
  color: #f5b301;
}

.postdata-stars-input label:hover {
  transform: scale(1.08);
}

.postdata-stars-help {
  display: block;

  margin-top: 5px;

  color: var(--site-muted);

  font-size: 12px;
}

.postdata-rating-display {
  margin-top: 9px;

  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 10px;
}

.postdata-stars-display {
  display: flex;

  gap: 2px;
}

.postdata-stars-display span {
  color: #d0d5dd;

  font-size: 27px;
  line-height: 1;
}

.postdata-stars-display span.active {
  color: #f5b301;
}

.postdata-rating-score {
  display: flex;
  align-items: baseline;

  gap: 3px;
}

.postdata-rating-score strong {
  color: var(--site-brand-dark);

  font-size: 26px;
}

.postdata-rating-score span {
  color: var(--site-muted);

  font-size: 14px;
  font-weight: 700;
}


/* ============================================================
   SEMIOCURRIÓ · LANDING
   ============================================================ */

.home {
  overflow: hidden;
}


/* SECCIÓN GENÉRICA */

.home-section {
  width: min(
    1240px,
    calc(100% - 40px)
  );

  margin: auto;

  padding: 84px 0;
}

.home-section--white {
  background: #fff;
}

.home-section__heading {
  max-width: 720px;

  margin-bottom: 40px;
}

.home-section__heading h2 {
  margin: 8px 0 13px;

  color: var(--site-brand-dark);

  font-size: clamp(
    34px,
    5vw,
    54px
  );

  line-height: 1.02;

  letter-spacing: -.045em;
}

.home-section__heading p {
  margin: 0;

  color: var(--site-muted);

  font-size: 17px;
  line-height: 1.65;
}


/* CARRUSEL */

.home-carousel-section {
  width: min(
    1240px,
    calc(100% - 40px)
  );

  margin: 0 auto;

  padding: 28px 0 46px;
}

.home-carousel {
  position: relative;

  width: 100%;
}

.home-carousel__viewport {
  width: 100%;

  overflow: hidden;

  border-radius: 26px;

  background: #fff;

  box-shadow: var(--site-shadow);
}

.home-carousel__track {
  width: 100%;

  display: flex;
  align-items: flex-start;

  transition:
    transform .6s ease;
}

.home-carousel__slide {
  flex: 0 0 100%;

  width: 100%;
  min-width: 100%;

  background: #fff;
}

.home-carousel__link {
  width: 100%;

  display: block;

  text-decoration: none;
}

.home-carousel__slide img {
  width: 100%;
  height: auto;

  display: block;

  object-fit: contain;
}

.home-carousel__arrow {
  position: absolute;
  z-index: 5;

  top: 50%;

  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  transform: translateY(-50%);

  border: 0;
  border-radius: 50%;

  background: rgba(255,255,255,.94);
  color: var(--site-brand-dark);

  box-shadow:
    0 8px 25px rgba(0,0,0,.13);

  font-size: 32px;
  line-height: 1;

  cursor: pointer;
}

.home-carousel__arrow:hover {
  background: var(--site-brand-dark);

  color: #fff;
}

.home-carousel__arrow--prev {
  left: 18px;
}

.home-carousel__arrow--next {
  right: 18px;
}

.home-carousel__dots {
  margin-top: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 7px;
}

.home-carousel__dots button {
  width: 9px;
  height: 9px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: #cbd3dc;

  cursor: pointer;

  transition:
    width .2s ease,
    border-radius .2s ease,
    background .2s ease;
}

.home-carousel__dots button.active {
  width: 28px;

  border-radius: 99px;

  background: var(--site-brand);
}


/* HERO */

.home-hero {
  position: relative;

  min-height: 540px;

  display: flex;
  align-items: center;

  background:
    radial-gradient(
      circle at 76% 36%,
      rgba(49,184,189,.16),
      transparent 34%
    ),
    radial-gradient(
      circle at 65% 74%,
      rgba(96,183,254,.11),
      transparent 28%
    ),
    #fff;
}

.home-hero__inner {
  width: min(
    1240px,
    calc(100% - 40px)
  );

  margin: auto;

  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(300px, .85fr);

  align-items: center;

  gap: 70px;
}

.home-hero__copy {
  max-width: 700px;
}

.home-hero h1 {
  max-width: 680px;

  margin: 10px 0 20px;

  color: var(--site-brand-dark);

  font-size: clamp(
    40px,
    5vw,
    62px
  );

  line-height: 1.02;

  letter-spacing: -.045em;
}

.home-hero__copy > p {
  max-width: 640px;

  margin: 0;

  color: var(--site-muted);

  font-size: clamp(
    17px,
    1.6vw,
    20px
  );

  line-height: 1.65;
}


/* IMAGEN HERO */

.home-hero__brand {
  min-height: 340px;

  padding: 35px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(35,83,141,.07);
  border-radius: 36px;

  background: rgba(255,255,255,.7);

  box-shadow:
    0 28px 75px rgba(35,83,141,.08);

  text-align: center;
}

.home-logo {
  width: min(340px, 90%);
  height: auto;

  display: block;

  object-fit: contain;
}

.home-hero__brand p {
  max-width: 320px;

  margin: 20px 0 0;

  color: var(--site-muted);

  font-size: 14px;
  line-height: 1.6;
}


/* ECOSISTEMA */

.home-projects {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.home-project {
  min-height: 285px;

  padding: 30px;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--site-border);
  border-radius: 24px;

  background: #fff;

  box-shadow: var(--site-shadow);

  text-decoration: none;

  transition:
    transform .22s ease,
    border-color .22s ease;
}

.home-project:hover {
  transform: translateY(-4px);

  border-color: var(--site-brand);
}

.home-project__number {
  margin-bottom: auto;

  color: var(--site-brand);

  font-size: 12px;
  font-weight: 850;

  letter-spacing: .12em;
}

.home-project h3 {
  margin: 32px 0 8px;

  color: var(--site-brand-dark);

  font-size: 29px;

  letter-spacing: -.035em;
}

.home-project p {
  max-width: 500px;

  margin: 0 0 26px;

  color: var(--site-muted);

  font-size: 15px;
  line-height: 1.65;
}

.home-project > strong {
  margin-top: auto;

  color: var(--site-brand-dark);

  font-size: 13px;
}


/* SPOTIFY */

.spotify-player {
  width: 100%;

  overflow: hidden;

  border-radius: var(--site-radius);

  box-shadow: var(--site-shadow);
}

.spotify-player iframe {
  width: 100%;

  display: block;

  border: 0;
}


/* QUIÉNES SOMOS */

.home-about {
  background:
    linear-gradient(
      120deg,
      var(--site-brand-dark),
      #1e6a92
    );

  color: #fff;
}

.home-about__inner {
  width: min(
    1240px,
    calc(100% - 40px)
  );

  margin: auto;

  padding: 86px 0;

  display: grid;

  grid-template-columns:
    .85fr 1.15fr;

  gap: 80px;
}

.home-about .site-kicker {
  color: #7de3e6;
}

.home-about h2 {
  margin: 8px 0 0;

  color: #fff;

  font-size: clamp(
    36px,
    5vw,
    58px
  );

  line-height: 1;

  letter-spacing: -.045em;
}

.home-about__text {
  max-width: 680px;

  color: rgba(255,255,255,.88);

  font-size: 18px;
  line-height: 1.8;
}

.home-about__text p {
  margin: 0 0 20px;
}


/* QUÉ HACEMOS */

.home-offer {
  width: min(
    1240px,
    calc(100% - 40px)
  );

  margin: auto;

  padding: 84px 0;
}

.home-offer__grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 14px;
}

.home-offer__grid article {
  min-height: 180px;

  padding: 24px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  border-top: 3px solid var(--site-brand);
  border-radius: 0 0 16px 16px;

  background: #fff;
}

.home-offer__grid strong {
  color: var(--site-brand-dark);

  font-size: 20px;
}

.home-offer__grid span {
  margin-top: 8px;

  color: var(--site-muted);

  font-size: 14px;
  line-height: 1.55;
}


/* CONTACTO */

.home-contact {
  width: min(
    1240px,
    calc(100% - 40px)
  );

  margin: 0 auto 80px;

  padding: 46px 50px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;

  border-radius: 28px;

  background:
    linear-gradient(
      120deg,
      #172b4b,
      var(--site-brand-dark)
    );

  color: #fff;
}

.home-contact .site-kicker {
  color: #7de3e6;
}

.home-contact h2 {
  max-width: 650px;

  margin: 8px 0 0;

  color: #fff;

  font-size: clamp(
    28px,
    4vw,
    43px
  );

  line-height: 1.05;

  letter-spacing: -.035em;
}

.home-button {
  min-height: 48px;

  padding: 0 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--site-border);
  border-radius: 999px;

  background: #fff;
  color: var(--site-brand-dark);

  font-size: 14px;
  font-weight: 800;

  text-decoration: none;

  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease;
}

.home-button:hover {
  transform: translateY(-2px);

  border-color: var(--site-brand);
}

.home-button--light {
  flex: 0 0 auto;

  border-color: rgba(255,255,255,.25);

  background: #fff;
}


/* ============================================================
   FOOTER GLOBAL PERSISTENTE
   ============================================================ */

.site-footer {
  position: fixed;
  z-index: 900;

  left: 0;
  bottom: 0;

  width: 100%;
  height: var(--site-footer-height);

  border-top: 1px solid var(--site-border);

  background: rgba(255,255,255,.97);

  box-shadow:
    0 -4px 20px rgba(16,24,40,.04);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-footer__inner {
  width: min(1240px, calc(100% - 40px));
  height: 100%;

  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  color: var(--site-muted);

  font-size: 12px;
}

.site-footer__brand {
  display: flex;
  align-items: baseline;

  gap: 8px;
}

.site-footer__brand strong {
  color: var(--site-brand-dark);

  font-size: 14px;
}

.site-footer__brand span {
  color: var(--site-muted);

  font-size: 12px;
}

.site-footer__links {
  display: flex;
  align-items: center;

  gap: 18px;
}

.site-footer__links a {
  color: var(--site-muted);

  font-weight: 650;

  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--site-brand-dark);
}

.site-footer__copy {
  white-space: nowrap;
}


/* ============================================================
   RESPONSIVE · TABLET
   ============================================================ */

@media (max-width: 960px) {

  :root {
    --site-header-height: 118px;
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;

    gap: 9px;

    padding: 13px 0;
  }

  .site-nav {
    width: 100%;

    overflow-x: auto;

    gap: 18px;

    padding-bottom: 4px;
  }

  .site-nav a {
    flex: 0 0 auto;

    white-space: nowrap;
  }

  .blog-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .home-hero {
    padding: 55px 0;
  }

  .home-hero__inner,
  .home-about__inner {
    grid-template-columns: 1fr;
  }

  .home-hero__brand {
    min-height: 280px;
  }

  .home-logo {
    width: min(300px, 80%);
  }

  .home-offer__grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


/* ============================================================
   RESPONSIVE · MÓVIL
   ============================================================ */

@media (max-width: 640px) {

  :root {
    --site-header-height: 118px;
    --site-footer-height: 62px;
  }

  .site-header__inner,
  .blog-shell,
  .article-shell,
  .site-footer__inner,
  .home-hero__inner,
  .home-section,
  .home-carousel-section,
  .home-about__inner,
  .home-offer,
  .home-contact {
    width: calc(100% - 24px);
  }

  .site-nav {
    gap: 18px;
  }

  .site-footer__links {
    display: none;
  }

  .site-footer__brand span {
    display: none;
  }

  .site-back-top {
    right: 15px;

    bottom:
      calc(
        var(--site-footer-height)
        + 15px
      );

    width: 42px;
    height: 42px;
  }

  .blog-hero {
    padding-top: 44px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card__body {
    padding: 19px;
  }

  .blog-pagination {
    grid-template-columns:
      1fr 1fr;
  }

  .blog-pagination strong {
    grid-column: 1 / -1;
    grid-row: 1;

    text-align: center;
  }

  .article-shell {
    padding-top: 42px;
  }

  .article-content {
    font-size: 17px;
  }

  .article-intro {
    font-size: 18px;
  }

  .postdata-form-grid {
    grid-template-columns: 1fr;
  }

  .postdata-comment__header {
    align-items: flex-start;
    flex-direction: column;

    gap: 3px;
  }

  .postdata-comment__replies {
    padding-left: 12px;
  }

  .home-hero h1 {
    font-size: 42px;
  }

  .home-projects,
  .home-offer__grid {
    grid-template-columns: 1fr;
  }

  .home-carousel__arrow {
    width: 38px;
    height: 38px;

    font-size: 26px;
  }

  .home-carousel__arrow--prev {
    left: 10px;
  }

  .home-carousel__arrow--next {
    right: 10px;
  }

  .home-about__inner {
    gap: 35px;

    padding: 65px 0;
  }

  .home-contact {
    padding: 32px 25px;

    align-items: flex-start;
    flex-direction: column;
  }

}