/* Chi siamo */

.about-page {
  overflow: hidden;
  background: #fff;
}

.about-hero {
  position: relative;
  padding: clamp(38px, 5vw, 64px) 0 0;
  color: #fff;
  background:
    radial-gradient(circle at 80% 18%, rgba(42, 132, 190, 0.3), transparent 30%),
    linear-gradient(145deg, var(--color-navy-deep), var(--color-navy) 72%);
}

.about-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
  pointer-events: none;
}

.about-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(410px, 0.78fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 70px);
}

.about-hero__copy h1 {
  max-width: 700px;
  margin-bottom: 16px;
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  line-height: 0.94;
}

.about-hero__headline {
  max-width: 700px;
  margin-bottom: 20px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.38rem, 2.4vw, 2rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.about-hero__lead {
  max-width: 720px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-hero__actions .button {
  min-width: 198px;
}

.about-hero__actions svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.about-hero__microcopy {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
}

.about-hero__visual {
  position: relative;
  width: min(100%, 500px);
  margin: 0;
  justify-self: end;
}

.about-hero__visual::before {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 54%;
  height: 58%;
  border: 2px solid rgba(255, 194, 71, 0.58);
  border-radius: var(--radius-lg);
  content: "";
}

.about-hero__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(390px, 42vw, 520px);
  object-fit: cover;
  object-position: 50% 42%;
  border-radius: var(--radius-lg);
  box-shadow: 0 36px 86px rgba(0, 0, 0, 0.34);
}

.about-hero__visual figcaption {
  position: absolute;
  z-index: 3;
  right: -24px;
  bottom: 30px;
  max-width: 260px;
  padding: 17px 20px;
  color: var(--color-text);
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.about-hero__visual figcaption strong,
.about-hero__visual figcaption span {
  display: block;
}

.about-hero__visual figcaption strong {
  margin-bottom: 3px;
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: 0.84rem;
}

.about-hero__visual figcaption span {
  color: var(--color-muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.about-hero__rating {
  position: absolute;
  z-index: 3;
  top: 28px;
  left: -36px;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 205px;
  padding: 14px 17px;
  color: var(--color-text);
  background: var(--color-cta);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.about-hero__rating > strong {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.05em;
  line-height: 1;
}

.about-hero__rating > span,
.about-hero__rating small {
  display: block;
}

.about-hero__rating > span > span {
  display: block;
  color: #8e5b00;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.about-hero__rating small {
  margin-top: 2px;
  font-size: 0.63rem;
  font-weight: 700;
}

.about-facts {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: var(--color-text);
  background: #fff;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: 0 -16px 45px rgba(0, 0, 0, 0.12);
}

.about-facts > div,
.about-facts > a {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px clamp(22px, 3vw, 34px);
  text-decoration: none;
}

.about-facts > * + * {
  border-left: 1px solid var(--color-border);
}

.about-facts strong,
.about-facts span {
  display: block;
}

.about-facts strong {
  margin-bottom: 5px;
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.45vw, 1.1rem);
  line-height: 1.25;
}

.about-facts span {
  color: var(--color-muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.about-facts a:hover strong {
  color: var(--color-brand);
}

/* Verifiable story */
.about-story {
  background: #fff;
}

.about-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-timeline::before {
  position: absolute;
  top: 35px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: var(--color-border);
  content: "";
}

.about-timeline li {
  position: relative;
  z-index: 1;
  padding: 0 clamp(22px, 3vw, 38px);
}

.about-timeline li:first-child {
  padding-left: 0;
}

.about-timeline li:last-child {
  padding-right: 0;
}

.about-timeline__marker {
  min-width: 70px;
  height: 70px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 28px;
  padding-inline: 12px;
  color: #fff;
  background: var(--color-brand);
  border: 7px solid #fff;
  border-radius: 50px;
  box-shadow: 0 0 0 1px var(--color-border), var(--shadow-sm);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.about-timeline__label {
  margin-bottom: 7px;
  color: var(--color-brand);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.about-timeline h3 {
  margin-bottom: 12px;
  color: var(--color-navy);
}

.about-timeline li div > p:last-child {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.88rem;
}

/* Services */
.about-services {
  background: var(--color-bg);
}

.about-services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-service-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 42px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.about-service-card:hover {
  border-color: #9db8c9;
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.about-service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.about-service-card__top > span {
  color: var(--color-brand);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
}

.about-service-card__top svg {
  width: 50px;
  height: 50px;
  fill: var(--color-brand);
}

.about-service-card h3 {
  max-width: 430px;
  margin-bottom: 14px;
  color: var(--color-navy);
}

.about-service-card p {
  max-width: 530px;
  margin-bottom: 28px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.about-service-card > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: auto;
  color: var(--color-brand);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.about-service-card > a:hover {
  color: var(--color-brand-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Brand identity */
.about-name {
  position: relative;
  padding-block: clamp(70px, 8vw, 104px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 8% 50%, rgba(42, 132, 190, 0.35), transparent 26%),
    var(--color-navy-deep);
}

.about-name::after {
  position: absolute;
  right: -70px;
  bottom: -140px;
  color: rgba(255, 255, 255, 0.025);
  content: "S";
  font-family: var(--font-display);
  font-size: 34rem;
  font-weight: 800;
  line-height: 0.8;
}

.about-name__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: clamp(38px, 7vw, 88px);
}

.about-name__mark {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
  color: var(--color-navy);
  background: var(--color-cta);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 5.2rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.24);
}

.about-name h2 {
  max-width: 900px;
  margin-bottom: 22px;
}

.about-name p:last-child {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
}

.about-name p:last-child a {
  color: #fff;
  font-weight: 750;
  text-underline-offset: 4px;
}

/* Real work gallery */
.about-work {
  background: #fff;
}

.about-work__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 285px;
  gap: 16px;
}

.about-work-card {
  position: relative;
  grid-column: span 3;
  margin: 0;
  overflow: hidden;
  background: var(--color-surface-alt);
  border-radius: var(--radius-md);
}

.about-work-card--feature {
  grid-column: span 6;
  grid-row: span 2;
}

.about-work-card--wide {
  grid-column: span 6;
}

.about-work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-work-card--feature img {
  object-position: 50% 42%;
}

.about-work-card--wide img {
  object-position: 50% 64%;
}

.about-work-card:hover img {
  transform: scale(1.025);
}

.about-work-card::after {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(4, 31, 50, 0.88));
  content: "";
  pointer-events: none;
}

.about-work-card figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  padding: 23px 24px;
  color: #fff;
}

.about-work-card figcaption > span {
  color: var(--color-cta);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
}

.about-work-card figcaption strong,
.about-work-card figcaption small {
  display: block;
}

.about-work-card figcaption strong {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 0.88rem;
}

.about-work-card figcaption small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
}

/* Proof and company data */
.about-proof {
  background: var(--color-bg);
}

.about-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.about-proof-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 34px 32px;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.about-proof-card:hover {
  border-color: var(--color-brand);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.about-proof-card__index {
  margin-bottom: 32px;
  color: var(--color-brand);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
}

.about-proof-card__label {
  margin-bottom: 8px;
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.about-proof-card h3 {
  margin-bottom: 15px;
  color: var(--color-navy);
  font-size: 1.55rem;
}

.about-proof-card > p:not(.about-proof-card__label) {
  margin-bottom: 28px;
  color: var(--color-muted);
  font-size: 0.84rem;
}

.about-proof-card > strong:last-child {
  margin-top: auto;
  color: var(--color-brand);
  font-family: var(--font-display);
  font-size: 0.78rem;
}

.about-proof-card--rating {
  color: #fff;
  background: var(--color-brand);
  border-color: var(--color-brand);
}

.about-proof-card--rating .about-proof-card__index,
.about-proof-card--rating .about-proof-card__label,
.about-proof-card--rating > p:not(.about-proof-card__label) {
  color: rgba(255, 255, 255, 0.68);
}

.about-proof-card--rating > strong:last-child {
  color: #fff;
}

.about-proof-card__score {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.about-proof-card__score strong {
  font-family: var(--font-display);
  font-size: 3.4rem;
  letter-spacing: -0.07em;
  line-height: 1;
}

.about-proof-card__score span {
  color: var(--color-cta);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.about-company {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.5fr);
  gap: clamp(38px, 7vw, 90px);
  margin-top: 18px;
  padding: clamp(34px, 5vw, 56px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.about-company__heading h3 {
  margin-bottom: 0;
  color: var(--color-navy);
  font-size: 1.8rem;
}

.about-company dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 27px 34px;
  margin: 0;
}

.about-company dt {
  margin-bottom: 6px;
  color: var(--color-brand);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-company dd {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.84rem;
  overflow-wrap: anywhere;
}

.about-company dd a {
  color: var(--color-brand);
  text-underline-offset: 3px;
}

/* Territory */
.about-territory {
  color: #fff;
  background:
    radial-gradient(circle at 85% 30%, rgba(42, 132, 190, 0.28), transparent 30%),
    var(--color-navy-deep);
}

.about-territory__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.72fr);
  align-items: center;
  gap: clamp(56px, 9vw, 132px);
}

.about-territory__copy h2 {
  max-width: 800px;
  margin-bottom: 22px;
}

.about-territory__copy > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.7);
}

.about-hours {
  padding: clamp(28px, 4vw, 42px);
  color: var(--color-text);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.22);
}

.about-hours__title {
  margin-bottom: 22px;
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
}

.about-hours > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.82rem;
}

.about-hours > div span {
  color: var(--color-muted);
}

.about-hours > div strong {
  color: var(--color-navy);
  font-family: var(--font-display);
  text-align: right;
}

.about-hours > p:last-child {
  margin: 22px 0 0;
  padding: 16px 17px;
  color: var(--color-muted);
  background: var(--color-surface-alt);
  border-left: 3px solid var(--color-brand);
  border-radius: 6px;
  font-size: 0.74rem;
}

.about-contact {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1120px) {
  .about-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: 54px;
  }

  .about-hero__visual img {
    height: 470px;
  }

  .about-hero__rating {
    left: -22px;
  }

  .about-hero__visual figcaption {
    right: -12px;
  }

  .about-work__grid {
    grid-auto-rows: 250px;
  }
}

@media (max-width: 900px) {
  .about-hero {
    padding-top: 34px;
  }

  .about-hero__grid,
  .about-company,
  .about-territory__grid {
    grid-template-columns: 1fr;
  }

  .about-hero__grid {
    gap: 30px;
  }

  .about-hero__copy h1 {
    font-size: clamp(3.7rem, 12vw, 5.4rem);
  }

  .about-hero__visual {
    width: min(82%, 610px);
    justify-self: center;
  }

  .about-hero__visual img {
    height: min(470px, 65vw);
  }

  .about-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-facts > :nth-child(3) {
    border-left: 0;
  }

  .about-facts > :nth-child(n + 3) {
    border-top: 1px solid var(--color-border);
  }

  .about-timeline {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-timeline::before {
    top: 20px;
    bottom: 20px;
    left: 34px;
    width: 1px;
    height: auto;
  }

  .about-timeline li,
  .about-timeline li:first-child,
  .about-timeline li:last-child {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 24px;
    padding: 0;
  }

  .about-timeline__marker {
    margin: 0;
  }

  .about-name__grid {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 34px;
  }

  .about-name__mark {
    width: 118px;
    height: 118px;
    font-size: 3.8rem;
  }

  .about-work__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 330px;
  }

  .about-work-card,
  .about-work-card--feature,
  .about-work-card--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .about-work-card--feature,
  .about-work-card--wide {
    grid-column: 1 / -1;
  }

  .about-work-card--feature {
    min-height: 510px;
  }

  .about-proof__grid {
    grid-template-columns: 1fr;
  }

  .about-proof-card {
    min-height: 0;
  }

  .about-company {
    gap: 32px;
  }
}

@media (max-width: 680px) {
  .about-hero__copy h1 {
    font-size: clamp(3.4rem, 18vw, 4.7rem);
  }

  .about-hero__headline {
    font-size: 1.3rem;
  }

  .about-hero__actions {
    display: grid;
  }

  .about-hero__actions .button {
    width: 100%;
  }

  .about-hero__visual {
    width: calc(100% - 18px);
  }

  .about-hero__visual::before {
    top: -12px;
    right: -12px;
  }

  .about-hero__visual img {
    height: min(78vw, 360px);
  }

  .about-hero__rating {
    top: 18px;
    left: -9px;
    min-width: 188px;
  }

  .about-hero__visual figcaption {
    right: -9px;
    bottom: 20px;
  }

  .about-facts {
    margin-inline: 20px;
    width: auto;
  }

  .about-facts > div,
  .about-facts > a {
    min-height: 112px;
    padding: 20px 18px;
  }

  .about-services__grid,
  .about-work__grid,
  .about-company dl {
    grid-template-columns: 1fr;
  }

  .about-service-card {
    min-height: 0;
  }

  .about-name__grid {
    grid-template-columns: 1fr;
  }

  .about-name__mark {
    width: 92px;
    height: 92px;
    font-size: 3rem;
  }

  .about-work__grid {
		grid-auto-rows: auto;
  }

  .about-work-card,
  .about-work-card--feature,
  .about-work-card--wide {
    grid-column: 1;
		height: 410px;
    min-height: 0;
  }

  .about-work-card--feature {
		height: 480px;
  }

  .about-company {
    padding-inline: 25px;
  }

  .about-hours > div {
    display: grid;
    gap: 4px;
  }

  .about-hours > div strong {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .about-facts > div,
  .about-facts > a {
    min-height: 98px;
    padding: 16px 12px;
  }

  .about-timeline li,
  .about-timeline li:first-child,
  .about-timeline li:last-child {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
  }

  .about-timeline::before {
    left: 28px;
  }

  .about-timeline__marker {
    min-width: 58px;
    height: 58px;
    border-width: 5px;
    font-size: 0.59rem;
  }

  .about-work__grid {
		grid-auto-rows: auto;
  }

	.about-work-card,
	.about-work-card--wide {
		height: 350px;
	}

  .about-work-card--feature {
		height: 430px;
  }

  .about-work-card figcaption {
    padding: 20px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-service-card,
  .about-proof-card,
  .about-work-card img {
    transition: none;
  }
}
